left-menu.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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, &:active {
  34. background-color: @link-color;
  35. color: white;
  36. i {
  37. color: white;
  38. }
  39. }
  40. i {
  41. color: @gray;
  42. }
  43. padding: (@line-height-computed / 4);
  44. font-weight: 700;
  45. }
  46. .link-disabled {
  47. color: @gray-light;
  48. }
  49. }
  50. ul.nav-downloads {
  51. li {
  52. display: inline-block;
  53. text-align: center;
  54. width: 100px;
  55. a {
  56. color: @gray-dark;
  57. }
  58. i {
  59. margin: (@line-height-computed / 4) 0;
  60. }
  61. }
  62. }
  63. form.settings {
  64. label {
  65. font-weight: normal;
  66. color: @gray-dark;
  67. flex: 1 0 50%;
  68. margin-bottom: 0;
  69. margin-top: 9px;
  70. padding-right: 5px;
  71. white-space: nowrap;
  72. }
  73. select {
  74. width: 50%;
  75. flex: 0 0 50%;
  76. margin: 9px 0;
  77. }
  78. .form-controls {
  79. clear: both;
  80. padding: 0 9px;
  81. display: flex;
  82. flex-wrap: wrap;
  83. align-items: baseline;
  84. justify-content: flex-end;
  85. border-bottom: solid 1px rgba(0, 0, 0, 0.07);
  86. &:first-child {
  87. margin-top: -9px;
  88. }
  89. &:last-child {
  90. border-bottom: 0;
  91. }
  92. &:hover {
  93. background-color: @link-color;
  94. // select.form-control {
  95. // color: white;
  96. // }
  97. label {
  98. color: white;
  99. }
  100. }
  101. &:after {
  102. content:"";
  103. display:table;
  104. clear:both;
  105. }
  106. }
  107. }
  108. }
  109. #left-menu-mask {
  110. .full-size;
  111. opacity: 0.4;
  112. background-color: #999;
  113. z-index: 99;
  114. }