_custom.scss 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. /* prevent the drop down icon going onto a new line for the top bar language link */
  2. .top-bar-language-nav-link {
  3. min-width: 65px;
  4. }
  5. /* bootstrap model showing two scroll bars */
  6. html {
  7. overflow: visible;
  8. }
  9. body {
  10. --mc: $iwb-color;
  11. }
  12. /* main sidebar not under model */
  13. .modal {
  14. z-index: 1110;
  15. }
  16. .iwb-info-box {
  17. .box-header {
  18. text-indent: 2em;
  19. color: $iwb-color;
  20. margin-top: 15px;
  21. font-size: 1.5rem;
  22. font-weight: 600;
  23. border-bottom: 2px solid;
  24. letter-spacing: 2px;
  25. margin-bottom: 15px;
  26. padding-bottom: 10px;
  27. }
  28. .box-footer {
  29. color: $iwb-color;
  30. text-align: center;
  31. background: transparent;
  32. margin-top: 15px;
  33. padding-top: 10px;
  34. border-top: 2px solid;
  35. }
  36. }
  37. .form-group.required .col-form-label:after {
  38. color: #d00;
  39. content: "*";
  40. position: absolute;
  41. margin-left: 3px;
  42. }
  43. .text-iwb{
  44. color:$iwb-color;
  45. }
  46. a{
  47. color:$iwb-color;
  48. }
  49. .dropdown-item {
  50. &:focus, &:hover {
  51. color: #eee;
  52. text-decoration: none;
  53. background-color: #007bff;
  54. }
  55. }
  56. .notification-item {
  57. display: flex;
  58. flex-direction: row;
  59. padding: .25rem 1rem;
  60. cursor: pointer;
  61. min-width: 400px;
  62. .item-icon {
  63. display: flex;
  64. justify-content: center;
  65. align-items: center;
  66. margin-right: 5px;
  67. i {
  68. display: flex;
  69. justify-content: center;
  70. align-items: center;
  71. border-radius: 50%;
  72. width: 22px;
  73. height: 22px;
  74. font-size: 12px;
  75. }
  76. }
  77. .item-text {
  78. display: flex;
  79. flex-wrap: wrap;
  80. color: #333;
  81. align-items: center;
  82. width: 100%
  83. }
  84. &.read {
  85. .item-text {
  86. color: #999;
  87. }
  88. }
  89. .item-time {
  90. display: flex;
  91. white-space:nowrap;
  92. justify-content: flex-end;
  93. font-size: 0.5rem;
  94. margin-left: 5px;
  95. align-items: center;
  96. }
  97. &:focus, &:hover {
  98. color: inherit;
  99. background-image: linear-gradient(rbga(0,0,0,.7),rbga(0,0,0,.7));
  100. }
  101. }
  102. .nav-user-menu .user-image {
  103. width: 20px;
  104. margin-right: 4px;
  105. margin-top: -4px;
  106. }
  107. button:focus, button:active {
  108. outline: none;
  109. }
  110. .input-group-text {
  111. background: $iwb-color;
  112. color: $white;
  113. border: 1px solid $iwb-color;
  114. }
  115. .search-input {
  116. > .form-control {
  117. &:not(:last-child) {
  118. border-radius: .2rem;
  119. }
  120. }
  121. }
  122. .search-icon-box {
  123. position: absolute;
  124. right: 0px;
  125. display: flex;
  126. z-index: 3;
  127. &.select-icon-box {
  128. right: 20px;
  129. }
  130. > .input-group-text {
  131. height: 31px;
  132. border-radius: .2rem;
  133. min-width: 35px!important;
  134. width: 35px!important;
  135. cursor: pointer;
  136. display: flex;
  137. justify-content: center!important;
  138. align-items: center;
  139. padding: 0;
  140. &:not(:first-child) {
  141. border-top-left-radius: 0;
  142. border-bottom-left-radius: 0;
  143. }
  144. &:not(:last-child) {
  145. border-right: 2px solid #eee;
  146. border-top-right-radius: 0;
  147. border-bottom-right-radius: 0;
  148. }
  149. }
  150. }
  151. .system-name {
  152. font-size: 1.5rem;
  153. height: auto;
  154. padding-top: 0;
  155. padding-bottom: 0;
  156. line-height: 40px;
  157. a {
  158. padding: 0 10px;
  159. }
  160. }
  161. #auth-tree {
  162. width: 80%;
  163. margin: 0 auto;
  164. }
  165. .card-footer{
  166. button{
  167. min-width:100px;
  168. }
  169. }
  170. .select2 {
  171. .selection {
  172. .select2-selection {
  173. padding: 0;
  174. line-height: 31px;
  175. height: 31px;
  176. .select2-selection__rendered {
  177. margin-top: 0;
  178. line-height: 30px;
  179. margin-top: 0;
  180. }
  181. &.select2-selection--multiple {
  182. .select2-selection__choice {
  183. background: var(--mc);
  184. border-color: var(--mc);
  185. height: 24px;
  186. line-height: 24px;
  187. margin-top: 4px;
  188. .select2-selection__choice__remove {
  189. color: #ddd;
  190. }
  191. }
  192. .select2-search.select2-search--inline {
  193. .select2-search__field{
  194. margin-top:0;
  195. }
  196. }
  197. }
  198. }
  199. }
  200. }
  201. .search-box {
  202. width: 100%;
  203. position: absolute;
  204. z-index: 2;
  205. .search-card {
  206. margin-bottom: 0;
  207. .card-header {
  208. padding: 0;
  209. button {
  210. width: 50px;
  211. &.btn-search {
  212. width: 45px;
  213. }
  214. }
  215. }
  216. &:not(.collapsed-card) {
  217. .card-header {
  218. border-radius: .25rem .25rem 0 0;
  219. .input-group-prepend > button {
  220. border-radius: .25rem 0 0 0;
  221. }
  222. .input-group-append > button {
  223. border-radius: 0 .25rem 0 0;
  224. }
  225. }
  226. }
  227. .card-body {
  228. border-color: $iwb-color;
  229. padding: .6rem .8rem;
  230. .search-unit:not(:last-child) {
  231. margin-bottom: .5rem;
  232. }
  233. .input-group-text {
  234. min-width: 80px;
  235. background: $iwb-color;
  236. color: $white;
  237. justify-content: flex-end;
  238. }
  239. .search-icon, .select-search-icon {
  240. .input-group-text {
  241. min-width: 30px;
  242. justify-content: center;
  243. }
  244. }
  245. .dataRange {
  246. font-size: 100%;
  247. }
  248. }
  249. .card-footer {
  250. padding: .6rem .5rem;
  251. border-color: $iwb-color;
  252. }
  253. }
  254. }
  255. .swal-modal {
  256. width: 350px;
  257. text-align: left;
  258. padding: 10px 10px 15px;
  259. .swal-icon {
  260. display: none;
  261. }
  262. .swal-title, .swal-text {
  263. font-size: 14px;
  264. text-align: left;
  265. margin: 0;
  266. padding: 10px 0 0;
  267. text-indent: 1em;
  268. }
  269. .swal-title {
  270. font-size: 16px;
  271. font-weight: 600;
  272. color: #333;
  273. line-height: 35px;
  274. &:before {
  275. font-family: 'iconfont';
  276. margin-right: 10px;
  277. font-size: 30px;
  278. position: relative;
  279. top: 4px;
  280. }
  281. }
  282. .swal-icon--success + .swal-title {
  283. &:before {
  284. content: '\e7e2';
  285. color: #a5dc86;
  286. }
  287. }
  288. .swal-icon--error + .swal-title {
  289. &:before {
  290. content: '\e7e1';
  291. color: #f27474;
  292. }
  293. }
  294. .swal-icon--warning + .swal-title {
  295. &:before {
  296. content: '\e7de';
  297. color: #f8bb86;
  298. }
  299. }
  300. .swal-icon--info + .swal-title {
  301. &:before {
  302. content: '\e7dc';
  303. color: #c9dae1;
  304. }
  305. }
  306. .swal-footer {
  307. text-align: right;
  308. margin-top: 0px;
  309. padding: 5px 10px;
  310. .swal-button-container {
  311. margin: 0;
  312. .swal-button {
  313. background-color: #0074f0;
  314. border: 1px solid #0074f0;
  315. color: #fff;
  316. border-radius: 3px;
  317. box-shadow: none;
  318. font-weight: 600;
  319. font-size: 14px;
  320. padding: 4px 20px;
  321. margin-left: 15px;
  322. cursor: pointer;
  323. &.swal-button--cancel {
  324. color: #0074f0;
  325. background-color: #fff;
  326. border: 1px solid #0074f0;
  327. }
  328. }
  329. }
  330. }
  331. }
  332. .iwb-wang-editor{
  333. width:100%;
  334. }
  335. .iwb-dynamic-box {
  336. .box-label {
  337. label {
  338. padding-left: .5rem;
  339. padding-bottom: 2px;
  340. border-bottom: 2px solid #666;
  341. width: 100%;
  342. }
  343. }
  344. .box-body {
  345. .empty {
  346. text-align: center;
  347. font-size: 1.5rem;
  348. width: 100%;
  349. }
  350. > div {
  351. margin-bottom: .5rem;
  352. }
  353. }
  354. .form-control:disabled, .form-control[readonly] {
  355. background-color: #F9F9F9;
  356. opacity: 1;
  357. }
  358. }
  359. .jstree {
  360. > .jstree-container-ul {
  361. .jstree-wholerow-hovered {
  362. background: scale-color($iwb-color,-40%);
  363. }
  364. .jstree-wholerow-clicked {
  365. background: scale-color($iwb-color,-20%);
  366. }
  367. .jstree-anchor {
  368. &.jstree-hovered {
  369. color: $white;
  370. }
  371. &.jstree-clicked {
  372. color: $white;
  373. }
  374. }
  375. }
  376. }