X-Git-Url: https://git-public.kairo.at/?p=lantea.git;a=blobdiff_plain;f=style%2Flantea.css;h=832b5bf06d8459ae354aaec0e523ded1d4b6c19c;hp=64ee62ff1ef49e1702c434bfb0161b45a2117201;hb=HEAD;hpb=e1c3d337e88cb06b988d97e060938466a9815634 diff --git a/style/lantea.css b/style/lantea.css index 64ee62f..832b5bf 100644 --- a/style/lantea.css +++ b/style/lantea.css @@ -143,10 +143,19 @@ h1 { display: block; } +/* non-standard touch screen detection for Mozilla browsers */ .overlayArea:-moz-system-metric(touch-enabled), .menuDrawer:-moz-system-metric(touch-enabled) { + font-size: 3mm; font-size: 3mozmm; } +/* Standard, Media Queries Level 4 touch screen detection */ +@media (pointer:coarse) { + .overlayArea, + .menuDrawer { + font-size: 16px; + } +} .overlayArea input[type="button"], .overlayArea button, @@ -183,7 +192,7 @@ h1 { @media screen and (max-width: 330px) { .menuDrawer { - left: calc(-300px - 1ch); /* account for padding */ + transform: translateX(calc(-300px - 1ch)); /* account for padding */ width: 300px; } } @@ -410,6 +419,27 @@ h1 { color: #FFFFFF; } +.overlayArea .minorbutton { + font-size: 75%; + border: none !important; + padding: 0 2px; +} +.overlayArea .minorbutton:not(:disabled):active { + padding: 0 1px 0 3px; +} +.overlayArea .statusmsg { + font-size: 75%; +} +.overlayArea .statusmsg.error { + color: #FF8080; +} + +#loginerror { + color: red; + font-weight: bold; + padding: .5em; +} + /* dialog area - for loading error and welcome messages */ #dialogArea { position: absolute;