_dark.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. /* Match `pre` bg color above. */
  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 table table {
  46. background-color: rgb(40, 42, 54);
  47. }
  48. /* Table Striped */
  49. .dark table > tbody > tr:nth-child(odd) > td,
  50. .dark table > tbody > tr:nth-child(odd) > th {
  51. background-color: rgb(50, 52, 64);
  52. }
  53. /* Table Hover */
  54. .dark table > tbody > tr:hover > td,
  55. .dark table > tbody > tr:hover > th {
  56. background-color: rgb(60, 62, 74);
  57. }
  58. .dark .article-title a {
  59. color: #fff;
  60. }
  61. .dark .portrait-title h2 {
  62. color: #fff;
  63. }
  64. .dark .portrait-title h3 {
  65. color: rgba(255, 255, 255, 0.54);
  66. }
  67. .dark ul.ul-edu li .description p.institution {
  68. color: rgba(255, 255, 255, 0.6);
  69. }
  70. .dark .pub-icon {
  71. color: rgba(255, 255, 255, 0.54);
  72. }
  73. .dark .talk-metadata {
  74. color: rgba(255, 255, 255, 0.54);
  75. }
  76. .dark .pagination li > a, .pagination li > span {
  77. background-color: rgb(40, 42, 54);
  78. border: 1px solid #ddd;
  79. }
  80. .dark .card {
  81. background: #343a40;
  82. }
  83. .dark .card h4 a {
  84. color: $sta-primary;
  85. border-bottom: solid 1px transparent;
  86. }
  87. .dark .card .card-image.hover-overlay::before {
  88. background: #666;
  89. }
  90. .dark .card .card-image.hover-overlay::after {
  91. color: #fff;
  92. }
  93. .dark select {
  94. background: rgb(40, 42, 54);
  95. color: rgb(248, 248, 242);
  96. }
  97. .dark .badge-light {
  98. color: rgba(255, 255, 255, .68);
  99. background: rgba(255, 255, 255, .2);
  100. }
  101. .dark .badge-light[href]:focus,
  102. .dark .badge-light[href]:hover {
  103. background: rgba(255, 255, 255, .3);
  104. }
  105. .dark a.badge:focus,
  106. .dark a.badge:hover {
  107. color: rgba(255, 255, 255, .68);
  108. }
  109. .dark .btn-primary,
  110. .dark .btn.btn-primary.active {
  111. color: initial;
  112. }