/
Fancy
/
Project_WareHouse
Обзор
Документация
Войти
/
Fancy
/
Project_WareHouse
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
index.css
284 строки
10 KB
Oleg
modifed
16 окт 2025, 10:52
16 окт 2025, 10:52
48a9edc
Код
Авторство
О чём код?
:root{ --iconcolor: #00aaff; --bgicon: #d9effa; } @font-face { font-family: 'Jun_Italic'; src: url(fonts/Jun_Italic.otf); } @font-face { font-family: 'Jun_Regular'; src: url(fonts/Jun_Regular.otf); } *{ margin: 0; padding: 0; overflow-x: hidden; } .main{ height: 2000px; background-color:#140a2d; } .fon{ background: no-repeat center/cover url(media/warehouse.jpg); filter: blur(10px); } .mainmenu{ position: fixed; z-index: 5; top: 0; right: 0; } .menu{ right: 0; position: absolute; z-index: 2; scale: 0.7; border-radius: 100px; margin: 10px; display: flex; justify-content: center; align-items: center; overflow: hidden; transition: transform 1s ease-in-out; } .menu label:hover{ cursor: pointer; scale: 1.05; } #menu, #closeboxmenu{ display: none; } #img-menu{ transition: rotate 1s ease ; } #labelone{ border-radius: 100px; background-color: var(--bgicon); padding: 20px; } #menu:checked + label[for="menu"] > #img-menu{ rotate: -90deg; } /* .menu:has(#menu:checked) { transform: translate(200px, 0); } */ .boxmenu{ transition: transform 1s ease-in-out; z-index: 1; position: relative; display: flex; justify-content: center; align-items: center; width: 450px; height: 600px; margin: 40px; background-color: rgb(217, 239, 250, 0.8); border-radius: 5px 50px 50px 50px; transform: translate(500px, 0); } .closeboxmenu{ position: absolute; top: 0; left: 0; scale: 0.7; } .closeboxmenu *:hover{ cursor: pointer; scale: 1.1; } input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus, select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus { border: none; -webkit-text-fill-color: none; -webkit-box-shadow: 0 0 0px 1000px rgb(180, 219, 238) inset; } input::-webkit-input-placeholder { /* Chrome/Opera/Safari */ color: #007dbb ; } .form { display: flex; flex-direction: column; gap: 10px; width: 400px; justify-content: center; align-items: center; padding: 20px; border-radius: 20px; position: absolute; } .title { font-size: 28px; color: #00aaff; font-weight: 600; letter-spacing: -1px; position: relative; display: flex; align-items: center; padding-left: 40px; } .title::before,.title::after { position: absolute; content: ""; height: 16px; width: 16px; border-radius: 50%; left: 0px; margin: 0 10px 0 10px; background-color: #00aaff; } .title::before { width: 18px; height: 18px; background-color: #00aaff; } .title::after { width: 18px; height: 18px; animation: pulse 1s linear infinite; } .message{ text-align: center; } .message, .signin { color: rgba(88, 87, 87, 0.822); font-size: 14px; } .signin { text-align: center; } .signin a { color: #00aaff; } .signin a:hover { text-decoration: underline #00aaff; } .flex { display: flex; width: 100%; gap: 6px; } .form label { position: relative; width: 100%; /* Добавлено */ } .form label .input { width: 100%; /* Изменено с auto на 100% */ padding: 10px 10px 20px 10px; outline: 0; border: 1px solid rgba(105, 105, 105, 0.397); border-radius: 10px; box-sizing: border-box; /* Добавлено */ } /* Для полей внутри flex контейнера */ .flex label { width: 100%; /* Равная ширина для полей в flex */ } .flex label .input { width: 100%; } .form label .input + span { position: absolute; left: 10px; top: 15px; color: grey; font-size: 0.9em; cursor: text; transition: 0.3s ease; } .form label .input:placeholder-shown + span { top: 15px; font-size: 0.9em; } .form label .input:focus + span,.form label .input:valid + span { top: 30px; font-size: 0.7em; font-weight: 600; } .form label .input:valid + span { color: green; } .submit { border: none; outline: none; background-color: #00aaff; padding: 10px; border-radius: 10px; color: #fff; font-size: 16px; transform: .3s ease; width: 100%; /* Добавлено - равная ширина с полями */ box-sizing: border-box; /* Добавлено */ } .submit:hover { background-color: rgb(56, 90, 194); } @keyframes pulse { from { transform: scale(0.9); opacity: 1; } to { transform: scale(1.8); opacity: 0; } } .boxmenu iframe{ width: 450px; height: 500px; } .all{ display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; } .error-message { color: #d32f2f; font-size: 12px; margin-top: 5px; display: block; } .input:invalid { border-color: #d32f2f; } .input:valid { border-color: #4caf50; }