1
|
// 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
|
$v-font-family: "Open Sans", sans-serif;
|
7
|
|
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
|
// Affects the visual appearance of all component
|
18
|
//$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
|
/*
|
29
|
$v-app-loading-text: "Dark Valo";
|
30
|
$v-background-color: #444d50;
|
31
|
$v-focus-color: #07a9ca;
|
32
|
$v-focus-style: 0 0 3px 2px $v-focus-color;
|
33
|
$v-bevel-depth: 40%;
|
34
|
$v-gradient: v-linear 12%;
|
35
|
$v-border-radius: 10px;
|
36
|
$v-font-family: Roboto, sans-serif;
|
37
|
$v-font-weight: 400;
|
38
|
$v-font-weight--header: 400;
|
39
|
$v-bevel: inset 0 1px 2px v-tint, inset 0 0 1px (v-tint 0.1);
|
40
|
$v-shadow: 0 0 0 3px rgba(0,0,0,0.32), 0 1px 0 3px rgba(255,255,255,0.14);
|
41
|
$v-textfield-bevel: inset 0 2px 2px v-shade;
|
42
|
$v-textfield-shadow: $v-shadow;
|
43
|
$v-unit-size: 40px;
|
44
|
$v-overlay-shadow: 0 0 0 3px (v-shade 8), 0 5px 10px (v-shade 4);
|
45
|
$v-component-group-spacing: 6px;
|
46
|
*/
|
47
|
// ========================================== //
|
48
|
|
49
|
// For more information, see: https://vaadin.com/book/-/page/themes.valo.html
|
50
|
// Example variants can be copy/pasted from https://vaadin.com/wiki/-/wiki/Main/Valo+Examples
|
51
|
|
52
|
@import "../valo/valo.scss";
|
53
|
|
54
|
@mixin edit-valo {
|
55
|
@include valo;
|
56
|
|
57
|
// Insert your own theme rules here
|
58
|
|
59
|
.logo_giant {
|
60
|
font-size: 400%;
|
61
|
}
|
62
|
|
63
|
.v-button-giant { /* using v-slot-* to select the wrapper for the label */
|
64
|
font-size: 32px;
|
65
|
.v-icon {
|
66
|
font-size: 64px;
|
67
|
line-height: 50px;
|
68
|
}
|
69
|
}
|
70
|
|
71
|
.dashboard-actions {
|
72
|
margin: 0 10%;
|
73
|
|
74
|
.dashboard-action-2 {
|
75
|
width: 50%;
|
76
|
.v-label {
|
77
|
white-space: normal;
|
78
|
}
|
79
|
}
|
80
|
.dashboard-action-3 {
|
81
|
width: 33%;
|
82
|
.v-label {
|
83
|
white-space: normal;
|
84
|
}
|
85
|
}
|
86
|
&[width-range~="-650px"] {
|
87
|
.dashboard-action-2, .dashboard-action-3 {
|
88
|
width: 100%;
|
89
|
}
|
90
|
}
|
91
|
}
|
92
|
|
93
|
}
|