1 |
2d703592
|
Andreas Kohlbecker
|
// Global variable overrides. Must be declared before importing Valo.
|
2 |
|
|
|
3 |
|
|
// Defines the plaintext font size, weight and family. Font size affects general component sizing.
|
4 |
|
|
//$v-font-size: 16px;
|
5 |
|
|
//$v-font-weight: 300;
|
6 |
15f46faf
|
Andreas Kohlbecker
|
$v-font-family: "Open Sans", sans-serif;
|
7 |
2d703592
|
Andreas Kohlbecker
|
|
8 |
|
|
// Defines the border used by all components.
|
9 |
|
|
//$v-border: 1px solid (v-shade 0.7);
|
10 |
|
|
//$v-border-radius: 4px;
|
11 |
|
|
|
12 |
|
|
// Affects the color of some component elements, e.g Button, Panel title, etc
|
13 |
|
|
//$v-background-color: hsl(210, 0%, 98%);
|
14 |
|
|
// Affects the color of content areas, e.g Panel and Window content, TextField input etc
|
15 |
|
|
//$v-app-background-color: $v-background-color;
|
16 |
|
|
|
17 |
15f46faf
|
Andreas Kohlbecker
|
// Affects the visual appearance of all component
|
18 |
2d703592
|
Andreas Kohlbecker
|
//$v-gradient: v-linear 8%;
|
19 |
|
|
//$v-bevel-depth: 30%;
|
20 |
|
|
//$v-shadow-opacity: 5%;
|
21 |
|
|
|
22 |
|
|
// Defines colors for indicating status (focus, success, failure)
|
23 |
|
|
//$v-focus-color: valo-focus-color(); // Calculates a suitable color automatically
|
24 |
|
|
//$v-friendly-color: #2c9720;
|
25 |
|
|
//$v-error-indicator-color: #ed473b;
|
26 |
|
|
|
27 |
|
|
// ================== DARK ================ //
|
28 |
|
|
$v-app-loading-text: "Dark Valo";
|
29 |
|
|
$v-background-color: #444d50;
|
30 |
|
|
$v-focus-color: #07a9ca;
|
31 |
|
|
$v-focus-style: 0 0 3px 2px $v-focus-color;
|
32 |
|
|
$v-bevel-depth: 40%;
|
33 |
|
|
$v-gradient: v-linear 12%;
|
34 |
|
|
$v-border-radius: 10px;
|
35 |
|
|
$v-font-family: Roboto, sans-serif;
|
36 |
|
|
$v-font-weight: 400;
|
37 |
|
|
$v-font-weight--header: 400;
|
38 |
|
|
$v-bevel: inset 0 1px 2px v-tint, inset 0 0 1px (v-tint 0.1);
|
39 |
|
|
$v-shadow: 0 0 0 3px rgba(0,0,0,0.32), 0 1px 0 3px rgba(255,255,255,0.14);
|
40 |
|
|
$v-textfield-bevel: inset 0 2px 2px v-shade;
|
41 |
|
|
$v-textfield-shadow: $v-shadow;
|
42 |
|
|
$v-unit-size: 40px;
|
43 |
|
|
$v-overlay-shadow: 0 0 0 3px (v-shade 8), 0 5px 10px (v-shade 4);
|
44 |
|
|
$v-component-group-spacing: 6px;
|
45 |
|
|
// ========================================== //
|
46 |
|
|
|
47 |
|
|
// For more information, see: https://vaadin.com/book/-/page/themes.valo.html
|
48 |
|
|
// Example variants can be copy/pasted from https://vaadin.com/wiki/-/wiki/Main/Valo+Examples
|
49 |
|
|
|
50 |
|
|
@import "../valo/valo.scss";
|
51 |
|
|
|
52 |
|
|
@mixin edit-valo {
|
53 |
|
|
@include valo;
|
54 |
|
|
|
55 |
|
|
// Insert your own theme rules here
|
56 |
15f46faf
|
Andreas Kohlbecker
|
|
57 |
|
|
// ----- Banner and Logo ------
|
58 |
|
|
$banner-height: 60px;
|
59 |
|
|
|
60 |
|
|
.logo {
|
61 |
|
|
font-weight: bold;
|
62 |
|
|
font-size: 1.5em;
|
63 |
|
|
color: #0E9B06;
|
64 |
|
|
height: $banner-height;
|
65 |
|
|
}
|
66 |
|
|
|
67 |
|
|
.banner {
|
68 |
|
|
height: $banner-height;
|
69 |
|
|
}
|
70 |
|
|
|
71 |
|
|
|
72 |
2d703592
|
Andreas Kohlbecker
|
}
|