113 lines
3.7 KiB
SCSS
113 lines
3.7 KiB
SCSS
// Copyright (c) 2012-2026, hitobito AG, Kreisjagdverband Bautzen e.V. This file is part of
|
|
// hitobito_kjv and licensed under the Affero General Public License version 3
|
|
// or later. See the COPYING file at the top-level directory.
|
|
|
|
// Kopie von hitobito/app/assets/stylesheets/hitobito/customizable/_variables.scss,
|
|
// die diese Datei vollständig ersetzt. Nur die Farben sind angepasst. Nach Core-Updates
|
|
// prüfen, ob dort neue Variablen hinzugekommen sind.
|
|
|
|
/* Bootstrap variable definition here */
|
|
|
|
// KJV-Farben (von www.kreisjagdverband-bautzen.de)
|
|
// -------------------------
|
|
$kjv-olive: #365902; // Navigation, Kopf- und Fußzeile der Website
|
|
$kjv-olive-dark: #2B4702;
|
|
$kjv-green: #3C6302; // Link-Hover der Website
|
|
$kjv-green-light: #76A60F; // Link- und Akzentfarbe der Website
|
|
// Linktext: dunkler als #76A60F, das auf Weiß nur Kontrast 2,9:1 erreicht (WCAG: 4,5:1)
|
|
$kjv-green-text: #4F7A0A;
|
|
$kjv-yellow: #F2D21B; // Wappen
|
|
$kjv-blue: #2C5DAA; // Wappen
|
|
|
|
// GLOBAL VALUES
|
|
// --------------------------------------------------
|
|
|
|
// Suppress the vast amount of color contrast warnings for now
|
|
$min-contrast-ratio: 1;
|
|
|
|
// Grays
|
|
// -------------------------
|
|
$black: #474E5D !default;
|
|
$gray-darker: #696E79 !default;
|
|
$gray-dark: #8b8b8b !default;
|
|
$gray: #979CA6 !default;
|
|
$gray-light: #E8EBF0 !default;
|
|
$gray-lighter: #F8F9FA !default;
|
|
$white: #fff !default;
|
|
|
|
// Colors
|
|
// ----------------------------
|
|
// $blue ist die Primärfarbe (Buttons), $purple die Farbe für aktive/hover Elemente.
|
|
$blue: $kjv-green-text;
|
|
$blue-dark: $kjv-olive;
|
|
$green: $kjv-green-light;
|
|
$green-dark: $kjv-green;
|
|
|
|
$orange: #DC795B;
|
|
$orange-dark: #C75B3B;
|
|
$purple: $kjv-green;
|
|
$purple-dark: $kjv-olive-dark;
|
|
|
|
$text-color: $black !default;
|
|
$border-color: $gray-light !default;
|
|
|
|
$page-background: #E6EBDC;
|
|
$content-background: #ECEFE6;
|
|
$footer-background: $kjv-olive;
|
|
$body-background: $kjv-olive;
|
|
|
|
$focus-color: $kjv-blue;
|
|
$shadow-color: darken($page-background, 10%);
|
|
$link-color: $kjv-green-text;
|
|
$link-hover-color: $kjv-olive;
|
|
|
|
$footer-color: $white;
|
|
$footer-color-hover: $kjv-yellow;
|
|
|
|
$table-color-hover: #EEF4E0;
|
|
|
|
// Typography
|
|
// -------------------------
|
|
|
|
$sans-font-family: 'Noto Sans', sans-serif;
|
|
$heading-font-family: 'Noto Sans', sans-serif; //'Quicksand', $sans-font-family !default;
|
|
$font-family-base: 'Noto Sans', sans-serif; //'Varela Round', $sans-font-family !default;
|
|
$headings-font-weight: normal !default; // instead of browser default, bold
|
|
|
|
// Decoration
|
|
// -------------------------
|
|
$border-radius: 6px;
|
|
|
|
// Rhythm
|
|
// -------------------------
|
|
$v-space: 24px;
|
|
|
|
|
|
// FLUID GRID
|
|
// --------------------------------------------------
|
|
|
|
// Default
|
|
// -------------------------
|
|
$fluid-grid-column-width: 6.382978723% !default;
|
|
$fluid-grid-gutter-width: 2.127659574% !default;
|
|
|
|
// Portrait tablet to default desktop
|
|
// -------------------------
|
|
$fluid-grid-column-width-tablet: 5.801104972% !default;
|
|
$fluid-grid-gutter-width-tablet: 2.762430939% !default;
|
|
|
|
// Large desktop and up
|
|
// -------------------------
|
|
$fluid-grid-column-width-large: 5.982905983% !default;
|
|
$fluid-grid-gutter-width-large: 2.564102564% !default;
|
|
|
|
|
|
// RESPONSIVE DESIGN
|
|
// --------------------------------------------------
|
|
|
|
// Media widths
|
|
// -------------------------
|
|
$media-phone: 480px !default;
|
|
$media-tablet: 768px !default;
|
|
$media-desktop: 980px !default;
|
|
$media-large: 1200px !default; // and upper
|