You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

220 lines
3.5 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. .wrapper {
  2. display: flex;
  3. width: 100%;
  4. align-items: stretch;
  5. }
  6. .toolbar-button {
  7. padding-left: 2rem;
  8. padding-top: .375rem;
  9. line-height: 1.5;
  10. color: white;
  11. }
  12. .back-chevron {
  13. line-height: 1.5 !important;
  14. vertical-align: middle !important;
  15. margin-bottom: 4px !important;
  16. }
  17. #sidebar {
  18. padding-left: 20px;
  19. background-color: #ecedee;
  20. height: 100vh;
  21. padding-top: 20px;
  22. border-right: 1px solid darkgray;
  23. position: fixed;
  24. width: 250px;
  25. }
  26. #sidebar ul > li {
  27. padding-bottom: 10px;
  28. }
  29. #sidebar ul > li > a {
  30. color: rgba(0,0,0,.5);
  31. }
  32. #sidebar ul > li.active > a {
  33. color: black;
  34. }
  35. #sidebar div > a {
  36. color: rgba(0,0,0,.5);
  37. }
  38. #sidebar div.active > a {
  39. color: black;
  40. }
  41. #content {
  42. width: 100%;
  43. padding: 20px;
  44. }
  45. @media (prefers-color-scheme: dark) {
  46. #sidebar {
  47. padding-left: 20px;
  48. background-color: #1a1d20;
  49. height: 100vh;
  50. padding-top: 20px;
  51. border-right: 1px solid black;
  52. }
  53. #sidebar ul > li {
  54. padding-bottom: 10px;
  55. }
  56. #sidebar ul > li > a {
  57. color: rgba(255,255,255,.5);
  58. }
  59. #sidebar ul > li.active > a {
  60. color: white;
  61. }
  62. #sidebar div > a {
  63. color: rgba(255,255,255,.5);
  64. }
  65. #sidebar div.active > a {
  66. color: white;
  67. }
  68. body {
  69. background-color: #111 !important;
  70. color: #eee;
  71. }
  72. .jumbotron {
  73. background-color: #333 !important;
  74. }
  75. .modal-content {
  76. background-color: #111 !important;
  77. color: #eee;
  78. }
  79. .modal-header {
  80. border-bottom: 1px solid #555 !important;
  81. }
  82. .modal-header .close {
  83. color: #eee !important;
  84. text-shadow: 0 1px 0 #555 !important;
  85. }
  86. .modal-footer {
  87. border-top: 1px solid #555 !important;
  88. }
  89. .bg-light {
  90. background-color: #333 !important;
  91. }
  92. .bg-white {
  93. background-color: #000 !important;
  94. }
  95. .bg-black {
  96. background-color: #eee !important;
  97. }
  98. .form-control {
  99. display: block;
  100. width: 100%;
  101. height: calc(1.5em + 0.75rem + 2px);
  102. padding: 0.375rem 0.75rem;
  103. font-size: 1rem;
  104. font-weight: 400;
  105. line-height: 1.5;
  106. color: #dee2e6;
  107. background-color: #000;
  108. background-clip: padding-box;
  109. border: 1px solid #6c757d;
  110. border-radius: 0.25rem;
  111. transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  112. }
  113. @media (prefers-reduced-motion: reduce) {
  114. .form-control {
  115. transition: none;
  116. }
  117. }
  118. .form-control::-ms-expand {
  119. background-color: transparent;
  120. border: 0;
  121. }
  122. .form-control:-moz-focusring {
  123. color: transparent;
  124. text-shadow: 0 0 0 #dee2e6;
  125. }
  126. .form-control:focus {
  127. color: #dee2e6;
  128. background-color: #191d21;
  129. border-color: #b3d7ff;
  130. outline: 0;
  131. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  132. }
  133. .form-control::-webkit-input-placeholder {
  134. color: #6c757d;
  135. opacity: 1;
  136. }
  137. .form-control::-moz-placeholder {
  138. color: #6c757d;
  139. opacity: 1;
  140. }
  141. .form-control::-ms-input-placeholder {
  142. color: #6c757d;
  143. opacity: 1;
  144. }
  145. .form-control::placeholder {
  146. color: #6c757d;
  147. opacity: 1;
  148. }
  149. .form-control:disabled,
  150. .form-control[readonly] {
  151. background-color: #343a40;
  152. opacity: 1;
  153. }
  154. .card {
  155. background-color: #000;
  156. border: 1px solid #6c757d;
  157. }
  158. }
  159. @media (max-width: 991.98px) {
  160. #sidebar {
  161. display: none !important;
  162. }
  163. }
  164. @media (min-width: 991.98px) {
  165. .navbar-nav {
  166. display: none !important;
  167. }
  168. #sidebar {
  169. min-width: 250px;
  170. max-width: 250px;
  171. display: block !important;
  172. }
  173. #content {
  174. left: 250px;
  175. width: calc(100% - 250px) !important;
  176. position: relative;
  177. }
  178. #sidebar.active {
  179. margin-left: -250px;
  180. }
  181. }