aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-08 00:48:19 -0800
committerfriendica <info@friendica.com>2014-02-08 00:48:19 -0800
commit97739920ebfa0d7b0db95c61187d5820c0939f14 (patch)
tree465e28dd9b4825d3de4e0802b4770fefcb2761ca /view
parentecac985e338b8b79e3768d3f1cf42e80f2ce8f90 (diff)
downloadvolse-hubzilla-97739920ebfa0d7b0db95c61187d5820c0939f14.tar.gz
volse-hubzilla-97739920ebfa0d7b0db95c61187d5820c0939f14.tar.bz2
volse-hubzilla-97739920ebfa0d7b0db95c61187d5820c0939f14.zip
create a new "subdued" CSS class for things that shouldn't be in your face unless you want them and intentionally hover over them. Typically this would be accomplished via an opacity or colour change, but themes are free to use other methods. Also changed the channel_tabs "chatroom" link to use the subdued class if no rooms have been created rather than a count of chatrooms. Themse should probably create a .subdued and .subdued:hover definition because we'll probably take most of the stuff which is now hardwired to use opacity by id and change it to use the class definition instead.
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 776b4c31a..209399d0c 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -114,6 +114,15 @@ blockquote {
margin-right: 5px;
}
+.subdued {
+ opacity: 0.3;
+ filter:alpha(opacity=30);
+}
+
+.subdued:hover {
+ opacity: 1.0;
+ filter:alpha(opacity=100);
+}
#langselector {