_layout_white.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. @charset "UTF-8";
  2. @import "_config.less";
  3. .layui-layout-theme-white > .layui-layout-admin {
  4. > .layui-side {
  5. box-shadow: none;
  6. background-color: #fff !important;
  7. .layui-logo {
  8. color: #333;
  9. box-shadow: none;
  10. font-weight: bold;
  11. }
  12. .layui-side-scroll {
  13. display: flex !important;
  14. box-sizing: border-box;
  15. .layui-nav-child {
  16. background: none !important;
  17. }
  18. .layui-side-icon {
  19. width: 60px;
  20. display: none;
  21. background: #fff;
  22. a {
  23. height: 60px;
  24. display: block;
  25. text-align: center;
  26. line-height: 60px;
  27. }
  28. .layui-icon {
  29. color: #999;
  30. }
  31. > .layui-this {
  32. background: #fff;
  33. .layui-icon {
  34. color: #090 !important;
  35. }
  36. }
  37. }
  38. .layui-side-tree {
  39. flex: 1;
  40. .layui-nav-item {
  41. background: none !important;
  42. border-bottom-color: #fff;
  43. a {
  44. color: #333 !important;
  45. background: none !important;
  46. border-bottom: none !important;
  47. &:hover {
  48. color: #090 !important;
  49. }
  50. }
  51. .layui-this, &.layui-this {
  52. > a {
  53. color: #090 !important;
  54. background: none !important;
  55. font-weight: bold !important;
  56. &:hover {
  57. background: none !important;
  58. }
  59. }
  60. }
  61. &ed > a {
  62. color: #999 !important;
  63. }
  64. }
  65. }
  66. }
  67. }
  68. > .layui-body > .think-page-body > .layui-card {
  69. &:before {
  70. top: 0;
  71. left: 0;
  72. bottom: 0;
  73. z-index: 4;
  74. content: '';
  75. position: absolute;
  76. box-shadow: @ShadowBodyRight;
  77. }
  78. > .layui-card-header {
  79. border-left: @BoxBottomLine;
  80. }
  81. }
  82. > .layui-header {
  83. background: #fff !important;
  84. .layui-nav-item {
  85. &.layui-this > a {
  86. color: #090 !important;
  87. font-weight: bold;
  88. background: none !important;
  89. }
  90. > a {
  91. color: #333 !important;
  92. &:hover {
  93. color: #090 !important;
  94. background: none !important;
  95. }
  96. }
  97. }
  98. }
  99. }