aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-02-28 23:04:38 +0100
committermarijus <mario@mariovavti.com>2014-02-28 23:04:38 +0100
commitb390336016cb7b0d60251efd719bbecf635c1945 (patch)
tree689902360bf408c1ba5c5f1d226dfcedf1c91e14
parent745f20ccbfdc73906a249f314fe5fc68a7d3e386 (diff)
downloadvolse-hubzilla-b390336016cb7b0d60251efd719bbecf635c1945.tar.gz
volse-hubzilla-b390336016cb7b0d60251efd719bbecf635c1945.tar.bz2
volse-hubzilla-b390336016cb7b0d60251efd719bbecf635c1945.zip
add hover effect to usermenu caret
-rw-r--r--view/css/bootstrap-red.css6
-rw-r--r--view/css/conversation.css1
-rw-r--r--view/theme/redbasic/css/style.css11
-rwxr-xr-xview/tpl/nav.tpl2
4 files changed, 15 insertions, 5 deletions
diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css
index 45cf76fb6..606e47838 100644
--- a/view/css/bootstrap-red.css
+++ b/view/css/bootstrap-red.css
@@ -110,3 +110,9 @@ nav .navbar-collapse {
}
/* nav overrides end */
+
+.dropdown-menu img {
+ width: 32px;
+ height: 32px;
+ margin-right: 5px;
+}
diff --git a/view/css/conversation.css b/view/css/conversation.css
index 3396863e7..325303559 100644
--- a/view/css/conversation.css
+++ b/view/css/conversation.css
@@ -306,7 +306,6 @@
.like-rotator {
float: left;
margin: 8px;
- color: $toolicon_colour;
}
.wall-item-delete-wrapper {
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 2efe79dcc..c410c61bc 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -2210,6 +2210,14 @@ nav .dropdown-menu {
border-bottom-left-radius: $radiuspx;
}
+#usermenu-caret {
+ color: #999;
+}
+
+#avatar:hover + #usermenu-caret {
+ color: #fff;
+}
+
/* bootstrap overrides */
blockquote {
font-size: $body_font_size;
@@ -2221,8 +2229,5 @@ blockquote {
}
.dropdown-menu img {
- width: 32px;
- height: 32px;
- margin-right: 5px;
border-radius: $radiuspx;
}
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index 20600ccd7..7d2ce1b7a 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -12,7 +12,7 @@
<span class="icon-bar"></span>
</button>
{{if $userinfo}}
- <img class="dropdown-toggle fakelink" data-toggle="dropdown" id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"><span class="caret"></span>
+ <img class="dropdown-toggle fakelink" data-toggle="dropdown" id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"><span class="caret" id="usermenu-caret"></span>
{{if $localuser}}
<ul class="dropdown-menu" role="menu" aria-labelledby="avatar">
{{foreach $nav.usermenu as $usermenu}}