common.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /* 公用的 */
  2. html {
  3. color: #333;
  4. }
  5. .layui-fluid {
  6. padding: 15px;
  7. }
  8. .layui-layout {
  9. background-color: #fff;
  10. padding: 15px;
  11. border-radius: 2px;
  12. }
  13. .layui-card .layui-tab-brief .layui-tab-title li {
  14. line-height: 42px;
  15. }
  16. .layui-card .layui-tab .layui-tab-content {
  17. padding: 15px;
  18. }
  19. .layui-layer-btn {
  20. padding: 20px 0 !important;
  21. margin-bottom: 0;
  22. }
  23. .layui-layer-btn .layui-btn {
  24. height: 32px;
  25. line-height: 32px;
  26. padding: 0 15px;
  27. }
  28. /* 二级tab */
  29. .type-tab-brief .layui-tab-title {
  30. /* border: none; */
  31. }
  32. .type-tab-brief .layui-tab-title .layui-this {
  33. color: #009688;
  34. }
  35. .type-tab-brief .layui-tab-title .layui-this:after {
  36. /* border: none; */
  37. }
  38. .layui-card .type-tab-brief .layui-tab-content {
  39. padding: 10px 0 0;
  40. border: none;
  41. border: 1px solid #e6e6e6;
  42. border-top: none;
  43. }
  44. /* 搜索样式 */
  45. .searching {
  46. display: flex;
  47. align-items: center;
  48. }
  49. .searching .search-box {
  50. position: relative;
  51. padding-right: 5px;
  52. }
  53. .searching .search-box .layui-icon-search {
  54. position: absolute;
  55. left: 10px;
  56. top: 7px;
  57. }
  58. .searching .search-box .search-input {
  59. padding-left: 35px;
  60. }
  61. /* 滚动条 */
  62. ::-webkit-scrollbar-thumb {
  63. background-color: rgba(50, 50, 50, 0.6);
  64. }
  65. ::-webkit-scrollbar-track {
  66. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  67. box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  68. background-color: #f5f5f5;
  69. }
  70. ::-webkit-scrollbar {
  71. width: 6px;
  72. height: 6px;
  73. background-color: #f5f5f5;
  74. }
  75. .layui-btn-more {
  76. position: absolute;
  77. top: 5px;
  78. right: 10px;
  79. padding: 0 8px;
  80. border-radius: 4px;
  81. background-color: #fff;
  82. }
  83. .type-list {
  84. border: 1px solid #e6e6e6;
  85. border-radius: 5px 0 0 5px;
  86. height: calc(100vh - 100px);
  87. overflow-y: auto;
  88. }
  89. .type-list li {
  90. border-bottom: 1px solid #ddd;
  91. height: 40px;
  92. line-height: 40px;
  93. padding: 0 15px;
  94. cursor: pointer;
  95. }
  96. .type-list li:last-child {
  97. border: none;
  98. }
  99. .type-list li.active {
  100. background-color: #f2f2f2;
  101. }
  102. .type-list li.active span {
  103. color: #000;
  104. }
  105. .type-list li span {
  106. font-size: 15px;
  107. }
  108. .l-border {
  109. border: 1px solid #e6e6e6;
  110. }
  111. .r-border {
  112. border: 1px solid #e6e6e6;
  113. }
  114. .layui-top {
  115. display: flex;
  116. align-items: center;
  117. flex-wrap: wrap;
  118. }
  119. .layui-top-header {
  120. border-left: 4px solid #1e9fff;
  121. padding-left: 10px;
  122. }