- Download files
- Remove files - Create files - Refactoring - Bug fix
This commit is contained in:
41
Frontend/static/css/alert.css
Normal file
41
Frontend/static/css/alert.css
Normal file
@@ -0,0 +1,41 @@
|
||||
.alert {
|
||||
position: relative;
|
||||
margin-bottom: 1rem;
|
||||
border: 1px solid transparent;
|
||||
border-radius: .25rem;
|
||||
padding: .75rem 4rem .75rem 1.25rem;
|
||||
}
|
||||
|
||||
.alert span {
|
||||
color: #0062ff;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.alert .close {
|
||||
position: absolute;
|
||||
top: -3px;
|
||||
right: 0;
|
||||
padding: .75rem 1.25rem;
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
float: right;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.alert-danger {
|
||||
color: #721c24;
|
||||
background-color: #f8d7da;
|
||||
border-color: #f5c6cb;
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
color: #0d630a;
|
||||
background-color: #acffa9;
|
||||
border-color: #acffa9;
|
||||
}
|
@@ -18,7 +18,6 @@ main {
|
||||
}
|
||||
|
||||
footer {
|
||||
/*flex: 0 0 auto;*/
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@@ -118,120 +117,47 @@ button {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 100000;
|
||||
padding-top: 100px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
background-color: rgba(0,0,0, 0.8);
|
||||
.new_btn {
|
||||
/*font-size: 3em;*/
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: #0062ff;
|
||||
color: #fff;
|
||||
border-radius: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#content {
|
||||
background-color: #fefefe;
|
||||
margin: auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
width: 90%;
|
||||
height: 80%;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
display: grid;
|
||||
grid-template-columns: 90% 10%;
|
||||
}
|
||||
|
||||
.modal-header #file_title {
|
||||
grid-column: 1;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.modal-header span {
|
||||
grid-column: 2;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.modal-header span i {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background-color: #fefefe;
|
||||
width: 100%;
|
||||
height: calc(100% - 16px - 2em);
|
||||
}
|
||||
|
||||
.error {
|
||||
display: grid;
|
||||
grid-template-columns: auto min-content;
|
||||
background: #db2d2d;
|
||||
border: solid 2px #b61111;
|
||||
border-radius: 5px;
|
||||
width: 90%;
|
||||
height: 3em;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.error .text {
|
||||
grid-column: 1;
|
||||
line-height: 3em;
|
||||
padding-left: 10px;
|
||||
|
||||
}
|
||||
|
||||
.error span:nth-child(2) {
|
||||
grid-column: 2;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
line-height: 3em;
|
||||
}
|
||||
|
||||
#custom-menu {
|
||||
display: none;
|
||||
z-index:100000;
|
||||
.new {
|
||||
position: absolute;
|
||||
background-color: rgb(229, 229, 229);
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: rgb(114, 114, 114);
|
||||
padding: 0 0.25em 0 1.5em;
|
||||
width: 12em;
|
||||
font-size: 12px;
|
||||
overflow: hidden;
|
||||
white-space:nowrap;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
bottom: 10px;
|
||||
right: 10px;
|
||||
}
|
||||
#custom-menu button {
|
||||
|
||||
.new_content {
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: 50px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.new_content button {
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
padding: 5px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
color: #333;
|
||||
border-radius: 100%;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: #0062ff;
|
||||
color: #fff;
|
||||
margin-bottom: 10px;
|
||||
border: none;
|
||||
}
|
||||
#custom-menu button:hover {
|
||||
background-color: #DDD;
|
||||
cursor: pointer;
|
||||
color: #000;
|
||||
|
||||
.new button:hover {
|
||||
background: #003f93;
|
||||
}
|
||||
#custom-menu button > span {
|
||||
display: inline;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
text-align: right;
|
||||
color: rgb(102, 102, 102);
|
||||
|
||||
.new:hover .new_content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.material-icon {
|
||||
|
38
Frontend/static/css/dropdown.css
Normal file
38
Frontend/static/css/dropdown.css
Normal file
@@ -0,0 +1,38 @@
|
||||
#context_menu {
|
||||
display: none;
|
||||
z-index:100000;
|
||||
position: absolute;
|
||||
background-color: rgb(229, 229, 229);
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: rgb(114, 114, 114);
|
||||
padding: 0 0.25em 0 1.5em;
|
||||
width: 12em;
|
||||
font-size: 12px;
|
||||
overflow: hidden;
|
||||
white-space:nowrap;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
#context_menu button {
|
||||
display: block;
|
||||
padding: 5px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
color: #333;
|
||||
}
|
||||
#context_menu button:hover {
|
||||
background-color: #DDD;
|
||||
cursor: pointer;
|
||||
color: #000;
|
||||
}
|
||||
#context_menu button > span {
|
||||
display: inline;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
text-align: right;
|
||||
color: rgb(102, 102, 102);
|
||||
}
|
@@ -8,7 +8,8 @@
|
||||
}
|
||||
|
||||
#error_wrapper {
|
||||
padding: 5px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
@@ -24,7 +24,8 @@
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
margin: 5px;
|
||||
margin-bottom: 5px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
#login input {
|
||||
@@ -35,4 +36,8 @@
|
||||
#login button {
|
||||
background-color: #0062ff;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#error {
|
||||
color: #b61111;
|
||||
}
|
48
Frontend/static/css/popup.css
Normal file
48
Frontend/static/css/popup.css
Normal file
@@ -0,0 +1,48 @@
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 100000;
|
||||
padding-top: 100px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
background-color: rgba(0,0,0, 0.8);
|
||||
}
|
||||
|
||||
#content {
|
||||
background-color: #fefefe;
|
||||
margin: auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
width: 90%;
|
||||
height: 80%;
|
||||
}
|
||||
|
||||
.modal_header {
|
||||
display: grid;
|
||||
grid-template-columns: 90% 10%;
|
||||
}
|
||||
|
||||
.modal_header #modal_title {
|
||||
grid-column: 1;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.modal_header > span {
|
||||
grid-column: 2;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.modal_header span i {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.modal_content {
|
||||
background-color: #fefefe;
|
||||
width: 100%;
|
||||
height: calc(100% - 16px - 2em);
|
||||
}
|
Reference in New Issue
Block a user