side-menu.less 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. .side-header {
  2. padding: 0 4px;
  3. position: relative;
  4. display: flex;
  5. align-items: center;
  6. justify-content: center;
  7. height: 64px;
  8. border-bottom: 1px solid #CCCCCC;
  9. .header-logo {
  10. width: 40px;
  11. height: 40px;
  12. color: @primary-color;
  13. }
  14. .header-colls {
  15. position: absolute;
  16. right: -24px;
  17. background-color: transparent;
  18. color: white;
  19. padding: 0;
  20. z-index: 40;
  21. }
  22. }
  23. .header-title-text {
  24. color: #000000;
  25. margin-bottom: 0;
  26. flex: 1;
  27. text-align: left;
  28. }
  29. .menu-icon {
  30. width: 20px !important;
  31. height: 20px !important;
  32. }
  33. .menu-area {
  34. margin-top: 10px;
  35. height: calc(100vh - 65px);
  36. overflow-y: hidden;
  37. .ant-list-item {
  38. cursor: pointer;
  39. }
  40. .active {
  41. .ant-pro-list-row-title, .ant-list-item-meta-description {
  42. color: #3C82F6 !important;
  43. }
  44. }
  45. .course-active {
  46. border: 2px solid #3C82F6;
  47. border-radius: 12px;
  48. box-sizing: border-box;
  49. }
  50. .course-info {
  51. padding: 10px;
  52. text-align: left;
  53. .info-flex {
  54. display: flex;
  55. justify-content: space-between;
  56. margin-bottom: 5px;
  57. }
  58. }
  59. .list-box {
  60. margin: 0 10px;
  61. .ant-pro-card-body {
  62. .ant-spin-container {
  63. height: calc(100vh - 170px);
  64. overflow: auto;
  65. }
  66. }
  67. }
  68. .course-list {
  69. margin: 0 5px;
  70. color: black;
  71. }
  72. }
  73. .ant-menu-item-selected::before {
  74. content: ' ';
  75. width: 10px;
  76. position: absolute;
  77. left: 0;
  78. top: 0;
  79. height: 100%;
  80. background-color: @primary-color;
  81. }
  82. .ant-menu-title-content {
  83. text-align: left;
  84. }