-
Notifications
You must be signed in to change notification settings - Fork 1
/
config_antigo.css
174 lines (157 loc) · 3.64 KB
/
config_antigo.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
body {
font-family: Arial, sans-serif;
background-color: #ffd500;
}
#header {
padding: 0px;
margin: 10px;
text-align: center;
}
#content {
max-width: 95%;
margin: 0 auto;
margin: 5px;
padding: 10px;
background-color: transparent;
text-align: center; /* Adicionado para centralizar o conteúdo */
max-height: 12%;
justify-items: center;
}
#navbar {
background-color: #c7a008;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
width: 80%;
height: auto;
max-height: 12%;
text-align: center;
align-items: center;
position: fixed;
left: 0;
right: 0;
margin: auto;
border-radius: 15px;
left: 50%;
transform: translateX(-50%);
}
.back_home {
position: fixed;
top: 5.5%;
left: 3.5%;
height: fixed;
width: fixed;
transform: translateX(-50%);
background-color: #ff3434;
padding: 18px 20px;
border-radius: 15px;
margin-right: 20px;
}
.back_home .icon {
transform: scale(1.5);
}
.material-symbols-outlined {
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
color: #000;
font-size: 30px;
size: 80%;
}
h1 {
flex-grow: 1; /* Isso faz com que o texto "Configurações" ocupe o espaço restante e se centralize */
}
#configs {
margin-top: 100px; /* Adicionado um espaço de 12% do viewport height entre o #navbar e #configs */
background-color: #c7a008;
max-width: 80%;
padding: 20px;
border-radius: 8px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
align-items: center;
}
#volume_slider {
width: 90%; /* O slider ocupará toda a largura da div volume_control */
/* -webkit-appearance: none;
appearance: none;
height: 10px;
border-radius: 5px;
background: #dcdcdc;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
cursor: pointer; */
}
.slider {
width: 100%; /* O slider ocupará toda a largura da div volume_control */
width: 90%;
margin-top: 0 auto; /* O slider ficará centralizado */
/* slider */
--slider-width: 100%;
--slider-height: 6px;
--slider-bg: rgb(82, 82, 82);
--slider-border-radius: 999px;
/* level */
--level-color: #fff;
--level-transition-duration: 0.1s;
/* icon */
--icon-margin: 15px;
--icon-color: var(--slider-bg);
--icon-size: 25px;
}
.slider {
cursor: pointer;
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.slider .volume {
display: inline-block;
vertical-align: top;
margin-right: var(--icon-margin);
color: var(--icon-color);
width: var(--icon-size);
height: auto;
}
.slider .level {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: var(--slider-width);
height: var(--slider-height);
background: var(--slider-bg);
overflow: hidden;
border-radius: var(--slider-border-radius);
-webkit-transition: height var(--level-transition-duration);
-o-transition: height var(--level-transition-duration);
transition: height var(--level-transition-duration);
cursor: inherit;
}
.slider .level::-webkit-slider-thumb {
-webkit-appearance: none;
width: 0;
height: 0;
-webkit-box-shadow: -200px 0 0 200px var(--level-color);
box-shadow: -200px 0 0 200px var(--level-color);
}
.slider:hover .level {
height: calc(var(--slider-height) * 2);
}
.container{
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
left: 50%;
margin-top: 20px;
}
.child {
background-color: #c7a008;
height: 20px;
align-items: center;
}