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 overrides */
nav .badge { nav .badge {
font-size: 100%;
position: absolute; position: absolute;
top: 1px; top: 1px;
left: 1px; left: 1px;

View File

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

View File

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

View File

@ -1,5 +1,5 @@
<div id="banner" class="hidden-sm hidden-xs">{{$banner}}</div> <div id="banner" class="hidden-sm hidden-xs">{{$banner}}</div>
<div id="nav-notifications-template" rel="template"> <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> </div>