Skip to content

Commit db4422d

Browse files
committed
updated sidebar
1 parent 3d91d4f commit db4422d

File tree

2 files changed

+505
-140
lines changed

2 files changed

+505
-140
lines changed

src/App.css

+84-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
position: absolute;
88
bottom: 10px;
99
right: 10px;
10-
text-align: center;
1110
font-size: 23px;
1211
font-family: 'Bodoni MT Condensed';
1312
font-weight: bold;
@@ -23,7 +22,6 @@
2322

2423
.app-name svg {
2524
fill: #0c0c0cd0;
26-
2725
top: 50%;
2826
transform: translateX(40%);
2927
}
@@ -41,4 +39,88 @@
4139
overflow-y: hidden;
4240
}
4341

42+
/* .lateral{
43+
position: absolute;
44+
bottom: 500px;
45+
right: 440px;
46+
background: #0c0c0cd0;
47+
z-index: 10;
48+
color: #fff;
49+
min-width:900px;
50+
max-height:0px;
51+
} */
52+
53+
/* .lateral {
54+
position: absolute;
55+
top: 80px;
56+
left: 4px;
57+
background: #0c0c0cd0;
58+
z-index: 10;
59+
color: #fff;
60+
min-width: 900px;
61+
max-height: 0px;
62+
} */
63+
64+
.text-white{
65+
font-size: 12px
66+
67+
}
68+
69+
input[type="checkbox"] {
70+
--checkbox-color: green; /* Color del borde del checkbox */
71+
-webkit-appearance: none;
72+
-moz-appearance: none;
73+
appearance: none;
74+
width: 16px;
75+
height: 16px;
76+
border: 0.1px solid var(--checkbox-color);
77+
border-radius: 4px;
78+
outline: none;
79+
cursor: pointer;
80+
position: relative;
81+
background-color: white; /* Color de fondo del checkbox */
82+
}
83+
84+
input[type="checkbox"]:checked {
85+
background-color: green; /* Color de fondo del checkbox cuando está marcado */
86+
}
87+
88+
/* Estilo del símbolo de verificación */
89+
input[type="checkbox"]:checked::before {
90+
content: '✔'; /* Símbolo de verificación */
91+
color: white; /* Color del símbolo de verificación */
92+
font-size: 12px; /* Tamaño de la fuente del símbolo de verificación */
93+
position: absolute;
94+
top: 50%;
95+
left: 50%;
96+
transform: translate(-50%, -50%);
97+
}
98+
99+
/* Estilos para la barra lateral cuando está colapsada */
100+
.sidebar-collapsed {
101+
102+
position: absolute;
103+
top: 80px;
104+
left: 4px;
105+
background: #ffffffd0;
106+
z-index: 0;
107+
color: #fff;
108+
min-width: 10px;
109+
/* max-height: 0px; */
110+
/* Otros estilos de la barra lateral colapsada */
111+
}
112+
113+
/* Estilos para la barra lateral cuando está expandida */
114+
.sidebar-expanded {
44115

116+
position: absolute;
117+
top: 80px;
118+
left: 4px;
119+
background: #0c0c0cd0;
120+
z-index: 9;
121+
color: #fff;
122+
min-width: 200px;
123+
max-height: 0px;
124+
z-index: 10
125+
/* Obg-gray-700 z-10 top-0 w-1/2*/
126+
}

0 commit comments

Comments
 (0)