Skip to content

Commit 6f0531c

Browse files
committed
upd buttons style
1 parent f19ee3e commit 6f0531c

File tree

3 files changed

+39
-15
lines changed

3 files changed

+39
-15
lines changed

dark.css

+7-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@ body {
22
background-color: #242629;
33
}
44
button {
5+
border: 3px #3b2b6b solid;
6+
border-bottom: 6px #3b2b6b solid;
57
background-color: #7f5af0;
68
color: #dfdfdd;
79
}
810
button:hover {
9-
background-color: #4b368a;
11+
background-color: #5c42ac;
12+
}
13+
button:active {
14+
border-bottom: 3px #3b2b6b solid;
1015
}
1116
#copiar-cont, #input, #copiar-area, input{
1217
background-color: #16161a;
@@ -22,9 +27,6 @@ button:hover {
2227
border: 3px #000 solid;
2328
outline: none;
2429
}
25-
button {
26-
border: 3px #4b368a solid;
27-
}
2830
header {
2931
border-bottom: 3px #a5b3c5 solid;
3032
color: #a5b3c5;
@@ -45,7 +47,7 @@ i, #ctitle {
4547
border: #249264 solid 3px;
4648
color: #fffffe;
4749
}
48-
.fa-arrow-right-arrow-left, .fa-broom, .fa-wrench {
50+
.fa-arrow-right-arrow-left, .fa-broom, .fa-circle-half-stroke, .fa-wrench, .fa-plus, .fa-minus, .fa-xmark, .fa-repeat {
4951
color: #dfdfdd;
5052
}
5153
body::-webkit-scrollbar-thumb, textarea::-webkit-scrollbar-thumb {

light.css

+7-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ body {
44
button{
55
background-color: #8c7851;
66
color: #fffffe;
7+
border: 3px #020826 solid;
8+
border-bottom: 6px #020826 solid;
79
}
810
button:hover {
911
background-color: #716040;
1012
}
13+
button:active {
14+
border-bottom: 3px #020826 solid;
15+
}
1116
#configp {
1217
background-color: #f9f4ef;
1318
}
@@ -17,7 +22,7 @@ button:hover {
1722
#copiar-cont, #input, input {
1823
background-color: #f8ede1b4;
1924
}
20-
#copiar-cont, #input, button {
25+
#copiar-cont, #input {
2126
border: 3px #020826 solid;
2227
outline: none;
2328
}
@@ -40,7 +45,7 @@ i {
4045
border: #249264 solid 3px;
4146
color: #fffffe;
4247
}
43-
.fa-arrow-right-arrow-left, .fa-broom, .fa-circle-half-stroke, .fa-wrench, .fa-plus, .fa-minus, .fa-xmark{
48+
.fa-arrow-right-arrow-left, .fa-broom, .fa-circle-half-stroke, .fa-wrench, .fa-plus, .fa-minus, .fa-xmark, .fa-repeat{
4449
color: #fffffe;
4550
}
4651
body::-webkit-scrollbar-thumb, textarea::-webkit-scrollbar-thumb {

style.css

+25-8
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,19 @@ input,
2626
#ccont {
2727
display: flex;
2828
flex-direction: column;
29-
gap: 0px;
29+
gap: 10px;
3030
justify-items: center;
3131
}
3232
.cinput {
3333
border-radius: 10px;
3434
outline: none;
3535
padding: 5px;
3636
}
37-
.ccinput {
37+
.ccinput, .cboton {
3838
display: flex;
3939
flex-direction: row;
4040
justify-content: center;
4141
gap: 15px;
42-
margin-top: 10px;
4342
}
4443
#cvalor {
4544
width: 10rem;
@@ -65,7 +64,7 @@ button {
6564
padding: 5px 20px;
6665
margin: 10px 0px;
6766
height: auto;
68-
67+
outline: none;
6968
border-radius: 10px;
7069
}
7170
.boton {
@@ -121,6 +120,9 @@ header {
121120
#modob {
122121
padding: 5px 10px;
123122
}
123+
#modob:active {
124+
padding-top: 7.5px;
125+
}
124126

125127
footer {
126128
display: flex;
@@ -262,11 +264,20 @@ footer {
262264
button {
263265
padding: 5px;
264266
}
265-
#limpiarb, #intercamb, #configb, #elimb, #agb {
267+
#limpiarb, #intercamb, #configb {
266268
padding: 5px 25px;
267269
}
268-
#salirb {
269-
padding: 2px 6px;
270+
#salirb, #elimb, #agb, #restb {
271+
padding: 2px 10px;
272+
}
273+
#limpiarb:active, #intercamb:active, #configb:active {
274+
padding-top: 6.5px;
275+
}
276+
#salirb:active, #elimb:active, #agb:active, #restb:active, #modob:active {
277+
padding-top: 3.5px;
278+
}
279+
.cboton {
280+
gap: 0px;
270281
}
271282
#cvalor {
272283
width: 6rem;
@@ -276,7 +287,8 @@ footer {
276287
text-align: center;
277288
}
278289
#configp {
279-
left: 10vw;
290+
left: 15vw;
291+
right: auto;
280292
}
281293
}
282294
@media screen and (max-width: 450px) {
@@ -304,4 +316,9 @@ body::-webkit-scrollbar, textarea::-webkit-scrollbar {
304316
textarea::-webkit-scrollbar-track, textarea::-webkit-scrollbar-thumb,
305317
body::-webkit-scrollbar-track, body::-webkit-scrollbar-thumb {
306318
border-radius: 10px;
319+
}
320+
321+
button:active {
322+
padding-top: 6.5px;
323+
padding-bottom: 6.5px;
307324
}

0 commit comments

Comments
 (0)