知与行后台管理端

global.less 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. @import '~antd/es/style/themes/default.less';
  2. html,
  3. body,
  4. #root {
  5. height: 100%;
  6. }
  7. .colorWeak {
  8. filter: invert(80%);
  9. }
  10. .ant-layout {
  11. min-height: 100vh;
  12. background-color: #f8f8f8;
  13. }
  14. canvas {
  15. display: block;
  16. }
  17. body {
  18. text-rendering: optimizeLegibility;
  19. -webkit-font-smoothing: antialiased;
  20. -moz-osx-font-smoothing: grayscale;
  21. font-size: 16px;
  22. }
  23. ul,
  24. ol {
  25. list-style: none;
  26. }
  27. @media (max-width: @screen-xs) {
  28. .ant-table {
  29. width: 100%;
  30. overflow-x: auto;
  31. &-thead > tr,
  32. &-tbody > tr {
  33. > th,
  34. > td {
  35. white-space: pre;
  36. > span {
  37. display: block;
  38. }
  39. }
  40. }
  41. }
  42. }
  43. .ant-layout-header .ant-pro-global-header{
  44. background:#393C39;
  45. }
  46. .ant-layout .ant-pro-sider-menu-sider.light .ant-pro-sider-menu-logo{
  47. background:#EF273A;
  48. box-shadow: none;
  49. border: none;
  50. a{
  51. h1{
  52. color: #fff;
  53. }
  54. }
  55. }
  56. .antd-pro-layouts-user-layout-container{
  57. .ant-input-affix-wrapper .ant-input-prefix{
  58. left:7px;
  59. }
  60. .ant-input-affix-wrapper .ant-input:not(:first-child) {
  61. padding-left: 40px;
  62. }
  63. }
  64. .ant-layout{
  65. .ant-menu-vertical .ant-menu-item,
  66. .ant-menu-vertical-left .ant-menu-item,
  67. .ant-menu-vertical-right .ant-menu-item,
  68. .ant-menu-inline .ant-menu-item,
  69. .ant-menu-vertical .ant-menu-submenu-title,
  70. .ant-menu-vertical-left .ant-menu-submenu-title,
  71. .ant-menu-vertical-right .ant-menu-submenu-title,
  72. .ant-menu-inline .ant-menu-submenu-title,
  73. .ant-input ,.ant-btn,.ant-select,.ant-table,.ant-form-item,.ant-form label,.ant-tabs-nav-container {
  74. font-size: 0.096rem;
  75. }
  76. .ant-input{
  77. height: 32px;
  78. border-radius: 4px;
  79. padding: 0 0 0 10px;
  80. align-items: center;
  81. }
  82. .ant-radio-button-wrapper{
  83. color: #FF7E48;
  84. border: 1px solid #FF7E48;
  85. }
  86. .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
  87. color: #fff;
  88. background: #FF7E48;
  89. border-color: #FF7E48;
  90. box-shadow: none;
  91. }
  92. .ant-radio-button-wrapper:not(:first-child)::before{
  93. background: #FF7E48;
  94. }
  95. .ant-radio-button-wrapper:first-child {
  96. border-left: 1px solid #FF7E48;
  97. }
  98. .ant-radio-button-wrapper:hover{
  99. border-color: #FF7E48;
  100. color: #FF7E48; ;
  101. }
  102. .ant-row.ant-form-item .ant-form-item-label.ant-col-sm-3{
  103. min-width: 100px;
  104. }
  105. .ant-card-body{
  106. padding: 0;
  107. }
  108. .antd-pro-pages-index-echarts-styles-pie,.antd-pro-pages-index-echarts-styles-bar{
  109. padding: 40px;
  110. margin-bottom: 40px;
  111. }
  112. .ant-breadcrumb{
  113. font-size: 0.096rem;
  114. .anticon {
  115. font-size: 0.096rem;
  116. }
  117. }
  118. .ant-pro-global-header-trigger{
  119. display: none;
  120. }
  121. .ant-pro-sider-menu-sider.light{
  122. box-shadow: none;
  123. .ant-pro-sider-menu-logo h1{
  124. color: #fff;
  125. }
  126. }
  127. .ant-pro-page-header-wrap-page-header-warp{
  128. background:rgba(240,240,240,1);
  129. }
  130. .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{
  131. background:rgb(230, 227, 227)!important;
  132. border: none!important;
  133. }
  134. .ant-menu-inline .ant-menu-selected::after, .ant-menu-inline .ant-menu-item-selected::after{
  135. opacity: 0;
  136. }
  137. .ant-menu-inline > .ant-menu-item{
  138. height: 45px;
  139. line-height: 45px;
  140. margin: 0;
  141. .ant-menu-submenu-title{
  142. font-size: 16px!important;
  143. }
  144. }
  145. .ant-menu.ant-pro-sider-menu{
  146. padding: 0!important;
  147. }
  148. .ant-breadcrumb + .ant-page-header-heading{
  149. display: none;
  150. }
  151. .ant-page-header{
  152. height: 50px;
  153. padding:0 30px;
  154. line-height: 50px;
  155. .ant-breadcrumb{
  156. color: #333;
  157. }
  158. }
  159. .ant-pro-sider-menu-logo img{
  160. height: 41px;
  161. }
  162. .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {
  163. color: #FF7E48;
  164. }
  165. .ant-table{
  166. line-height: 3;
  167. }
  168. .ant-modal-header{
  169. border-bottom: none;
  170. .ant-modal-title{
  171. font-size: 24px;
  172. line-height: 50px;
  173. }
  174. }
  175. .ant-modal-footer{
  176. border-top:none;
  177. }
  178. }