/
Derrri
/
react-diplom-gg
Обзор
Документация
Войти
/
Derrri
/
react-diplom-gg
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components/Admin/AdminWrapper.css
797 строк
12 KB
Derrri
Финал работы
29 апр 2025, 23:08
29 апр 2025, 23:08
914ee7b
Код
Авторство
О чём код?
.admin__container { width: 100%; background-image: url("../../assets/admin.jpg"); background-color: rgba(0, 0, 0, 0.50); background-repeat: no-repeat; background-position: center center; background-size: cover; background-attachment: fixed; min-height: 100vh; position: relative; z-index: 0; } .admin__container::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; background-color: rgba(0, 0, 0, 0.5); } .login__header { flex-direction: column; } .header__subtitle { font-size: 10px; line-height: 12px; font-weight: 400; letter-spacing: 7px; } .header__admin { flex-direction: column; padding-left: 104px; padding-top: 35px; padding-bottom: 35px; } .admin__section { background-color: rgba(234, 233, 235, 0.95); } .admin__header { padding-top: 20px; padding-bottom: 20px; background-color: #63536C; position: relative; } .admin__header::before { content: ""; width: 22px; height: 22px; border-radius: 22px; background: #FFFFFF; border: 4px solid #BC95D6; position: absolute; top: 17px; left: 20px; } .admin__header_text { color: #FFFFFF; font-size: 22px; font-weight: 700; line-height: 25px; text-transform: uppercase; margin-left: 67px; } .admin__header_arrow { width: 24px; height: 16px; position: absolute; top: 40px; right: 42px; cursor: pointer; } .admin__header_arrow-hide { transform: rotate(180deg); } .admin__wrapper { padding-top: 35px; padding-left: 31px; padding-right: 31px; display: flex; flex-direction: column; } .admin__wrapper-hide { display: none; } .admin__info { font-size: 16px; font-weight: 400; line-height: 18px; } .admin__button_hall { padding: 12px 32px; margin-bottom: 36px; } .halls_choose { list-style: none; display: flex; flex-wrap: wrap; margin-top: 12px; margin-bottom: 36px; } .hall__item { font-size: 14px; line-height: 16px; text-transform: uppercase; padding: 12px 20px; background-color: rgba(255, 255, 255, 0.45); border-radius: 3px; box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 2px 0px rgba(0, 0, 0, 0.24), 0px 6px 8px 0px rgba(0, 0, 0, 0.24); cursor: pointer; } .hall_item-selected { font-size: 15px; font-weight: 600; background-color: #FFFFFF; transform: scale(1.05); } .hall-config__size { margin-top: 11px; margin-bottom: 36px; display: flex; gap: 13px; } .admin_label { color: #848484; font-size: 12px; font-weight: 400; line-height: 14px; display: flex; flex-direction: column; margin-bottom: 8px; } .admin_input { margin-top: 1.6px; padding: 8px 9px 9px 9px; color: #757575; font-size: 16px; font-weight: 400; background-color: #FFFFFF; border: 1px solid #B7B7B7; } .admin_input:focus-visible { outline: #757575 auto 1px; } .hall-config__rows { width: 100px; } .hall-config__places { width: 100px; } .hall-size { color: #848484; font-family: Consolas; font-size: 18px; font-weight: 400; line-height: 21px; padding-top: 22px; } .hall-config__types { margin-top: 11px; margin-bottom: 11px; display: flex; flex-wrap: wrap; gap: 12px 23px; } .hall-config__type_place, .hall-config__hint { color: #848484; font-size: 14px; font-weight: 400; line-height: 16px; } .place_standart { display: inline-block; width: 26px; height: 26px; border-radius: 4px; background-color: #C4C4C4; border: 1px solid #393939; vertical-align: middle; } .place_vip { display: inline-block; width: 26px; height: 26px; border-radius: 4px; background-color: #B0D6D8; border: 1px solid #0A828A; vertical-align: middle; } .place_disabled { display: inline-block; width: 26px; height: 26px; border-radius: 4px; border: 1px solid #C4C4C4; vertical-align: middle; } .hall-config__hall { margin-top: 11px; margin-bottom: 5px; padding-top: 64px; padding-bottom: 36px; width: 100%; border: 1px solid #000000; position: relative; display: flex; justify-content: center; align-items: center; } .hall-config__hall_screen { position: absolute; left: center; top: 25px; font-size: 16px; font-weight: 400; line-height: 18px; text-transform: uppercase; letter-spacing: 19px; } .hall-config__hall_wrapper { display: flex; flex-direction: column; gap: 10px; } .hall-config__hall_row { display: flex; gap: 10px; cursor: pointer; } .hall-config__buttons { display: flex; justify-content: center; padding-top: 17px; margin-bottom: 36px; } .admin__button_cancel { margin-right: 15px; padding: 12px 32px; color: #63536C; background-color: #FFFFFF; } .admin__button_save { padding: 12px 32px; } .button_disabled { color: #FFFFFF; background-color: #525252; cursor: default; } .button_disabled:hover { box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.12), 0px 3px 3px 0px rgba(0, 0, 0, 0.24); } .price-config__legend { margin-top: 12px; display: flex; align-items: flex-end; } .price-config__legend:last-child { margin-bottom: 12px; } .price-config__label { display: flex; flex-direction: column; } .price-config__input_standart, .price-config__input_vip { width: 100px; } .price-config__legend_text { color: #848484; font-size: 14px; font-weight: 400; line-height: 16px; margin-left: 4px; margin-bottom: 6px; } .price-config__buttons { display: flex; justify-content: center; padding-top: 17px; margin-top: 12px; margin-bottom: 35px; } .admin__button_movie { align-self: flex-start; padding: 12px 32px; margin-top: 17px; } .movie-seances__wrapper { margin-top: 36px; margin-bottom: 36px; display: flex; flex-wrap: wrap; gap: 15px; } .movie-seances__movie { width: 260px; height: 50px; border: 1px solid rgba(0, 0, 0, 0.30); display: flex; position: relative; align-items: center; cursor: move; } .movie-seances__movie_poster { width: 38px; height: 50px; object-fit: cover; } .movie-seances__movie_info { margin-left: 10px; margin-right: 10px; font-size: 14px; line-height: 16px; } .movie_info-title { font-weight: 500; } .movie_info-length { font-weight: 400; margin-top: 4px; } .movie-seances__movie_delete { position: absolute; right: 2px; bottom: 2px; } .background_1 { background-color: #CAFF85; } .background_2 { background-color: #85FF89; } .background_3 { background-color: #85FFD3; } .background_4 { background-color: #85E2FF; } .background_5 { background-color: #8599FF; } .background_6 { background-color: hsl(240, 9%, 62%); } .background_7 { background-color: #C885FF; } .background_8 { background-color: aqua; } .movie-seances__timelines { display: flex; flex-direction: column; gap: 35px; min-width: 328px; } .movie-seances__timeline { position: relative; } .timeline__delete { position: absolute; left: -30px; top: 30px; } .timeline__delete_image { width: 30px; } .timeline__hall_title { font-size: 16px; font-weight: 500; line-height: 18px; text-transform: uppercase; } .timeline__seances { border: 1px solid #848484; padding-top: 10px; padding-bottom: 10px; width: 100%; min-width: 328px; height: 60px; display: flex; position: relative; } .timeline__seances_movie { display: flex; flex-wrap: wrap; transition: width 0.3s ease; height: 40px; padding: 10px 0 10px 10px; border: 1px solid rgba(0, 0, 0, 0.30); position: absolute; cursor: move; } .timeline__seances_movie::before { content: ""; width: 1px; height: 5px; background-color: #848484; position: absolute; left: -1px; bottom: -15px; } .timeline__seances_title { font-size: 10px; font-weight: 400; line-height: 10px; word-wrap: break-word; height: 20px; overflow: hidden; } .timeline__movie_start { color: #848484; font-size: 12px; font-weight: 400; line-height: 14px; position: absolute; left: -15px; bottom: -30px; } .movie-seances__buttons { display: flex; justify-content: center; padding-top: 17px; margin-top: 12px; margin-bottom: 35px; } .open__wrapper { display: flex; flex-direction: column; align-items: center; } .admin__button_open { margin-top: 30px; margin-bottom: 35px; padding: 12px 32px; } .popup { position: fixed; top: 0; left: 0; bottom: 0; right: 0; z-index: 9999; width: 100%; background-image: url("../../assets/admin.jpg"); background-color: #252322; background-repeat: no-repeat; background-position: center center; background-size: cover; min-height: 100vh; display: flex; align-items: center; justify-content: center; } .popup__container { width: 100%; max-width: 768px; display: flex; flex-direction: column; background-color: rgba(234, 233, 235, 0.95); padding-bottom: 35px; } .popup__form { display: flex; flex-direction: column; padding-left: 10px; padding-right: 10px; } .popup__buttons { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 16px; } .popup__button_save { padding: 12px 32px; width: 200px; } .add-movie_synopsis_input { resize: none; } .popup__add-poster_button { white-space: nowrap; padding: 12px 30px; } .input_add_poster { visibility: hidden; position: absolute; } .select__add-seance { display: inline-block; width: 100%; height: 36px; padding-left: 12px; font-size: 16px; font-weight: 400; line-height: 19px; background-color: #FFFFFF; border: 1px solid #B7B7B7; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("../../assets/open.png"); background-repeat: no-repeat; background-size: 12px 7px; background-position: right 15px center; cursor: pointer; } .select__add-seance:focus-visible { outline: #757575 auto 1px; } .add-seans__input_time { color: #000000; } .hidden { display: none; } .seance-remove_text { margin: 0 10%; } .seance-remove_title { font-weight: 700; } @media (min-width: 320px) and (max-width: 480px) { .admin__button_hall { align-self: center; } .hall-config__hall_row { display: flex; gap: 7px; } .place_standart, .place_vip, .place_disabled { width: 18px; height: 18px; } } @media (min-width: 481px) and (max-width: 640px) { .header { width: 100%; } .admin__header_arrow { top: 25px; right: 20px; } .admin__button_hall { align-self: center; } } @media (min-width: 641px) { .admin__header { padding-top: 35px; padding-bottom: 35px; } .admin__header::before { width: 44px; height: 44px; border-radius: 44px; top: 20px; left: 40px; z-index: 2; } .admin__header::after { top: 40px; right: 42px; } .admin__header_text { margin-left: 104px; position: relative; } .admin__header_text::before { content: ""; width: 2px; height: 95px; position: absolute; left: -39px; top: -35px; background-color: #BC95D6; } .admin__header_text-first::before { content: ""; width: 2px; height: 48px; position: absolute; left: -39px; top: 35px; background-color: #BC95D6; } .admin__header_text-last::before { content: ""; width: 2px; height: 48px; position: absolute; left: -39px; top: -35px; background-color: #BC95D6; } .admin__wrapper { margin-left: 65px; border-left: 2px solid #BC95D6; } .admin__wrapper-last { margin-left: 67px; border: none; } .admin__button_hall { align-self: flex-start; } .movie-seances__timelines { width: 100%; align-self: center; } .timeline__delete { left: -30px; top: 32px; } .popup__buttons { flex-direction: row; justify-content: center; align-items: flex-start; gap: 14px; margin-top: 16px; } } @media (min-width: 1200px) { .header, .horizontal-calendar, .movies-list, .main, .hall { max-width: 1028px; margin: 0 auto; } .horizontal-calendar__date--selected { min-width: 241px; } .movie, .buying__info, .payment__header, .ticket__info-wrapper { border-radius: 2px; } .admin__main { max-width: 962px; margin: 0 auto; ; } .movie-seances__timelines { padding-left: 35px; padding-right: 35px; } .timeline__delete { left: -55px; top: 20px; } .timeline__delete_image { width: 50px; } .popup__container { max-width: 960px; margin: 0 auto; } .popup__form { width: 752px; margin: 0 auto; } }