Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/tummychow/lanyon-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortummychow <tummychow@users.noreply.github.com>2016-03-12 22:19:23 +0300
committertummychow <tummychow@users.noreply.github.com>2016-03-12 22:23:38 +0300
commit75e7d4b378c7241d9dbfa06b93419ad64034a9a0 (patch)
treecd496ffd3e851fed9e648ff68d97872c32a71002
parent2c345ca1eca789423ac787e77ebc906f9b31ad05 (diff)
Fix sidebar focus toggleupdate-css
This diverges from upstream, but it fixes a visual regression that I find too insidious to merge. When you close the sidebar, the toggle remains colored, and you have to click elsewhere to take away focus and un-color it. For more details, see #12. Thanks to @ryan-robeson who investigated the issue.
-rw-r--r--static/css/lanyon.css2
1 files changed, 0 insertions, 2 deletions
diff --git a/static/css/lanyon.css b/static/css/lanyon.css
index 1d57108..e0f9c32 100644
--- a/static/css/lanyon.css
+++ b/static/css/lanyon.css
@@ -234,14 +234,12 @@ a.sidebar-nav-item:focus {
}
.sidebar-toggle:active,
-#sidebar-checkbox:focus ~ .sidebar-toggle,
#sidebar-checkbox:checked ~ .sidebar-toggle {
color: #fff;
background-color: #555;
}
.sidebar-toggle:active:before,
-#sidebar-checkbox:focus ~ .sidebar-toggle:before,
#sidebar-checkbox:checked ~ .sidebar-toggle:before {
background-image: -webkit-linear-gradient(to bottom, #fff, #fff 20%, #555 20%, #555 40%, #fff 40%, #fff 60%, #555 60%, #555 80%, #fff 80%, #fff 100%);
background-image: -moz-linear-gradient(to bottom, #fff, #fff 20%, #555 20%, #555 40%, #fff 40%, #fff 60%, #555 60%, #555 80%, #fff 80%, #fff 100%);