aboutsummaryrefslogtreecommitdiff
path: root/static/main.css
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-26 08:58:15 +0000
committerr <r@freesoftwareextremist.com>2020-01-26 08:58:15 +0000
commit04934ee643ea02667de7dbef09638b89fcce61db (patch)
treecb5743ceb5c451f6b45ef379aaffe1b0ffc936bc /static/main.css
parented15e18b696f32f0512fd3123313889c3d72ef62 (diff)
downloadbloat-04934ee643ea02667de7dbef09638b89fcce61db.tar.gz
bloat-04934ee643ea02667de7dbef09638b89fcce61db.zip
Change link hover behaviour
Highlight div if the target status is inside the viewport and show popup otherwise.
Diffstat (limited to 'static/main.css')
-rw-r--r--static/main.css13
1 files changed, 11 insertions, 2 deletions
diff --git a/static/main.css b/static/main.css
index acbca05..602f2ef 100644
--- a/static/main.css
+++ b/static/main.css
@@ -1,6 +1,6 @@
.status-container-container {
- margin: 16px 0 16px -4px;
- padding: 0 4px;
+ margin: 12px 0 12px -4px;
+ padding: 4px;
border-left: 4px solid transparent;
}
@@ -8,6 +8,10 @@
border-color: #777777;
}
+.status-container-container.highlight {
+ background-color: #cccccc;
+}
+
.status-container {
display: flex;
}
@@ -468,3 +472,8 @@
background-color: #222222;
border-color: #444444;
}
+
+.dark .status-container-container.highlight {
+ background-color: #333333;
+}
+