/
Saypi
/
test-task-only
Обзор
Документация
Войти
/
Saypi
/
test-task-only
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
dev
src/style/style.scss
186 строк
5 KB
Saipykurbanov
UPD
02 авг 2025, 02:36
02 авг 2025, 02:36
9167ada
Код
Авторство
О чём код?
@use './common'; @import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap'); /*--------------*/ :root { --main-font: "PT Sans", sans-serif; --bebas: "Bebas Neue", sans-serif; --black-blue: #42567A; --black-blue-20: #42567a33; --blue: #3877EE; --purple: #EF5DA8; --iris: #5D5FEF; --background: #ffffff; --grey: #C7CDD9; } /*--------Обнуление----------*/ *{ padding: 0; margin: 0; border: 0; } *,*:before,*:after{ -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } :focus,:active{outline: none;} a:focus,a:active{outline: none;} nav,footer,header,aside{display: block;} [inert], [inert] * {opacity: 0.3;} html,body{ max-width: 100%; min-width: 320px; font-size: 100%; font-weight: 400; line-height: 1; font-size: 14px; font-family: var(--main-font); -ms-text-size-adjust: 100%; -moz-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color: var(--text-color-light); background: var(--background); } input,button,textarea{font-family:inherit;} input::-ms-clear{display: none;} button{cursor: pointer;background: transparent} button::-moz-focus-inner {padding:0;border:0;background: transparent} a, a:visited{text-decoration: none; color: var(--text-color-light);} a:hover{text-decoration: none;} ul li{list-style: none;} img{vertical-align: top;} h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: 400;} input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:active, input:-webkit-autofill:focus { background-color: var(--background) !important; color: var(--text-color-light) !important; -webkit-box-shadow: 0 0 0 1000px var(--background) inset !important; -webkit-text-fill-color: var(--text-color-light) !important; transition: background-color 0s 600000s, color 0s 600000s; caret-color: var(--text-color-light); box-shadow: 0 0 0px 1000px white inset !important; /* Заливаем белым */ transition: background-color 5000s ease-in-out 0s; /* Убираем анимацию */ caret-color: var(--black-grey) !important; } input::placeholder { color: #000; @include common.adaptiveFont(16, 14); } input { border-radius: 0 !important; caret-color: #000 !important; &:disabled { background-color: transparent !important; } } img { -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; -webkit-user-drag: none; /* для старых версий WebKit (Safari, Chrome до версии 76) */ -moz-user-select: none; /* для Firefox */ -ms-user-select: none; /* для Internet Explorer/Edge */ /* стандартное свойство */ } hr { //горизонтальная линия width: 100%; height: 1px; background-color: var(--grey3); } body { &::-webkit-scrollbar { width: 5px; } &::-webkit-scrollbar-thumb { background-color: var(--grey3); } &::before { content: ''; display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #1F202233; z-index: 99; backdrop-filter: blur(1.5px); animation: Open 1s forwards ease; } } .main_container { position: relative; width: 100%; max-width: 1760px; padding: 0 160px; margin-left: auto; @include common.mediaMaxWidth(1700) { @include common.adaptiveProperty(padding-left, 100, 0); @include common.adaptiveProperty(padding-right, 100, 0); } @include common.mediaMaxWidth(768) { padding: 0 20px; } .wrapper { position: relative; width: 100%; min-height: 100dvh; border-left: 1px solid var(--black-blue-20); border-right: 1px solid var(--black-blue-20); display: flex; flex-direction: column; gap: 0px; @include common.adaptiveProperty(padding-top, 170, 60); @include common.adaptiveProperty(padding-bottom, 50, 15); &::after { content: ''; position: absolute; top: 50%; left: 50%; width: 1px; height: 100%; background-color: var(--black-blue-20); transform: translate(-50%, -50%); } @include common.mediaMaxWidth(991) { border: 0; &::after { display: none; } } } } @keyframes Open { 0% { opacity: 0; } 100% { opacity: 1; } }