1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
// Let's first take care of having the customized colors ready.
@import "./_colors.scss";
// Loading screen is the first thing that shows up, let's put it at the top.
div#loading {
position: absolute;
top: 0;
left: 0;
z-index: 100;
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
div.background {
position: absolute;
z-index: -1;
height: 100%;
width: 100%;
top: 0px;
left: 0px;
background: $background;
}
}
// Bulma/Buefy customization
@import "../../../node_modules/bulma/sass/utilities/_all.sass";
$body-size: 14px !default;
$family-primary: 'Nunito', BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
$size-normal: 1rem;
@import "../../../node_modules/bulma/bulma.sass";
@import "../../../node_modules/buefy/src/scss/buefy.scss";
/*
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
font-feature-settings: "liga";
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}
*/
/*
*,
*::before,
*::after {
box-sizing: border-box;
text-rendering: optimizeLegibility;
}
*/
html {
// font-size: 100%;
font-size: 14px;
background-color: $background;
}
h4 {
font-size: 2em;
font-weight: 700;
line-height: 1.25em;
}
div.spacer {
&.mt1 { margin-top: 1em; }
&.mt2 { margin-top: 2em; }
&.mt3 { margin-top: 3em; }
&.mt4 { margin-top: 4em; }
&.mt5 { margin-top: 5em; }
&.mt6 { margin-top: 6em; }
&.mt7 { margin-top: 7em; }
}
// Bulma color changes.
.tooltip.is-top.is-primary:before { border-top: 5px solid #20222b; }
.tooltip.is-primary:after { background: #20222b; }
div#drag-overlay {
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 100;
div.background {
background: rgba(0, 0, 0, 0.9);
position: absolute;
top: 3%;
left: 3%;
width: 94%;
height: 94%;
border: 2px dashed #fff;
border-radius: 10px;
box-shadow: 0 0 0 4px #ffffff00, 2px 1px 6px 4px rgba(10, 10, 0, 0.5);
}
div.drop {
width: 100%;
color: white;
position: absolute;
height: 100%;
align-items: center;
display: flex;
justify-content: center;
font-size: 2em;
}
}
section input, section a.button {
font-size: 14px !important;
}
section input, section p.control a.button {
border-left: 0px !important;
border-top: 0px !important;
border-right: 0px !important;
border-radius: 0px !important;
box-shadow: 0 0 0 !important;
}
section p.control a.button { margin-left: 10px !important; }
section p.control button {
height: 100%;
font-size: 12px;
}
.switch input[type=checkbox] + .check:before {
background: #fbfbfb;
}
/*
Register and Login forms
*/
section#login,
section#register { background-color: $backgroundLight1 !important; }
section#login input,
section#register input,
section#login a.button,
section#register a.button {
font-size: 14px !important;
}
section#login input,
section#register input,
section#login p.control a.button,
section#register p.control a.button {
border-left: 0px !important;
border-top: 0px !important;
border-right: 0px !important;
border-radius: 0px !important;
box-shadow: 0 0 0 !important;
}
section#login p.control a.button,
section#register p.control a.button { margin-left: 10px !important; }
section#login p.control a#loginBtn,
section#register p.control a#loginBtn { border-right: 0px !important; }
section#login p.control a#registerBtn,
section#register p.control a#registerBtn { border-left: 0px !important; }
section#login a.is-text,
section#register a.is-text {
font-size: 1.25em;
line-height: 2.5em;
}
.modal-card-head, .modal-card-foot {
background: $backgroundLight1;
}
.switch {
margin-top: 5px;
}
|