semi-dark-layout.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. // ================================================================================================
  2. // File Name: semi-dark-layout.scss
  3. // Description: SCSS file for semi dark layout.
  4. // ----------------------------------------------------------------------------------------------
  5. // Item Name: Vuexy - Vuejs, React, Angular, HTML & Laravel Admin Dashboard Template
  6. // Author: PIXINVENT
  7. // Author URL: http://www.themeforest.net/user/pixinvent
  8. // ================================================================================================
  9. @import '../bootstrap-extended/include'; // Bootstrap includes
  10. @import '../components/include'; // Components includes
  11. .semi-dark-layout {
  12. /************ Main Menu **************/
  13. // main menu
  14. .main-menu {
  15. background-color: $theme-dark-card-bg;
  16. .shadow-bottom {
  17. background: linear-gradient(
  18. 180deg,
  19. $theme-dark-card-bg 44%,
  20. rgba($theme-dark-card-bg, 0.51) 73%,
  21. rgba($theme-dark-card-bg, 0)
  22. );
  23. }
  24. &:not(.expanded) {
  25. .navigation {
  26. .sidebar-group-active {
  27. > a {
  28. background-color: $theme-dark-body-bg !important;
  29. }
  30. }
  31. }
  32. }
  33. }
  34. // main menu content
  35. .main-menu-content {
  36. .navigation-main {
  37. background-color: $theme-dark-card-bg;
  38. .navigation-header {
  39. color: $theme-dark-text-muted-color;
  40. }
  41. .nav-item {
  42. a {
  43. color: $theme-dark-body-color;
  44. }
  45. &.open:not(.sidebar-group-active) {
  46. > a {
  47. background-color: $theme-dark-body-bg;
  48. }
  49. }
  50. a:after,
  51. a {
  52. color: $theme-dark-body-color !important;
  53. }
  54. .menu-content {
  55. background-color: $theme-dark-card-bg;
  56. .active {
  57. .menu-item {
  58. color: $white;
  59. }
  60. }
  61. li:not(.active) {
  62. a {
  63. background-color: $theme-dark-card-bg;
  64. }
  65. }
  66. }
  67. }
  68. .active {
  69. > a {
  70. color: $white !important;
  71. }
  72. .menu-title,
  73. i {
  74. color: $white;
  75. }
  76. }
  77. .sidebar-group-active {
  78. a {
  79. border-radius: 4px;
  80. }
  81. }
  82. .menu-content {
  83. background-color: $theme-dark-card-bg;
  84. .active {
  85. z-index: 1;
  86. a {
  87. background-color: transparent;
  88. }
  89. }
  90. }
  91. }
  92. }
  93. // menu collapsed active item color
  94. .menu-collapsed {
  95. .main-menu:not(.expanded) {
  96. .navigation-main {
  97. li.active {
  98. > a {
  99. background: $theme-dark-body-bg !important;
  100. color: $white !important;
  101. }
  102. }
  103. }
  104. }
  105. }
  106. }