aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-14 18:59:27 +0100
committerMario Vavti <mario@mariovavti.com>2017-03-14 18:59:27 +0100
commit3b2398ed015f1ada35b4098f6cc7f4431c65423d (patch)
tree348858f6f89cb5d1b75753bcc6d31751b6c6e359
parenta0a376e95e78e4c1ac9fb5da30f46cea0b4d0de5 (diff)
downloadvolse-hubzilla-3b2398ed015f1ada35b4098f6cc7f4431c65423d.tar.gz
volse-hubzilla-3b2398ed015f1ada35b4098f6cc7f4431c65423d.tar.bz2
volse-hubzilla-3b2398ed015f1ada35b4098f6cc7f4431c65423d.zip
css fixes
-rw-r--r--view/css/bootstrap-red.css5
-rw-r--r--view/theme/redbasic/css/style.css14
-rwxr-xr-xview/tpl/nav.tpl4
3 files changed, 8 insertions, 15 deletions
diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css
index 77ec1f5cb..95d3b0e86 100644
--- a/view/css/bootstrap-red.css
+++ b/view/css/bootstrap-red.css
@@ -17,11 +17,6 @@ nav .badge {
font-size: 1rem;
}
-#navbar-collapse-2.show {
- max-height: 100vh;
- overflow: auto;
-}
-
nav .dropdown-menu {
max-height: 70vh;
overflow: auto;
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 0e9eab16a..d81c8a75d 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -545,7 +545,7 @@ footer {
#nav-search-spinner {
float: right;
margin-top: -0.85rem;
- margin-right: 1.1rem;
+ margin-right: 1.6rem;
}
@@ -880,14 +880,12 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover {
}
.contactname {
- padding-top: 2px;
font-weight: bold;
- line-height: 1em;
display: block;
}
.dropdown-notification {
- line-height: 1em;
+ line-height: 1.1em;
font-size: 0.75rem;
overflow: hidden;
text-overflow: ellipsis;
@@ -1487,15 +1485,15 @@ nav img {
}
.dropdown-menu-img-sm {
- width: 3em;
- height: 3em;
+ width: 3.3em;
+ height: 3.3em;
margin-right: 5px;
float: left;
}
.dropdown-menu-img-xs {
- height: 1em;
- width: 1em;
+ height: 1.1em;
+ width: 1.1em;
margin-right: 5px;
}
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index ab9698d49..003c17fa7 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -168,12 +168,12 @@
{{/if}}
</ul>
- <div class="navbar-text text-white font-weight-bold">{{$banner}}</div>
+ <div class="navbar-text text-white font-weight-bold hidden-sm-down">{{$banner}}</div>
<ul id="nav-right" class="navbar-nav hidden-sm-down ml-auto">
<li class="nav-item collapse clearfix" id="nav-search">
<form class="form-inline" method="get" action="search" role="search">
- <input class="form-control form-control-sm mt-1" id="nav-search-text" type="text" value="" placeholder="&#xf002; {{$help}}" name="search" title="{{$nav.search.3}}" onclick="this.submit();" onblur=" $('#nav-search').hide(); $('#nav-search-btn').show();"/>
+ <input class="form-control form-control-sm mt-1 mr-2" id="nav-search-text" type="text" value="" placeholder="&#xf002; {{$help}}" name="search" title="{{$nav.search.3}}" onclick="this.submit();" onblur=" $('#nav-search').hide(); $('#nav-search-btn').show();"/>
</form>
<div id="nav-search-spinner"></div>
</li>