-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
219 lines (200 loc) · 4.4 KB
/
app.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
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
/*? light mode colors */
:root {
--background: #e1e1e9;
--calc-background: rgba(253, 253, 253, 0.5);
--calc-shadow: 20px rgb(65, 57, 57);
--num-background: linear-gradient(to bottom right, #c0c5d1, #edeef5);
--num-shadow: inset 2px 2px 3px #ebebf3, inset 4px 4px 15px #cacfd6,
3px 3px 12px #c2c7d4;
--eql-background: linear-gradient(to bottom right, #d36d12, #ed9d1e);
--eql-shadow: inset 1px 1px 3px #f98500, inset 4px 4px 15px #b35300,
inset -1px -1px 3px #cc6308, 3px 3px 5px #c2c7d4;
--c-background: linear-gradient(to bottom right, #8b94a1, #eff0f7);
--c-shadow: inset 1px 1px 1px #c8ced9, inset 2px 2px 8px #cacfd6,
inset -2px -2px 3px #b4bbc7, 3px 3px 12px #c2c7d4;
--font-color: #222;
--mode-bk: #0025;
--boton-color: #fff;
--letra-color: rgba(35, 35, 58, 0.945);
}
/*? dark mode colors */
[data-theme="dark"] {
--calc-background: #1e212aad;
--calc-shadow: 30px 30px 55px #888;
--num-background: linear-gradient(to bottom right, #292d38, #3c3c44);
--num-shadow: inset 1px 1px 1px #393c4a, inset 4px 4px 15px #20232d,
3px 3px 5px #181b24;
--eql-shadow: inset 1px 1px 2px #f9aa2d99, inset 4px 4px 15px #a54e04,
3px 3px 5px #181b24;
--c-background: linear-gradient(to bottom right, #494f5c, #6f7587);
--c-shadow: inset 1px 1px 1px #656b7b, inset 4px 4px 15px #333942,
3px 3px 5px #181b24;
--font-color: #fff;
--mode-bk: #fff2;
--boton-color: rgba(141, 133, 133, 0.719);
--letra-color: rgb(255, 255, 255);
--hover-color: #1e212aad;
}
/*
Para el fondooo
*/
.background-radial-gradient {
background-color: hsl(218, 41%, 15%);
background-image: radial-gradient(
650px circle at 0% 0%,
hsl(218, 41%, 35%) 15%,
hsl(218, 41%, 30%) 35%,
hsl(218, 41%, 20%) 75%,
hsl(218, 41%, 19%) 80%,
transparent 100%
),
radial-gradient(
1250px circle at 100% 100%,
hsl(218, 41%, 45%) 15%,
hsl(218, 41%, 30%) 35%,
hsl(218, 41%, 20%) 75%,
hsl(218, 41%, 19%) 80%,
transparent 100%
);
}
#radius-shape-1 {
height: 220px;
width: 220px;
top: -60px;
left: -130px;
background: radial-gradient(#44006b, #ad1fff);
overflow: hidden;
}
#radius-shape-2 {
border-radius: 38% 62% 63% 37% / 70% 33% 67% 30%;
bottom: -60px;
right: -110px;
width: 300px;
height: 300px;
background: radial-gradient(#44006b, #ad1fff);
/* overflow: hidden; */
}
.bg-glass {
background-color: hsla(0, 0%, 100%, 0.9) !important;
backdrop-filter: saturate(200%) blur(25px);
}
/**/
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: "Roboto", sans-serif;
}
.bg-white-cs {
background-color: var(--calc-background);
border-radius: 35px;
box-shadow: var(--calc-shadow);
color: var(--font-color);
}
#res {
font-size: 30px;
border: none;
margin: 10px 0;
color: var(--font-color);
background: transparent;
text-align: right;
border: none;
outline: none;
}
.row-1,
.row-2,
.row-3,
.row-4,
.row-5 {
display: flex;
width: 100%;
height: 100px;
justify-content: space-between;
align-items: center;
gap: 8px;
}
.row-1 {
justify-content: center;
}
.buttons {
/* display: inline-block; */
padding: 0 12px;
}
.tecla,
.eliminar,
.history-btn {
background-color: var(--boton-color);
height: 80px;
width: 80px;
border-radius: 50%;
border: 0px;
font-size: 30px;
color: var(--letra-color);
cursor: pointer;
}
.tecla:hover {
background-color: #abecd9;
color: var(--hover-color);
}
.teclacolor {
color: var(--letra-color);
font-weight: bold;
}
.tecla:hover {
background-color: #abecd9;
color: var(--hover-color);
}
.history {
display: flex;
justify-content: center;
align-items: center;
}
.operacion {
background-color: #e67700;
}
.mode {
cursor: pointer;
margin-left: 20px;
margin-top: 20px;
width: 50px;
height: 50px;
display: grid;
place-content: center;
border-radius: 25px;
border-bottom-left-radius: 0px;
background: var(--mode-bk);
}
.mode:hover {
background-color: #abecd9;
color: var(--hover-color);
}
.teclas {
padding: 10px 5px;
margin: 0 auto;
}
.centrar {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
row-gap: 20px;
}
@media (min-width: 992px) {
.centrar {
flex-direction: row;
column-gap: 20px;
}
}
.historial {
padding: 25px;
max-height: 655px;
overflow-y: scroll;
}
.hidden {
display: none;
}
ul {
padding: 0px !important;
list-style: none;
font-size: 20px;
}