Skip to content

Commit c085036

Browse files
committed
up
1 parent b34fabd commit c085036

1 file changed

Lines changed: 84 additions & 1 deletion

File tree

assets/styles.css

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ button {
7373
line-height: inherit;
7474
padding: .5rem;
7575
cursor: pointer;
76+
border-radius: 10px;
7677
}
7778

7879
rowspace {
@@ -84,6 +85,11 @@ rowspace {
8485

8586
.voices, .pointsselect {
8687
width: 80%;
88+
border-radius: 10px;
89+
}
90+
91+
.voices option {
92+
font-size: 0.9rem;
8793
}
8894

8995
#settingsbutton, #pointstype {
@@ -300,4 +306,81 @@ rowspace {
300306

301307
.checkbox-wrapper-2 .ikxBAC:checked:hover {
302308
background-color: #0b5ed7;
303-
}
309+
}
310+
311+
312+
313+
314+
315+
316+
/* 1. Плавные переходы для интерактивных элементов */
317+
button, select, textarea, input[type="range"], .ikxBAC {
318+
transition:
319+
background 0.2s,
320+
border-color 0.2s,
321+
box-shadow 0.2s,
322+
color 0.2s;
323+
}
324+
325+
/* 2. Более заметное выделение (фокус) */
326+
button:focus, button:hover,
327+
select:focus, select:hover,
328+
textarea:focus, textarea:hover,
329+
input[type="range"]:focus, input[type="range"]:hover {
330+
outline: none;
331+
border-color: #0d6efd;
332+
box-shadow: 0 0 0 2px #0d6efd55;
333+
background-color: #2a2a2a;
334+
z-index: 1;
335+
}
336+
337+
/* Для чекбокса */
338+
.checkbox-wrapper-2 .ikxBAC:focus {
339+
box-shadow: 0 0 0 2px #0d6efd55;
340+
border-color: #0d6efd;
341+
}
342+
343+
/* 3. Закругление textarea */
344+
textarea {
345+
border-radius: 12px !important;
346+
}
347+
348+
/* 4. Можно чуть увеличить радиус у select и input */
349+
select, input[type="range"] {
350+
border-radius: 10px;
351+
}
352+
353+
/* 5. Для плавности скролла (опционально) */
354+
html {
355+
scroll-behavior: smooth;
356+
}
357+
358+
/* Для всех label, кроме неактивных */
359+
label {
360+
transition: color 0.2s, text-shadow 0.2s;
361+
cursor: pointer;
362+
}
363+
364+
/* Эффект при наведении */
365+
label:hover, label:focus {
366+
color: #fff;
367+
text-shadow: 0 0 6px #0d6efd88;
368+
}
369+
370+
/* Для ссылок внутри label */
371+
label a {
372+
transition: color 0.2s, text-shadow 0.2s;
373+
color: #0d6efd;
374+
text-decoration: none;
375+
}
376+
377+
label a:hover, label a:focus {
378+
color: #fff;
379+
text-shadow: 0 0 6px #0d6efd88;
380+
text-decoration: underline;
381+
}
382+
383+
/* Для output внутри label (чтобы не мешал эффекту) */
384+
label output {
385+
transition: color 0.2s;
386+
}

0 commit comments

Comments
 (0)