UI tweaks

pull/48/head
Henrique Dias 2016-02-07 15:57:43 +00:00
parent c89f1dfd46
commit a098d0e448
3 changed files with 58 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -43,7 +43,7 @@ h2 {
} }
#content > header { #content > header {
background-color: #EFEBEB; background-color: #00BCD4;
padding: 1px 0; padding: 1px 0;
} }
@ -56,7 +56,7 @@ body > nav {
left: 0; left: 0;
height: 3em; height: 3em;
width: 100%; width: 100%;
background-color: #2196F3; background-color: #0097A7;
padding: 0 1em; padding: 0 1em;
box-sizing: border-box; box-sizing: border-box;
z-index: 999; z-index: 999;
@ -79,6 +79,14 @@ body > nav ul li {
vertical-align: middle; vertical-align: middle;
} }
body > nav ul li:first-child a {
margin-left: -0.5em;
}
body > nav ul li:last-child a {
margin-right: -0.5em;
}
body > nav ul li:last-child { body > nav ul li:last-child {
margin-left: auto; margin-left: auto;
} }
@ -98,7 +106,7 @@ body > nav ul li a {
} }
body > nav ul li a:hover { body > nav ul li a:hover {
background-color: rgba(255, 255, 255, 0.57); background-color: rgba(0,0,0,0.1);
} }
@ -204,15 +212,27 @@ input[type="submit"] {
border-radius: 0.2em; border-radius: 0.2em;
border: 0; border: 0;
padding: .5em 1em; padding: .5em 1em;
color: #fff; color: #000;
font-weight: normal; font-weight: normal;
background-color: #2196F3; background-color: #FFEB3B;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12);
transition: .5s ease background-color;
}
button:hover,
input[type="submit"]:hover,
button:active,
input[type="submit"]:active,
button:focus,
input[type="submit"]:focus {
outline: 0;
background-color: #FDD835;
} }
button.add, button.add,
button.delete, button.delete,
button.rename { button.rename {
color: #fff;
padding: 0.063em 0.375em; padding: 0.063em 0.375em;
} }
@ -241,7 +261,12 @@ button.rename {
float: right; float: right;
} }
.toolbar .default { .toolbar input[type="submit"] {
background-color: #00BCD4;
color: #fff;
}
.toolbar input.default {
background-color: #8BC34A; background-color: #8BC34A;
} }
@ -363,7 +388,7 @@ fieldset input {
} }
.browse .actions { .browse .actions {
background-color: #90CAF9; background-color: #00BCD4;
color: #fff; color: #fff;
padding: 1.5em 0; padding: 1.5em 0;
} }
@ -438,6 +463,25 @@ fieldset input {
width: 182%; width: 182%;
} }
.input {
z-index: 99999;
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: rgba(0,0,0,0.1);
}
.input div {
margin: 0 auto;
max-width: 200px;
width: 95%;
position: relative;
top: 50%;
transform: translateY(-50%);
}
@media screen and (max-width: 600px) { @media screen and (max-width: 600px) {
body > nav span { body > nav span {
display: none; display: none;

View File

@ -56,4 +56,10 @@
</table> </table>
</div> </div>
</main> </main>
<!-- <div class="input">
<div>
<p>Write the name of the new file. If you want to use an archetype, add ':archetype' in the end, replacing 'archetype' by its name.</p>
</div>
</div> -->
{{ end }} {{ end }}