/
Saypi
/
test-task-only
Обзор
Документация
Войти
/
Saypi
/
test-task-only
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
dev
src/containers/tabs/style/tabs.css
219 строк
5 KB
Saipykurbanov
upd
02 авг 2025, 15:23
02 авг 2025, 15:23
c87b45b
Код
Авторство
О чём код?
@charset "UTF-8"; /*-------------Миксины----------------*/ .tabs_container { width: 100%; position: relative; display: flex; align-items: center; justify-content: center; flex: 1; } @media screen and (max-width: 768px) { .tabs_container { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px; } } .tabs_container h1 { position: absolute; top: 0; left: 0; color: var(--black-blue); font-weight: 700; z-index: 1; } @media (max-width: 768px) { .tabs_container h1 { font-size: calc(20px + 61.2 * (100vw - 320px) / 1920); } } @media (min-width: 768px) { .tabs_container h1 { font-size: calc(20px + 36 * 0.0520833333vw); } } @media (max-width: 768px) { .tabs_container h1 { padding-left: calc(10px + 115.6 * (100vw - 320px) / 1920); } } @media (min-width: 768px) { .tabs_container h1 { padding-left: calc(10px + 68 * 0.0520833333vw); } } @media (max-width: 768px) { .tabs_container h1 { max-width: calc(150px + 345.1 * (100vw - 320px) / 1920); } } @media (min-width: 768px) { .tabs_container h1 { max-width: calc(150px + 203 * 0.0520833333vw); } } @media screen and (max-width: 768px) { .tabs_container h1 { position: relative; padding-left: 0; } .tabs_container h1::before { display: none; } } .tabs_container h1::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: calc(100% - 14px); width: 5px; background: linear-gradient(180deg, #3877EE 0%, #EF5DA8 100%); } .tabs_container::before { content: ""; position: absolute; top: 50%; left: 50%; width: 100%; height: 1px; background-color: var(--black-blue-20); transform: translate(-50%, -50%); } @media screen and (max-width: 768px) { .tabs_container::before { display: none; } } .tabs_container .circle_wrapper { width: 100%; position: relative; z-index: 10; width: 530px; height: 530px; } @media screen and (max-width: 768px) { .tabs_container .circle_wrapper { width: 100%; min-height: 100px; height: auto; flex: 1; } } .tabs_container .circle_wrapper .circle { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); border: 1px solid var(--black-blue-20); border-radius: 50%; z-index: 2; transition: 1s; } .tabs_container .circle_wrapper .circle .label { position: absolute; color: var(--black-blue); font-size: 20px; font-weight: 700; transform: translate(50px, -50%); opacity: 0; transition: 0.5s opacity; transition-delay: 0s; cursor: default; } .tabs_container .circle_wrapper .circle .label.active { transition-delay: 0.9s; opacity: 1; } .tabs_container .circle_wrapper .circle .point_container { position: absolute; transform: translate(-50%, -50%); transition: 1s; } .tabs_container .circle_wrapper .circle .point { width: 6px; position: absolute; height: 6px; background-color: var(--black-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.5s; border: 1px solid #303E58; transform: translate(-50%, -50%); cursor: pointer; } .tabs_container .circle_wrapper .circle .point p { color: var(--black-blue); font-size: 20px; opacity: 0; transition: 0.3s opacity, 1s transform; } .tabs_container .circle_wrapper .circle .point.active { width: 56px; height: 56px; background-color: var(--background); } .tabs_container .circle_wrapper .circle .point.active p { opacity: 1; } @media screen and (min-width: 992px) { .tabs_container .circle_wrapper .circle .point:hover { width: 56px; height: 56px; background-color: var(--background); } .tabs_container .circle_wrapper .circle .point:hover p { opacity: 1; } } @media screen and (max-width: 768px) { .tabs_container .circle_wrapper .circle { display: none; } } .tabs_container .circle_wrapper .tab_years { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; display: flex; align-items: center; z-index: 1; } @media (max-width: 768px) { .tabs_container .circle_wrapper .tab_years { gap: calc(20px + 136 * (100vw - 320px) / 1920); } } @media (min-width: 768px) { .tabs_container .circle_wrapper .tab_years { gap: calc(20px + 80 * 0.0520833333vw); } } .tabs_container .circle_wrapper .tab_years .year_item { font-weight: 700; } @media (max-width: 768px) { .tabs_container .circle_wrapper .tab_years .year_item { font-size: calc(56px + 244.8 * (100vw - 320px) / 1920); } } @media (min-width: 768px) { .tabs_container .circle_wrapper .tab_years .year_item { font-size: calc(56px + 144 * 0.0520833333vw); } } .tabs_container .circle_wrapper .tab_years .year_item.at { color: var(--iris); } .tabs_container .circle_wrapper .tab_years .year_item.out { color: var(--purple); }/*# sourceMappingURL=tabs.css.map */