ThemeKibela.module.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. @use '../../styles/variables' as *;
  2. @use '../../styles/bootstrap/variables' as *;
  3. @use '../../styles/theme/mixins/page-editor-mode-manager';
  4. $bgcolor-theme: rgb(18, 86, 163);
  5. $themelight: #f4f5f6;
  6. $subthemecolor: rgb(88, 130, 250);
  7. $lightthemecolor: rgba(181, 203, 247, 0.61);
  8. .main {
  9. .container,
  10. .container-sm,
  11. .container-md,
  12. .container-lg,
  13. .container-fluid {
  14. padding-top: 30px;
  15. padding-bottom: 30px;
  16. background-color: white;
  17. border-radius: 0.35em;
  18. }
  19. }
  20. .user-page-footer {
  21. margin-top: 3rem;
  22. margin-bottom: 3rem;
  23. background-color: white;
  24. border-radius: 0.35em;
  25. }
  26. // Light Mode
  27. .theme :global {
  28. // Background colors
  29. $bgcolor-navbar: white;
  30. $bgcolor-navbar-active: $bgcolor-theme;
  31. $bgcolor-global: $themelight;
  32. $bgcolor-inline-code: lighten($subthemecolor, 70%);
  33. $bgcolor-card: $lightthemecolor;
  34. //$bgcolor-keyword-highlighted: $grw-marker-yellow;
  35. $color-header: $bgcolor-theme;
  36. $color-global: #3c4a60;
  37. $color-link: rgb(74, 109, 204);
  38. $color-link-hover: lighten($color-link, 12%);
  39. $sidebar-text: $bgcolor-theme;
  40. $color-reversal: $gray-100;
  41. $primary: $bgcolor-theme;
  42. $info: lighten($bgcolor-theme, 20%);
  43. $bgcolor-blinked-section: rgba($primary, 0.2);
  44. // List Group colors
  45. $color-list: $color-global;
  46. $bgcolor-list: $bgcolor-global;
  47. $color-list-active: $color-reversal;
  48. $bgcolor-list-active: $primary;
  49. $color-list-hover: $color-reversal;
  50. // navbar
  51. $bgcolor-search-top-dropdown: $primary;
  52. // Logo colors
  53. $bgcolor-logo: transparent;
  54. $fillcolor-logo-mark: lighten($bgcolor-theme, 20%);
  55. // Icon colors
  56. $color-editor-icons: $color-global;
  57. $color-link-wiki: lighten($bgcolor-theme, 20%);
  58. $color-link-wiki-hover: lighten($color-link-wiki, 20%);
  59. $color-link-nabvar: $color-global;
  60. $color-link-nabvar-hover: $color-global;
  61. $color-inline-code: $subthemecolor;
  62. // border colors
  63. $border-color-theme: $lightthemecolor;
  64. $thickborder: #5584e1;
  65. $bordercolor-inline-code: $lightthemecolor;
  66. // dropdown colors
  67. $bgcolor-dropdown-link-active: $growi-blue;
  68. // admin theme box
  69. $color-theme-color-box: lighten($bgcolor-theme, 20%);
  70. // Sidebar
  71. $bgcolor-sidebar: $bgcolor-theme;
  72. $color-sidebar-context: $color-reversal;
  73. $bgcolor-sidebar-context: lighten($bgcolor-theme, 10%);
  74. // Sidebar resize button
  75. $color-resize-button: $color-reversal;
  76. $bgcolor-resize-button: #209fd8;
  77. $color-resize-button-hover: $color-reversal;
  78. $bgcolor-resize-button-hover: lighten($bgcolor-resize-button, 5%);
  79. // Sidebar contents
  80. $color-sidebar-context: $color-global;
  81. $bgcolor-sidebar-context: #f4f6fc;
  82. // Sidebar list group
  83. $bgcolor-sidebar-list-group: #fafbff; // optional
  84. @import '../../styles/theme/apply-colors';
  85. @import '../../styles/theme/apply-colors-light';
  86. //Button
  87. .grw-page-editor-mode-manager {
  88. .btn.btn-outline-primary {
  89. @include page-editor-mode-manager.btn-page-editor-mode-manager(darken($primary, 15%), lighten($primary, 45%), lighten($primary, 50%));
  90. }
  91. }
  92. }