2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2012-03-12 06:39:56 -07:00
|
|
|
body, html {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#header {
|
2014-02-04 20:36:29 -08:00
|
|
|
box-sizing: border-box;
|
2012-03-12 06:39:56 -07:00
|
|
|
width: 100%;
|
2012-05-28 04:20:44 -07:00
|
|
|
padding: 6px 9px;
|
2012-03-12 06:39:56 -07:00
|
|
|
display: -moz-box;
|
2012-06-21 02:04:55 -07:00
|
|
|
vertical-align: top;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
2012-09-30 07:17:42 -07:00
|
|
|
#header:-moz-dir(rtl) {
|
2012-03-12 06:39:56 -07:00
|
|
|
-moz-box-direction: reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
#header > span {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#element-size {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
2012-09-30 07:17:42 -07:00
|
|
|
#element-size:-moz-dir(rtl) {
|
2012-03-12 06:39:56 -07:00
|
|
|
-moz-box-pack: end;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main {
|
2012-05-28 04:20:44 -07:00
|
|
|
margin: 0 10px 10px 10px;
|
2014-02-04 20:36:29 -08:00
|
|
|
box-sizing: border-box;
|
2012-07-18 17:44:39 -07:00
|
|
|
width: calc(100% - 2 * 10px);
|
2012-03-12 06:39:56 -07:00
|
|
|
position: absolute;
|
|
|
|
border-width: 1px;
|
|
|
|
}
|
|
|
|
|
2013-03-27 15:20:38 -07:00
|
|
|
@media (min-width: 320px) {
|
|
|
|
body {
|
|
|
|
position: absolute;
|
|
|
|
width: 320px;
|
|
|
|
left: -160px;
|
|
|
|
margin-left: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-13 10:56:22 -07:00
|
|
|
|
|
|
|
#margins {
|
|
|
|
padding: 28px;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#content {
|
2014-03-13 10:56:22 -07:00
|
|
|
height: 20px;
|
|
|
|
border-width: 1px;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#padding {
|
|
|
|
border-width: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#borders {
|
2014-03-13 10:56:22 -07:00
|
|
|
border-width: 2px;
|
|
|
|
box-shadow: 0 0 16px black;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#main > p {
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main > p {
|
|
|
|
margin: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main > p > span {
|
|
|
|
vertical-align: middle;
|
|
|
|
pointer-events: auto;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2014-03-13 10:56:22 -07:00
|
|
|
.border.top {
|
|
|
|
left: 0; top: 23px;
|
|
|
|
width: 98px;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 10:56:22 -07:00
|
|
|
.border.bottom {
|
|
|
|
right: 0; bottom: 22px;
|
|
|
|
width: 98px;
|
|
|
|
top: auto;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 10:56:22 -07:00
|
|
|
.border.left {
|
|
|
|
top: 42px; left: 0;
|
|
|
|
width: 56px;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 10:56:22 -07:00
|
|
|
.border.right{
|
|
|
|
bottom: 42px; right: 0;
|
|
|
|
width: 56px;
|
|
|
|
top: auto;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 10:56:22 -07:00
|
|
|
.top, .bottom {
|
|
|
|
width: calc(100% - 2px);
|
|
|
|
text-align: center;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.margin.top {
|
2014-03-13 10:56:22 -07:00
|
|
|
top: 8px;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.margin.bottom {
|
|
|
|
bottom: 6px;
|
|
|
|
}
|
|
|
|
|
2014-03-13 10:56:22 -07:00
|
|
|
.padding.top {
|
|
|
|
top: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.padding.bottom {
|
|
|
|
bottom: 35px;
|
|
|
|
}
|
|
|
|
|
2012-03-12 06:39:56 -07:00
|
|
|
.size,
|
|
|
|
.margin.left,
|
|
|
|
.margin.right,
|
|
|
|
.padding.left,
|
|
|
|
.padding.right {
|
2014-03-13 10:56:22 -07:00
|
|
|
top: 0;
|
2012-03-12 06:39:56 -07:00
|
|
|
line-height: 132px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.size {
|
2012-07-18 17:44:39 -07:00
|
|
|
width: calc(100% - 2px);
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.margin.right,
|
2014-03-13 10:56:22 -07:00
|
|
|
.margin.left {
|
|
|
|
width: 28px;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 10:56:22 -07:00
|
|
|
.padding.right,
|
2014-03-08 10:10:44 -08:00
|
|
|
.padding.left {
|
2014-03-13 10:56:22 -07:00
|
|
|
width: 25px;
|
2014-03-08 10:10:44 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.margin.right {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.margin.left {
|
|
|
|
left: 0;
|
2012-03-12 06:39:56 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 10:56:22 -07:00
|
|
|
.padding.left {
|
|
|
|
left: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.padding.right {
|
|
|
|
right: 30px;
|
|
|
|
}
|
|
|
|
|
2012-03-12 06:39:56 -07:00
|
|
|
.tooltip {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 2px;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2013-11-19 06:16:03 -08:00
|
|
|
body.dim > #header > #element-position,
|
2012-05-28 04:20:44 -07:00
|
|
|
body.dim > #main > p,
|
|
|
|
body.dim > #main > .tooltip {
|
2012-03-12 06:39:56 -07:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|