left-menu.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. #left-menu {
  2. position: absolute;
  3. width: 260px;
  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 0.35s;
  12. transition: left ease-in-out 0.35s;
  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. }
  47. ul.nav-downloads {
  48. li {
  49. display: inline-block;
  50. text-align: center;
  51. width: 100px;
  52. a {
  53. color: @gray-dark;
  54. }
  55. .pdf-disabled {
  56. color: @gray-light;
  57. }
  58. i {
  59. margin: (@line-height-computed / 4) 0;
  60. }
  61. }
  62. }
  63. form.settings {
  64. label {
  65. float: left;
  66. font-weight: normal;
  67. color: @gray-dark;
  68. margin-bottom: 0;
  69. }
  70. select {
  71. float: right;
  72. width: 50%;
  73. // height: 30px;
  74. // margin: 2px 0;
  75. // background: none;
  76. // border: none;
  77. // box-shadow: none;
  78. // color: @link-color;
  79. // cursor: pointer;
  80. // font-size: 14px;
  81. // font-weight: 700;
  82. }
  83. .form-controls {
  84. clear: both;
  85. padding: (@line-height-computed / 4);
  86. &:hover {
  87. background-color: @link-color;
  88. // select.form-control {
  89. // color: white;
  90. // }
  91. label {
  92. color: white;
  93. }
  94. }
  95. &:after {
  96. content:"";
  97. display:table;
  98. clear:both;
  99. }
  100. }
  101. }
  102. }
  103. #left-menu-mask {
  104. .full-size;
  105. opacity: 0.4;
  106. background-color: #999;
  107. z-index: 99;
  108. }