css fixes

This commit is contained in:
Mario Vavti 2017-03-14 14:12:44 +01:00
parent 700c05a55b
commit 7b9df1d401
4 changed files with 13 additions and 21 deletions

View File

@ -3,7 +3,6 @@
/* nav overrides */
nav .badge {
font-size: 100%;
position: absolute;
top: 1px;
left: 1px;

View File

@ -1,3 +1,7 @@
.mail-conv-detail {
line-height: 1.2;
}
.mail-conv-sender {
float: left;
margin-right: 10px;
@ -5,8 +9,8 @@
}
.mail-conv-sender img{
width: 32px;
height: 32px;
width: 2.2rem;
height: 2.2rem;
}
.mail-conv-sender-name {

View File

@ -921,17 +921,14 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover {
display: block;
}
.dropdown-sub-text {
.dropdown-notification {
line-height: 1em;
font-size: 0.75rem;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
.notify-seen a {
background: #ddd;
}
#page-spinner {
color: #777;
margin: 24px;
@ -1470,11 +1467,6 @@ img.mail-conv-sender-photo {
color: $toolicon_colour;
}
.widget .nav-item:hover {
background-color: #eee;
border-radius: $radiuspx;
}
#note-text {
border: 1px solid #ccc;
border-radius: $radiuspx;
@ -1537,8 +1529,8 @@ nav img {
}
.dropdown-menu-img-xs {
height: 18px;
width: 18px;
height: 1em;
width: 1em;
margin-right: 5px;
}
@ -1701,12 +1693,9 @@ main.fullscreen .section-content-wrapper-np {
background-color: $item_colour;
}
nav ul li .undefined,
nav ul li .notify-seen,
nav ul li .notify-unseen {
max-height: 3rem;
.notify-seen {
background-color: $item_colour;
}
/* bootstrap overrides */
.btn {

View File

@ -1,5 +1,5 @@
<div id="banner" class="hidden-sm hidden-xs">{{$banner}}</div>
<div id="nav-notifications-template" rel="template">
<a class="dropdown-item" href="{0}" title="{2} {3}"><img class="dropdown-menu-img-sm" data-src="{1}"><span class="contactname">{2}</span><span class="dropdown-sub-text">{3}<br>{4}</span><div class="clear"></div></a>
<a class="dropdown-item clearfix dropdown-notification {5}" href="{0}" title="{2} {3}"><img class="dropdown-menu-img-sm" data-src="{1}"><span class="contactname">{2}</span><span class="dropdown-sub-text">{3}<br>{4}</span></a>
</div>