accessible/src/jsat/AccessFu.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/accessible/src/jsat/AccessFu.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,53 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this file,
     1.6 + * You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#virtual-cursor-box {
     1.9 +  position: fixed;
    1.10 +  border: 1px solid orange;
    1.11 +  pointer-events: none;
    1.12 +  display: none;
    1.13 +  border-radius: 2px;
    1.14 +  box-shadow: 1px 1px 1px #444;
    1.15 +}
    1.16 +
    1.17 +#virtual-cursor-inset {
    1.18 +  border-radius: 1px;
    1.19 +  box-shadow: inset 1px 1px 1px #444;
    1.20 +  display: block;
    1.21 +  box-sizing: border-box;
    1.22 +  width: 100%;
    1.23 +  height: 100%;
    1.24 +  pointer-events: none;
    1.25 +}
    1.26 +
    1.27 +#announce-box {
    1.28 +  position: fixed;
    1.29 +  width: 7.5em;
    1.30 +  height: 5em;
    1.31 +  top: calc(100% - 50% - 2.5em);
    1.32 +  left: calc(100% - 50% - 3.75em);
    1.33 +  pointer-events: none;
    1.34 +  display: table;
    1.35 +  font-size: 28pt;
    1.36 +  font-weight: 700;
    1.37 +  color: orange;
    1.38 +  background-color: black;
    1.39 +  border-radius: 0.25em;
    1.40 +}
    1.41 +
    1.42 +#announce-box:not(.showing) {
    1.43 +  opacity: 0.0;
    1.44 +  -moz-transition: opacity 0.4s linear;
    1.45 +}
    1.46 +
    1.47 +#announce-box.showing {
    1.48 +  opacity: 1.0;
    1.49 +  -moz-transition: opacity 0.2s linear;
    1.50 +}
    1.51 +
    1.52 +#announce-box * {
    1.53 +  text-align: center;
    1.54 +  display: table-cell;
    1.55 +  vertical-align: middle;
    1.56 +}

mercurial