Related to #59

pull/144/head
Henrique Dias 2017-01-01 10:59:39 +00:00
parent ae54ba4ce4
commit fc489d6d6d
1 changed files with 37 additions and 4 deletions

View File

@ -386,6 +386,9 @@ header .action span {
header>div div { header>div div {
vertical-align: middle; vertical-align: middle;
position: relative; position: relative;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
} }
header .actions { header .actions {
@ -421,13 +424,15 @@ header .actions {
#search { #search {
position: relative; position: relative;
display: inline-block; display: flex;
height: 100%; height: 100%;
padding: 0.75em; padding: 0.75em;
vertical-align: middle; vertical-align: middle;
border-radius: 0.3em; border-radius: 0.3em;
background-color: #f5f5f5; background-color: #f5f5f5;
transition: .1s ease all; transition: .1s ease all;
width: 100%;
max-width: 25em;
} }
#search.active { #search.active {
@ -453,7 +458,7 @@ header .actions {
} }
#search input { #search input {
min-width: 20em; width: 100%;
border: 0; border: 0;
outline: 0; outline: 0;
background-color: transparent; background-color: transparent;
@ -568,7 +573,7 @@ header .actions {
border-right: 1px solid rgba(0, 0, 0, 0.075); border-right: 1px solid rgba(0, 0, 0, 0.075);
padding-right: .3em; padding-right: .3em;
margin-right: .3em; margin-right: .3em;
transition: .2s ease all; transition: .2s ease opacity, visibility;
visibility: visible; visibility: visible;
} }
@ -948,10 +953,14 @@ header .actions {
.help { .help {
max-width: 24em; max-width: 24em;
visibility: hidden; visibility: hidden;
top: -100%;
left: -100%;
} }
.help.active { .help.active {
visibility: visible; visibility: visible;
top: 50%;
left: 50%;
} }
.help ul { .help ul {
@ -978,6 +987,30 @@ footer a:hover {
} }
/* * * * * * * * * * * * * * * *
* MEDIA QUERIES *
* * * * * * * * * * * * * * * */
@media screen and (max-width: 650px) {
#top-bar>div:nth-child(1) {
display: none;
}
#file-only {
position: fixed;
left: 0;
top: 4em;
background-color: #fafafa;
border-right: 0;
border-top: 1px solid rgba(0, 0, 0, 0.075);
border-bottom: 1px solid rgba(0, 0, 0, 0.075);
height: 3.8em;
display: flex;
width: calc(100% - 10em);
padding: .5em;
}
}
/* * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * *
* ANIMATIONS * * ANIMATIONS *
* * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * */