mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 21:45:41 +00:00
559 lines
14 KiB
CSS
559 lines
14 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500&display=swap');
|
|
|
|
:root {
|
|
--main-gradient: linear-gradient(145deg, #1E2A3B, #2C3E50);
|
|
--pico-modal-overlay-background-color: rgba(8, 9, 10, 0.75);
|
|
--pico-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
--pico-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--pico-font-family-emoji);
|
|
--pico-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--pico-font-family-emoji);
|
|
--pico-font-family: var(--pico-font-family-sans-serif);
|
|
--pico-line-height: 1.5;
|
|
--pico-font-weight: 400;
|
|
--pico-font-size: 100%;
|
|
--pico-text-underline-offset: 0.1rem;
|
|
--pico-border-radius: 0.25rem;
|
|
--pico-border-width: 0.0625rem;
|
|
--pico-outline-width: 0.125rem;
|
|
--pico-transition: 0.2s ease-in-out;
|
|
--pico-spacing: 1rem;
|
|
--pico-typography-spacing-vertical: 1rem;
|
|
--pico-block-spacing-vertical: var(--pico-spacing);
|
|
--pico-block-spacing-horizontal: var(--pico-spacing);
|
|
--pico-grid-column-gap: var(--pico-spacing);
|
|
--pico-grid-row-gap: var(--pico-spacing);
|
|
--pico-form-element-spacing-vertical: 0.75rem;
|
|
--pico-form-element-spacing-horizontal: 1rem;
|
|
--pico-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
--pico-group-box-shadow-focus-with-button: 0 0 0 var(--pico-outline-width) var(--pico-primary-focus);
|
|
--pico-group-box-shadow-focus-with-input: 0 0 0 0.0625rem var(--pico-form-element-border-color);
|
|
--pico-modal-overlay-backdrop-filter: blur(0.375rem);
|
|
--pico-nav-element-spacing-vertical: 1rem;
|
|
--pico-nav-element-spacing-horizontal: 0.5rem;
|
|
--pico-nav-link-spacing-vertical: 0.5rem;
|
|
--pico-nav-link-spacing-horizontal: 0.5rem;
|
|
--pico-nav-breadcrumb-divider: ">";
|
|
--pico-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
|
|
--pico-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
|
|
--pico-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
|
|
--pico-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
|
|
--pico-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
|
|
--pico-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
|
|
--pico-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
|
|
--pico-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
|
|
|
|
}
|
|
|
|
@keyframes jump {
|
|
0% {
|
|
transform: scale(0.0);
|
|
}
|
|
70% {
|
|
transform: scale(1);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
margin: 70px 0px 0px 0px;
|
|
}
|
|
|
|
h1{
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
input, textarea, select {
|
|
width: 95%;
|
|
max-width: 95%;
|
|
max-height: 300px;
|
|
/* padding: 8px; */
|
|
margin-top: 5px;
|
|
border-radius: 8px;
|
|
border: 1px solid #cccccc52;
|
|
}
|
|
|
|
|
|
.btn-primary {
|
|
align-items: center;
|
|
background: var(--main-gradient);
|
|
border-color: rgba(86, 187, 255, 0.192);
|
|
border-radius: 8px;
|
|
box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.973);
|
|
text-align: left;
|
|
line-height: 20px;
|
|
padding: 15px 30px 15px 30px;
|
|
transition: box-shadow 0.4s;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
box-shadow: 0px 0px 15px rgba(86, 187, 255, 0.815);
|
|
text-align: left;
|
|
line-height: 20px;
|
|
padding: 15px 30px 15px 30px;
|
|
}
|
|
|
|
.btn-secondary {
|
|
align-items: center;
|
|
background: var(--main-gradient);
|
|
border-color: rgba(53, 241, 62, 0.425);
|
|
border-radius: 8px;
|
|
box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.973);
|
|
text-align: left;
|
|
line-height: 20px;
|
|
padding: 15px 30px 15px 30px;
|
|
transition: box-shadow 0.4s;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
box-shadow: 0px 0px 15px rgb(53, 241, 62);
|
|
text-align: left;
|
|
line-height: 20px;
|
|
padding: 15px 30px 15px 30px;
|
|
}
|
|
|
|
.btn-cancel {
|
|
align-items: center;
|
|
background: linear-gradient(145deg, #dd3d3d8e, #9b4d4dbd);
|
|
border-color: rgba(250, 62, 62, 0.404);
|
|
border-radius: 8px;
|
|
box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.973);
|
|
text-align: left;
|
|
line-height: 20px;
|
|
padding: 15px 30px 15px 30px;
|
|
transition: box-shadow 0.4s;
|
|
}
|
|
|
|
.btn-cancel:hover {
|
|
box-shadow: 0px 0px 15px rgba(255, 86, 86, 0.815);
|
|
text-align: left;
|
|
line-height: 20px;
|
|
padding: 15px 30px 15px 30px;
|
|
}
|
|
|
|
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
|
|
.card-product {
|
|
height: 180px;
|
|
width: 200px;
|
|
padding: 10px;
|
|
align-items: center;
|
|
align-content: center;
|
|
text-align: center;
|
|
line-height: 1.5;
|
|
background: var(--main-gradient);
|
|
box-shadow: 3px 3px 10px rgba(2, 2, 2, 0.678);
|
|
border-radius: 5px;
|
|
transition: transform 0.4s, box-shadow 0.4s;
|
|
}
|
|
|
|
.card-product:hover {
|
|
transform: scale(1.05);
|
|
transition: transform 0.4s, box-shadow 0.4s;
|
|
box-shadow: 0px 0px 10px rgba(86, 187, 255, 0.815);
|
|
}
|
|
|
|
.p-header {
|
|
background-color: #24252a;
|
|
box-shadow: 0px 3px 10px #464646;
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 100;
|
|
}
|
|
|
|
.nav-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0.1rem 1rem;
|
|
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
margin-top: 5px;
|
|
align-items: center;
|
|
}
|
|
|
|
|
|
.nav-list {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-list ul {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-item {
|
|
margin: 0 15px;
|
|
}
|
|
|
|
.nav-link {
|
|
text-decoration: none;
|
|
font-size: 1.15rem;
|
|
color: #fff;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.logout-button{
|
|
display: grid;
|
|
align-items: center;
|
|
grid-template-columns: repeat(2, 0.5fr);
|
|
border: none;
|
|
border-radius: 5px;
|
|
margin-top: 10px;
|
|
gap: 10px;}
|
|
|
|
.logout-button button a {
|
|
text-decoration: none;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
font-size: 1.1rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.mobile-menu-icon {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-menu {
|
|
display: none;
|
|
}
|
|
|
|
|
|
.dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
transition: display 0.9s, animation 0.9s;
|
|
}
|
|
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
border-radius: 5px;
|
|
background-color: #313238;
|
|
min-width: 160px;
|
|
box-shadow: 0px 3px 10px #464646;
|
|
}
|
|
|
|
.dropdown-content a {
|
|
color: rgb(255, 255, 255);
|
|
padding: 12px 16px;
|
|
text-decoration: none;
|
|
display: block;
|
|
animation: jump 0.7s;
|
|
|
|
|
|
|
|
}
|
|
|
|
.dropdown-content a:hover {
|
|
background-color: #7a7a7a;
|
|
border-radius: 5px;
|
|
display: block;
|
|
/* animation: jump 0.7s; */
|
|
|
|
|
|
}
|
|
|
|
.img-drop {
|
|
width: 35px;
|
|
transition: transform 0.3s ease-in-out;
|
|
}
|
|
|
|
.dropdown:hover .img-drop {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.dropdown:hover .dropdown-content {
|
|
display: block;
|
|
animation: jump 0.7s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation {
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 60px;
|
|
background: var(--main-gradient);
|
|
display: none;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 10px 10px 0px 0px;
|
|
box-shadow: 10px 0px 8px rgb(255, 255, 255);
|
|
}
|
|
|
|
.navigation ul {
|
|
width: 350px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.navigation ul li {
|
|
list-style: none;
|
|
position: relative;
|
|
width: 70px;
|
|
height: 60px;
|
|
z-index: 2;
|
|
}
|
|
|
|
.navigation ul li a {
|
|
text-decoration: none;
|
|
color: #555;
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.navigation ul li a .icon {
|
|
position: fixed;
|
|
background: #add7ff;
|
|
display: block;
|
|
width: 55px;
|
|
height: 55px;
|
|
text-align: center;
|
|
line-height: 65px;
|
|
border-radius: 50%;
|
|
color: #222327;
|
|
font-size: 1.5em;
|
|
transition: 0.5s;
|
|
transition-delay: 0s;
|
|
z-index: 100;
|
|
}
|
|
|
|
.navigation ul li a .icon:hover {
|
|
background: #222327;
|
|
color: #fff;
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
.toast {
|
|
position: fixed;
|
|
top: 40px;
|
|
width: 30%;
|
|
left: 50%;
|
|
justify-items: center;
|
|
align-items: center;
|
|
transform: translateX(-50%);
|
|
background-color: #599100;
|
|
color: #000000;
|
|
font-weight: bold;
|
|
padding: 20px 1px 1px 1px;
|
|
border-radius: 10px;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
|
|
z-index: 999 ;
|
|
}
|
|
@media screen and (max-width: 730px) {
|
|
.toast-add {
|
|
width: 90%;
|
|
|
|
}
|
|
}
|
|
.toast p {
|
|
color: #000000;
|
|
}
|
|
|
|
.toast.show {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 730px) {
|
|
.dropdown-content {
|
|
display: none;
|
|
margin-top: 40px;
|
|
position: relative;
|
|
border-radius: 0px;
|
|
min-width: 160px;
|
|
}
|
|
.nav-bar {
|
|
padding: 0.1rem 2rem;
|
|
}
|
|
.nav-item {
|
|
display: none;
|
|
}
|
|
.logout-button {
|
|
display: none;
|
|
}
|
|
.mobile-menu-icon {
|
|
display: block;
|
|
}
|
|
.mobile-menu-icon button {
|
|
background-color: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
.mobile-menu ul {
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.mobile-menu .nav-item {
|
|
display: block;
|
|
padding-top: 1.2rem;
|
|
}
|
|
.mobile-menu .logout-button {
|
|
display: block;
|
|
justify-items: center;
|
|
justify-self: center;
|
|
padding: 1rem 2rem;
|
|
}
|
|
.mobile-menu .logout-button button {
|
|
width: 100%;
|
|
}
|
|
.open {
|
|
display: block;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.navigation {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.header-mobile {
|
|
display: none;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: #171525;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
|
|
/* backdrop-filter: blur(5px); */
|
|
padding: 1rem;
|
|
padding-right: 50px;
|
|
padding-left: 10px;
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.header-mobile .logo {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: 25px;
|
|
}
|
|
|
|
.header-mobile .logo i {
|
|
color: #fbbf24;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.header-mobile .logo span {
|
|
|
|
font-size: 1.25rem;
|
|
font-weight: bold;
|
|
margin-left: .5rem;
|
|
}
|
|
|
|
.header-mobile .nav-toggle {
|
|
display: block;
|
|
cursor: pointer;
|
|
background: none;
|
|
border: none;
|
|
padding-right: 0;
|
|
margin-right: 10;
|
|
}
|
|
|
|
.header-mobile .nav-toggle i {
|
|
color: white;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.header-mobile .nav-links {
|
|
max-width: 70%;
|
|
position: fixed;
|
|
top: 83px;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100vh;
|
|
background-color: #222033b9;
|
|
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(5px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: left 0.3s ease-in-out;
|
|
z-index: 9998;
|
|
}
|
|
|
|
.header-mobile .nav-links .nav-component{
|
|
width: 100%;
|
|
justify-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
|
|
.header-mobile .nav-links.active {
|
|
left: 15%;
|
|
}
|
|
|
|
.header-mobile .nav-links a {
|
|
color: #a0aec0;
|
|
text-decoration: none;
|
|
font-size: 1.2rem;
|
|
margin: 1rem 0;
|
|
display: block;
|
|
width: 90%;
|
|
text-align: center;
|
|
padding: 1rem;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.header-mobile .nav-links a:hover {
|
|
color: white;
|
|
scale: 1.1;
|
|
background-color: #373543;
|
|
box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
|
|
transition: all 0.3s ;
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.background .bg1 {
|
|
max-height: 21.5%;
|
|
}
|
|
|
|
.header-mobile {
|
|
display: flex;
|
|
}
|
|
}
|