/* Copyright 2014 Yukkuri Games
Licensed under the terms of the GNU GPL v2 or later
- @license http://www.gnu.org/licenses/gpl-2.0.html
- @source: http://yukkurigames.com/yuu/
+ @license https://www.gnu.org/licenses/gpl-2.0.html
+ @source: https://yukkurigames.com/yuu/
*/
@font-face {
-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
}
+noscript .yuu-overlay {
+ display: block;
+}
+
/* Overlays are focusable but should not show it - they are always
somewhere in the event tree when visible. */
.yuu-overlay:focus {
height: 1.25em;
text-align: center;
margin-left: -1.3333em;
- position: sticky;
top: 0;
+ position: sticky;
+ /* What's really wanted here is 'position: fixed within within the
+ parent' but that's not a thing. position: sticky is close
+ except it leaves it in normal layout flow, which requires
+ another hack... */
+ margin-bottom: -1em;
+ /* Don't take up so much vertical space during layout */
}
div[data-yuu-command=dismiss]:after {
input[type=range][data-yuu-command] {
-webkit-appearance: none;
background-color: gray;
+ width: 95%;
}
input[type=range][data-yuu-command]::-moz-range-track {
body.standalone .browser, body.browser .standalone {
display: none;
}
+
+#preferences {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}