style.scss 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274
  1. /*$main-color: #007bff;*/
  2. $main-color: #11998e;
  3. @mixin dropdownItem {
  4. border-color: $main-color;
  5. .dropdown-item {
  6. color: $main-color;
  7. border-bottom: 1px solid #eee;
  8. &:first-child {
  9. border-top: 1px solid #eee;
  10. }
  11. &:active, &.active {
  12. color: #fff !important;
  13. background-color: $main-color;
  14. }
  15. &:focus, &:hover {
  16. color: #fff;
  17. text-decoration: none;
  18. background-color: $main-color;
  19. }
  20. }
  21. }
  22. body {
  23. .sidebar {
  24. overflow-x: hidden !important;
  25. }
  26. .no-select {
  27. -webkit-user-select: none;
  28. -moz-user-select: none;
  29. -ms-user-select: none;
  30. user-select: none;
  31. }
  32. .content-wrapper {
  33. padding: 5px 10px;
  34. .dropdown-menu {
  35. @include dropdownItem;
  36. }
  37. }
  38. label {
  39. &.iwb-label {
  40. text-align: right;
  41. margin-bottom: 0;
  42. }
  43. &.iwb-label-sm {
  44. padding-top: .2rem;
  45. }
  46. &.iwb-label-required::before {
  47. content: "*";
  48. color: red;
  49. margin-right: 6px;
  50. text-align: right;
  51. }
  52. }
  53. .text-iwb {
  54. color: $main-color;
  55. }
  56. .text-p, &.text-primary {
  57. color: $main-color;
  58. }
  59. .text-s, &.text-success {
  60. color: #28a745;
  61. }
  62. .text-i, &.text-info {
  63. color: #00b0e4;
  64. }
  65. .text-w, &.text-warning {
  66. color: #ffc107;
  67. }
  68. .text-d, &.text-danger {
  69. color: #fb483a;
  70. }
  71. }
  72. .nav-tabs {
  73. border-bottom: 1px solid $main-color;
  74. .nav-item {
  75. &.show {
  76. .nav-link {
  77. color: #fff;
  78. background-color: $main-color;
  79. border-color: $main-color;
  80. }
  81. }
  82. }
  83. .nav-link {
  84. color: $main-color;
  85. &:focus, &:hover {
  86. border-color: $main-color $main-color $main-color;
  87. color: $main-color;
  88. font-weight: 600;
  89. }
  90. &.active {
  91. color: #fff;
  92. background-color: $main-color;
  93. border-color: $main-color;
  94. }
  95. }
  96. }
  97. .number {
  98. }
  99. .label {
  100. display: inline-block;
  101. padding: .25rem .4rem;
  102. font-size: 75%;
  103. font-weight: 700;
  104. line-height: 1;
  105. text-align: center;
  106. white-space: nowrap;
  107. vertical-align: baseline;
  108. border-radius: .25rem;
  109. transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  110. color: #fff;
  111. background-color: #6c757d;
  112. border-color: #6c757d;
  113. &.label-iwb {
  114. background-color: $main-color;
  115. border-color: $main-color;
  116. }
  117. &.label-p, &.label-primary {
  118. background-color: $main-color;
  119. border-color: $main-color;
  120. }
  121. &.label-s, &.label-success {
  122. background-color: #28a745;
  123. border-color: #28a745;
  124. }
  125. &.label-i, &.label-info {
  126. background-color: #00b0e4;
  127. border-color: #00b0e4;
  128. }
  129. &.label-w, &.label-warning {
  130. color: #1f2d3d;
  131. background-color: #ffc107;
  132. border-color: #ffc107;
  133. }
  134. &.label-d, &.label-danger {
  135. background-color: #fb483a;
  136. border-color: #fb483a;
  137. }
  138. }
  139. .badge.badge-iwb {
  140. color: #fff;
  141. background-color: $main-color;
  142. border-color: $main-color;
  143. }
  144. .btn.btn-iwb {
  145. color: #fff;
  146. background-color: $main-color;
  147. border-color: $main-color;
  148. box-shadow: none;
  149. }
  150. .btn.btn-iwb:hover {
  151. background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1));
  152. border-color: rgba(0,0,0,.1);
  153. }
  154. .btn.btn-default {
  155. color: $main-color;
  156. border-color: $main-color;
  157. }
  158. .btn-outline-iwb {
  159. color: $main-color;
  160. border-color: $main-color;
  161. }
  162. .btn-outline-iwb:hover {
  163. color: #fff;
  164. background-color: $main-color;
  165. border-color: $main-color;
  166. }
  167. .btn.btn-gold {
  168. border-radius: 25px;
  169. color: #eee;
  170. background-color: #ffa600;
  171. background-color: hsl(39, 100%, 50%);
  172. border: none;
  173. box-shadow: inset #fffeff 0 0.3em .3em, inset #000000 0 -0.1em .3em, #cc8500 0 .1em 3px, #996300 0 .3em 1px, #000000 0 .5em 5px !important;
  174. box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, hsl(39, 100%, 40%) 0 .1em 3px, hsl(39, 100%, 30%) 0 .3em 1px, rgba(0,0,0,0.2) 0 .5em 5px !important;
  175. &:hover, &:focus, &:active {
  176. color: #fff;
  177. background-color: #ffa666;
  178. font-weight: 600;
  179. }
  180. }
  181. .btn.btn-dl {
  182. color: #fff;
  183. background-color: #34b29d;
  184. font-weight: 600;
  185. box-shadow: inset rgba(255, 254, 255, 0.6) 0 0.3em 0.3em, inset rgba(0, 0, 0, 0.15) 0 -0.1em 0.3em, #007f61 0 0.1em 3px, #005f61 0 0.3em 1px, rgba(0, 0, 0, 0.2) 0 0.5em 5px !important;
  186. &:hover, &:focus, &:active {
  187. color: #fff;
  188. background-color: #049e9a;
  189. font-weight: 600;
  190. }
  191. }
  192. .bg-iwb {
  193. color: #fff;
  194. background-color: $main-color !important;
  195. > a {
  196. color: inherit !important;
  197. }
  198. }
  199. .btn-add {
  200. color: #fff;
  201. background-color: #28a745;
  202. border-color: #28a745;
  203. box-shadow: none;
  204. &:hover {
  205. color: #fff;
  206. background-color: #218838;
  207. border-color: #1e7e34;
  208. }
  209. }
  210. .btn-delete {
  211. color: #fff;
  212. background-color: #dc3545;
  213. border-color: #dc3545;
  214. box-shadow: none;
  215. &:hover {
  216. color: #fff;
  217. background-color: #c82333;
  218. border-color: #bd2130;
  219. }
  220. }
  221. .card {
  222. &.card-iwb {
  223. &.card-outline {
  224. border-top: 3px solid $main-color;
  225. }
  226. &:not(.card-outline) > .card-header {
  227. background-color: $main-color;
  228. color: #fff !important;
  229. a.nav-link {
  230. color: inherit !important;
  231. &.active {
  232. color: $main-color !important;
  233. background: #fff;
  234. border-color: #fff;
  235. }
  236. &:hover {
  237. border-color: #fff;
  238. }
  239. }
  240. }
  241. }
  242. &.card-sm {
  243. .card-header {
  244. padding: 5px 10px;
  245. .card-title {
  246. font-size: .875rem;
  247. }
  248. .card-tools {
  249. margin-right: 0;
  250. button {
  251. padding: 1px 5px;
  252. margin-top: -15px;
  253. }
  254. }
  255. }
  256. .card-body {
  257. padding: 10px 15px;
  258. }
  259. }
  260. &.card-gold.card-outline-tabs > .card-header a.active {
  261. color: hsl(39, 100%, 50%);
  262. border-top: 3px solid hsl(39, 100%, 50%);
  263. }
  264. &.card-dl.card-outline-tabs > .card-header {
  265. .nav-tabs {
  266. border-bottom: 1px solid #049e9a;
  267. a.nav-link.active {
  268. color: #fff;
  269. border-top: 3px solid #049e9a;
  270. border-color: #049e9a #049e9a #049e9a;
  271. }
  272. a.nav-link:focus, a.nav-link:hover, a.nav-link:active {
  273. border-color: #049e9a #049e9a #049e9a;
  274. }
  275. }
  276. }
  277. &.card-primary.card-outline-tabs > .card-header a.active {
  278. border-top: 3px solid #11998e !important;
  279. }
  280. }
  281. .iwb-checkbox {
  282. display: inline-block;
  283. position: relative;
  284. padding-left: 30px;
  285. color: $main-color;
  286. margin-bottom: 10px;
  287. cursor: pointer;
  288. font-size: .875rem;
  289. -webkit-transition: all 0.3s;
  290. transition: all 0.3s;
  291. cursor: pointer;
  292. > input {
  293. position: absolute;
  294. z-index: -1;
  295. opacity: 0;
  296. filter: alpha(opacity=0);
  297. }
  298. > span {
  299. border-radius: 3px;
  300. background: none;
  301. position: absolute;
  302. top: 2px;
  303. left: 0;
  304. height: 18px;
  305. width: 18px;
  306. color: inherit;
  307. border: 1px solid;
  308. }
  309. > span:after {
  310. content: '';
  311. position: absolute;
  312. display: none;
  313. }
  314. input:checked ~ span {
  315. -webkit-transition: all 0.3s;
  316. transition: all 0.3s;
  317. background: none;
  318. }
  319. input:checked ~ span:after {
  320. display: block;
  321. top: 50%;
  322. left: 50%;
  323. margin-left: -2px;
  324. margin-top: -6px;
  325. width: 5px;
  326. height: 10px;
  327. border-color: inherit;
  328. border-style: solid;
  329. border-width: 0 2px 2px 0 !important;
  330. -webkit-transform: rotate(45deg);
  331. transform: rotate(45deg);
  332. }
  333. &.iwb-green {
  334. color: #28a745;
  335. }
  336. &.iwb-danger {
  337. color: #fb483a;
  338. }
  339. &.iwb-gold {
  340. color: hsl(39, 100%, 50%);
  341. }
  342. &.iwb-dl {
  343. color: #049e9a;
  344. }
  345. }
  346. .tooltip {
  347. .tooltip-inner {
  348. background: $main-color;
  349. }
  350. &.bs-tooltip-left {
  351. .arrow:before {
  352. border-left-color: $main-color;
  353. }
  354. }
  355. &.bs-tooltip-right {
  356. .arrow:before {
  357. border-right-color: $main-color;
  358. }
  359. }
  360. &.bs-tooltip-top {
  361. .arrow:before {
  362. border-top-color: $main-color;
  363. }
  364. }
  365. &.bs-tooltip-bottom {
  366. .arrow:before {
  367. border-bottom-color: $main-color;
  368. }
  369. }
  370. }
  371. .daterangepicker {
  372. z-index: 1050;
  373. }
  374. .iwb-file {
  375. width: 100%;
  376. position: relative;
  377. display: inline-block;
  378. width: 100%;
  379. margin-bottom: 0;
  380. .iwb-file-input {
  381. opacity: 0;
  382. }
  383. .iwb-file-label {
  384. background-color: #fff;
  385. border: 1px solid #aaa;
  386. color: #ccc;
  387. text-align: left;
  388. position: absolute;
  389. top: 0;
  390. right: 0;
  391. left: 0;
  392. z-index: 1;
  393. width: 100%;
  394. height: calc( 1.725rem + 2px);
  395. padding: 5px 12px;
  396. line-height: 1.25;
  397. font-weight: 400;
  398. border-radius: 3px;
  399. &.choice {
  400. color: #e9ecef;
  401. }
  402. &:after {
  403. color: #495057;
  404. border-left: 1px solid #aaa;
  405. background-color: #e9ecef;
  406. position: absolute;
  407. top: 0;
  408. right: 0;
  409. bottom: 0;
  410. z-index: 3;
  411. display: block;
  412. height: 1.725rem;
  413. padding: 5px 12px;
  414. line-height: 1.25;
  415. font-family: "iconfont";
  416. content: "\e81c 浏览文件";
  417. border-radius: 0 3px 3px 0;
  418. }
  419. }
  420. .iwb-file-input:lang(en) ~ .iwb-file-label::after {
  421. content: "Browse";
  422. }
  423. .clear {
  424. display: block;
  425. color: #695057;
  426. background: #e9ecef;
  427. border: 1px solid #aaa;
  428. width: 33px;
  429. height: calc( 1.725rem + 2px);
  430. padding: 5px 10px;
  431. cursor: pointer;
  432. position: absolute;
  433. top: 0;
  434. right: 100px;
  435. z-index: 1;
  436. }
  437. &.file-error {
  438. .iwb-file-label {
  439. border: 1px solid #F44336 !important;
  440. }
  441. }
  442. &.file-success {
  443. .iwb-file-label {
  444. border: 1px solid #28a745 !important;
  445. }
  446. }
  447. }
  448. .dropdown-menu {
  449. .dropdown-item {
  450. &:active, &.active {
  451. color: #fff !important;
  452. background-color: $main-color;
  453. }
  454. }
  455. }
  456. .modal-backdrop.show {
  457. opacity: .1;
  458. }
  459. .modal {
  460. .modal-header {
  461. color: $main-color;
  462. padding-top: 10px;
  463. padding-bottom: 10px;
  464. .modal-title-span {
  465. color: inherit;
  466. }
  467. .close {
  468. color: inherit;
  469. outline: none !important;
  470. }
  471. }
  472. .modal-body {
  473. padding-top: 15px;
  474. padding-bottom: 10px;
  475. }
  476. .dropdown-menu {
  477. @include dropdownItem;
  478. }
  479. }
  480. form {
  481. .form-group {
  482. margin-bottom: 10px;
  483. &.row {
  484. margin-left: 0;
  485. margin-right: 0;
  486. .iwb-label {
  487. width: 15%;
  488. max-width: 100px;
  489. padding-right: 10px;
  490. }
  491. & > div {
  492. width: 85%;
  493. position: relative;
  494. }
  495. }
  496. }
  497. .form-control {
  498. border-color: #aaa;
  499. transition: all .3s ease-in-out;
  500. z-index: 1;
  501. }
  502. .form-control:focus, .form-control:active {
  503. border-color: $main-color;
  504. }
  505. .form-control:disabled, .form-control[readonly] {
  506. background-color: #e9ecef;
  507. opacity: .8;
  508. }
  509. .form-control.error {
  510. border-color: #dc3545;
  511. }
  512. .form-control.valid {
  513. border-color: #28a745;
  514. }
  515. label.error {
  516. position: absolute;
  517. top: 4px;
  518. right: 20px;
  519. width: auto;
  520. color: #ff0000;
  521. z-index: 4;
  522. }
  523. .search-input + label.error {
  524. right: 45px;
  525. }
  526. .input-group > .search-icon > .input-group-text {
  527. color: #fff;
  528. background-color: $main-color;
  529. border: 1px solid $main-color;
  530. font-weight: 400;
  531. width: 35px;
  532. }
  533. }
  534. .input-group-sm {
  535. .select2-container {
  536. .selection {
  537. & > .select2-selection--single {
  538. padding: 0;
  539. height: calc(1.8125rem + 2px);
  540. .select2-selection__rendered {
  541. height: 100%;
  542. line-height: 1.8125rem;
  543. margin-top: 0;
  544. }
  545. .select2-selection__arrow {
  546. height: 100%;
  547. }
  548. }
  549. & > .select2-selection--multiple {
  550. height: calc(1.8125rem + 2px);
  551. .select2-selection__choice {
  552. margin-top: .325rem;
  553. background-color: $main-color;
  554. border-color: $main-color;
  555. font-size: 85%;
  556. }
  557. .select2-selection__choice__remove {
  558. color: #eee;
  559. &:hover {
  560. color: #fff;
  561. }
  562. }
  563. }
  564. }
  565. &.select2-container--focus, &.select2-container--open {
  566. .select2-selection {
  567. border-color: $main-color;
  568. }
  569. }
  570. &.select2-container--open {
  571. .select2-search--inline .select2-search__field {
  572. border: 1px solid $main-color;
  573. margin-top: 4px;
  574. }
  575. }
  576. .select2-dropdown {
  577. border-color: $main-color;
  578. }
  579. }
  580. .form-control.error + .select2-container .select2-selection {
  581. border-color: #dc3545;
  582. }
  583. .form-control.valid + .select2-container .select2-selection {
  584. border-color: #28a745;
  585. }
  586. }
  587. .iwb-bootstrap-table {
  588. .tableTool {
  589. padding: 5px 0;
  590. margin: 0;
  591. height: 41px;
  592. .btn-group button.btn.btn-default {
  593. border-color: #ddd;
  594. }
  595. .search-icon {
  596. i, span {
  597. font-size: 1rem;
  598. font-weight: 600;
  599. }
  600. }
  601. }
  602. .iwb-checkbox {
  603. > span {
  604. top: -3px;
  605. left: 1px;
  606. height: 17px;
  607. width: 17px;
  608. }
  609. input:checked ~ span {
  610. background: #fff;
  611. }
  612. }
  613. .table-action {
  614. cursor: pointer;
  615. color: $main-color;
  616. margin: 0 8px;
  617. padding: 0 2px;
  618. font-size: 14px;
  619. font-weight: 600;
  620. &:hover {
  621. border-bottom: 2px solid $main-color;
  622. padding-bottom: 2px;
  623. }
  624. i {
  625. margin-right: 5px;
  626. font-size: 1rem;
  627. }
  628. }
  629. .selected {
  630. .table-action {
  631. color: #fff;
  632. &:hover {
  633. border-bottom: 2px solid #fff;
  634. }
  635. }
  636. }
  637. .bootstrap-table .table:not(.table-condensed) > thead > tr > td,
  638. .bootstrap-table .table:not(.table-condensed) > tbody > tr > td,
  639. .bootstrap-table .table:not(.table-condensed) > tfoot > tr > td {
  640. padding: 0 8px;
  641. height: 28px;
  642. }
  643. .fixed-table-container {
  644. border-radius: 4px 4px 0 0;
  645. .fixed-table-header {
  646. thead {
  647. /*background-color: #D1DCF9;*/
  648. background-color: $main-color;
  649. background-image: linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5));
  650. .th-inner.sortable {
  651. padding-right: 8px;
  652. }
  653. tr > th {
  654. border-bottom: none;
  655. border-top: none;
  656. }
  657. }
  658. }
  659. .fixed-table-body {
  660. background-color: rgba(0,0,0,.00);
  661. thead {
  662. background-color: $main-color;
  663. background-image: linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5));
  664. /*background-color: #EBEEF7;*/
  665. }
  666. tbody {
  667. .selected td {
  668. background-color: darken($main-color,2%);
  669. /*background-color: #0074f0;*/
  670. color: #eee;
  671. }
  672. }
  673. .table-striped tbody tr:nth-of-type(2n) {
  674. /*background-color: rgba(0,0,0,.00);*/
  675. background-color: rgba(235, 238, 247,.5);
  676. }
  677. .table-striped tbody tr:nth-of-type(2n+1) {
  678. /*background-color: rgba(0,0,0,.01);*/
  679. background-color: #f9f9f9;
  680. }
  681. .table-hover > tbody > tr:hover {
  682. /*background-color: #D1DCF9;*/
  683. background-color: $main-color;
  684. background-image: linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5));
  685. }
  686. }
  687. }
  688. .fixed-table-pagination {
  689. /*background-color: #D1DCF9;*/
  690. background-color: $main-color;
  691. background-image: linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5));
  692. padding: 5px;
  693. border: 1px solid #ddd;
  694. border-top: none;
  695. border-radius: 0 0 4px 4px;
  696. .pagination-detail, .pagination {
  697. margin: 0;
  698. .page-list > .btn-group > .btn {
  699. padding: 0.175rem 0.5rem;
  700. }
  701. }
  702. }
  703. }
  704. .search-card {
  705. & > .card-header {
  706. position: relative;
  707. cursor: pointer;
  708. padding: 5px 15px;
  709. .card-title {
  710. font-size: 0.875rem;
  711. line-height: 21px;
  712. color: $main-color;
  713. }
  714. .card-tool {
  715. position: absolute;
  716. right: 3px;
  717. i, span {
  718. color: $main-color;
  719. }
  720. }
  721. }
  722. & > .card-body {
  723. padding: 10px 10px 0;
  724. }
  725. & > .card-footer {
  726. padding: 5px 10px;
  727. /*i, span, > span.btn.menu-btn {
  728. color: #fff;
  729. }*/
  730. }
  731. .search-unit {
  732. width: 100%;
  733. margin-bottom: 10px;
  734. .input-group-text {
  735. min-width: 20px;
  736. text-align: right;
  737. color: #fff;
  738. background-color: $main-color;
  739. border: 1px solid $main-color;
  740. font-weight: bold;
  741. }
  742. .select2 {
  743. width: calc(100% - 80px) !important;
  744. }
  745. .input-group-prepend {
  746. .input-group-text {
  747. width: 80px;
  748. justify-content: right;
  749. }
  750. }
  751. }
  752. }
  753. .swal-modal {
  754. width: 350px;
  755. text-align: left;
  756. padding: 10px 10px 15px;
  757. /*.swal-icon {
  758. width: 30px;
  759. height: 30px;
  760. border-width: 2px;
  761. margin: 20px;
  762. margin-left: 30px;
  763. .swal-icon--warning__body {
  764. width: 2px;
  765. height: 17px;
  766. top: 5px;
  767. border-radius: 2px;
  768. margin-left: -1px;
  769. .swal-icon--warning__dot {
  770. width: 3px;
  771. height: 3px;
  772. border-radius: 50%;
  773. margin-left: -1.5px;
  774. bottom: -5px;
  775. }
  776. }
  777. }*/
  778. .swal-icon {
  779. display: none;
  780. }
  781. .swal-title, .swal-text {
  782. font-size: 14px;
  783. text-align: left;
  784. margin: 0;
  785. padding: 10px 0 0;
  786. text-indent: 1em;
  787. }
  788. .swal-title {
  789. font-size: 16px;
  790. font-weight: 600;
  791. color: #333;
  792. line-height: 35px;
  793. &:before {
  794. font-family: 'iconfont';
  795. margin-right: 10px;
  796. font-size: 30px;
  797. position: relative;
  798. top: 4px;
  799. }
  800. }
  801. .swal-icon--success + .swal-title {
  802. &:before {
  803. content: '\e7e2';
  804. color: #a5dc86;
  805. }
  806. }
  807. .swal-icon--error + .swal-title {
  808. &:before {
  809. content: '\e7e1';
  810. color: #f27474;
  811. }
  812. }
  813. .swal-icon--warning + .swal-title {
  814. &:before {
  815. content: '\e7de';
  816. color: #f8bb86;
  817. }
  818. }
  819. .swal-icon--info + .swal-title {
  820. &:before {
  821. content: '\e7dc';
  822. color: #c9dae1;
  823. }
  824. }
  825. .swal-footer {
  826. text-align: right;
  827. margin-top: 0px;
  828. padding: 5px 10px;
  829. .swal-button-container {
  830. margin: 0;
  831. .swal-button {
  832. background-color: #0074f0;
  833. border: 1px solid #0074f0;
  834. color: #fff;
  835. border-radius: 3px;
  836. box-shadow: none;
  837. font-weight: 600;
  838. font-size: 14px;
  839. padding: 4px 20px;
  840. margin-left: 15px;
  841. cursor: pointer;
  842. &.swal-button--cancel {
  843. color: #0074f0;
  844. background-color: #fff;
  845. border: 1px solid #0074f0;
  846. }
  847. }
  848. }
  849. }
  850. }
  851. .iwb-info-box {
  852. .box-header {
  853. text-indent: 2em;
  854. color: $main-color;
  855. margin-top: 15px;
  856. margin-bottom: 15px;
  857. font-size: 1.5rem;
  858. font-weight: 600;
  859. border-bottom: 2px solid;
  860. letter-spacing: 2px;
  861. padding-bottom: 10px;
  862. }
  863. .box-footer {
  864. color: $main-color;
  865. text-align: center;
  866. background: transparent;
  867. margin-top: 15px;
  868. padding-top: 10px;
  869. border-top: 2px solid;
  870. }
  871. &.iwb-sm {
  872. .box-header {
  873. margin-top: 10px;
  874. margin-bottom: 10px;
  875. padding-bottom: 5px;
  876. font-size: 1rem;
  877. }
  878. }
  879. }
  880. .notification-menu {
  881. width: 500px;
  882. max-width: 500px;
  883. .notification-item {
  884. display: flex;
  885. .item-icon {
  886. width: 20px;
  887. text-align: center;
  888. }
  889. .item-title {
  890. width: calc(100% - 70px);
  891. overflow: hidden;
  892. text-overflow: ellipsis;
  893. padding: 0 5px;
  894. }
  895. .item-time {
  896. width: auto;
  897. padding: 0 5px;
  898. }
  899. .item-state {
  900. width: 40px;
  901. padding: 0 15px 0 0;
  902. .no-read {
  903. color: $main-color;
  904. cursor: pointer;
  905. position: relative;
  906. &::after {
  907. content: "";
  908. position: absolute;
  909. top: 2px;
  910. right: -8px;
  911. background: #fb483a;
  912. width: 5px;
  913. height: 5px;
  914. border-radius: 50%;
  915. }
  916. }
  917. .has-read {
  918. color: #aaa;
  919. cursor: not-allowed
  920. }
  921. }
  922. &:active, &.active {
  923. .no-read {
  924. color: #fff;
  925. }
  926. }
  927. }
  928. }
  929. #avatar-modal {
  930. .avatar-view {
  931. height: auto;
  932. img {
  933. width: 100%;
  934. cursor: pointer;
  935. }
  936. }
  937. .avatar-body {
  938. padding-right: 15px;
  939. padding-left: 15px;
  940. }
  941. .avatar-form {
  942. font-size: inherit;
  943. }
  944. .avatar-upload {
  945. overflow: hidden;
  946. label {
  947. display: block;
  948. float: left;
  949. clear: left;
  950. width: 100px;
  951. }
  952. input {
  953. display: block;
  954. margin-left: 110px;
  955. }
  956. }
  957. .avater-alert {
  958. margin-top: 10px;
  959. margin-bottom: 10px;
  960. }
  961. .avatar-wrapper {
  962. height: 364px;
  963. width: 100%;
  964. margin-top: 15px;
  965. box-shadow: inset 0 0 5px #000000;
  966. box-shadow: inset 0 0 5px rgba(0,0,0,.25);
  967. background-color: #f6f6f6;
  968. background-color: #f6f6f6;
  969. border: 1px solid $main-color;
  970. overflow: hidden;
  971. img {
  972. display: block;
  973. height: auto;
  974. max-width: 100%;
  975. }
  976. }
  977. .avatar-preview {
  978. float: left;
  979. margin-top: 15px;
  980. margin-right: 15px;
  981. border: 1px solid #ddd;
  982. border-radius: 50%;
  983. background-color: #f5f5f5;
  984. overflow: hidden;
  985. cursor: pointer;
  986. img {
  987. width: 100%;
  988. }
  989. }
  990. .avatar-preview:hover {
  991. box-shadow: 0 0 5px #000000;
  992. box-shadow: 0 0 5px rgba(0,0,0,.15);
  993. }
  994. .preview-lg {
  995. height: 184px;
  996. width: 184px;
  997. margin-top: 15px;
  998. }
  999. .preview-md {
  1000. height: 100px;
  1001. width: 100px;
  1002. }
  1003. .preview-sm {
  1004. height: 45px;
  1005. width: 45px;
  1006. }
  1007. .avatar-input, .avatar-src, .avatar-data {
  1008. display: none !important;
  1009. }
  1010. .avatar-btns {
  1011. margin-top: 30px;
  1012. margin-bottom: 15px;
  1013. }
  1014. .avatar-btns .btn-group {
  1015. margin-right: 5px;
  1016. }
  1017. @media (min-width: 992px) {
  1018. .avatar-preview {
  1019. float: none;
  1020. }
  1021. }
  1022. }
  1023. ._file.flag-icon- {
  1024. text-align: left;
  1025. }
  1026. .dynamic-box {
  1027. border: 1px solid #f8bb86;
  1028. padding: 10px;
  1029. border-radius: 4px;
  1030. .iwb-dynamic-box {
  1031. margin: 5px 0;
  1032. .dynamic-label {
  1033. text-align: left;
  1034. padding-left: 1em;
  1035. }
  1036. .dynamic-control {
  1037. text-align: center
  1038. }
  1039. .btn-add {
  1040. color: #fff;
  1041. background-color: #28a745;
  1042. border-color: #28a745;
  1043. box-shadow: none;
  1044. &:hover, &:not(:disabled):not(.disabled):active {
  1045. color: #fff;
  1046. background-color: #218838;
  1047. border-color: #1e7e34;
  1048. }
  1049. }
  1050. .btn-delete {
  1051. color: #fff;
  1052. background-color: #dc3545;
  1053. border-color: #dc3545;
  1054. box-shadow: none;
  1055. &:hover, &:not(:disabled):not(.disabled):active {
  1056. color: #fff;
  1057. background-color: #c82333;
  1058. border-color: #c82333;
  1059. }
  1060. }
  1061. }
  1062. }
  1063. .evolution.non-evolution.number {
  1064. font-size: 100%;
  1065. }