catan-client
Version:
Settlers of Catan Client Implementation
1,576 lines (1,423 loc) • 37.6 kB
CSS
@charset "UTF-8";
/**
* CSS layout debugging
* @link http://pesticide.io/
* @type boolean
*/
/**
* Define width for browsers w/out media query support
* @link http://jakearchibald.github.com/sass-ie/
* @type boolean
*/
/**
* Turn on/off IE specific styles
* @link http://jakearchibald.github.com/sass-ie/
* @type boolean
*/
/**
* Base font size in used in _mixins.scss
* @type number
*/
/**
* Base line-height in used in _mixins.scss
* @type number
*/
/**
* (optional) URL for Google Fonts import
* @type string
*/
/**
* (optional) names of webfonts imports
* @type array
*/
/**
* define font stack used for sans-serifs
* @type string
*/
/**
* define font stack used for serifs
* @type string
*/
/**
* define font stack used for monospaced copy
* @type string
*/
/**
* define font stack used for headings
* @requires {variable} $font-family-serif
* @type string
*/
/**
* define font stack used for paragraphs
* @requires {variable} font-family-sans
* @type string
*/
/**
* Define z-indexes for various elements
* @link http://www.sitepoint.com/using-sass-maps/
* @type number
*/
/**
* px to em conversion
* @link http://www.pjmccormick.com/sweet-sass-function-convert-px-em
* @requires {variable} $base-font-size
* @param {number} $target - size to convert
* @param {number} $context ($base-font-size) - context conversion is based on
* @example scss
* .foobar { padding-bottom: em(30); }
* @returns {number}
*/
/**
* px to rem
* @link http://www.pjmccormick.com/sweet-sass-function-convert-px-em
* @requires {variable} $base-font-size
* @param {number} $target - size to convert
* @param {number} $context ($base-font-size) - context conversion is based on
* @example scss
* .foobar { padding-bottom: rem(30); }
* @returns {number}
*/
/**
* em to px conversion
* @link http://www.pjmccormick.com/sweet-sass-function-convert-px-em
* @requires {variable} $base-font-size
* @param {number} $target - size to convert
* @param {number} $context ($base-font-size) - context conversion is based on
* @example scss
* .foobar { padding-bottom: px(30); }
* @returns {number}
*/
/**
* Aspect Ratio
* @param {number} $ratio-numerator - ratio numerator
* @param {number} $ratio-denominator - ratio denominator
* @example scss
* .foobar { padding-bottom: aspect-ratio(16,9); } // @returns 56.25%
* @returns {number}
*/
/**
* Aspect Ratio
* Based on Fixed Image Dimensions
* @param {number} $w - image width
* @param {number} $h - image height
* @example scss
* .foobar { padding: 0 0 aspect-ratio-fixed(1080, 720); } // @returns 66.666666666667%
* @returns {number}
*/
/**
* Context Calculator
* @param {number} $target
* @param {number} $context
* @example scss
* .foobar { padding-bottom: context-calc(30,15); }
* @returns {number}
*/
/**
* Strip Unit Values
* @link http://hugogiraudel.com/2013/08/12/sass-functions
* @param {string} $num
* @example scss
* .foobar { padding-bottom: strip-unit(30px); }
* @returns {number}
*/
/**
* SMACSS Theming
* @example scss
* .foobar {
* background: #ff3377;
* @include theme(beccapurple){
* background: #663399;
* }
* }
* @param {String} $name - theme name
*/
/**
* Buttons
* This customises your buttons with a different background color and text color.
* If no text color is specified it will default to white.
* @param {String} $color-background - background color
* @param {String} $color-text (#fff) - text color
* @example scss
* .foobar { @include btn(#f37) { ... } }
*/
/**
* Media Queries
* Allows you to use inline media queries.
* @link http://jakearchibald.github.com/sass-ie/
* @param {String} $breakpoint - breakpoint
* @param {String} $query (min-width) - query type
* @param {String} $type (screen) - media type
* @example scss
* .foobar { @include mq(20em) { ... } }
*/
/**
* IE Specific Styles
* @example scss
* .foobar {
* .lt-ie8 & { @include old-ie { ... } }
* .lt-ie9 & { @include old-ie { ... } }
* }
*/
/**
* Sass version of Sticky Footer by Ryan Fait
* @link http://ryanfait.com/sticky-footer/
* @param {String} $footer_height - height of footer including padding or borders
* @param {String} $root_selector (.site) - main wrapper element
* @param {String} $root_footer_selector (.push) - hidden element that "pushes" down the footer
* @param {String} $footer_selector (footer) - footer element
* @example scss
* .foobar { @include sticky-footer(4em) { ... } }
*/
/**
* Fullscreen Background for < IE8
* @link http://css-tricks.com/perfect-full-page-background-image/
* @example scss
* .foobar { @include fullscreen-bg() { ... } }
*/
/**
* @param {number} $opacity
* @example scss
* .foobar { @include opacity(4) { ... } }
*/
/**
* @link http://bit.ly/thoughtbot-bourbon-inline-block
* @require {mixin} old-ie
* @param {String} $alignment (baseline)
* @example scss
* .foobar { @include inline-block() { ... } }
*/
/**
* Retina Displays
* @param {String} $image - image url
* @param {String} $width - image width
* @param {String} $height - image height
* @example scss
* .foobar { @include image-2x('img/logo.png', 200px, 300px) { ... } }
*/
/**
* RGBA Fallback
* @param {String} $color
* @param {String} $percent
* @example scss
* .foobar { @include rgba-bg(#f37,.9) { ... } }
*/
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%; }
body {
margin: 0; }
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block; }
audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline; }
audio:not([controls]) {
display: none;
height: 0; }
[hidden],
template {
display: none; }
a {
background: transparent; }
a:active,
a:hover {
outline: 0; }
abbr[title] {
border-bottom: 1px dotted; }
b,
strong {
font-weight: bold; }
dfn {
font-style: italic; }
h1 {
font-size: 2em;
margin: 0.67em 0; }
mark {
background: #ff0;
color: #000; }
small {
font-size: 80%; }
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline; }
sup {
top: -0.5em; }
sub {
bottom: -0.25em; }
img {
border: 0; }
svg:not(:root) {
overflow: hidden; }
figure {
margin: 1em 40px; }
hr {
box-sizing: content-box;
height: 0; }
pre {
overflow: auto; }
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em; }
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0; }
button {
overflow: visible; }
button,
select {
text-transform: none; }
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer; }
button[disabled],
html input[disabled] {
cursor: default; }
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0; }
input {
line-height: normal; }
*
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto; }
input[type="search"] {
-webkit-appearance: textfield;
box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; }
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em; }
legend {
border: 0;
padding: 0; }
textarea {
overflow: auto; }
optgroup {
font-weight: bold; }
table {
border-collapse: collapse;
border-spacing: 0; }
td,
th {
padding: 0; }
*,
*:before,
*:after {
margin: 0;
padding: 0;
box-sizing: border-box;
list-style: none; }
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */ }
/**
* Remove default margin.
*/
body {
margin: 0; }
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block; }
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block;
/* 1 */
vertical-align: baseline;
/* 2 */ }
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0; }
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none; }
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background: transparent; }
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0; }
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted; }
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold; }
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic; }
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0; }
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000; }
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%; }
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline; }
sup {
top: -0.5em; }
sub {
bottom: -0.25em; }
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0; }
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden; }
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px; }
/**
* Address differences between Firefox and other browsers.
*/
hr {
box-sizing: content-box;
height: 0; }
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto; }
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em; }
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit;
/* 1 */
font: inherit;
/* 2 */
margin: 0;
/* 3 */ }
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible; }
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none; }
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
/* 2 */
cursor: pointer;
/* 3 */ }
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default; }
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0; }
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal; }
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */ }
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto; }
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; }
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em; }
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0;
/* 1 */
padding: 0;
/* 2 */ }
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto; }
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold; }
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0; }
td,
th {
padding: 0; }
* {
box-sizing: inherit; }
html,
body {
font-family: Arial, Helvetica, sans-serif;
box-sizing: border-box;
height: 100%; }
body {
color: #111;
font-size: 1.1em;
line-height: 1.5;
background: #fff; }
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
padding: 0.6em 0; }
li {
margin: 0 0 0.3em; }
a {
color: #0074d9;
text-decoration: none;
box-shadow: none;
transition: all 0.3s; }
a:hover,
a:focus {
box-shadow: 0 2px 0 0 #0074d9; }
a:active {
color: #fff;
background: #0074d9;
border-radius: 0.2em; }
code {
padding: 0.3em 0.6em;
font-size: .8em;
background: #f5f5f5; }
pre {
text-align: left;
padding: 0.3em 0.6em;
background: #f5f5f5;
border-radius: 0.2em; }
pre code {
padding: 0; }
blockquote {
padding: 0 0 0 1em;
margin: 0 0 0 .1em;
box-shadow: inset 5px 0 rgba(17, 17, 17, 0.3); }
label {
cursor: pointer; }
[class^="icon-"]:before,
[class*=" icon-"]:before {
margin: 0 0.6em 0 0; }
i[class^="icon-"]:before,
i[class*=" icon-"]:before {
margin: 0; }
.label, [data-tooltip]:after, button,
.button,
[type=submit], .dropimage {
display: inline-block;
text-align: center;
margin: 0;
padding: 0.3em 0.9em;
vertical-align: middle;
background: #0074d9;
color: #fff;
border: 0;
border-radius: 0.2em;
width: auto;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.success.label, .success[data-tooltip]:after, button.success,
.success.button,
.success[type=submit], .success.dropimage {
background: #2ecc40; }
.warning.label, .warning[data-tooltip]:after, button.warning,
.warning.button,
.warning[type=submit], .warning.dropimage {
background: #ff851b; }
.error.label, .error[data-tooltip]:after, button.error,
.error.button,
.error[type=submit], .error.dropimage {
background: #ff4136; }
.pseudo.label, .pseudo[data-tooltip]:after, button.pseudo,
.pseudo.button,
.pseudo[type=submit], .pseudo.dropimage {
background: transparent;
color: #111; }
.label, [data-tooltip]:after {
font-size: .6em;
padding: .4em .6em;
margin-left: 1em;
line-height: 1; }
button,
.button,
[type=submit], .dropimage {
margin: 0.3em 0;
cursor: pointer;
transition: all 0.3s;
height: auto; }
button:hover,
.button:hover,
[type=submit]:hover, .dropimage:hover, button:focus,
.button:focus,
[type=submit]:focus, .dropimage:focus {
box-shadow: inset 0 0 0 99em rgba(255, 255, 255, 0.2);
border: 0; }
button.pseudo:hover,
.pseudo.button:hover,
.pseudo[type=submit]:hover, .pseudo.dropimage:hover, button.pseudo:focus,
.pseudo.button:focus,
.pseudo[type=submit]:focus, .pseudo.dropimage:focus {
box-shadow: inset 0 0 0 99em rgba(17, 17, 17, 0.1); }
button.active,
.active.button,
.active[type=submit], .active.dropimage, button:active,
.button:active,
[type=submit]:active, .dropimage:active, button.pseudo:active,
.pseudo.button:active,
.pseudo[type=submit]:active, .pseudo.dropimage:active {
box-shadow: inset 0 0 0 99em rgba(17, 17, 17, 0.2); }
button[disabled],
[disabled].button,
[disabled][type=submit], [disabled].dropimage {
cursor: default;
box-shadow: none;
background: #bbb; }
:checked + .toggle,
:checked + .toggle:hover {
box-shadow: inset 0 0 0 99em rgba(17, 17, 17, 0.2); }
[type] + .toggle {
padding: 0.3em 0.9em;
margin-right: 0; }
[type] + .toggle:after, [type] + .toggle:before {
display: none; }
input,
textarea,
.select select {
line-height: 1.5;
margin: 0;
height: 2.1em;
padding: 0.3em 0.6em;
border: 1px solid #ccc;
border-radius: 0.2em;
transition: all 0.3s;
width: 100%; }
input:focus,
textarea:focus,
.select select:focus {
border: 1px solid #0074d9;
outline: 0; }
textarea {
height: auto; }
[type=file],
[type=color] {
cursor: pointer; }
[type=file] {
height: auto; }
select {
background: #fff url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyIiBoZWlnaHQ9IjMiPjxwYXRoIGQ9Im0gMCwxIDEsMiAxLC0yIHoiLz48L3N2Zz4=) no-repeat scroll 95% center/10px 15px;
background-position: calc(100% - 15px) center;
border: 1px solid #ccc;
border-radius: 0.2em;
cursor: pointer;
width: 100%;
height: 2.1em;
box-sizing: border-box;
padding: 0.3em 0.45em;
transition: all .3s;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none; }
select::-ms-expand {
display: none; }
select:focus, select:active {
border: 1px solid #0074d9;
transition: outline 0s; }
select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #111; }
select option {
font-size: inherit;
padding: 0.3em 0.45em; }
[type=radio], [type=checkbox] {
opacity: 0;
width: 0;
position: absolute;
display: inline-block; }
[type=radio] + .checkable:hover:before, [type=checkbox] + .checkable:hover:before, [type=radio]:focus + .checkable:before, [type=checkbox]:focus + .checkable:before {
border: 1px solid #0074d9; }
[type=radio] + .checkable, [type=checkbox] + .checkable {
position: relative;
cursor: pointer;
padding-left: 1.5em;
margin-right: .6em; }
[type=radio] + .checkable:before, [type=checkbox] + .checkable:before, [type=radio] + .checkable:after, [type=checkbox] + .checkable:after {
content: '';
position: absolute;
display: inline-block;
left: 0;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
font-size: 1em;
line-height: 1em;
color: transparent;
font-family: sans;
text-align: center;
box-sizing: border-box;
width: 1em;
height: 1em;
border-radius: 50%;
transition: all 0.3s; }
[type=radio] + .checkable:before, [type=checkbox] + .checkable:before {
border: 1px solid #aaa; }
[type=radio]:checked + .checkable:after, [type=checkbox]:checked + .checkable:after {
background: #555;
-webkit-transform: scale(0.5) translateY(-100%);
transform: scale(0.5) translateY(-100%); }
[type=checkbox] + .checkable:before {
border-radius: 0.2em; }
[type=checkbox] + .checkable:after {
content: "✔";
background: none;
-webkit-transform: scale(2) translateY(-25%);
transform: scale(2) translateY(-25%); }
[type=checkbox]:checked + .checkable:after {
color: #111;
background: none;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
transition: all 0.3s; }
table {
text-align: left; }
td,
th {
padding: 0.3em 2.4em 0.3em 0.6em; }
th {
text-align: left;
font-weight: 900;
color: #fff;
background-color: #0074d9; }
.success th {
background-color: #2ecc40; }
.warning th {
background-color: #ff851b; }
.error th {
background-color: #ff4136; }
.dull th {
background-color: #aaa; }
tr:nth-child(even) {
background: rgba(0, 0, 0, 0.05); }
.row > * {
margin: 0.6em 0; }
@media (min-width: 60em) {
.row {
width: calc(100% + 2 * 0.6em);
display: table;
table-layout: fixed;
border-spacing: 0.6em 0;
margin: 0.6em 0 0.6em -0.6em; }
.row > * {
display: table-cell;
vertical-align: top;
margin: 0; }
.none {
display: none; }
.half {
width: 50%; }
.third {
width: 33.3333%; }
.two-third {
width: 66.6666%; }
.fourth {
width: 25%; }
.three-fourth {
width: 75%; }
.fifth {
width: 20%; }
.two-fifth {
width: 40%; }
.three-fifth {
width: 60%; }
.four-fifth {
width: 80%; } }
nav {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 3em;
padding: 0;
background: #fff;
box-shadow: 0 0 0.2em rgba(17, 17, 17, 0.2);
z-index: 10;
transition: all .3s;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d; }
nav .brand, nav .menu, nav .burger {
float: right;
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%); }
nav .brand {
font-weight: 700;
float: left;
padding: 0 0.6em;
max-width: 50%;
white-space: nowrap;
color: #111; }
nav .brand * {
vertical-align: middle; }
nav .logo {
height: 2em;
margin-right: .3em; }
nav .select::after {
height: calc(100% - 1px);
padding: 0;
line-height: 2.4em; }
nav .menu > * {
margin-right: 0.6em; }
.burger {
display: none; }
@media all and (max-width: 60em) {
nav .burger {
display: inline-block;
cursor: pointer;
bottom: -1000em;
margin: 0; }
nav .menu,
nav .show:checked ~ .burger {
position: fixed;
min-height: 100%;
width: 0;
overflow: hidden;
top: 0;
right: 0;
bottom: -1000em;
margin: 0;
background: #fff;
transition: all .3s ease;
-webkit-transform: none;
transform: none; }
nav .show:checked ~ .burger {
color: transparent;
width: 100%;
border-radius: 0;
background: rgba(0, 0, 0, 0.2);
transition: all .3s ease; }
nav .show:checked ~ .menu {
width: 70%;
overflow: auto;
transition: all .3s ease; }
nav .menu > * {
display: block;
margin: 0.3em;
text-align: left; }
nav .menu > a {
padding: 0.3em 0.9em; } }
.stack,
.stack .toggle {
margin-top: 0;
margin-bottom: 0;
display: block;
width: 100%;
text-align: left;
border-radius: 0; }
.stack:first-child,
.stack:first-child .toggle {
border-top-left-radius: 0.2em;
border-top-right-radius: 0.2em; }
.stack:last-child,
.stack:last-child .toggle {
border-bottom-left-radius: 0.2em;
border-bottom-right-radius: 0.2em; }
input.stack,
textarea.stack,
select.stack {
transition: border-bottom 0 ease 0;
border-bottom-width: 0; }
input.stack:last-child,
textarea.stack:last-child,
select.stack:last-child {
border-bottom-width: 1px; }
input.stack:focus + input,
input.stack:focus + textarea,
input.stack:focus + select,
textarea.stack:focus + input,
textarea.stack:focus + textarea,
textarea.stack:focus + select,
select.stack:focus + input,
select.stack:focus + textarea,
select.stack:focus + select {
border-top-color: #0074d9; }
.card, .modal .overlay ~ * {
position: relative;
box-shadow: 0;
border-radius: 0.2em;
border: 1px solid #ccc;
overflow: hidden;
text-align: left;
background: #fff;
margin-bottom: 0.6em;
padding: 0; }
.card > *, .modal .overlay ~ * > * {
width: 100%;
display: block; }
.card > *:last-child, .modal .overlay ~ * > *:last-child {
margin-bottom: 0; }
.card header, .modal .overlay ~ * header, .card section, .modal .overlay ~ * section, .card > p, .modal .overlay ~ * > p {
padding: .6em .8em; }
.card section, .modal .overlay ~ * section {
padding: .6em .8em 0; }
.card header, .modal .overlay ~ * header {
font-weight: bold;
position: relative;
border-bottom: 1px solid #eee; }
.card header h1, .modal .overlay ~ * header h1, .card header h2, .modal .overlay ~ * header h2, .card header h3, .modal .overlay ~ * header h3, .card header h4, .modal .overlay ~ * header h4, .card header h5, .modal .overlay ~ * header h5, .card header h6, .modal .overlay ~ * header h6 {
padding: 0;
margin: 0 2em 0 0;
line-height: 1;
display: inline-block; }
.card header:last-child, .modal .overlay ~ * header:last-child {
border-bottom: 0; }
.card footer, .modal .overlay ~ * footer {
padding: .8em; }
.card p, .modal .overlay ~ * p {
margin: 0.3em 0; }
.card p:first-child, .modal .overlay ~ * p:first-child {
margin-top: 0; }
.card p:last-child, .modal .overlay ~ * p:last-child {
margin-bottom: 0; }
.card > p, .modal .overlay ~ * > p {
margin: 0;
padding-right: 2.5em; }
.card .close, .modal .overlay ~ * .close {
position: absolute;
top: .4em;
right: .3em;
font-size: 1.2em;
padding: 0 .5em;
cursor: pointer;
width: auto; }
.card .close:hover, .modal .overlay ~ * .close:hover {
color: #ff4136; }
.card h1 + .close, .modal .overlay ~ * h1 + .close {
margin: .2em; }
.card h2 + .close, .modal .overlay ~ * h2 + .close {
margin: .1em; }
.card .dangerous, .modal .overlay ~ * .dangerous {
background: #ff4136;
float: right; }
.modal {
text-align: center; }
.modal > input {
display: none; }
.modal > input ~ * {
opacity: 0;
max-height: 0;
overflow: hidden; }
.modal .overlay {
top: 0;
left: 0;
bottom: 0;
right: 0;
position: fixed;
margin: 0;
border-radius: 0;
background: rgba(17, 17, 17, 0.6);
transition: all 0.3s;
z-index: 99; }
.modal .overlay:before, .modal .overlay:after {
display: none; }
.modal .overlay ~ * {
border: 0;
position: fixed;
top: 50%;
left: 50%;
-webkit-transform: translateX(-50%) translateY(-50%) scale(0.2, 0.2);
transform: translateX(-50%) translateY(-50%) scale(0.2, 0.2);
z-index: 100;
transition: all 0.3s; }
.modal > input:checked ~ * {
display: block;
opacity: 1;
max-height: 10000px;
transition: all 0.3s; }
.modal > input:checked ~ .overlay ~ * {
max-height: 90%;
overflow: auto;
-webkit-transform: translateX(-50%) translateY(-50%) scale(1, 1);
transform: translateX(-50%) translateY(-50%) scale(1, 1); }
@media (max-width: 60em) {
.modal .overlay ~ * {
min-width: 90%; } }
.dropimage {
position: relative;
display: block;
padding: 0;
padding-bottom: 56.25%;
overflow: hidden;
cursor: pointer;
border: 0;
background-color: #ddd;
background-size: cover;
background-position: center center;
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NDAiIGhlaWdodD0iNjQwIiB2ZXJzaW9uPSIxLjEiPjxnIHN0eWxlPSJmaWxsOiMzMzMiPjxwYXRoIGQ9Ik0gMTg3IDIzMCBDIDE3NSAyMzAgMTY1IDI0MCAxNjUgMjUyIEwgMTY1IDMwMCBMIDE2NSA0MDggQyAxNjUgNDIwIDE3NSA0MzAgMTg3IDQzMCBMIDQ2MyA0MzAgQyA0NzUgNDMwIDQ4NSA0MjAgNDg1IDQwOCBMIDQ4NSAzMDAgTCA0ODUgMjUyIEMgNDg1IDI0MCA0NzUgMjMwIDQ2MyAyMzAgTCAxODcgMjMwIHogTSAzNjAgMjU2IEEgNzAgNzIgMCAwIDEgNDMwIDMyOCBBIDcwIDcyIDAgMCAxIDM2MCA0MDAgQSA3MCA3MiAwIDAgMSAyOTAgMzI4IEEgNzAgNzIgMCAwIDEgMzYwIDI1NiB6Ii8+PGNpcmNsZSBjeD0iMzYwIiBjeT0iMzMwIiByPSI0MSIvPjxwYXRoIGQ9Im0yMDUgMjI1IDUtMTAgMjAgMCA1IDEwLTMwIDAiLz48cGF0aCBkPSJNMjg1IDIwMEwyNzAgMjI1IDM3NiAyMjUgMzYxIDIwMCAyODUgMjAwek0zMTAgMjA1TDMzNyAyMDUgMzM3IDIxOCAzMTAgMjE4IDMxMCAyMDV6Ii8+PHBhdGggZD0ibTQwNSAyMjUgNS0xMCAyMCAwIDUgMTAtMzAgMCIvPjwvZz48L3N2Zz4=); }
.dropimage input {
left: 0;
width: 100%;
height: 100%;
border: 0;
margin: 0;
padding: 0;
opacity: 0;
position: absolute; }
.tabs {
position: relative;
overflow: hidden; }
.tabs > .row {
width: calc(100% + 2 * .6em);
display: table;
table-layout: fixed;
margin-left: -.6em;
margin-bottom: .6em;
position: relative;
padding-left: 0;
transition: all .3s;
border-spacing: 0;
margin: .6em 0; }
.tabs > .row:before, .tabs > .row:after {
display: none; }
.tabs > .row > *, .tabs > .row img {
display: table-cell;
vertical-align: top;
margin: 0;
width: 100%; }
.tabs > input {
display: none; }
.tabs > input + * {
width: 100%; }
.tabs > input + label {
width: auto; }
.two.tabs .row {
width: 200%;
left: -100%; }
.two.tabs input:nth-of-type(1):checked ~ .row {
margin-left: 100%; }
.three.tabs .row {
width: 300%;
left: -200%; }
.three.tabs input:nth-of-type(1):checked ~ .row {
margin-left: 200%; }
.three.tabs input:nth-of-type(2):checked ~ .row {
margin-left: 100%; }
.four.tabs .row {
width: 400%;
left: -300%; }
.four.tabs input:nth-of-type(1):checked ~ .row {
margin-left: 300%; }
.four.tabs input:nth-of-type(2):checked ~ .row {
margin-left: 200%; }
.four.tabs input:nth-of-type(3):checked ~ .row {
margin-left: 100%; }
[data-tooltip] {
position: relative; }
[data-tooltip]:after, [data-tooltip]:before {
position: absolute;
z-index: 10;
opacity: 0;
border-width: 0;
height: 0;
padding: 0;
overflow: hidden;
transition: opacity .6s ease, height 0s ease .6s;
top: calc(100% - 6px);
left: 0;
margin-top: 12px; }
[data-tooltip]:after {
margin-left: 0;
font-size: 0.8em;
background: #111;
content: attr(data-tooltip);
white-space: nowrap; }
[data-tooltip]:before {
content: '';
width: 0;
height: 0;
border-width: 0;
border-style: solid;
border-color: transparent transparent #111;
margin-top: 0;
left: 10px; }
[data-tooltip]:hover:after, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:focus:before {
opacity: 1;
border-width: 6px;
height: auto; }
[data-tooltip]:hover:after, [data-tooltip]:focus:after {
padding: 0.45em 0.9em; }
.tooltip-top:after, .tooltip-top:before {
top: auto;
bottom: calc(100% - 6px);
left: 0;
margin-bottom: 12px; }
.tooltip-top:before {
border-color: #111 transparent transparent;
margin-bottom: 0;
left: 10px; }
.tooltip-right:after, .tooltip-right:before {
left: 100%;
margin-left: 6px;
margin-top: 0;
top: 0; }
.tooltip-right:before {
border-color: transparent #111 transparent transparent;
margin-left: -6px;
left: 100%;
top: 7px; }
.tooltip-left:after, .tooltip-left:before {
right: 100%;
margin-right: 6px;
left: auto;
margin-top: 0;
top: 0; }
.tooltip-left:before {
border-color: transparent transparent transparent #111;
margin-right: -6px;
right: 100%;
top: 7px; }
html, body, .container {
width: 100%;
height: 100%;
overflow: hidden; }
.page {
height: calc(100% - 50px);
position: relative;
top: 50px;
overflow: auto; }
.header {
position: fixed;
top: 0;
left: 0;
right: 0;
margin: 0 auto;
height: 50px;
width: 100%;
padding: 5px; }
.header .burger, .header .show {
display: none; }
.rightPanel {
position: absolute;
top: 0;
right: 0;
height: 100%;
width: 200px; }
.button {
padding: 5px;
background: lightblue;
border-radius: 3px;
cursor: pointer;
margin: 10px;
display: inline-block; }
.create-user table {
margin: 0 auto; }
.create-user table td {
padding: 10px; }
.create-user form {
width: 500px;
height: 120px;
margin: auto;
padding: 10px;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0; }
.create-user form input {
width: 420px; }
.create-user form label {
margin: 10px 2px; }
.create-user form > * {
float: left; }
.home table {
margin: 50px auto; }
.home table tr td:nth-child(0) {
text-align: left; }
.home table tr td:nth-child(1) {
text-align: center; }
.home table tr td:nth-child(2) {
text-align: center; }
@media screen and (max-width: 960px) {
.burger, .show {
display: block ; } }
@font-face {
font-family: "DarbySans-Light";
src: url("font/DarbySans-Light.eot");
src: url("font/DarbySans-Light.eot?#iefix") format("embedded-opentype"), url("font/DarbySans-Light.woff") format("woff"), url("font/DarbySans-Light.ttf") format("truetype"), url("font/DarbySans-Light.otf") format("opentype"), url("font/DarbySans-Light.svg#DarbySans-Light") format("svg");
font-style: normal;
font-weight: normal; }
@font-face {
font-family: "DarbySans-Regular";
src: url("font/DarbySans-Regular.eot");
src: url("font/DarbySans-Regular.eot?#iefix") format("embedded-opentype"), url("font/DarbySans-Regular.woff") format("woff"), url("font/DarbySans-Regular.ttf") format("truetype"), url("font/DarbySans-Regular.otf") format("opentype"), url("font/DarbySans-Regular.svg#DarbySans-Regular") format("svg");
font-style: normal;
font-weight: normal; }
@font-face {
font-family: "DarbySansPoster-Light";
src: url("font/DarbySansPoster-Light.eot");
src: url("font/DarbySansPoster-Light.eot?#iefix") format("embedded-opentype"), url("font/DarbySansPoster-Light.woff") format("woff"), url("font/DarbySansPoster-Light.ttf") format("truetype"), url("font/DarbySansPoster-Light.otf") format("opentype"), url("font/DarbySansPoster-Light.svg#DarbySansPoster-Light") format("svg");
font-style: normal;
font-weight: normal; }
@font-face {
font-family: "DarbySansPoster-Regular";
src: url("font/DarbySansPoster-Regular.eot");
src: url("font/DarbySansPoster-Regular.eot?#iefix") format("embedded-opentype"), url("font/DarbySansPoster-Regular.woff") format("woff"), url("font/DarbySansPoster-Regular.ttf") format("truetype"), url("font/DarbySansPoster-Regular.otf") format("opentype"), url("font/DarbySansPoster-Regular.svg#DarbySansPoster-Regular") format("svg");
font-style: normal;
font-weight: normal; }
@font-face {
font-family: "DarbySansPoster-XLight";
src: url("font/DarbySansPoster-XLight.eot");
src: url("font/DarbySansPoster-XLight.eot?#iefix") format("embedded-opentype"), url("font/DarbySansPoster-XLight.woff") format("woff"), url("font/DarbySansPoster-XLight.ttf") format("truetype"), url("font/DarbySansPoster-XLight.otf") format("opentype"), url("font/DarbySansPoster-XLight.svg#DarbySansPoster-XLight") format("svg");
font-style: normal;
font-weight: normal; }
@font-face {
font-family: "Mercury-TextG1Roman";
src: url("font/Mercury-TextG1Roman.eot");
src: url("font/Mercury-TextG1Roman.eot?#iefix") format("embedded-opentype"), url("font/Mercury-TextG1Roman.woff") format("woff"), url("font/Mercury-TextG1Roman.ttf") format("truetype"), url("font/Mercury-TextG1Roman.otf") format("opentype"), url("font/Mercury-TextG1Roman.svg#Mercury-TextG1Roman") format("svg");
font-style: normal;
font-weight: normal; }
@media print {
* {
background: transparent ;
color: #000 ;
box-shadow: none ;
text-shadow: none ; }
a,
a:visited {
text-decoration: underline; }
a[href]:after {
content: " (" attr(href) ")"; }
abbr[title]:after {
content: " (" attr(title) ")"; }
.ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: ""; }
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid; }
thead {
display: table-header-group; }
tr,
img {
page-break-inside: avoid; }
img {
max-width: 100% ; }
@page {
margin: 0.5cm; }
p,
h2,
h3 {
orphans: 3;
widows: 3; }
h2,
h3 {
page-break-after: avoid; } }