common.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. /* 公用的 */
  2. html {
  3. color: #333;
  4. }
  5. .layui-fluid {
  6. padding: 15px;
  7. }
  8. .layui-layer-btn a {
  9. margin: 0 5px 0 !important;
  10. }
  11. .ui-required:before {
  12. content: "*";
  13. color: red;
  14. vertical-align: middle;
  15. }
  16. /* 滚动条 */
  17. /* ::-webkit-scrollbar-thumb {
  18. background-color: rgba(50, 50, 50, 0.6)
  19. }
  20. ::-webkit-scrollbar-track {
  21. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  22. box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  23. background-color: #f5f5f5;
  24. }
  25. ::-webkit-scrollbar {
  26. width: 6px;
  27. height: 6px;
  28. background-color: #f5f5f5;
  29. } */
  30. /* 表格 */
  31. .layui-table,
  32. .layui-table-view {
  33. margin-top: 0;
  34. }
  35. .layout-header .layui-form-item {
  36. margin-bottom: 0;
  37. }
  38. .layout-header .layui-form-item .layui-inline:first-child {
  39. width: 40%;
  40. }
  41. .layout-header.layui-card-header {
  42. padding: 0 0 5px;
  43. height: auto;
  44. }
  45. .layout-body.layui-card-body {
  46. padding: 0 0;
  47. }
  48. .search-icon {
  49. position: absolute;
  50. left: 10px;
  51. top: 50%;
  52. transform: translate(0, -50%);
  53. }
  54. .search-icon+input {
  55. padding-left: 35px;
  56. }
  57. .imgBox {
  58. height: 190px;
  59. overflow: hidden;
  60. border: 1px solid #ddd;
  61. }
  62. .imgBox img {
  63. max-width: 100%;
  64. }
  65. #detailBox {
  66. padding: 20px;
  67. background-color: #f2f2f2;
  68. }
  69. #detailBox .layui-card-header {
  70. border-left: 4px solid #009688;
  71. font-weight: bold;
  72. }
  73. #detailBox .layui-card-body ul li {
  74. padding: 5px;
  75. display: flex;
  76. align-items: center;
  77. }
  78. #detailBox .layui-card-body ul li span {
  79. flex: 1;
  80. }
  81. #detailBox .layui-card-body ul li img{
  82. width: auto;
  83. max-height: 250px;
  84. vertical-align: text-top;
  85. }
  86. #detailBox .layui-card-body ul li span img {
  87. width: auto;
  88. max-width: 400px;
  89. max-height: 300px;
  90. vertical-align: text-top;
  91. }
  92. #detailBox .layui-card-body ul li span:first-child {
  93. flex: 1.5;
  94. }
  95. .layui-btn-container .counter {
  96. font-size: 14px;
  97. line-height: 38px;
  98. float: right;
  99. color: #FF5722
  100. }
  101. .date-btn {
  102. position: relative;
  103. padding: 0 15px;
  104. }
  105. .date-btn .layui-icon {
  106. font-size: 26px;
  107. margin-right: 0;
  108. }
  109. .date-btn .dateClass {
  110. position: absolute;
  111. left: 0;
  112. right: 0;
  113. width: 100%;
  114. height: 100%;
  115. opacity: 0;
  116. }
  117. .chart-box {
  118. margin-top: 30px;
  119. }
  120. .goodsTotal {
  121. text-align: center;
  122. padding: 15px;
  123. border: 1px solid #ECECEC;
  124. margin: 15px 0 0;
  125. }
  126. .goodsTotal>div {
  127. border-right: 1px solid #ECECEC;
  128. }
  129. .goodsTotal>div:last-child {
  130. border: none;
  131. }
  132. .goodsTotal span {
  133. font-size: 28px;
  134. }
  135. .goodsTotal p {
  136. font-size: :16px;
  137. margin-top: 5px;
  138. }
  139. @media screen and (max-width: 450px) {
  140. .layout-header .layui-form-item .layui-inline {
  141. width: auto !important;
  142. }
  143. }