mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-10 12:12:57 +00:00

Former-commit-id: 98f46ad4a163f11dede5291e1be80421ffb3f042 [formerly 7bcf54b442414c9475d0a27900c0100f49ab8dba] [formerly a30325c183bc3598bff53ad19231d6407429f1b9 [formerly 50c581ebb2d0419d46e3a5bd24e2a420e5c4f76d]] Former-commit-id: 30f16adf5ec52a13e85a6431c75aea9314da0e57 [formerly f6b767c82d78d4f788c1efe30cdf2d103d151a3e] Former-commit-id: 31e5a9bc1ceb522291e0271a99e9550c075ef26a
113 lines
2.0 KiB
CSS
113 lines
2.0 KiB
CSS
@media (max-width: 1024px) {
|
|
nav {
|
|
width: 10em
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
#listing.list .item.header,
|
|
main {
|
|
width: calc(100% - 13em)
|
|
}
|
|
}
|
|
|
|
@media (max-width: 736px) {
|
|
#more {
|
|
display: inherit
|
|
}
|
|
header .overlay {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
#dropdown {
|
|
position: fixed;
|
|
top: 1em;
|
|
right: 1em;
|
|
display: block;
|
|
background-color: #fff;
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
|
|
transform: scale(0);
|
|
transition: .1s ease-in-out transform;
|
|
z-index: 99999;
|
|
}
|
|
#dropdown > div {
|
|
display: block;
|
|
}
|
|
#dropdown.active {
|
|
transform: scale(1);
|
|
}
|
|
#dropdown .action {
|
|
display: flex;
|
|
align-items: center;
|
|
border-radius: 0;
|
|
width: 100%;
|
|
}
|
|
#dropdown .action span:not(.counter) {
|
|
display: inline-block;
|
|
padding: .4em;
|
|
}
|
|
#dropdown .counter {
|
|
left: 2.25em;
|
|
}
|
|
#file-selection {
|
|
position: fixed;
|
|
bottom: 1em;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
align-items: center;
|
|
background: #fff;
|
|
box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px, rgba(0, 0, 0, 0.12) 0px 1px 2px;
|
|
width: 95%;
|
|
max-width: 16em;
|
|
}
|
|
#file-selection .action {
|
|
border-radius: 50%;
|
|
width: auto;
|
|
}
|
|
#file-selection > span {
|
|
display: inline-block;
|
|
margin-left: 1em;
|
|
color: #6f6f6f;
|
|
margin-right: auto;
|
|
}
|
|
nav {
|
|
top: 0;
|
|
z-index: 99999;
|
|
background: #fff;
|
|
height: 100%;
|
|
width: 16em;
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
|
|
transition: .1s ease left;
|
|
left: -17em;
|
|
}
|
|
nav.active {
|
|
left: 0;
|
|
}
|
|
header .search-button,
|
|
header>div:first-child>.action {
|
|
display: inherit;
|
|
}
|
|
header img {
|
|
display: none;
|
|
}
|
|
#listing {
|
|
margin-bottom: 5em;
|
|
}
|
|
#listing.list .item.header,
|
|
main {
|
|
width: calc(100% - 2em);
|
|
}
|
|
main {
|
|
margin: 0 1em;
|
|
width: calc(100% - 2em);
|
|
}
|
|
#search {
|
|
display: none;
|
|
}
|
|
#search.active {
|
|
display: block;
|
|
}
|
|
}
|