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.

331 lines
5.3 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. html {
  2. width: 100%;
  3. height: 100%;
  4. overflow: hidden;
  5. position: fixed;
  6. }
  7. .tooltip .arrow {
  8. display: none;
  9. }
  10. .navbar {
  11. position: absolute;
  12. top: 0;
  13. width: 100%;
  14. }
  15. #sidebar a:hover {
  16. text-decoration: none;
  17. }
  18. .wrapper {
  19. height: calc(100% - 56px);
  20. overflow: auto;
  21. position: fixed;
  22. top: 56px;
  23. width: 100%;
  24. align-items: stretch;
  25. }
  26. .cell {
  27. color: black;
  28. }
  29. .cell-button {
  30. color: gray;
  31. }
  32. .cell-button:hover {
  33. color: darkgray;
  34. }
  35. .toolbar-button {
  36. padding-left: 2rem;
  37. padding-top: .375rem;
  38. line-height: 1.5;
  39. color: white;
  40. }
  41. .toolbar-button:hover {
  42. color: #ddd;
  43. text-decoration: none;
  44. }
  45. .back-chevron {
  46. line-height: 1.5 !important;
  47. vertical-align: middle !important;
  48. margin-bottom: 4px !important;
  49. }
  50. #sidebar {
  51. padding-left: 20px;
  52. background-color: #ecedee;
  53. height: 100vh;
  54. padding-top: 20px;
  55. border-right: 1px solid darkgray;
  56. position: fixed;
  57. width: 250px;
  58. }
  59. #sidebar ul > li {
  60. padding-bottom: 10px;
  61. }
  62. #sidebar ul > li > a {
  63. color: rgba(0,0,0,.5);
  64. }
  65. #sidebar ul > li.active > a {
  66. color: black;
  67. }
  68. #sidebar div > a {
  69. color: rgba(0,0,0,.5);
  70. }
  71. #sidebar div.active > a {
  72. color: black;
  73. }
  74. #content {
  75. width: 100%;
  76. padding: 20px;
  77. }
  78. #article pre {
  79. background-color: #fdf6e3;
  80. color: #657b83;
  81. border-radius: 5px;
  82. padding: 5px;
  83. }
  84. @media (prefers-color-scheme: dark) {
  85. #article pre {
  86. background-color: #002b36;
  87. color: #839496;
  88. border-radius: 5px;
  89. padding: 5px;
  90. }
  91. .cell {
  92. color: white;
  93. }
  94. #sidebar {
  95. padding-left: 20px;
  96. background-color: #1a1d20;
  97. height: 100vh;
  98. padding-top: 20px;
  99. border-right: 1px solid black;
  100. }
  101. #sidebar ul > li {
  102. padding-bottom: 10px;
  103. }
  104. #sidebar ul > li > a {
  105. color: rgba(255,255,255,.5);
  106. }
  107. #sidebar ul > li.active > a {
  108. color: white;
  109. }
  110. #sidebar div > a {
  111. color: rgba(255,255,255,.5);
  112. }
  113. #sidebar div.active > a {
  114. color: white;
  115. }
  116. body {
  117. background-color: #111 !important;
  118. color: #eee;
  119. }
  120. .jumbotron {
  121. background-color: #333 !important;
  122. }
  123. .modal-content {
  124. background-color: #111 !important;
  125. color: #eee;
  126. }
  127. .modal-header {
  128. border-bottom: 1px solid #555 !important;
  129. }
  130. .modal-header .close {
  131. color: #eee !important;
  132. text-shadow: 0 1px 0 #555 !important;
  133. }
  134. .modal-footer {
  135. border-top: 1px solid #555 !important;
  136. }
  137. .bg-light {
  138. background-color: #333 !important;
  139. }
  140. .bg-white {
  141. background-color: #000 !important;
  142. }
  143. .bg-black {
  144. background-color: #eee !important;
  145. }
  146. .form-control {
  147. display: block;
  148. width: 100%;
  149. height: calc(1.5em + 0.75rem + 2px);
  150. padding: 0.375rem 0.75rem;
  151. font-size: 1rem;
  152. font-weight: 400;
  153. line-height: 1.5;
  154. color: #dee2e6;
  155. background-color: #000;
  156. background-clip: padding-box;
  157. border: 1px solid #6c757d;
  158. border-radius: 0.25rem;
  159. transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  160. }
  161. @media (prefers-reduced-motion: reduce) {
  162. .form-control {
  163. transition: none;
  164. }
  165. }
  166. .form-control::-ms-expand {
  167. background-color: transparent;
  168. border: 0;
  169. }
  170. .form-control:-moz-focusring {
  171. color: transparent;
  172. text-shadow: 0 0 0 #dee2e6;
  173. }
  174. .form-control:focus {
  175. color: #dee2e6;
  176. background-color: #191d21;
  177. border-color: #b3d7ff;
  178. outline: 0;
  179. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  180. }
  181. .form-control::-webkit-input-placeholder {
  182. color: #6c757d;
  183. opacity: 1;
  184. }
  185. .form-control::-moz-placeholder {
  186. color: #6c757d;
  187. opacity: 1;
  188. }
  189. .form-control::-ms-input-placeholder {
  190. color: #6c757d;
  191. opacity: 1;
  192. }
  193. .form-control::placeholder {
  194. color: #6c757d;
  195. opacity: 1;
  196. }
  197. .form-control:disabled,
  198. .form-control[readonly] {
  199. background-color: #343a40;
  200. opacity: 1;
  201. }
  202. .card {
  203. background-color: #000;
  204. border: 1px solid #6c757d;
  205. }
  206. }
  207. @media all and (display-mode: standalone) {
  208. .navbar {
  209. position: absolute;
  210. top: 0;
  211. width: 100%;
  212. padding-top: 44px !important;
  213. }
  214. #refreshButton {
  215. display: block !important;
  216. }
  217. .wrapper {
  218. height: calc(100% - 92px);
  219. overflow: auto;
  220. position: fixed;
  221. top: 92px;
  222. width: 100%;
  223. align-items: stretch;
  224. padding-left: env(safe-area-inset-left);
  225. padding-right: env(safe-area-inset-right);
  226. padding-bottom: env(safe-area-insert-bottom);
  227. }
  228. @media (min-width: 577px) {
  229. .navbar {
  230. position: absolute;
  231. top: 0;
  232. width: 100%;
  233. padding-top: 24px !important;
  234. }
  235. #navbarNavDropdown {
  236. padding-left: env(safe-area-inset-left);
  237. padding-right: env(safe-area-inset-right);
  238. }
  239. .wrapper {
  240. height: calc(100% - 72px);
  241. overflow: auto;
  242. position: fixed;
  243. top: 72px;
  244. width: 100%;
  245. align-items: stretch;
  246. padding-left: env(safe-area-inset-left);
  247. padding-right: env(safe-area-inset-right);
  248. padding-bottom: env(safe-area-insert-bottom);
  249. }
  250. }
  251. }
  252. @media (max-width: 991.98px) {
  253. #sidebar {
  254. display: none !important;
  255. }
  256. }
  257. @media (min-width: 991.98px) {
  258. .navbar-nav {
  259. display: none !important;
  260. }
  261. #sidebar {
  262. min-width: 250px;
  263. max-width: 250px;
  264. display: block !important;
  265. }
  266. #content {
  267. left: 250px;
  268. width: calc(100% - 250px) !important;
  269. position: relative;
  270. }
  271. #sidebar.active {
  272. margin-left: -250px;
  273. }
  274. }