199 lines
3.8 KiB
CSS
199 lines
3.8 KiB
CSS
body, html {
|
|
height: 100%;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
font-family: "Roboto", sans-serif;
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
|
|
background-image: url('../assets/background.png');
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-evenly;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
text-align: center;
|
|
}
|
|
|
|
h1, h2{
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.left_block{
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: #535C91;
|
|
opacity: 71;
|
|
padding: 2rem;
|
|
border-radius: 1rem;
|
|
box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.9);
|
|
color: white;
|
|
}
|
|
|
|
.left_block_top{
|
|
text-align: left;
|
|
width: 50%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-direction: column;
|
|
justify-content: left;
|
|
}
|
|
|
|
|
|
.left_block_top hr{
|
|
margin: 0 0 1rem 0;
|
|
}
|
|
|
|
.left_block_content{
|
|
display: flex;
|
|
justify-content: start;
|
|
align-items: center;
|
|
margin: 2rem 0 2rem 0;
|
|
}
|
|
|
|
.left_block_buttons{
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-content: center;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
button{
|
|
margin: 0 1rem 0 1rem;
|
|
width: 10vw;
|
|
height: 5vh;
|
|
|
|
border: none;
|
|
border-radius: 10px;
|
|
|
|
color: white;
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
outline: none;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
button:hover{
|
|
filter: brightness(85%);
|
|
}
|
|
|
|
.left_block_footer{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: end;
|
|
}
|
|
|
|
.right_block{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-direction: column;
|
|
align-content: center;
|
|
align-items: center;
|
|
|
|
background-color: #535C91;
|
|
padding: 2vw;
|
|
opacity: 71;
|
|
border-radius: 1rem;
|
|
|
|
box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.9);
|
|
color: white;
|
|
}
|
|
|
|
.security_level_form_title{
|
|
width: 80%;
|
|
text-align: left;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-direction: column;
|
|
justify-content: left;
|
|
align-content: start;
|
|
}
|
|
|
|
.security_level_form_title hr{
|
|
width: 100%;
|
|
}
|
|
|
|
#security_level_form_content {
|
|
list-style-type: none;
|
|
padding: 0 7vw 0 0;
|
|
height: 30vh; /* Adjust if needed */
|
|
max-height: 30vh; /* Prevents it from growing taller */
|
|
overflow-y: auto; /* Enables vertical scrolling */
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input {
|
|
text-align: center;
|
|
color: white;
|
|
font-weight: bold;
|
|
font-size: 1.2rem;
|
|
width: 40%;
|
|
padding: 0.5rem 2rem 0.5rem 2rem;
|
|
margin: 0.7rem;
|
|
background-color: #1B1A55;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.hide {
|
|
display: none;
|
|
}
|
|
|
|
.over {
|
|
background-color: #f1f1f1;
|
|
}
|
|
|
|
|
|
#security_level_form_content li {
|
|
cursor: move;
|
|
padding: 0.5rem 1rem 0.5rem 1rem;
|
|
margin: 10px;
|
|
background-color: #1B1A55;
|
|
border-radius: 1rem;
|
|
border: none;
|
|
box-sizing: border-box; /* Includes padding and border in the element's total width and height */
|
|
}
|
|
|
|
#security_level_form_content::-webkit-scrollbar {
|
|
width: 10px; /* Reduced width of the scrollbar by 2px */
|
|
}
|
|
|
|
#security_level_form_content::-webkit-scrollbar-track {
|
|
background: #1B1A55; /* Updated track color */
|
|
}
|
|
|
|
#security_level_form_content::-webkit-scrollbar-thumb {
|
|
background: #535C91; /* Updated handle color */
|
|
border: 2px solid #1B1A55; /* Adding a border to effectively reduce the thumb size */
|
|
}
|
|
|
|
#security_level_form_content::-webkit-scrollbar-thumb:hover {
|
|
background: #555; /* Updated handle color on hover */
|
|
}
|
|
|
|
button[name="back"]{
|
|
background-color: #23BDEE;
|
|
}
|
|
|
|
button[name="submit"], button[name="create"]{
|
|
background-color: #F44336;
|
|
}
|
|
|
|
button[name="select_file"]{
|
|
margin: 0;
|
|
width: 8vw;
|
|
background-color: #1B1A55;
|
|
} |