_display.less 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. @charset "UTF-8";
  2. @import "_config.less";
  3. // +----------------------------------------------------------------------
  4. // | ThinkAdmin
  5. // +----------------------------------------------------------------------
  6. // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
  7. // +----------------------------------------------------------------------
  8. // | 官方网站: http://demo.thinkadmin.top
  9. // +----------------------------------------------------------------------
  10. // | 开源协议 ( https://mit-license.org )
  11. // +----------------------------------------------------------------------
  12. // | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin
  13. // | github 代码仓库:https://github.com/zoujingli/ThinkAdmin
  14. // +----------------------------------------------------------------------
  15. fieldset {
  16. margin: 0 0 10px 0;
  17. border: 1px solid @BoxBorderColor;
  18. padding: 10px 20px 5px 20px;
  19. background: #fff;
  20. border-radius: @BoxBorderRadius;
  21. legend {
  22. color: #666;
  23. padding: 0 10px;
  24. font-size: 12px;
  25. letter-spacing: 1px;
  26. }
  27. }
  28. .layui-tab,
  29. .layui-card {
  30. border-radius: @BoxBorderRadius;
  31. }
  32. .layui-tab {
  33. .layui-tab-title {
  34. border-top-left-radius: @BoxBorderRadius;
  35. border-top-right-radius: @BoxBorderRadius;
  36. > li:first-child {
  37. padding: 0 15px 0 17px;
  38. margin-left: 0 !important;
  39. border-top-left-radius: @BoxBorderRadius;
  40. &:after {
  41. border-left: none
  42. }
  43. }
  44. }
  45. .layui-tab-content {
  46. border-bottom-left-radius: @BoxBorderRadius;
  47. border-bottom-right-radius: @BoxBorderRadius;
  48. }
  49. > .layui-tab-content {
  50. padding: 20px;
  51. background: #fff;
  52. }
  53. }
  54. .layui-btn {
  55. border: 1px solid #009688;
  56. &:hover:not(.layui-btn-disabled) {
  57. opacity: 1;
  58. filter: alpha(opacity=100);
  59. box-shadow: @ShadowMaxInset;
  60. }
  61. &-warm {
  62. border: 1px solid #FFB800;
  63. }
  64. &-danger {
  65. border: 1px solid #FF5722;
  66. }
  67. &-normal {
  68. border: 1px solid #1E9FFF;
  69. }
  70. &-disabled {
  71. border: 1px solid @BoxBorderColor;
  72. }
  73. &-primary {
  74. background: #fff;
  75. }
  76. &-group {
  77. border: 1px solid #098;
  78. overflow: hidden;
  79. background: #009688;
  80. line-height: 28px;
  81. border-radius: 2px;
  82. + .layui-btn {
  83. margin-left: 8px;
  84. }
  85. .layui-btn {
  86. height: 28px;
  87. line-height: 28px;
  88. border-width: 0 !important;
  89. border-radius: 0 !important;
  90. + .layui-btn {
  91. margin-left: 1px !important;
  92. }
  93. &-primary:hover {
  94. border-color: #009688;
  95. }
  96. }
  97. }
  98. & + .layui-btn {
  99. margin-left: 8px;
  100. }
  101. }
  102. .layui-code {
  103. border-radius: @BoxBorderRadius;
  104. }
  105. .layui-badge {
  106. margin-right: 5px;
  107. &-middle {
  108. width: 1em;
  109. height: auto;
  110. padding: 5px;
  111. line-height: 16px;
  112. white-space: normal;
  113. vertical-align: middle;
  114. }
  115. }
  116. .layui-input,
  117. .layui-select {
  118. line-height: 38px;
  119. border-color: @InputBorderNormalColor;
  120. &:hover, &:active, &:focus {
  121. border-color: @InputBorderActiveColor;
  122. }
  123. }
  124. .layui-disabled,
  125. .layui-disabled:hover {
  126. color: #333 !important;
  127. background: #EEE !important;
  128. }
  129. .layui-nav {
  130. .layui-nav-item {
  131. .layui-nav-more {
  132. top: 0;
  133. right: 15px;
  134. width: auto;
  135. height: auto;
  136. border: none;
  137. padding: 0 !important;
  138. font-size: 14px !important;
  139. font-style: normal;
  140. font-family: "layui-icon" !important;
  141. -moz-osx-font-smoothing: grayscale;
  142. -webkit-font-smoothing: antialiased;
  143. &::before {
  144. content: "\e619"
  145. }
  146. }
  147. & .layui-nav-mored, &ed .layui-nav-more {
  148. border: none;
  149. transform: rotate(180deg);
  150. -o-transform: rotate(180deg);
  151. -ms-transform: rotate(180deg);
  152. -moz-transform: rotate(180deg);
  153. -webkit-transform: rotate(180deg)
  154. }
  155. }
  156. }
  157. .layui-tags {
  158. display: flex;
  159. flex-wrap: wrap;
  160. vertical-align: middle;
  161. .layui-tag {
  162. color: #FFF;
  163. height: 38px;
  164. margin: 3px 4px 3px 0;
  165. padding: 0 4px 0 10px;
  166. display: inline-block;
  167. font-size: 14px;
  168. line-height: 38px;
  169. border-radius: 2px;
  170. white-space: nowrap;
  171. background: #1E9FFF !important;
  172. user-select: none;
  173. -ms-user-select: none;
  174. -moz-user-select: none;
  175. -webkit-user-select: none;
  176. .layui-icon {
  177. font-size: 14px;
  178. font-weight: 700;
  179. margin-left: 5px;
  180. &:hover {
  181. cursor: pointer;
  182. color: #FF5722;
  183. }
  184. }
  185. &-input {
  186. width: 100px;
  187. resize: none;
  188. margin: 3px 8px 3px 0;
  189. overflow: hidden;
  190. white-space: nowrap;
  191. }
  192. }
  193. }
  194. .layui-table {
  195. td, th {
  196. font-size: 12px;
  197. }
  198. td.list-table-check-td + td,
  199. th.list-table-check-td + th {
  200. padding-left: 5px;
  201. }
  202. input.layui-input,
  203. .layui-btn.layui-btn-sm {
  204. height: 28px;
  205. line-height: 28px;
  206. box-sizing: border-box;
  207. }
  208. .layui-btn.layui-btn-sm {
  209. margin-top: -1px;
  210. }
  211. &[lay-size="lg"] {
  212. input.layui-input, .layui-btn.layui-btn-sm {
  213. height: 38px;
  214. box-sizing: border-box;
  215. line-height: 38px;
  216. }
  217. }
  218. .list-table-sort-td {
  219. width: 10px !important;
  220. text-align: center !important;
  221. padding-left: 5px !important;
  222. padding-right: 5px !important;
  223. button {
  224. width: 56px;
  225. background: #009688
  226. }
  227. input {
  228. width: 50px;
  229. color: #666;
  230. padding: 2px;
  231. font-size: 9pt;
  232. border: 1px solid @InputBorderNormalColor;
  233. text-align: center;
  234. line-height: 18px
  235. }
  236. }
  237. .list-table-check-td {
  238. width: 10px !important;
  239. text-align: center !important;
  240. padding-left: 15px !important;
  241. padding-right: 15px !important;
  242. input {
  243. margin: 0 !important;
  244. vertical-align: middle
  245. }
  246. }
  247. }
  248. .tableSelect {
  249. .layui-table-view {
  250. margin: 10px 0;
  251. }
  252. }
  253. .layui-table-view {
  254. margin: 0;
  255. .layui-table-page {
  256. .layui-laypage {
  257. .layui-laypage-prev,
  258. .layui-laypage-next {
  259. padding: 0 8px;
  260. border-radius: 3px;
  261. }
  262. .layui-laypage-prev {
  263. margin-left: 0 !important;
  264. }
  265. .layui-laypage-next {
  266. margin-right: 6px !important;
  267. }
  268. }
  269. }
  270. }
  271. .layui-layer-tips {
  272. &.layui-layer-image {
  273. width: auto !important;
  274. .layui-layer-content {
  275. width: auto !important;
  276. padding: 4px !important;
  277. img {
  278. z-index: 2;
  279. position: relative;
  280. }
  281. i.layui-layer-TipsR {
  282. z-index: 1;
  283. }
  284. }
  285. }
  286. }
  287. .layui-layer-content {
  288. .layui-form.layui-card {
  289. margin: 0;
  290. box-shadow: none !important;
  291. .layui-card-body {
  292. padding: 20px 40px 0 0;
  293. }
  294. }
  295. }
  296. .layui-layer-dialog {
  297. .layui-layer-content {
  298. .layui-layer-ico {
  299. top: 50% !important;
  300. margin-top: -15px !important
  301. }
  302. }
  303. }
  304. .laydate-footer-btns {
  305. span {
  306. line-height: 24px !important
  307. }
  308. }
  309. .layui-form-select dl {
  310. top: 37px;
  311. padding: 0;
  312. border-color: @InputBorderActiveColor;
  313. }
  314. .layui-form-checkbox.layui-form-checked {
  315. i {
  316. border-color: #5FB878;
  317. }
  318. }