style.scss 26 KB

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