diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-10-08 09:08:52 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-10-11 09:38:34 +0300 |
commit | 624ba4b9fac0d2bd0c1690000e4823448e2995c8 (patch) | |
tree | 4acda5532695b23309955a2a08075e9d59bb9e15 /docs/res/ctxedit.css | |
parent | 9232a81ec390392744653afba56fe091b5132554 (diff) | |
download | inter-624ba4b9fac0d2bd0c1690000e4823448e2995c8.tar.xz |
website: sample controls for smaller screens (still needs more love)
Diffstat (limited to 'docs/res/ctxedit.css')
-rw-r--r-- | docs/res/ctxedit.css | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/res/ctxedit.css b/docs/res/ctxedit.css index 26ec13517..e0fadddbe 100644 --- a/docs/res/ctxedit.css +++ b/docs/res/ctxedit.css @@ -26,10 +26,14 @@ opacity:0; transition: 90ms all cubic-bezier(0.25, 0.47, 0.44, 0.93); transform: translate(0, var(--strip-height)); + + outline: none; + pointer-events: none; } #ctxedit-ui.visible { opacity:1; transform: translate(0, 0); + pointer-events: initial; } #ctxedit-ui .wrapper { display: flex; @@ -180,6 +184,20 @@ #ctxedit-ui .button.dismiss-button { background-image: url(dismiss.svg); } + +/* narrow viewports */ +@media only screen and (max-width: 639px) { + #ctxedit-ui { + background: black; + height: calc(var(--strip-height) * 4); + } + #ctxedit-ui .wrapper { + flex-direction: column; + flex-wrap: wrap; + } +} + + .font-preload { position: fixed; display: block; |