Webengineering-Filemanager/Frontend/static/css/index.css

110 lines
1.6 KiB
CSS
Raw Normal View History

2021-05-23 07:54:48 +00:00
#wrapper {
color: white;
padding: 5px;
width: calc(100% - 10px);
height: 100%;
display: flex;
flex-direction: row;
2021-05-23 07:54:48 +00:00
}
#error_wrapper {
padding: 5px;
2021-05-23 07:54:48 +00:00
width: 100%;
}
#tree {
margin: 5px;
height: 100%;
width: 30%;
max-width: 400px;
border-right: #404040 2px solid;
}
#files {
margin: 5px;
height: 100%;
width: 70%;
2021-05-23 07:54:48 +00:00
}
#path {
padding-bottom: 10px;
}
table {
width: 100%;
border-collapse: collapse;
2021-05-23 07:54:48 +00:00
}
tr {
height: 3em;
2021-05-23 07:54:48 +00:00
}
th, td {
border-bottom: 1px solid #ccc;
padding: 10px;
}
2021-05-23 07:54:48 +00:00
thead tr {
text-align: left;
background: #0062ff;
2021-05-23 07:54:48 +00:00
}
#tree ul, #tree #tree_ul {
list-style-type: none;
padding-left: 0;
2021-05-23 07:54:48 +00:00
}
#tree #tree_ul {
margin: 0;
padding: 0;
2021-05-23 07:54:48 +00:00
}
#tree .folder {
cursor: pointer;
user-select: none;
}
2021-05-23 07:54:48 +00:00
#tree .folder::before {
font-family: Material Icons, sans-serif !important;
content: "\e2c7";
display: inline-block;
margin-right: 6px;
font-size: 2em;
vertical-align: -25%;
2021-05-23 07:54:48 +00:00
}
#tree .folder-open::before {
font-family: Material Icons, sans-serif !important;
content: "\e2c8";
display: inline-block;
margin-right: 6px;
font-size: 2em;
vertical-align: -25%;
2021-05-23 07:54:48 +00:00
}
#tree .nested {
display: none;
2021-05-23 07:54:48 +00:00
}
#tree .active {
display: block;
margin-left: 15px;
2021-05-23 07:54:48 +00:00
}
2021-05-27 05:38:08 +00:00
@media (max-width: 1000px) {
#wrapper {
flex-direction: column-reverse;
}
#tree {
width: 100%;
2021-05-27 05:38:08 +00:00
max-width: unset;
border-top: #404040 2px solid;
border-right: none;
}
#files {
width: 100%;
}
2021-05-23 07:54:48 +00:00
}