This commit is contained in:
Bruno Rybársky 2024-02-06 19:40:31 +01:00
parent 1fd03f30d9
commit 4c1864d6a1

@ -1,217 +1,280 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root { .dashboard
--primary-bg: rgb(27, 21, 41); {
--secondary-bg: #1a1a1a; height:100%;
--third-bg: #383838; text-align:center;
--primary-text: #d2d6e5; width:100%;
--error: rgb(255, 55, 0);
--primary: #2a9dd6;
--primary-hover: #2489bb;
} }
body { :root
background: linear-gradient(127deg, var(--secondary-bg), var(--primary-bg)) no-repeat fixed; {
background-size: cover; --error:#ff3700;
height: 100%; --primary:#2a9dd6;
width: 100%; --primary-bg:#1b1529;
font-family: 'Poppins', sans-serif; --primary-hover:#2489bb;
color: var(--primary-text); --primary-text:#d2d6e5;
margin: 0; --secondary-bg:#1a1a1a;
padding: 0; --third-bg:#383838;
min-height: 100vh;
min-width: 100vw;
display: flex;
flex-direction: column;
align-items: center;
} }
nav, footer { body
padding: 1.2rem 1rem; {
background-color: rgba(0, 0, 0, 0.2); align-items:center;
-webkit-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.2); background:linear-gradient(127deg,var(--secondary-bg), var(--primary-bg)) no-repeat fixed;
-moz-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.2); background-size:cover;
box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.2); color:var(--primary-text);
display:flex;
flex-direction:column;
font-family:\'Poppins\', sans-serif;
height:100%;
margin:0;
min-height:100vh;
min-width:100vw;
padding:0;
width:100%;
} }
#navbar_container, #page_container, #footer_container { header h1
width: 100%; {
margin:0;
padding:0;
} }
nav { header hr
display: flex; {
flex-direction: row; border-color:var(--primary);
justify-content: space-between; opacity:0.5;
height: 75px !important; width:30%;
position: relative;
z-index: 500;
} }
ul, header ul, header ul li, ul.navpage_list { header ul li
display: flex; {
flex-direction: row; list-style:circle;
gap: 2.5rem; width:fit-content;
list-style: none;
padding-left: 0;
width: fit-content;
} }
li, li.navpage_item { header ul
list-style: none; {
display:flex;
flex-direction:column;
gap:0;
text-align:left;
width:fit-content;
} }
li a, li.navpage_item { header
position: relative; {
padding-bottom: 0.45rem; align-items:center;
color: var(--primary-text); text-align:center;
text-decoration: none; width:100%;
transition: all 0.3s ease;
} }
li a:hover::after { li a
width: 85%; {
margin: 0 auto; color:var(--primary-text);
padding-bottom:.45rem;
position:relative;
text-decoration:none;
transition:all .3s ease;
} }
.wrapper-40x { li a:hover::after
text-align: center; {
margin:0 auto;
width:85%;
} }
.wrapper-40x h1 { li
font-size: 10rem; {
margin: 0; list-style:none;
} }
.wrapper-40x .error { li.navpage_item
color: var(--error); {
padding-left:20px;
padding-right:20px;
} }
.wrapper-40x h3 { nav
margin-bottom: 2rem; {
display:flex;
flex-direction:row;
justify-content:space-between;
} }
.error-code { nav,footer
color: var(--primary); {
-moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2);
-webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2);
background-color:rgba(0,0,0,0.2);
box-shadow:0 20px 28px 0 rgba(0,0,0,0.2);
padding:1.2rem 1rem;
} }
.back { table.list-table > tbody,table.list-table > tbody > th,table.list-table > tbody > tr,table.list-table > tbody > tr > td
color: var(--primary-text); {
text-decoration: none; border:2px solid var(--primary);
background-color: #2a9dd6; border-collapse:collapse;
padding: 0.35rem 0.65rem;
transition: all 0.3s ease;
border-radius: 15px;
} }
.back:hover { ul
transition: all 0.3s ease; {
background-color: var(--primary-hover); display:flex;
flex-direction:row;
gap:2.5rem;
list-style:none;
padding-left:0;
} }
header { ul.navpage_list
width: 100%; {
align-items: center; gap:10px;
text-align: center;
} }
header h1, header a { .back
margin: 0; {
padding: 0; background-color:#2a9dd6;
color: var(--primary); border-radius:15px;
color:var(--primary-text);
padding:.35rem .65rem;
text-decoration:none;
transition:all .3s ease;
} }
header hr { .back:hover
border-color: var(--primary); {
opacity: 0.5; background-color:var(--primary-hover);
width: 30%; transition:all .3s ease;
} }
.navsite_list, .navpage_list, .navsite_item, .navsite_item:hover .navpage_list, .navsite_item:not(:hover) .navpage_list { .feature-list
display: flex; {
gap: 3.25rem; display:block;
} margin:auto;
.navsite_list { width:fit-content;
flex-direction: row;
} }
.navsite_item, .navpage_list { .feature-list-ul ul
flex-direction: column; {
margin-left:20px;
margin-top:5px;
} }
.navpage_list { .feature-list-ul
background-color: var(--third-bg); {
margin-top: 10px; margin:auto;
display: flex;
flex-direction: column;
overflow: hidden;
max-height: 0;
border: 0 solid transparent;
transition: max-height 0.3s ease, border 0.325s ease;
position: relative;
z-index: 2;
} }
.navsite_item:hover .navpage_list { .navpage_list
max-height: 200px; {
border: 4px solid var(--primary-hover); background-color:var(--third-bg);
border:0 solid transparent;
display:none;
flex-direction:column;
margin-top:10px;
max-height:0;
overflow:hidden;
position:relative;
transition:max-height .3s ease, border .325s ease;
z-index:2;
} }
.navsite_item:not(:hover) .navpage_list { .navsite_item
max-height: 0; {
border: 0 solid transparent; align-items:center;
transition-delay: 0.1s; justify-content:center;
text-align:center;
width:120px;
} }
li.navpage_item { .navsite_item:hover .navpage_list
padding-left: 20px; {
padding-right: 20px; border:4px solid var(--primary-hover);
display:flex!important;
max-height:200px;
} }
ul.navpage_list { .navsite_item:not(:hover) .navpage_list
gap: 10px; {
border:0 solid transparent;
max-height:0;
transition-delay:.1s;
} }
.feature-list, .feature-list-ul, .feature-list-ul ul { .navsite_list
margin: auto; {
width: fit-content; display:flex;
display: block; flex-direction:row;
gap:3.25rem;
} }
.status-message { .status-message
background-color: #dff0d8; /* Success background color */ {
border: 1px solid #3c763d; /* Success border color */ background-color:#dff0d8;
color: #3c763d; /* Success text color */ border:1px solid #3c763d;
padding: 15px; color:#3c763d;
margin-bottom: 10px; margin-bottom:10px;
opacity: 1; opacity:1;
transition: opacity 0.5s ease-in-out; padding:15px;
transition:opacity .5s ease-in-out;
} }
.status-message.failure { .status-message.failure
background-color: #f2dede; /* Failure background color */ {
border: 1px solid #a94442; /* Failure border color */ background-color:#f2dede;
color: #a94442; /* Failure text color */ border:1px solid #a94442;
color:#a94442;
} }
table.list-table > tbody, table.list-table > tbody > th, table.list-table > tbody > tr, table.list-table > tbody > tr > td { .wrapper-40x .error
border: 2px solid var(--primary); {
border-collapse: collapse; color:var(--error);
} }
.dashboard { .wrapper-40x h1
width: 100%; {
height: 100%; font-size:10rem;
text-align: center; margin:0;
} }
#loginForm input, #register_Form input { .wrapper-40x h3
border-radius: 50px; {
background: none; margin-bottom:2rem;
border: 2px solid var(--primary);
width: 175px;
} }
#page_container { .wrapper-40x
flex-grow: 1; {
text-align:center;
}
#navbar_container
{
height:75px!important;
position:relative;
z-index:500;
}
#navbar_container,#page_container,#footer_container
{
width:100%;
}
#page_container
{
flex-grow:1;
}
header a,.error-code
{
color:var(--primary);
}
#loginForm input,#register_Form input
{
background:none;
border:2px solid var(--primary);
border-radius:50px;
width:175px;
} }