-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
230 lines (207 loc) · 4.66 KB
/
style.css
File metadata and controls
230 lines (207 loc) · 4.66 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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
body {
/* stile generale del corpo della pagina */
background-color: #0d1217;
color: #e0e0e0;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
height: auto;
background-image:
radial-gradient(circle at 20% 25%, rgba(26,40,48,0.8) 4%, transparent 5%),
radial-gradient(circle at 70% 80%, rgba(28,44,56,0.7) 3%, transparent 4%),
radial-gradient(circle at 50% 50%, rgba(22,36,48,0.6) 2%, transparent 3%);
background-size: 20px 20px;
}
header {
/* stile per l'intestazione */
background-color: #04060700;
color: #e0e0e0;
padding: 16px;
text-align: center;
}
.sidebar {
/*stileperlabarralaterale*/background-color: #0c101362;
color: #e0e0e0;
width: 200px;
padding: 20px;
position: fixed;
height: calc(100%);
z-index: 1000;
overflow-y: auto;
transition: transform 0.3s ease;
transform: translateX(-40px);
-webkit-transform: translateX(-40px);
-moz-transform: translateX(-40px);
-ms-transform: translateX(-40px);
-o-transform: translateX(-40px);
}
.sidebar button {
/* stile per i pulsanti della barra laterale */
width: 100%;
padding: 4px 0;
margin: 10px 0;
background-color: #1a232b;
color: #e0e0e0;
border: 2px solid transparent;
border-radius: 8px;
cursor: pointer;
transition: border-color 0.3s, background-color 0.3s;
height: 40px;
line-height: 40px;
padding: 0 8px;
box-sizing: border-box;
}
.sidebar button:hover {
/* stile per i pulsanti della barra laterale al passaggio del mouse */
background-color: #22303a;
}
.sidebar button.selected {
/* stile per i pulsanti selezionati */
border: 2px solid #20e5f2;
}
.grid-container {
/* stile per il contenitore della griglia */
margin-left: 240px;
padding: 16px;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 50px;
}
.widget {
/* stile per i widget */
background: #0c101362;
border-radius: 8px;
padding: 16px;
text-align: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
display: inline-block;
width: fit-content;
height: fit-content;
}
.widget-title {
/* stile per il titolo dei widget */
position: relative;
cursor: help;
}
.widget-title:hover::after {
/*stileperl'effettohoversultitolodeiwidget*/content: attr(title);
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
background-color: #22303a;
color: #fff;
border: 2px solid transparent;
border-radius: 8px;
border-color: #1a232b;
padding: 5px 10px;
border-radius: 8px;
white-space: nowrap;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
z-index: 10;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
-ms-border-radius: 8px;
-o-border-radius: 8px;
}
.widget-options {
/* stile per le opzioni dei widget */
display: grid;
grid-template-columns: repeat(2, 100px);
gap: 10px;
justify-content: center;
margin-top: 10px;
}
.widget-button {
/* stile per i pulsanti dei widget */
width: 100px;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
background-color: #1a232b;
color: #e0e0e0;
border: 2px solid transparent;
border-radius: 8px;
cursor: pointer;
transition: border-color 0.3s, background-color 0.3s;
}
.widget-button:hover {
/* stile per i pulsanti dei widget al passaggio del mouse */
background-color: #22303a;
}
.widget-button.selected {
/* stile per i pulsanti dei widget selezionati */
border-color: #20e5f2;
}
.widget-color-picker {
width: 100px;
height: 100px;
background-color: #1a232b;
border: 2px solid transparent;
border-radius: 8px;
cursor: pointer;
padding: 0;
}
.widget-color-picker:hover {
background-color: #22303a;
}
.widget-color-picker:focus {
outline: none;
border-color: #20e5f2;
}
.widget-alpha-picker {
width: 100px;
height: 100px;
background-color: #1a232b;
border: 2px solid transparent;
border-radius: 8px;
cursor: pointer;
padding: 0;
font-family: inherit;
color: inherit;
text-align: center;
}
.widget-alpha-picker:hover {
background-color: #22303a;
}
.widget-alpha-picker:focus {
outline: none;
border-color: #20e5f2;
}
#static-button {
position: absolute;
top: 16px;
right: 16px;
width: 50px;
height: 50px;
background-color: #1a232b;
color: #e0e0e0;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 1.2rem;
z-index: 1001;
}
#static-button:hover {
background-color: #22303a;
}
#static-button-g {
position: absolute;
top: 16px;
right: 80px;
width: 50px;
height: 50px;
background-color: #1a232b;
color: #e0e0e0;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 1.2rem;
z-index: 1001;
}
#static-button-g:hover {
background-color: #22303a;
}