skin-blue.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /*
  2. * Skin: Blue
  3. * ----------
  4. */
  5. @import "../../bootstrap-less/mixins.less";
  6. @import "../../bootstrap-less/variables.less";
  7. @import "../variables.less";
  8. @import "../mixins.less";
  9. .skin-blue {
  10. //Navbar
  11. .main-header {
  12. .navbar {
  13. .navbar-variant(@light-blue; #fff);
  14. .sidebar-toggle {
  15. color: #fff;
  16. &:hover {
  17. background-color: darken(@light-blue, 5%);
  18. }
  19. }
  20. @media (max-width: @screen-header-collapse) {
  21. .dropdown-menu {
  22. li {
  23. &.divider {
  24. background-color: rgba(255, 255, 255, 0.1);
  25. }
  26. a {
  27. color: #fff;
  28. &:hover {
  29. background: darken(@light-blue, 5%);
  30. }
  31. }
  32. }
  33. }
  34. }
  35. }
  36. //Logo
  37. .logo {
  38. .logo-variant(darken(@light-blue, 5%));
  39. }
  40. li.user-header {
  41. background-color: @light-blue;
  42. }
  43. }
  44. //Content Header
  45. .content-header {
  46. background: transparent;
  47. }
  48. //User Panel (resides in the sidebar)
  49. .user-panel {
  50. > .info, > .info > a {
  51. color: #fff;
  52. }
  53. }
  54. //Sidebar & Treeview menu
  55. // the menu
  56. .sidebar-menu > li {
  57. &.header {
  58. color: lighten(@sidebar-dark-bg, 20%);
  59. background: darken(@sidebar-dark-bg, 4%);
  60. }
  61. > a {
  62. border-left: 3px solid transparent;
  63. margin-right: 1px;
  64. }
  65. //Hover and active states
  66. > a:hover, &.active > a {
  67. color: @sidebar-dark-hover-color;
  68. background: @sidebar-dark-hover-bg;
  69. border-left-color: @light-blue;
  70. }
  71. > .treeview-menu {
  72. margin: 0 1px;
  73. background: @sidebar-dark-submenu-bg;
  74. }
  75. }
  76. // Sidebar color (Both .wrapper and .left-side are responsible for sidebar bg color)
  77. .wrapper,
  78. .main-sidebar,
  79. .left-side {
  80. background: @sidebar-dark-bg;
  81. }
  82. .sidebar a {
  83. color: @sidebar-dark-color;
  84. &:hover {
  85. text-decoration: none;
  86. }
  87. }
  88. // skin blue treeview-menu
  89. .treeview-menu {
  90. > li {
  91. > a {
  92. color: @sidebar-dark-submenu-color;
  93. }
  94. &.active > a, > a:hover {
  95. color: @sidebar-dark-submenu-hover-color;
  96. }
  97. }
  98. }
  99. .sidebar-form {
  100. .border-radius(3px);
  101. border: 1px solid lighten(@sidebar-dark-bg, 10%);
  102. margin: 10px 10px;
  103. input[type="text"], .btn {
  104. box-shadow: none;
  105. background-color: lighten(@sidebar-dark-bg, 10%);
  106. border: 1px solid transparent;
  107. height: 35px;
  108. .transition(all @transition-speed @transition-fn);
  109. }
  110. input[type="text"] {
  111. color: #666;
  112. .border-radius(2px, 0, 2px, 0) !important;
  113. &:focus, &:focus + .input-group-btn .btn {
  114. background-color: #fff;
  115. color: #666;
  116. }
  117. &:focus + .input-group-btn .btn {
  118. border-left-color: #fff;
  119. }
  120. }
  121. .btn {
  122. color: #999;
  123. .border-radius(0, 2px, 0, 2px) !important;
  124. }
  125. }
  126. }
  127. .skin-blue.layout-top-nav .main-header > .logo {
  128. .logo-variant(@light-blue);
  129. }