christmas.scss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. @import '../variables';
  2. @import '../override-bootstrap-variables';
  3. // == Define Bootstrap theme colors
  4. //
  5. // colors for overriding bootstrap $theme-colors
  6. // $secondary: #;
  7. // $info: #;
  8. // $success: #;
  9. // $warning: #;
  10. // $danger: #;
  11. // $light: #;
  12. // $dark: #;
  13. $themecolor: #b3000c;
  14. $themelight: white;
  15. $subthemecolor: #30882c;
  16. $bgcolor-global: $themelight;
  17. $linktext: $subthemecolor;
  18. $linktext-hover: lighten($subthemecolor, 15%);
  19. $sidebar-text: white;
  20. $fillcolor-logo-mark: lighten(desaturate($themecolor, 50%), 50%);
  21. $color-link-wiki: lighten($subthemecolor, 5%);
  22. $color-link-wiki-hover: lighten($color-link-wiki, 15%);
  23. .growi:not(.login-page) {
  24. // add background-image
  25. #page-wrapper,
  26. .page-editor-preview-container {
  27. background-image: url('/images/themes/christmas/christmas.jpg');
  28. background-attachment: fixed;
  29. background-position: center center;
  30. background-size: cover;
  31. }
  32. }
  33. //== Light Mode
  34. //
  35. html[light],
  36. html[dark] {
  37. $primary: #d3c665;
  38. // Background colors
  39. $bgcolor-card: $gray-50;
  40. $bgcolor-inline-code: $gray-100; //optional
  41. // Font colors
  42. $color-global: #112744;
  43. $color-reversal: $gray-100;
  44. $color-link: $subthemecolor;
  45. $color-link-hover: lighten($color-link, 10%);
  46. $color-link-nabvar: $color-reversal;
  47. $color-inline-code: #c7254e; // optional
  48. // Table colors
  49. $border-color-table: $gray-400; // optional
  50. // List Group colors
  51. // $color-list: $color-global;
  52. $bgcolor-list: transparent;
  53. // $color-list-hover: $color-reversal;
  54. $color-list-active: white;
  55. $bgcolor-list-active: $themecolor;
  56. // Navbar
  57. $bgcolor-navbar: $themecolor;
  58. $bgcolor-search-top-dropdown: $primary;
  59. $border-color-navbar-gradient-left: #545fff;
  60. $border-color-navbar-gradient-right: #00a6e5;
  61. $border-image-navbar: linear-gradient(to right, $primary 0%, $subthemecolor 100%);
  62. // Logo colors
  63. $bgcolor-logo: $themecolor;
  64. // Sidebar
  65. $bgcolor-sidebar: $subthemecolor;
  66. $bgcolor-sidebar-nav-item-active: rgba(black, 0.37); // optional
  67. $text-shadow-sidebar-nav-item-active: 0px 0px 10px $primary; // optional
  68. // Sidebar resize button
  69. $color-resize-button: $color-reversal;
  70. $bgcolor-resize-button: $primary;
  71. $color-resize-button-hover: $color-reversal;
  72. $bgcolor-resize-button-hover: lighten($bgcolor-resize-button, 5%);
  73. $color-sidebar-context: $linktext;
  74. $bgcolor-sidebar-context: #f4f6fc;
  75. // Sidebar list group
  76. $bgcolor-sidebar-list-group: #fafbff; // optional
  77. // Icon colors
  78. $color-editor-icons: $color-global;
  79. // Border colors
  80. $border-color-theme: $gray-300; // former: `$navbar-border: $gray-300;`
  81. $bordercolor-inline-code: #ccc8c8; // optional
  82. // Dropdown colors
  83. $bgcolor-dropdown-link-active: $primary;
  84. $color-dropdown-link-active: $color-global;
  85. $color-dropdown-link-hover: $color-reversal;
  86. // admin theme box
  87. $color-theme-color-box: lighten($themecolor, 20%);
  88. @import 'apply-colors';
  89. @import 'apply-colors-light';
  90. // change color of highlighted header in wiki (default: orange)
  91. .wiki {
  92. .code-line.revision-head.highlighted {
  93. color: $themelight;
  94. background-color: lighten($themecolor, 20%);
  95. .icon-note,
  96. .icon-link {
  97. color: $themelight;
  98. }
  99. }
  100. }
  101. .sidebar {
  102. background: $themecolor;
  103. }
  104. .rbt-menu {
  105. background: $themelight;
  106. }
  107. #wrapper > #page-wrapper,
  108. .page-editor-preview-container {
  109. background-image: url('/images/themes/christmas/christmas.jpg');
  110. background-attachment: fixed;
  111. background-size: cover;
  112. }
  113. // login page
  114. .nologin {
  115. .input-group {
  116. .input-group-text {
  117. color: $gray-700;
  118. background-color: rgba(darken(white, 20%), 0.6);
  119. }
  120. .form-control {
  121. color: $gray-700;
  122. background-color: rgba(white, 0.6);
  123. }
  124. }
  125. .login-header,
  126. .login-dialog {
  127. background-color: rgba(#ccc, 0.5);
  128. }
  129. .link-switch {
  130. color: #bd3425;
  131. }
  132. .grw-external-auth-form {
  133. border-color: #aaa !important;
  134. }
  135. }
  136. /*
  137. * Modal
  138. */
  139. .modal-dialog .modal-header.bg-primary {
  140. background-image: url('/images/themes/christmas/christmas-navbar.jpg');
  141. border-bottom: 2px solid $subthemecolor;
  142. }
  143. /*
  144. * Card
  145. */
  146. .card {
  147. &.border-primary {
  148. border-color: $themecolor !important;
  149. }
  150. .card-header.bg-primary {
  151. color: white;
  152. background-image: url('/images/themes/christmas/christmas-navbar.jpg') !important;
  153. }
  154. }
  155. .grw-navbar {
  156. background-image: url('/images/themes/christmas/christmas-navbar.jpg');
  157. }
  158. }