hide nav search behind a button, css fixes and cleanup

This commit is contained in:
Mario Vavti
2017-03-14 18:31:19 +01:00
parent 7b9df1d401
commit a0a376e95e
11 changed files with 47 additions and 115 deletions

View File

@@ -108,34 +108,7 @@ a:focus,
cursor: pointer;
}
input[type="text"],
input[type="password"],
input[type="submit"],
input[type="file"],
select,
textarea {
font-family: sans-serif, arial, freesans;
font-size: $body_font_size;
}
input {
padding: 5px;
line-height: 1.5;
border: 1px solid #ccc;
-moz-border-radius: $radiuspx;
border-radius: $radiuspx;
}
input[type="submit"] {
background-color: #F0F0F0;
font-weight: bold;
color: #0080FF;
text-decoration: none;
padding: 6px 12px;
}
input, optgroup, select, textarea {
color: #333;
resize: vertical;
}
@@ -570,24 +543,16 @@ footer {
}
#nav-search-spinner {
float: left;
margin: 25px 0px 0px 25px;
color: $nav_active_icon_colour;
float: right;
margin-top: -0.85rem;
margin-right: 1.1rem;
}
/*
#nav-search-text {
font-size: 12px;
width: 200px;
height: 20px;
margin-right: 15px;
padding: 0px 5px 0px 5px;
border-radius: $radiuspx;
border-color: $nav_bd;
background-color: #eee;
transition: background-color 300ms ease 0s;
width: 280px;
}
*/
#nav-search-text::-webkit-input-placeholder {
font-family: FontAwesome, sans-serif;
}
@@ -1535,8 +1500,8 @@ nav img {
}
.usermenu {
width: 2rem;
height: 2rem;
width: 2.2rem;
height: 2.2rem;
}
.usermenu img {