ThemeChristmas.module.scss 4.6 KB

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