- Improved alerts

- Improved modal
- Fixed get_curr_path() function
- Improved tools.js
- Cleaned up
- Refactoring
This commit is contained in:
2021-06-04 14:05:05 +02:00
parent 2e693eb93a
commit 51d51c3a32
11 changed files with 300 additions and 278 deletions

View File

@@ -44,7 +44,7 @@ header {
font-size: 2em;
}
.logout {
#logout {
grid-column: 2;
width: 100%;
display: flex;

View File

@@ -1,5 +1,4 @@
.modal {
display: none;
#modal {
position: fixed;
z-index: 100000;
padding-top: 100px;
@@ -17,31 +16,43 @@
padding: 20px;
border: 1px solid #888;
width: 90%;
height: 80%;
border-radius: 5px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.modal_header {
.divider {
background: #585858;
height: 0.1em;
margin: 0.5em 0 0.5em;
}
#modal_header {
display: grid;
grid-template-columns: 90% 10%;
}
.modal_header #modal_title {
#modal_header #modal_title {
grid-column: 1;
margin: 0;
}
.modal_header > span {
#modal_header > span {
grid-column: 2;
display: flex;
justify-content: flex-end;
align-items: center;
}
.modal_header span i {
#modal_header span i {
cursor: pointer;
}
.modal_content {
#modal_content {
display: flex;
justify-content: center;
align-items: center;
background-color: #fefefe;
width: 100%;
height: calc(100% - 16px - 2em);