style.scss 26 KB

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