style.scss 22 KB

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