From b531486dabfa66256b5809a6d7eac93a830be1f6 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 17 Nov 2015 10:46:38 +0100 Subject: show jotnets toggle button only if there are jotnets and whitespace fixes --- view/tpl/acl_selector.tpl | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'view') diff --git a/view/tpl/acl_selector.tpl b/view/tpl/acl_selector.tpl index a873457fe..013f3f296 100755 --- a/view/tpl/acl_selector.tpl +++ b/view/tpl/acl_selector.tpl @@ -8,11 +8,11 @@
- {{$jotnets}} -
+ {{$jotnets}} +
{{/if}} @@ -41,14 +41,10 @@ -- cgit v1.2.3 From 9e3d130ad9dfa894d254908740268d04738ec3ce Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 17 Nov 2015 11:32:37 +0100 Subject: css fixes --- view/css/bootstrap-red.css | 8 +++----- view/theme/redbasic/css/style.css | 8 ++++++-- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'view') diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index abffe2f78..fa76fa2f2 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -29,7 +29,7 @@ nav ul li { max-height: 50px; } -nav img { +nav .navbar-header img { height: 49px; width: 49px; margin-top: 1px; @@ -63,16 +63,14 @@ aside .nav-pills > li > a { .dropdown-menu img { float: left; - width: 32px; - height: 32px; + width: 36px; + height: 36px; margin-right: 5px; } .dropdown-menu li a { overflow: hidden; text-overflow: ellipsis; - line-height: 1em; - padding: 5px 10px; } .nav-tabs.nav-justified > li { diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index d981a38b9..d747e9c3e 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1328,6 +1328,7 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover { .contactname { padding-top: 2px; font-weight: bold; + line-height: 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; @@ -1335,7 +1336,7 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover { } .dropdown-sub-text { - font-size: 0.833em; + line-height: 1em; overflow: hidden; text-overflow: ellipsis; display: block; @@ -1720,7 +1721,8 @@ img.mail-conv-sender-photo { box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444; } -.wall-item-ago { +.wall-item-ago, +.dropdown-sub-text { color: #777; font-size: 0.833em; } @@ -1854,6 +1856,8 @@ nav .dropdown-menu { border-bottom-left-radius: $radiuspx; } + + #usermenu-caret { color: $nav_icon_colour; } -- cgit v1.2.3 From 6fa0807550f4e7a3da307afe9398e54c3d036228 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 17 Nov 2015 23:01:24 +0100 Subject: more css fixes --- view/css/bootstrap-red.css | 7 ------- view/css/conversation.css | 6 ------ view/theme/redbasic/css/style.css | 11 +++++++++++ view/tpl/hdr.tpl | 2 +- view/tpl/profile_vcard.tpl | 2 +- 5 files changed, 13 insertions(+), 15 deletions(-) (limited to 'view') diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index fa76fa2f2..19796679a 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -61,13 +61,6 @@ aside .nav-pills > li > a { padding: 6px 10px; } -.dropdown-menu img { - float: left; - width: 36px; - height: 36px; - margin-right: 5px; -} - .dropdown-menu li a { overflow: hidden; text-overflow: ellipsis; diff --git a/view/css/conversation.css b/view/css/conversation.css index dc74dbbeb..6f1d4b899 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -246,9 +246,3 @@ a.wall-item-name-link { color: #FF0000; font-size: 1em !important; } - -.response-photo { - height: 18px !important; - width: 18px !important; -} - diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index d747e9c3e..f089b8599 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1856,7 +1856,18 @@ nav .dropdown-menu { border-bottom-left-radius: $radiuspx; } +.dropdown-menu-img-sm { + float: left; + width: 36px; + height: 36px; + margin-right: 5px; +} +.dropdown-menu-img-xs { + height: 18px; + width: 18px; + margin-right: 5px; +} #usermenu-caret { color: $nav_icon_colour; diff --git a/view/tpl/hdr.tpl b/view/tpl/hdr.tpl index c3f0700f0..3770cb9a6 100644 --- a/view/tpl/hdr.tpl +++ b/view/tpl/hdr.tpl @@ -1,5 +1,5 @@ diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index bea0d894f..c52c2cd81 100755 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -6,7 +6,7 @@