Files
filebrowser/assets/src/css/mobile.css
T

110 lines
1.9 KiB
CSS
Raw Normal View History

2017-07-04 12:11:43 +01:00
@media (max-width: 1024px) {
nav {
width: 10em
}
}
@media (max-width: 1024px) {
#listing.list .item.header,
main {
width: calc(100% - 13em)
}
}
2017-07-04 14:08:32 +01:00
@media (max-width: 736px) {
2017-07-10 10:30:51 +01:00
#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: 0 0 5px rgba(0, 0, 0, 0.1);
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;
}
2017-07-04 14:08:32 +01:00
nav {
top: 0;
2017-07-04 17:19:06 +01:00
z-index: 99999;
2017-07-04 14:08:32 +01:00
background: #fff;
height: 100%;
2017-07-05 08:34:04 +01:00
width: 16em;
2017-07-04 14:08:32 +01:00
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
2017-07-04 17:19:06 +01:00
transition: .1s ease left;
2017-07-05 08:34:04 +01:00
left: -17em;
2017-07-04 14:08:32 +01:00
}
2017-07-04 17:19:06 +01:00
nav.active {
left: 0;
}
2017-07-04 17:15:38 +01:00
header .search-button,
2017-07-04 16:55:36 +01:00
header>div:first-child>.action {
display: inherit;
}
header img {
display: none;
}
#listing.list .item.header,
main {
2017-07-04 14:08:32 +01:00
width: calc(100% - 2em);
}
main {
margin: 0 1em;
width: calc(100% - 2em);
}
2017-07-04 17:15:38 +01:00
#search {
display: none;
}
#search.active {
display: block;
}
2017-07-04 14:08:32 +01:00
}