forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflat.css
More file actions
192 lines (155 loc) · 3.24 KB
/
flat.css
File metadata and controls
192 lines (155 loc) · 3.24 KB
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
186
187
188
189
190
191
192
/*
Theme Name: Flat
Author: Robert Zollner (@Lupul)
Website: www.hestiacp.com
*/
@import url("../media_queries");
:root {
/* Alerts */
--alert-box-shadow: none;
--alert-text-shadow: none;
/* Top Bar */
--top-bar-background: #5070a6;
--top-bar-box-shadow: none;
}
/* Top bar
========================================================================== */
.top-bar-usage-inner {
text-shadow: none;
}
.top-bar-notifications-panel {
@media (--viewport-small) {
box-shadow: none;
border-color: #ccc;
}
}
.top-bar-menu-link {
text-shadow: none;
&:hover,
&:active {
background: #fff;
box-shadow: none;
}
&.active {
background: #fff;
}
}
/* Toolbar
========================================================================== */
.toolbar-sorting-menu {
box-shadow: none;
border-color: #ccc;
background-color: #fff;
}
/* Units table
========================================================================== */
.units-table-header {
box-shadow: none;
border-top: 1px solid var(--chart-grid-color);
}
.units-table-row {
@media (--viewport-large) {
&:hover {
box-shadow: none;
}
}
}
.units-table-cell {
& a {
color: #5f7eb3;
&:hover {
color: #5f7eb3;
}
}
}
.units-table-badge {
@media (--viewport-large) {
box-shadow: none;
}
}
/* Statistics
========================================================================== */
.stats-item {
@media (--viewport-large) {
&:hover {
box-shadow: none;
}
}
}
/* Spinner
========================================================================== */
.spinner-overlay {
& .fas {
box-shadow: 0 2px 11px 0 rgb(0 0 0 / 50%);
}
}
/* Box collapse component
========================================================================== */
.box-collapse-header {
background: #fafafa;
box-shadow: none;
}
/* Forms
========================================================================== */
.form-control,
.form-select {
box-shadow: none;
}
/* Buttons
========================================================================== */
.button {
box-shadow: none;
background: linear-gradient(to bottom, rgb(235 243 249 / 100%) 0%, rgb(223 235 245 / 100%) 100%);
&:hover {
color: #6986b7;
box-shadow: none;
background: linear-gradient(
to bottom,
rgb(241 248 253 / 100%) 0%,
rgb(227 240 251 / 100%) 100%
);
}
&:active {
box-shadow: none;
background: linear-gradient(
to bottom,
rgb(210 232 250 / 100%) 0%,
rgb(194 224 248 / 100%) 100%
);
}
}
.button-secondary {
box-shadow: none;
background: linear-gradient(to bottom, rgb(250 250 250 / 100%) 0%, rgb(241 241 241 / 100%) 100%);
}
.button-danger {
&:hover {
background: #fcd3cf;
color: #f4301a;
border-color: #f27e71;
}
&:active {
background: #a91200;
color: #fff;
border-color: #f4301a;
}
}
/* Modals
========================================================================== */
.modal {
box-shadow: 0 2px 11px 0 rgb(0 0 0 / 50%);
}
/* Login
========================================================================== */
.page-login,
.page-reset {
background: #5f7eb3;
}
.login {
@media (--viewport-small) {
background-color: rgb(255 255 255 / 80%);
box-shadow:
0 2px 10px rgb(0 0 0 / 30%),
inset 0 0 2px rgb(255 255 255 / 100%);
}
}