_dark.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. /*************************************************
  2. * Dark themed components
  3. **************************************************/
  4. body.dark,
  5. .dark .docs-toc-link,
  6. .dark .docs-sidebar .nav > li:not(.active) > a,
  7. .dark .modal button.close,
  8. .dark input,
  9. .dark .form-control,
  10. .dark .form-control:focus {
  11. color: rgb(248, 248, 242);
  12. background: $sta-dark-background;
  13. }
  14. .dark .form-control {
  15. background-color: rgb(68, 71, 90);
  16. }
  17. .dark .form-control:focus {
  18. background-color: rgb(68, 71, 90);
  19. border-color: $sta-primary;
  20. box-shadow: 0 0 0 .2rem $sta-primary-dark;
  21. }
  22. .dark h1,
  23. .dark h2,
  24. .dark h3,
  25. .dark h4,
  26. .dark h5,
  27. .dark h6 {
  28. color: rgb(152, 166, 173);
  29. }
  30. .dark pre,
  31. .dark code {
  32. color: rgb(139, 233, 253);
  33. background-color: rgb(68, 71, 90);
  34. }
  35. .dark pre {
  36. background-color: rgb(68, 71, 90);
  37. border-color: rgb(68, 71, 90);
  38. }
  39. .dark .markup-quote {
  40. background-image: linear-gradient(to bottom, rgba(233, 231, 245, 0.2), rgba(233, 231, 245, 0.2));
  41. }
  42. .dark #MathJax_Zoom {
  43. background-color: rgb(68, 71, 90) !important;
  44. }
  45. .dark ul.share li a {
  46. background-color: $sta-primary;
  47. }
  48. .dark table table {
  49. background-color: rgb(40, 42, 54);
  50. }
  51. /* Table Striped */
  52. .dark table > tbody > tr:nth-child(odd) > td,
  53. .dark table > tbody > tr:nth-child(odd) > th {
  54. background-color: rgb(50, 52, 64);
  55. }
  56. /* Table Hover */
  57. .dark table > tbody > tr:hover > td,
  58. .dark table > tbody > tr:hover > th {
  59. background-color: rgb(60, 62, 74);
  60. }
  61. .dark .article-title a {
  62. color: #fff;
  63. }
  64. .dark .portrait-title h2 {
  65. color: #fff;
  66. }
  67. .dark .portrait-title h3 {
  68. color: rgba(255, 255, 255, 0.54);
  69. }
  70. .dark ul.ul-edu li .description p.institution {
  71. color: rgba(255, 255, 255, 0.6);
  72. }
  73. .dark .pub-icon {
  74. color: rgba(255, 255, 255, 0.54);
  75. }
  76. .dark .talk-metadata {
  77. color: rgba(255, 255, 255, 0.54);
  78. }
  79. .dark .pagination li > a, .pagination li > span {
  80. background-color: rgb(40, 42, 54);
  81. border: 1px solid #ddd;
  82. }
  83. .dark .card {
  84. background: #343a40;
  85. }
  86. .dark .card h4 a {
  87. color: $sta-primary;
  88. border-bottom: solid 1px transparent;
  89. }
  90. .dark .card .card-image.hover-overlay::before {
  91. background: #666;
  92. }
  93. .dark .card .card-image.hover-overlay::after {
  94. color: #fff;
  95. }
  96. .dark .navbar-light {
  97. box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 255, 255, .11);
  98. border-color: #070707;
  99. }
  100. .dark select {
  101. background: rgb(40, 42, 54);
  102. color: rgb(248, 248, 242);
  103. }
  104. /* Algolia search input */
  105. .dark .ais-search-box--input {
  106. background-color: rgb(68, 71, 90);
  107. }
  108. .dark #search-query {
  109. background-color: rgb(68, 71, 90);
  110. }
  111. .dark .badge-light {
  112. color: rgba(255, 255, 255, .68);
  113. background: rgba(255, 255, 255, .2);
  114. }
  115. .dark .badge-light[href]:focus,
  116. .dark .badge-light[href]:hover {
  117. background: rgba(255, 255, 255, .3);
  118. }
  119. .dark a.badge:focus,
  120. .dark a.badge:hover {
  121. color: rgba(255, 255, 255, .68);
  122. }
  123. .dark .btn-primary,
  124. .dark .btn.btn-primary.active {
  125. color: initial;
  126. }