Skip to content
Snippets Groups Projects
Commit 92e380b0 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Updated UI a bit again

parent 80452a15
No related branches found
No related tags found
No related merge requests found
res/icon/account-circle.png

882 B

res/icon/history.png

846 B

...@@ -103,6 +103,11 @@ nav .wrapper { ...@@ -103,6 +103,11 @@ nav .wrapper {
left: 0; left: 0;
right: 0; right: 0;
box-shadow: 0 -1px 0 #e0e0e0,0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24); box-shadow: 0 -1px 0 #e0e0e0,0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24);
transition: background .15s;
}
nav.search .wrapper {
background: #fff;
} }
nav input[type=text]::-moz-placeholder { nav input[type=text]::-moz-placeholder {
...@@ -387,6 +392,12 @@ nav input[type=text]:focus + #searchicon { ...@@ -387,6 +392,12 @@ nav input[type=text]:focus + #searchicon {
padding: 3px; padding: 3px;
cursor: pointer; cursor: pointer;
color: #fff; color: #fff;
transition: all .15s;
}
nav.search #actions > * {
color: #000;
opacity: 0.6;
} }
#actions >*:hover:before { #actions >*:hover:before {
......
...@@ -63,10 +63,12 @@ $("nav").click(function (e) { ...@@ -63,10 +63,12 @@ $("nav").click(function (e) {
$("#q").focus(function (){ $("#q").focus(function (){
$("#autocomplete").addClass("active"); $("#autocomplete").addClass("active");
$("#results").addClass("hidden"); $("#results").addClass("hidden");
$("nav").addClass("search");
}); });
$("#q").blur(function () { $("#q").blur(function () {
$("#autocomplete").removeClass("active"); $("#autocomplete").removeClass("active");
$("#results").removeClass("hidden"); $("#results").removeClass("hidden");
$("nav").removeClass("search");
}); });
var sendercolor = function (nick) { var sendercolor = function (nick) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment