Files

762 lines
13 KiB
CSS

/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
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: 0 0 20px 0;
}
hr {
-moz-box-sizing: content-box;
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;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
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;
}
/* Fonts */
@font-face{
font-family: OpenSansRegular;
font-style: normal;
font-weight: normal;
src: url("fonts/OpenSansRegular-v1.eot");
src: url("fonts/OpenSansRegular-v1.woff") format('woff'),
url("fonts/OpenSansRegular-v1.ttf") format('truetype'),
url("fonts/OpenSansRegular-v1.woff#OpenSansRegular") format('svg');
}
@font-face{
font-family: OpenSansLight;
font-style: normal;
font-weight: normal;
src: url("fonts/OpenSansLight-v1.eot");
src: url("fonts/OpenSansLight-v1.woff") format('woff'),
url("fonts/OpenSansLight-v1.ttf") format('truetype'),
url("fonts/OpenSansLight-v1.woff#OpenSansLight") format('svg');
}
@font-face{
font-family: OpenSansSemiBold;
font-style: normal;
font-weight: normal;
src: url("fonts/OpenSansSemiBold-v1.eot");
src: url("fonts/OpenSansSemiBold-v1.woff") format('woff'),
url("fonts/OpenSansSemiBold-v1.ttf") format('truetype'),
url("fonts/OpenSansSemiBold-v1.woff#OpenSansSemiBold") format('svg');
}
@font-face {
font-family: 'Gscreen';
src:url('fonts/Gscreen.eot?-bfkvnn');
src:url('fonts/Gscreen.eot?#iefix-bfkvnn') format('embedded-opentype'),
url('fonts/Gscreen.woff?-bfkvnn') format('woff'),
url('fonts/Gscreen.ttf?-bfkvnn') format('truetype'),
url('fonts/Gscreen.svg?-bfkvnn#Gscreen') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'Gscreen';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-plus:before {
content: "\e600";
}
.icon-down:before {
content: "\e601";
}
.icon-logo-g:before {
content: "\e602";
}
.icon-times:before {
content: "\e603";
}
.icon-cancel:before {
content: "\e604";
}
.icon-eye:before {
content: "\e605";
}
.icon-cog:before {
content: "\e606";
}
/* Grid */
.row {
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
margin: 0 .625em;
}
.column {
-webkit-flex: 0 0 100%;
flex: 0 0 100%;
}
[class^="column"] {
padding: 0 .625em;
}
.column--mobile-2of5 { -webkit-flex: 1 0 40%; flex: 1 0 40%; }
.column--mobile-1of2 { -webkit-flex: 1 0 50%; flex: 1 0 50%; }
.column--mobile-3of5 { -webkit-flex: 1 0 60%; flex: 1 0 60%; }
.column--mobile-2of3 { -webkit-flex: 1 0 66.6666%; flex: 1 0 66.6666%; }
.column--mobile-3of4 { -webkit-flex: 1 0 75%; flex: 1 0 75%; }
.column--mobile-4of5 { -webkit-flex: 1 0 80%; flex: 1 0 80%; }
@media (min-width: 500px) {
.row {
max-width: 960px;
}
.column {
-webkit-flex: 1 1 auto;
flex: 1 1 auto;
}
.column--2of5 { -webkit-flex: 0 0 40%; flex: 0 0 40%; }
.column--1of2 { -webkit-flex: 0 0 50%; flex: 0 0 50%; }
.column--3of5 { -webkit-flex: 0 0 60%; flex: 0 0 60%; }
.column--2of3 { -webkit-flex: 0 0 66.6666%; flex: 0 0 66.6666%; }
.column--3of4 { -webkit-flex: 0 0 75%; flex: 0 0 75%; }
.column--4of5 { -webkit-flex: 0 0 80%; flex: 0 0 80%; }
}
@media (min-width: 980px) {
.row {
margin: 0 auto;
}
}
/* Global Styles */
* {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
img {
max-width: 100%;
}
body {
font-family: 'OpenSansRegular', 'Helvetica Neue', Arial, sans-serif;
color: #222;
}
h1, h2, th, strong, label {
font-weight: normal;
font-family: 'OpenSansSemiBold';
}
h2 {
font-size: 1.25em;
line-height: 1.6em;
margin: 0 0 1em 0;
font-family: 'OpenSansRegular';
font-weight: normal;
}
a {
color: #0185c6;
}
table {
width: 100%;
margin: 0 0 .5em 0;
}
th {
text-align: left;
border-bottom: 2px solid #ccc;
}
td {
border-bottom: 1px solid #f2f2f2;
}
th, td {
font-size: .8em;
height: 3em;
padding: 0 1.25em;
}
label {
display: block;
font-size: .8em;
margin: 0 0 .25em 0;
}
input, select {
margin: 0 0 1em 0;
width: 100%;
}
input[type="text"],
input[type="number"],
input[type="url"],
select,
textarea {
padding: .5em;
border: 1px solid #ccc;
background-color: #fafafa;
}
textarea {
display: block;
width: 100%;
resize: none;
margin: 0 0 .25em 0;
}
select {
-webkit-appearance: none;
border-radius: 0;
}
.input-group {
position: relative;
}
.input-group .icon-down {
color: #666;
position: absolute;
font-size: 1.25em;
right: .5em;
top: 1.55em;
}
.flex {
display: -webkit-flex;
display: flex;
}
/* App Styles */
header {
background-color: #82b548;
color: #fff;
}
.logo {
font-size: 1.5em;
line-height: 2em;
margin: 0;
font-family: 'OpenSansLight';
}
.logo a {
color: #fff;
text-decoration: none;
}
.logo .icon-logo-g:before {
margin-right: 2px;
}
.user {
font-size: .8em;
line-height: 3.8em;
display: block;
text-align: right;
font-family: 'OpenSansLight';
}
.flex h2 {
-webkit-flex: 1;
flex: 1;
}
section {
padding: 1.25em;
max-width: 960px;
margin: 0 auto;
}
section + section {
border-top: 1px solid #ccc;
}
.main-nav {
list-style: none;
margin: 0;
padding: 0;
}
.main-nav li {
margin-bottom: .625em;
}
.main-nav a {
display: block;
text-decoration: none;
text-align: center;
border-radius: 3px;
line-height: 2.8em;
background-color: #0185c6;
color: #fff;
font-family: 'OpenSansLight';
}
.btn, input[type="submit"] {
background-color: #0185c6;
color: #fff;
border: 0;
border-radius: 3px;
font-size: .8em;
line-height: 3.5em;
height: 44px;
padding: 0 .78125em;
margin: 0 0 .78125em 0;
font-family: 'OpenSansLight';
}
.btn-red, input[type="submit"].btn-red {
background-color: #ba0c2f;
}
.btn-add, .btn-delete {
line-height: 2.5em;
height: 2.5em;
-webkit-align-self: flex-start;
align-self: flex-start;
text-decoration: none;
margin-left: 8px;
}
.btn-add:before,
.btn-delete:before {
font-family: 'Gscreen';
margin-right: 2px;
}
.btn-add:before {
content: "\e600";
}
.btn-delete:before {
content: "\e603";
}
.edit-link {
text-decoration: none;
font-size: 2em;
line-height: 1.5em;
color: #666;
display: block;
text-align: center;
}
.edit-link:hover {
color: #333;
}
.non-editable {
font-size: 2em;
line-height: 1.5em;
color: #ccc;
}
.channel-link {
text-decoration: none;
display: block;
line-height: 3em;
}
.channel-link:hover {
color: #ba0c2f;
}
.channel-table th:first-child {
width: 100%;
}
.chromecast-table td:first-child {
width: 25%;
white-space: nowrap;
}
.chromecast-table td:nth-child(2) {
width: 50%;
}
.chromecast-table td:nth-child(2) span {
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
.chromecast-table td:last-child {
width: 1%;
}
.chromecast-location {
color: #666;
}
.layout-select {
margin: 0 0 1em 0;
}
.layout-label {
-webkit-flex: 0 0 138px;
flex: 0 0 138px;
padding-right: 10px;
}
.sample-fullscreen,
.sample-with-sidebar {
width: 100%;
height: 72px;
border: 1px solid #999;
text-align: center;
background-color: #f2f2f2;
display: -webkit-flex;
display: flex;
cursor: pointer;
}
.radio:checked + .sample-fullscreen,
.radio:checked + .sample-with-sidebar {
background-color: #c5dc6c;
border-color: #000;
}
.radio:checked ~ .sample-label {
color: #000;
}
.sample-fullscreen .sample-main {
width: 100%;
line-height: 70px;
display: block;
}
.sample-with-sidebar .sample-main {
width: 75%;
line-height: 70px;
display: inline-block;
}
.sample-with-sidebar .sample-sidebar {
width: 25%;
line-height: 70px;
border-left: 1px solid #999;
}
.sample-label {
width: 100%;
display: block;
text-align: center;
color: #666;
font-family: 'OpenSansRegular';
font-size: 90%;
line-height: 2;
}
.submit-buttons {
display: -webkit-flex;
display: flex;
}
.submit-buttons > * {
-webkit-flex: 1;
flex: 1;
}
.submit-buttons > *:first-child {
margin-right: 5px;
}
.btn-cancel {
text-align: center;
text-decoration: none;
background-color: #e2e2e2;
color: #666;
margin-left: 5px;
}
.url-list {
list-style: none;
padding: 0;
margin: 0 0 1em 0;
}
.url-item {
display: -webkit-flex;
display: flex;
margin: 0 0 1em 0;
}
.url-item label {
-webkit-flex-shrink: 0;
flex-shrink: 0;
-webkit-flex-basis: 60px;
flex-basis: 60px;
white-space: nowrap;
padding-right: 10px;
line-height: 40px;
color: #666;
font-family: 'OpenSansLight';
}
.url-item input {
margin: 0;
}
.remove-link {
-webkit-flex-shrink: 0;
flex-shrink: 0;
width: 44px;
line-height: 40px;
font-size: 150%;
color: #ba0c2f;
text-align: center;
cursor: pointer;
}
.radio {
display: none;
}
.channel-rotation,
.alert-duration {
display: -webkit-flex;
display: flex;
}
.channel-rotation > *,
.alert-duration > * {
-webkit-flex-basis: 88px;
flex-basis: 88px;
}
.channel-rotation > * + *,
.alert-duration > * + * {
padding-left: 5px;
}
.channel-rotation span,
.alert-duration span {
text-align: center;
background-color: #e2e2e2;
line-height: 44px;
border-radius: 3px;
display: block;
font-family: 'OpenSansRegular';
color: #666;
cursor: pointer;
}
.radio:checked + span {
background-color: #c5dc6c;
color: #000;
}
.new-url {
font-size: 80%;
display: block;
margin: 0 0 1.25em 0;
cursor: pointer;
font-family: 'OpenSansLight';
}
.new-url:before {
font-family: 'Gscreen';
content: "\e600";
margin-right: 2px;
}
.char-count {
font-size: 80%;
color: #999;
display: block;
text-align: right;
margin: 0 0 1.25em 0;
}
.alert-styles {
margin: 0 0 1em 0;
}
.alert-style-label {
line-height: 44px;
font-family: 'OpenSansRegular';
margin: 0 0 .5em 0;
}
[class^="alert-sample"] {
color: #fff;
padding: 0 1em;
cursor: pointer;
border: 2px solid #fff;
}
.radio:checked + [class^="alert-sample"] {
border: 2px solid #0185c6;
position: relative;
}
.radio:checked + [class^="alert-sample"]:before {
content: "";
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border: 1px solid #fff;
}
.alert-sample-urgent {
background-color: #ba0c2f;
}
.alert-sample-default {
background-color: #333;
}
.alert-sample-green {
background-color: #82b548;
}
.alert-duration {
margin: 0 0 1em 0;
}
.flash-msg {
background-color: #4bc1de;
color: #fff;
height: 48px;
line-height: 48px;
font-size: 80%;
text-align: center;
position: absolute;
bottom: 0;
left: 0;
right: 0;
-webkit-animation: flash 4s;
-webkit-transform: translateY(48px);
animation: flash 4s;
transform: translateY(48px);
}
@-webkit-keyframes flash {
0%, 100% { -webkit-transform: translateY(48px); }
10%, 90% { -webkit-transform: translateY(0); }
}
@keyframes flash {
0%, 100% { transform: translateY(48px); }
10%, 90% { transform: translateY(0); }
}
.note {
font-size: 80%;
margin: 0 0 1.25em 0;
color: #666;
}
@media (min-width: 960px) {
section {
padding: 1.25em .625em;
}
}