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.

204 lines
3.3 KiB

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