-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
131 lines (126 loc) · 2.64 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
/* Font Awesome */
@font-face {
font-family: 'Font Awesome 5 Free';
font-style: normal;
font-weight: 400;
font-display: block;
src:url("fa-regular-400.ttf") format("truetype");
}
/* .far {
font-family: 'Font Awesome 5 Free';
font-weight: 400;
} */
/* Principal */
*{
text-align: center;
font-size: 1rem;
font-family: sans-serif;
color:white;
}
body,html{
padding: 0;
}
body{
background-color: black;
display: flex;
flex-direction: column;
gap:1rem;
}
.ciclo{
display: grid;
grid-template:
"a a a j"
"b b c c"
"d e f g"
"h h i i";
background: gray;
gap: 0.3rem;
padding: 0.3rem;
}
.ciclo *{
border-radius: .25rem;
height: 2.5rem;
display: flex;justify-content: center;align-items: center;
}
.ciclo span {
background: black;
}
.eliminar:before{
content:'\f057';
}
.nombre{
grid-area:a;
font-size: larger;
font-weight: bold;
}
.intervalo-titulo{
grid-area: b;
}
.duracion-titulo{
grid-area: c;
}
.reiniciar:before{
content:'\f28d';
}
.intervalo-visor{
grid-area: h;
}
.duracion-visor{
grid-area: i;
}
.reproduciendo[data-tipo="intervalo"] ~ .intervalo-visor
,.reproduciendo[data-tipo="duracion"] ~ .duracion-visor{
animation: breathe infinite 1s;
}
@keyframes breathe{
50%{
font-size: larger;
}
100%{
font-size: inherit;
}
}
.blink{
--blink-color: red;
animation: blink infinite 1s !important;
}
@keyframes blink{
50%{
color: var(--blink-color);
}
100%{
color: currentColor;
}
}
.ciclo button{
background-color: #444;
margin: 0 5px 5px 0;
border:none;
box-shadow: black 5px 5px;
font-size: 1.5rem;
font-family: 'Font Awesome 5 Free';
font-weight: 400;
}
.cambiarReproduccion.reproduciendo:before{
content:'\f28b';
}
.cambiarReproduccion:not(.reproduciendo):before{
content:'\f144';
}
.blink-once{
--blink-color:transparent;
animation: blink 1 300ms;
}
.ciclo button[disabled]{
opacity: .5;
}
.ciclo button:not([disabled]):hover{
background-color: #333;
}
.ciclo button:not([disabled]):active{
margin: 3px 2px 2px 3px;
box-shadow: black 2px 2px;
}
.eliminar{
color: red;
}