-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
178 lines (153 loc) · 3.42 KB
/
style.css
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
/*
Colori usati:
!TODO Scegliere pattern colori da usare;
!TODO Rendere tutti i colori usati variabili;
!TODO Aggiungere Switch nell'header;
!TODO Modificare Main__Section (Centrare e cambiare pattern colori).
*/
:root{
--background: #1f1f1f;
--div_bg: #393939;
--gold: #bf9b30;
--span: black;
--text: white;
--text__footer: gray;
}
body{
width: 350px;
height: 330px;
background-color: var(--background) !important;
padding: 15px;
}
/* HEADER SECTION*/
.header{
/*border:2px solid red;*/
height: 20%;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.logo{
display: flex;
align-items: center;
}
.icon{
width: 60px;
height: 60px;
}
.title{
color: var(--gold);
margin-left: 7px;
}
.switch__cont{
display: flex;
align-items: center;
}
/* MAIN SECTION*/
.main__section{
height: 49%;
border: 2px solid var(--gold);
margin-top: 5px;
background-color: var(--div_bg);
border-radius: 6px;
box-shadow: 3px 2px 5px var(--div_bg);
padding: 2px;
}
.list__cmds{
display: flex;
flex-direction: row;
justify-content: center;
height: 50px;
/* margin-top: 1em; */
/* border:2px solid white; */
color: var(--text);
}
.list__index{
margin-top: 15px;
}
#list__inc , #list__dec {
margin: 10px;
text-decoration: none;
color: var(--gold);
font-weight: bold;
font-size: 20px;
cursor: pointer;
}
#DP_Type{
text-decoration: none;
font-weight: 500;
color: var(--text);
display: flex;
justify-content: center;
}
/* .CUR__WSContainer{
border: 1px solid red;
margin-top: 25px;
} */
#CUR__Website{
margin-top: 5px;
font-weight: 4000;
font-size: large;
color: var(--gold);
}
/* FOOTER SECTION */
.footer{
/* border: 2px solid purple; */
height: 20%;
margin-top: 1.4em;
}
.footer__text{
font-size: 10px;
color: var(--text__footer);
}
/* UTILS */
.center{
text-align: center;
}
hr.solid{
border-top: 2px solid var(--span);
width: 80%;
height: 2px;
margin-left: 10%;
margin-bottom: 0.2em;
}
/* SWITCH */
.slider {
background-color: #ffffff2b;
border-radius: 100px;
padding: 1px;
margin: auto;
cursor: pointer;
transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s;
align-items: center;
position: relative;
display: inline-block;
width: 42px;
height: 20px;
box-shadow: rgba(0, 0, 0, 0.62) 0px 0px 5px inset, rgba(0, 0, 0, 0.21) 0px 0px 0px 24px inset,
var(--gold) 0px 0px 0px 0px inset, rgba(224, 224, 224, 0.45) 0px 1px 0px 0px;
}
.slider::after {
content: "";
display: flex;
top: 2.3px;
left: 2px;
width: 17px;
height: 17px;
background-color: #e3e3e3;
border-radius: 200px;
position: absolute;
box-shadow: transparent 0px 0px 0px 2px, rgba(0, 0, 0, 0.3) 0px 6px 6px;
transition: left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s, background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
will-change: left, background-color;
}
.switch input[type="checkbox"]:checked + .slider {
box-shadow: rgba(0, 0, 0, 0.62) 0px 0px 5px inset, var(--gold) 0px 0px 0px 2px inset, var(--gold) 0px 0px 0px 24px inset,
rgba(224, 224, 224, 0.45) 0px 1px 0px 0px;
}
.switch input[type="checkbox"]:checked + .slider::after {
left: 24px;
}
.switch input[type="checkbox"] {
display: none;
}