left-menu.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. #left-menu {
  2. position: absolute;
  3. width: @left-menu-width;
  4. padding: (@line-height-computed / 2);
  5. top: 0;
  6. bottom: 0;
  7. background-color: #f4f4f4;
  8. z-index: 100;
  9. overflow-y: auto;
  10. overflow-x: hidden;
  11. -webkit-transition: left ease-in-out @left-menu-animation-duration;
  12. transition: left ease-in-out @left-menu-animation-duration;
  13. font-size: 14px;
  14. left: -280px;
  15. &.shown {
  16. left: 0;
  17. }
  18. h4 {
  19. font-family: @font-family-sans-serif;
  20. font-weight: 400;
  21. font-size: 1rem;
  22. margin: (@line-height-computed / 2) 0;
  23. padding-bottom: (@line-height-computed / 4);
  24. color: @gray-light;
  25. border-bottom: 1px solid @gray-lighter;
  26. }
  27. > h4:first-child {
  28. margin-top: 0;
  29. }
  30. ul.nav {
  31. a {
  32. cursor: pointer;
  33. &:hover,
  34. &:active,
  35. &:focus {
  36. background-color: @link-color;
  37. color: white;
  38. i {
  39. color: white;
  40. }
  41. }
  42. i {
  43. color: @gray;
  44. }
  45. padding: (@line-height-computed / 4);
  46. font-weight: 700;
  47. }
  48. .link-disabled {
  49. color: @gray-light;
  50. }
  51. }
  52. ul.nav-downloads {
  53. li {
  54. display: inline-block;
  55. text-align: center;
  56. width: 100px;
  57. a {
  58. color: @gray-dark;
  59. }
  60. i {
  61. margin: (@line-height-computed / 4) 0;
  62. }
  63. }
  64. }
  65. form.settings {
  66. label {
  67. font-weight: normal;
  68. color: @gray-dark;
  69. flex: 1 0 50%;
  70. margin-bottom: 0;
  71. margin-top: 9px;
  72. padding-right: 5px;
  73. white-space: nowrap;
  74. }
  75. select {
  76. width: 50%;
  77. flex: 0 0 50%;
  78. margin: 9px 0;
  79. }
  80. .form-controls {
  81. clear: both;
  82. padding: 0 9px;
  83. display: flex;
  84. flex-wrap: wrap;
  85. align-items: baseline;
  86. justify-content: flex-end;
  87. border-bottom: solid 1px rgba(0, 0, 0, 0.07);
  88. &:first-child {
  89. margin-top: -9px;
  90. }
  91. &:last-child {
  92. border-bottom: 0;
  93. }
  94. &:hover {
  95. background-color: @link-color;
  96. // select.form-control {
  97. // color: white;
  98. // }
  99. label,
  100. i.fa {
  101. color: white;
  102. }
  103. }
  104. &:after {
  105. content:"";
  106. display:table;
  107. clear:both;
  108. }
  109. }
  110. }
  111. }
  112. #left-menu-mask {
  113. .full-size;
  114. opacity: 0.4;
  115. background-color: #999;
  116. z-index: 99;
  117. }