| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- @import '../variables';
- @import '../override-bootstrap-variables';
- // == Define Bootstrap theme colors
- //
- // colors for overriding bootstrap $theme-colors
- // $secondary: #;
- // $info: #;
- // $success: #;
- // $warning: #;
- // $danger: #;
- // $light: #;
- // $dark: #;
- $themecolor: #ffb8c6;
- $themelight: #fff0f5;
- $subthemecolor: #67a856;
- $third-main-color: antiquewhite;
- $accentcolor: #e08dbc;
- .grw-navbar {
- border-bottom: $accentcolor 4px solid;
- }
- //== Light Mode
- //
- html[light],
- html[dark] {
- $primary: $themecolor;
- $secondary: $accentcolor;
- // Background colors
- $bgcolor-global: white;
- $bgcolor-inline-code: $gray-100; //optional
- $bgcolor-card: $gray-50;
- $bgcolor-blinked-section: rgba($primary, 0.5);
- $bgcolor-keyword-highlighted: $grw-marker-cyan;
- // Font colors
- $color-global: black;
- $color-reversal: white;
- $color-link: $subthemecolor;
- $color-link-hover: lighten($subthemecolor, 10%);
- $color-link-wiki: $subthemecolor;
- $color-link-wiki-hover: lighten($color-link-wiki, 10%);
- $color-link-nabvar: $bgcolor-global;
- $color-inline-code: #c7254e; // optional
- // List Group colors
- // $color-list: $color-global;
- $bgcolor-list: $themelight;
- $color-list-hover: lighten($accentcolor, 20%);
- $bgcolor-list-hover: darken($bgcolor-list, 2%);
- $color-list-active: $bgcolor-global;
- $bgcolor-list-active: $accentcolor;
- // Navbar
- $bgcolor-navbar: #d3687c;
- $bgcolor-search-top-dropdown: $themecolor;
- $border-image-navbar: linear-gradient(to right, #cbe682 0%, #4ad6e8 50%, #ea42f0 100%);
- // Logo colors
- $bgcolor-logo: $bgcolor-navbar;
- $fillcolor-logo-mark: lighten(desaturate($bgcolor-inline-code, 10%), 15%);
- // Sidebar
- $bgcolor-sidebar: $themecolor;
- // Sidebar resize button
- $color-resize-button: $color-reversal;
- $bgcolor-resize-button: $subthemecolor;
- $color-resize-button-hover: $color-reversal;
- $bgcolor-resize-button-hover: lighten($bgcolor-resize-button, 5%);
- // Sidebar contents
- $color-sidebar-context: $subthemecolor;
- $bgcolor-sidebar-context: #fdfffe;
- // Sidebar list group
- $bgcolor-sidebar-list-group: #fafbff; // optional
- // Icon colors
- $color-editor-icons: $color-global;
- // Border colors
- $border-color-theme: $gray-300; // former: `$navbar-border: $gray-300;`
- $bordercolor-inline-code: #ccc8c8; // optional
- // Dropdown colors
- $bgcolor-dropdown-link-active: $growi-blue;
- // admin theme box
- $color-theme-color-box: darken($primary, 20%);
- @import 'apply-colors';
- @import 'apply-colors-light';
- //Button
- // Outline buttons are applyed the accent color to this spring theme cuz the primary is too light and it looks like unable to click them.
- .btn.btn-outline-primary {
- @include button-outline-variant($accentcolor, $accentcolor, lighten($accentcolor, 20%), $accentcolor);
- }
- .btn-group.grw-page-editor-mode-manager {
- .btn.btn-outline-primary {
- @include btn-page-editor-mode-manager(darken($primary, 50%), lighten($primary, 5%), lighten($primary, 10%));
- }
- }
- .growi:not(.login-page) {
- // add background-image
- #page-wrapper,
- .page-editor-preview-container {
- background-image: url('/images/themes/spring/spring02.svg');
- background-attachment: fixed;
- background-position: bottom;
- background-size: cover;
- }
- }
- // login and register
- .nologin {
- #page-wrapper {
- background-color: $themelight;
- background-image: url('/images/themes/spring/spring.svg');
- background-attachment: fixed;
- background-position: bottom;
- background-size: cover;
- }
- .login-header,
- .login-dialog {
- background-color: rgba(black, 0.1);
- }
- .link-switch {
- color: $color-global;
- }
- .grw-external-auth-form {
- border-color: $accentcolor !important;
- }
- }
- .table {
- background-color: $bgcolor-global;
- }
- /*
- Cards
- */
- .card-timeline > .card-header {
- background-color: $third-main-color;
- }
- .admin-bot-card {
- .grw-botcard-title-active {
- color: $color-reversal;
- }
- }
- h1,
- h2 {
- color: $subthemecolor;
- svg {
- fill: $subthemecolor;
- }
- }
- .nav.nav-tabs {
- > .nav-item {
- > .nav-link.active {
- color: $subthemecolor;
- }
- }
- }
- }
|