An electron-based WIP aesthetic file explorer ^^
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
FileKade/styles/modal.css

148 lines
3.0 KiB

.modal {
position: fixed;
width: max-content;
height: max-content;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
border-radius: 7px 7px;
border: 1px solid #af2188a4;
background-color: #171717da;
padding: 6px 8px;
z-index: 4;
max-width: 50%;
}
.modal h1, .modal h2, .modal h3, .modal h4 {
color: #af2188;
font-family: 'Nunito', sans-serif;
margin: 10px;
}
.modal .subtitle {
font-size: 18px;
margin-top: 0;
color: #afafaf;
}
.modal p, .modal b {
color: white;
font-family: 'Montserrat', sans-serif;
margin: 8px 10px;
}
.modal li, .modal ul {margin: 0 0;}
.modal input, .modal button {
background-color: #1e27423f;
color: white;
border: #5d60ca solid 1px;
border-radius: 3px;
width: auto;
margin: 10px 4px 10px 8px;
font-size: .82em;
padding: 5px 7px;
font-family: "Monsterrat", sans-serif;
transition: background-color .65s ease-in-out, border-color .65s ease-in-out, color .65s ease-in-out;
cursor: pointer;
text-align: left;
}
.modal input:hover {
border-color: #a172a6;
}
.modal input:focus, .modal input:active {
background-color: #171717d8;
color: white;
outline: none;
}
.button-container input, .button-container button {display: inline-block;}
#modal-block {
position: absolute;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
background-color: #1717176d;
z-index: 3;
}
.modal-wrapper {
margin: 0 0;
padding: 0 0;
position: relative;
max-height: inherit;
height: inherit;
}
.close-button-wrapper {
margin: 0 0;
padding: 0 0;
top: 0;
right: 10px;
position: absolute;
}
.close-button {
width: 30px;
height: 30px;
border-radius: 10px;
left: 10px;
bottom: 10px;
display: block;
z-index: 200;
position: relative;
cursor: pointer;
}
.close-button:before, .close-button:after {
content: '';
width: 55%;
height: 2px;
background: #fff;
position: absolute;
top: 48%;
left: 22%;
transform: rotate(-45deg);
transition: all 0.3s ease-out;
}
.close-button:after {
transform: rotate(45deg);
transition: all 0.3s ease-out;
}
.close-button:hover:before, .close-button:hover:after {
transform: rotate(180deg);
}
.changelog-wrapper {
display: flex;
align-items: stretch;
align-content: stretch;
justify-content: flex-start;
flex-direction: column;
row-gap: 8px;
margin-top: 6px;
margin-left: 6px;
position: static;
max-height: inherit;
overflow-y: scroll;
}
.changelog-anchor {
position: static;
max-height: 62vh;
overflow: hidden;
}
#changelog-modal {max-height: 70vh;}
.loading-bar {
width: 90%;
margin: 12px auto 10px auto;
border-radius: 3px;
padding: 0 0;
height: 5px;
animation: 12s linear infinite, moving-stripes 10s linear infinite;
background-image: repeating-linear-gradient(-45deg, #a172a6 10px, #5d60ca98, #a172a6 30px);
background-size: 200%;
}