body{ margin: 0px; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; background: #181818; } .text_in_com{ margin: 10px; display: flex; flex-direction: column; } .com{ background: #fff; border-radius: 10px; display: flex; flex-direction: column; word-wrap: normal; margin-top: 50px; width: 700px; left: 10px; height: 250px; -webkit-box-shadow: 0px 12px 17px 0px rgba(138, 173, 183, 0.32); -moz-box-shadow: 0px 12px 17px 0px rgba(138, 173, 183, 0.32); box-shadow: 0px 12px 17px 0px rgba(138, 173, 183, 0.32); } header{ display: flex; height: 100px; background: #0c0c0c; justify-content: space-between; } .logo{ text-align: center; color: #ffff; justify-content: center; align-items: center; padding-top: 30px; margin-left: 20px; } .log{ color: #ffffff } .logo_content{ display: flex; flex-direction: row; } .info_block{ height: 800px; /* background: #ffff; */ background-image: url('2.jpg'); background-size: cover; background-repeat: no-repeat; display: flex; align-items: center; flex-direction: row; justify-content: center; } ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; align-items: center; display: flex; height: 80px; justify-content: center; font-size: 20px; } .navigation{ margin-top: 10px; justify-content: center; align-items: center; display: flex; flex-direction: row; color: #ffffff; } .navigationItemRL { display: block; color: white; text-align: center; padding-top: 20px; text-decoration: none; width: 120px; height: 50px; } .navigationItem{ display: block; color: white; text-align: center; padding-top: 20px; text-decoration: none; width: 120px; height: 50px; } .navigationItemL { display: block; color: white; text-align: center; padding-top: 20px; text-decoration: none; width: 120px; height: 50px; } .navigationItemRL:hover { background-color: #9acbda; color: #ffffff; } .navigationItem:hover { background-color: #9acbda; color: #ffffff; } .navigationItemL:hover { background-color: #9acbda; color: #ffffff; } .hd { display: flex; flex-direction: row; padding: 10px } .login1 { display: flex; justify-content: end; padding-left: 10px; top: 0; right: 0; } .login { background-color: #9abdda; width: 150px; height: 40px; padding-bottom: 10px; text-align: center; border-radius: 20px; } :root { --background: #181818; --navbar-width: 400px; --navbar-width-min: 80px; --navbar-dark-primary: #ffffff; --navbar-dark-secondary: #2c3e50; --navbar-light-primary: #f5f6fa; --navbar-light-secondary: #8392a5; } html, body { margin: 0; background: var(--background); } #nav-toggle:checked ~ #nav-header { width: calc(var(--navbar-width-min) - 16px); } #nav-toggle:checked ~ #nav-content, #nav-toggle:checked ~ #nav-footer { width: var(--navbar-width-min); } #nav-toggle:checked ~ #nav-header #nav-title { opacity: 0; pointer-events: none; transition: opacity 0.1s; } #nav-toggle:checked ~ #nav-header label[for=nav-toggle] { left: calc(50% - 8px); transform: translate(-50%); } #nav-toggle:checked ~ #nav-header #nav-toggle-burger { background: var(--navbar-light-primary); } #nav-toggle:checked ~ #nav-header #nav-toggle-burger:before, #nav-toggle:checked ~ #nav-header #nav-toggle-burger::after { width: 16px; background: var(--navbar-light-secondary); transform: translate(0, 0) rotate(0deg); } #nav-toggle:checked ~ #nav-content .nav-button span { opacity: 0; transition: opacity 0.1s; } #nav-toggle:checked ~ #nav-content .nav-button .fas { min-width: calc(100% - 16px); } #nav-toggle:checked ~ #nav-footer #nav-footer-avatar { margin-left: 0; left: 50%; transform: translate(-50%); } #nav-toggle:checked ~ #nav-footer #nav-footer-titlebox, #nav-toggle:checked ~ #nav-footer label[for=nav-footer-toggle] { opacity: 0; transition: opacity 0.1s; pointer-events: none; } #nav-bar { position: absolute; left: 1vw; margin-top: 100px; top: 1vw; height: calc(100% - 2vw); background: var(--navbar-dark-primary); border-radius: 16px; display: flex; flex-direction: column; color: var(--navbar-light-primary); font-family: Verdana, Geneva, Tahoma, sans-serif; overflow: hidden; user-select: none; } #nav-bar hr { margin: 0; position: relative; left: 16px; width: calc(100% - 32px); border: none; border-top: solid 1px var(--navbar-dark-secondary); } #nav-bar a { color: #0c0c0c; text-decoration: inherit; } #nav-bar input[type=checkbox] { display: none; } #nav-header { position: relative; width: var(--navbar-width); left: 16px; width: calc(var(--navbar-width) - 16px); min-height: 80px; background: var(--navbar-dark-primary); border-radius: 16px; z-index: 2; display: flex; align-items: center; transition: width 0.2s; } #nav-header hr { position: absolute; bottom: 0; } #nav-title { font-size: 1.5rem; transition: opacity 1s; } label[for=nav-toggle] { position: absolute; right: 0; width: 3rem; height: 100%; display: flex; align-items: center; justify-content: center; cursor: pointer; } #nav-toggle-burger { position: relative; width: 16px; height: 2px; background: var(--navbar-dark-secondary); border-radius: 99px; transition: background 0.2s; } #nav-toggle-burger:before, #nav-toggle-burger:after { content: ""; position: absolute; top: -6px; width: 10px; height: 2px; background: var(--navbar-light-secondary); border-radius: 99px; transform: translate(2px, 8px) rotate(30deg); transition: 0.2s; } #nav-toggle-burger:after { top: 6px; transform: translate(2px, -8px) rotate(-30deg); } #nav-content { margin: -16px 0; padding: 16px 0; position: relative; flex: 1; width: var(--navbar-width); background: var(--navbar-dark-primary); box-shadow: 0 0 0 16px var(--navbar-dark-primary); direction: rtl; overflow-x: hidden; transition: width 0.2s; } #nav-content::-webkit-scrollbar { width: 8px; height: 8px; } #nav-content::-webkit-scrollbar-thumb { border-radius: 99px; background-color: #D62929; } #nav-content::-webkit-scrollbar-button { height: 16px; } #nav-content-highlight { position: absolute; left: 16px; top: -70px; width: calc(100% - 16px); height: 54px; background: var(--background); background-attachment: fixed; border-radius: 16px 0 0 16px; transition: top 0.2s; } #nav-content-highlight:before, #nav-content-highlight:after { content: ""; position: absolute; right: 0; bottom: 100%; width: 32px; height: 32px; border-radius: 50%; box-shadow: 16px 16px var(--background); } #nav-content-highlight:after { top: 100%; box-shadow: 16px -16px var(--background); } .nav-button { position: relative; margin-left: 16px; height: 54px; display: flex; align-items: center; color: var(--navbar-light-secondary); direction: ltr; cursor: pointer; z-index: 1; transition: color 0.2s; } .nav-button span { transition: opacity 1s; } .nav-button .fas { transition: min-width 0.2s; } .nav-button:nth-of-type(1):hover { color: var(--navbar-dark-primary); } .nav-button:nth-of-type(1):hover ~ #nav-content-highlight { top: 16px; } .nav-button:nth-of-type(2):hover { color: var(--navbar-dark-primary); } .nav-button:nth-of-type(2):hover ~ #nav-content-highlight { top: 70px; } .nav-button:nth-of-type(3):hover { color: var(--navbar-dark-primary); } .nav-button:nth-of-type(3):hover ~ #nav-content-highlight { top: 124px; } .nav-button:nth-of-type(4):hover { color: var(--navbar-dark-primary); } .nav-button:nth-of-type(4):hover ~ #nav-content-highlight { top: 178px; } .nav-button:nth-of-type(5):hover { color: var(--navbar-dark-primary); } .nav-button:nth-of-type(5):hover ~ #nav-content-highlight { top: 232px; } .nav-button:nth-of-type(6):hover { color: var(--navbar-dark-primary); } .nav-button:nth-of-type(6):hover ~ #nav-content-highlight { top: 286px; } .nav-button:nth-of-type(7):hover { color: var(--navbar-dark-primary); } .nav-button:nth-of-type(7):hover ~ #nav-content-highlight { top: 340px; } .nav-button:nth-of-type(8):hover { color: var(--navbar-dark-primary); } .nav-button:nth-of-type(8):hover ~ #nav-content-highlight { top: 394px; } #nav-bar .fas { min-width: 3rem; text-align: center; } #nav-footer { position: relative; width: var(--navbar-width); height: 54px; background: var(--navbar-dark-secondary); border-radius: 16px; display: flex; flex-direction: column; z-index: 2; transition: width 0.2s, height 0.2s; } #nav-footer-heading { position: relative; width: 100%; height: 54px; display: flex; align-items: center; } #nav-footer-avatar { position: relative; margin: 11px 0 11px 16px; left: 0; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; transform: translate(0); transition: 0.2s; } #nav-footer-avatar img { height: 100%; } #nav-footer-titlebox { position: relative; margin-left: 16px; width: 10px; display: flex; flex-direction: column; transition: opacity 1s; } #nav-footer-subtitle { color: var(--navbar-light-secondary); font-size: 0.6rem; } #nav-toggle:not(:checked) ~ #nav-footer-toggle:checked + #nav-footer { height: 30%; min-height: 54px; } #nav-toggle:not(:checked) ~ #nav-footer-toggle:checked + #nav-footer label[for=nav-footer-toggle] { transform: rotate(180deg); } label[for=nav-footer-toggle] { position: absolute; right: 0; width: 3rem; height: 100%; display: flex; align-items: center; cursor: pointer; transition: transform 0.2s, opacity 0.2s; } #nav-footer-content { margin: 0 16px 16px 16px; border-top: solid 1px var(--navbar-light-secondary); padding: 16px 0; color: var(--navbar-light-secondary); font-size: 0.8rem; overflow: auto; } #nav-footer-content::-webkit-scrollbar { width: 8px; height: 8px; } #nav-footer-content::-webkit-scrollbar-thumb { border-radius: 99px; background-color: #D62929; } .users{ display: none; border-radius: 40px; width: 1000px; min-width: 200px; background-color: #ffffff; height: 100%; margin-top: 20px; margin-left: 30%; overflow: auto; } .zajavki{ display: none; border-radius: 40px; width: 1000px; min-width: 200px; background-color: #ffffff; margin-top: 20px; margin-left: 30%; flex-direction: column; align-items: center; height: 100%; overflow: auto; } .orders{ display: none; border-radius: 40px; width: 1000px; min-width: 200px; background-color: #ffffff; margin-top: 20px; margin-left: 30%; flex-direction: column; align-items: center; height: 100%; overflow: auto; } .statistics{ display: none; border-radius: 40px; width: 1000px; min-width: 200px; background-color: #ffffff; height: 100%; margin-top: 20px; margin-left: 30%; justify-content: center; align-items: center; flex-direction: column; text-align: justify; font-size: 22px; } .add_product{ display: none; border-radius: 40px; width: 1000px; min-width: 200px; background-color: #ffffff; height: 100%; margin-top: 20px; margin-left: 30%; justify-content: center; align-items: center; flex-direction: column; text-align: justify; font-size: 22px; } .warehouse{ display: none; border-radius: 40px; width: 1000px; min-width: 200px; background-color: #ffffff; margin-top: 20px; margin-left: 30%; flex-direction: column; align-items: center; height: 100%; overflow: auto; } .reviews{ display: none; border-radius: 40px; width: 1000px; min-width: 200px; background-color: #ffffff; margin-top: 20px; margin-left: 30%; flex-direction: column; align-items: center; height: 100%; overflow: auto; } .krug1{ height: 20px; width: 20px; border-radius: 50%; background: #D62929; margin-right: 15px; } .krug1:hover{ background: #ee5959; } .krug11{ height: 20px; width: 20px; border-radius: 50%; background: #D62929; margin-right: 15px; display:none; } .krug1:hover{ display:block; } .krug2{ height: 20px; width: 20px; border-radius: 50%; background: #297ad6; margin-right: 15px; } .krug2:hover{ background: #60a4f3; } .krug3{ height: 20px; width: 20px; border-radius: 50%; background: #d8dde4; margin-right: 15px; } .krug3:hover{ background: #e2e5eb; } .content_status{ display: flex; flex-direction: row; align-items: center; } .zav-containe { display: flex; flex-direction: column; justify-content: center; align-items: center; } .com-container { display: flex; flex-direction: column; justify-content: center; align-items: center; } .com-containe{ display: flex; flex-direction: column; justify-content: center; align-items: center; } .myDiv{ display: none; } .knopkii{ display: flex; flex-direction: column; align-items: center; justify-content: center; margin-left: 100px; } .modal{ flex-direction: column; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: white; padding: 20px; z-index: 1000; border-radius: 25px; width: 500px; -webkit-box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); -moz-box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); } .forma{ display: flex; flex-direction: column; justify-content: center; align-items: center; } .inp{ border-radius: 5px; margin-top: 10px; height: 25px; width: 220px; border-color: #678892; } .inp:hover{ background-color: #f3f3f3; } .ft{ text-align: center; font-size: 12px; color: #a7a7a7; } .but_otprav{ margin-top: 10px; background: #9acbda; border: 0px; height: 39px; width: 200px; color: #ffffff; border-radius: 10px; -webkit-box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); -moz-box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); } .but_otprav:hover{ background: #b9e8f7; } .product_card_conteiner{ display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 50px; background: #ffff; } .product_card{ margin-top: 20px; margin-bottom: 20px; width: 300px; height: 380px; background: #ffffff; border-radius: 20px; margin-left: 10px; border: 1px solid #acaeb1; padding-left: 10px; -webkit-box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); -moz-box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); transition: transform .3s; } .product_card:hover{ transform: scale(1.4) } .img_cont{ padding: 15px; } .im{ border-radius: 10px; max-width: 280px; height: 170px; background: #a7a7a7; } .product_card_conteiner1{ display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 50px; background: #ffff; } .product_card1{ margin-top: 20px; margin-bottom: 20px; background: #ffffff; border-radius: 20px; margin-left: 10px; width: 500px; border: 1px solid #acaeb1; padding-left: 10px; -webkit-box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); -moz-box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); box-shadow: 0px 12px 8px -6px rgba(43, 36, 36, 0.35); transition: transform .3s; display: flex; flex-direction: row; } .product_card1:hover{ transform: scale(1.4) } .text_card{ display: flex; flex-direction: column; } .output_text{ margin-top: 5px; display: flex; flex-direction: row; } .hide{ display: none; } .colvo_z{ background-color: #db4646; margin-left: 5px; border-radius: 50%; width: 18px; text-align: center; }