diff options
author | Pim van den Berg | 2015-06-22 12:07:12 +0200 |
---|---|---|
committer | Pim van den Berg | 2015-06-22 12:07:12 +0200 |
commit | bb8cdf1357c627f604567de48cedb27db95804bb (patch) | |
tree | c61908e9bf4fbde4d6da13e35399a6b798b624d2 /layout | |
parent | graph: in case of aggregation, reset pi after initializing $obj (diff) | |
download | apt-panopticon_cgp-bb8cdf1357c627f604567de48cedb27db95804bb.zip apt-panopticon_cgp-bb8cdf1357c627f604567de48cedb27db95804bb.tar.gz apt-panopticon_cgp-bb8cdf1357c627f604567de48cedb27db95804bb.tar.bz2 apt-panopticon_cgp-bb8cdf1357c627f604567de48cedb27db95804bb.tar.xz |
layout: add transition to hamburger menu slideout
Diffstat (limited to 'layout')
-rw-r--r-- | layout/style-c.css | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layout/style-c.css b/layout/style-c.css index 702cc04..bcffb71 100644 --- a/layout/style-c.css +++ b/layout/style-c.css | |||
@@ -30,12 +30,15 @@ label[for="navicon"] { | |||
30 | } | 30 | } |
31 | 31 | ||
32 | .graphs { | 32 | .graphs { |
33 | top: 0; | ||
34 | left: 0; | ||
33 | position: relative; | 35 | position: relative; |
34 | z-index: 1; | 36 | z-index: 1; |
35 | background: #fff; | 37 | background: #fff; |
36 | min-height: 100%; | 38 | min-height: 100%; |
37 | min-width: 100%; | 39 | min-width: 100%; |
38 | bottom: 100%; | 40 | bottom: 100%; |
41 | transition: left 0.2s; | ||
39 | } | 42 | } |
40 | 43 | ||
41 | .navicon:checked ~ .graphs { | 44 | .navicon:checked ~ .graphs { |