summaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-06-17 07:49:41 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-06-17 07:49:41 +0000
commit0e4d8c416db4c838e94df3df77c2e4b14a0e1851 (patch)
treee97449d122425bcaff03a11d67ad484fc41dccd3 /theme
parentbefbfc9c73a75bac9d7dac4a4b7a21bd515ce1b4 (diff)
Removed NoticeHover from JavaScript for speed gain. Using CSS instead
to handle the notice hover state. The difference is only seen in the conversation page.
Diffstat (limited to 'theme')
-rw-r--r--theme/default/css/display.css13
-rw-r--r--theme/identica/css/display.css13
2 files changed, 14 insertions, 12 deletions
diff --git a/theme/default/css/display.css b/theme/default/css/display.css
index f0d6dace8..8dd5ca32c 100644
--- a/theme/default/css/display.css
+++ b/theme/default/css/display.css
@@ -226,13 +226,11 @@ background:transparent url(../../base/images/icons/twotone/green/trash.gif) no-r
}
.notices div.entry-content,
-.notices div.notice-options,
-.notices li.hover .notices div.entry-content,
-.notices li.hover .notices div.notice-options {
+.notices div.notice-options {
opacity:0.4;
}
-.notices li.hover div.entry-content,
-.notices li.hover div.notice-options {
+.notices li:hover div.entry-content,
+.notices li:hover div.notice-options {
opacity:1;
}
div.entry-content {
@@ -242,9 +240,12 @@ div.notice-options a,
div.notice-options input {
font-family:sans-serif;
}
-.notices li.hover {
+.notices li:hover {
background-color:#FCFCFC;
}
+#conversation .notices li:hover {
+background-color:transparent;
+}
.notices .notices {
background-color:rgba(200, 200, 200, 0.050);
diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css
index 25a01abe0..975702faa 100644
--- a/theme/identica/css/display.css
+++ b/theme/identica/css/display.css
@@ -226,13 +226,11 @@ background:transparent url(../../base/images/icons/twotone/green/trash.gif) no-r
}
.notices div.entry-content,
-.notices div.notice-options,
-.notices li.hover .notices div.entry-content,
-.notices li.hover .notices div.notice-options {
+.notices div.notice-options {
opacity:0.4;
}
-.notices li.hover div.entry-content,
-.notices li.hover div.notice-options {
+.notices li:hover div.entry-content,
+.notices li:hover div.notice-options {
opacity:1;
}
div.entry-content {
@@ -242,9 +240,12 @@ div.notice-options a,
div.notice-options input {
font-family:sans-serif;
}
-.notices li.hover {
+.notices li:hover {
background-color:#FCFCFC;
}
+#conversation .notices li:hover {
+background-color:transparent;
+}
.notices .notices {
background-color:rgba(200, 200, 200, 0.050);