1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
onion/sass/whitelabel/wallet/ikonotv/ikonotv_custom_style.scss

547 lines
13 KiB
SCSS
Raw Permalink Normal View History

2015-09-22 14:46:32 +02:00
$ikono--landing-bg-color: #093;
$ikono--bg-color: #06c;
2015-09-21 16:23:18 +02:00
$ikono--button-color: $ikono--bg-color;
2015-09-21 14:53:58 +02:00
$ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ikono_tv.png';
2015-10-14 12:12:06 +02:00
$ikono--font: 'Helvetica Neue', 'Helvetica', sans-serif !important;
2015-09-21 14:53:58 +02:00
2015-09-22 14:46:32 +02:00
@include keyframes(color-loop) {
0% { background: $ikono--landing-bg-color; }
33% { background: #099; }
66% { background: #09f; }
}
2015-09-18 15:36:01 +02:00
.client--ikonotv {
2015-10-14 12:12:06 +02:00
font-family: $ikono--font;
h1, h3 {
font-family: $ikono--font;
}
2015-09-18 15:36:01 +02:00
}
2015-09-21 14:53:58 +02:00
.client--ikonotv .navbar-default {
background-color: $ikono--bg-color;
2015-10-13 13:32:48 +02:00
box-shadow: none;
2015-09-21 14:53:58 +02:00
.navbar-nav > li > a,
.navbar-nav > li > .active a {
text-transform: uppercase;
border-bottom-color: transparent;
font-size: 14px;
font-weight: bold;
}
.navbar-nav > li > a {
color: white;
}
.navbar-nav > .active a,
.navbar-nav > .active a:hover,
.navbar-nav > .active a:focus {
color: black;
border-bottom-color: transparent;
2015-10-13 13:32:48 +02:00
background-color: transparent;
font-weight: bold;
2015-09-21 14:53:58 +02:00
}
.navbar-nav > .active {
background-color: white;
}
.navbar-toggle .icon-bar {
background-color: white;
}
.navbar-nav > .open > a,
.navbar-nav > .open > a:hover,
.navbar-nav > .open > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
color: white;
background-color: $ikono--bg-color;
}
2015-10-13 13:32:48 +02:00
.dropdown-menu {
background-color: $ikono--bg-color;
}
.dropdown-menu > li > a {
color: white;
font-weight: bold;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
color: $ikono--bg-color;
background-color: white;
}
.notification-menu {
.dropdown-menu {
background-color: white;
li:hover {
background-color: rgba($ikono--button-color, 0.1);
}
}
}
2015-09-21 14:53:58 +02:00
.img-brand.navbar-brand {
width: 0;
height: 0;
padding-right: 120px;
padding-bottom: 36px;
padding-left: 30px;
background-image: url($ikono--logo);
background-color: transparent;
background-position: center 4px;
background-repeat: no-repeat;
background-size: 150px;
margin-bottom: 0;
position: relative;
}
.navbar-toggle:hover,
.navbar-toggle:focus {
background-color: rgba(255, 255, 255, 0.1);
}
2015-09-21 14:53:58 +02:00
}
2016-02-04 13:32:00 +01:00
.client--ikonotv {
.route--landing,
.route--login,
.route--signup {
background-color: $ikono--landing-bg-color;
min-height: 100vh;
}
.route--login,
.route--signup {
.ascribe-form-bordered {
border: none;
}
}
}
2015-09-21 16:23:18 +02:00
.client--ikonotv .route--landing {
2015-09-22 14:46:32 +02:00
animation: color-loop 20s;
-o-animation: color-loop 20s infinite;
-ms-animation: color-loop 20s infinite;
2015-09-22 14:46:32 +02:00
-moz-animation: color-loop 20s infinite;
-webkit-animation: color-loop 20s infinite;
2016-02-04 13:32:00 +01:00
2015-09-18 13:46:15 +02:00
margin: 0;
width: 100%;
padding: 5em 1em;
}
2015-09-21 16:23:18 +02:00
.client--ikonotv .route--login,
.client--ikonotv .route--signup {
2015-10-12 17:55:02 +02:00
.btn-wide {
2015-09-18 15:36:01 +02:00
display: block;
margin: 50px auto 0;
width: auto;
padding: 10px 30px;
text-transform: uppercase;
font-weight: bold;
2015-09-18 16:00:39 +02:00
width: 180px;
}
2015-10-12 17:55:02 +02:00
.btn-spinner {
2015-09-21 14:53:58 +02:00
background-color: $ikono--button-color;
2015-09-18 15:36:01 +02:00
}
.ascribe-form-header {
2015-09-21 14:53:58 +02:00
background-image: url($ikono--logo);
2015-09-18 15:36:01 +02:00
background-color: transparent;
background-position: center 0;
background-repeat: no-repeat;
background-size: 300px;
2015-09-21 14:53:58 +02:00
margin-bottom: 0;
2015-09-18 15:36:01 +02:00
height: 150px;
position: relative;
h3 {
position: absolute;
bottom: 0;
left: 0;
right: 0;
color: white;
text-align: center;
font-size: 22px;
2015-09-21 14:53:58 +02:00
text-indent: -99999px;
2015-09-18 15:36:01 +02:00
}
}
2015-10-12 15:34:06 +02:00
.ascribe-property-wrapper {
2015-09-18 15:36:01 +02:00
background-color: transparent;
&:hover {
border-left: 3px solid transparent;
}
&.is-focused {
border-left: 3px solid transparent !important;
}
}
.ascribe-property {
2015-09-18 15:36:01 +02:00
border: none;
}
.ascribe-property > p > span {
2015-09-18 15:36:01 +02:00
color: white;
}
.ascribe-property > input {
2015-09-18 15:36:01 +02:00
padding: 10px;
background-color: #fff;
margin-top: .1em;
&:focus {
background-color: #ffff00;
}
}
.checkbox,
.checkbox a {
color: white !important;
}
2015-09-18 16:00:39 +02:00
.ascribe-login-text {
color: white;
text-align: center;
a {
color: white;
text-decoration: underline;
}
}
2015-09-18 15:36:01 +02:00
}
2016-02-04 13:32:00 +01:00
.client--ikonotv .icon-ascribe-search {
2015-10-13 13:32:48 +02:00
color: $ikono--button-color;
}
2015-10-14 12:12:06 +02:00
// spinner!
.client--ikonotv {
.btn-spinner {
color: $ikono--button-color;
}
.spinner-circle {
border-color: $ikono--button-color;
}
.spinner-inner {
2015-10-16 13:30:36 +02:00
display: none;
2015-10-14 12:12:06 +02:00
font-family: $ascribe--font;
color: $ikono--button-color;
}
}
.ikonotv-landing {
/* center all text on the page */
text-align: center;
color: white;
header {
/* center all images on the page */
img {
display: block;
margin-left: auto;
margin-right: auto;
}
/* Ikonotv logo */
img:first-child {
2015-09-18 13:46:15 +02:00
max-width: 200px;
}
> .tagline {
margin-top: 2em;
margin-bottom: 2em;
> h1 {
2015-09-22 14:46:32 +02:00
font-size: 7em;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
2015-09-18 13:46:15 +02:00
@media only screen and (max-width: 600px) {
font-size: 4em;
}
}
> .poster {
max-width: 600px;
margin: 0 auto;
> .content {
width: 100%;
padding-bottom: 56.25%;
height: 0;
background-color: #ffff00;
}
}
}
2015-10-14 12:12:06 +02:00
> h2 {
font-weight: 600;
font-size: 2.75em;
2015-09-18 13:46:15 +02:00
@media only screen and (max-width: 600px) {
font-size: 1.75em;
}
}
> h2 + h2 {
margin-top: 0;
}
}
article {
> section {
2015-09-18 13:46:15 +02:00
width: 100%;
max-width: 60em;
margin: 3em auto 1em auto;
> h1 {
text-align: center;
font-size: 1.35em;
font-weight: 600;
}
> p {
text-align: left;
font-size: 1.3em;
line-height: 1.8;
2015-09-18 13:46:15 +02:00
@media only screen and (max-width: 600px) {
font-size: 1.1em;
}
}
}
}
footer {
margin-top: 5em;
margin-bottom: 3em;
> p {
font-size: 1.3em;
}
> p + p {
margin-bottom: 3em;
}
> .btn-default {
font-size: 1.5em;
font-weight: 500;
}
}
2015-09-18 13:46:15 +02:00
}
2015-09-21 16:23:18 +02:00
2015-09-22 13:44:19 +02:00
// disabled buttons
.client--ikonotv {
.btn-default.disabled,
.btn-default.disabled:hover,
.btn-default.disabled:focus,
.btn-default.disabled.focus,
.btn-default.disabled:active,
.btn-default.disabled.active,
.btn-default[disabled],
.btn-default[disabled]:hover,
.btn-default[disabled]:focus,
.btn-default[disabled].focus,
.btn-default[disabled]:active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default,
fieldset[disabled] .btn-default:hover,
fieldset[disabled] .btn-default:focus,
fieldset[disabled] .btn-default.focus,
fieldset[disabled] .btn-default:active,
fieldset[disabled] .btn-default.active {
background-color: darken($ikono--button-color, 20%);
border-color: darken($ikono--button-color, 20%);
}
}
2015-09-21 16:23:18 +02:00
// buttons!
// thought of the day:
// "every great atrocity is the result of people just following orders"
.client--ikonotv {
.ascribe-piece-list-toolbar-widget button {
2015-10-14 12:12:06 +02:00
color: $ikono--button-color !important;
background-color: transparent !important;
border-color: transparent !important;
2015-09-21 16:23:18 +02:00
&:hover,
&:active {
background-color: $ikono--button-color !important;
border-color: $ikono--button-color !important;
2015-10-14 12:12:06 +02:00
color: white !important;
2015-09-21 16:23:18 +02:00
}
}
2015-10-12 17:55:02 +02:00
.btn-wide,
2015-09-21 16:23:18 +02:00
.btn-default {
background-color: $ikono--button-color;
border-color: $ikono--button-color;
&:hover,
&:active,
&:focus,
2015-09-21 16:23:18 +02:00
&:active:hover,
&:active:focus,
&:active.focus,
&.active:hover,
&.active:focus,
&.active.focus {
background-color: lighten($ikono--button-color, 20%);
border-color: lighten($ikono--button-color, 20%);
2015-09-21 16:23:18 +02:00
}
}
.btn-secondary {
background-color: white;
border-color: $ikono--button-color;
color: $ikono--button-color;
&:hover,
&:active,
&:focus,
&:active:hover,
&:active:focus,
&:active.focus,
&.active:hover,
&.active:focus,
&.active.focus {
background-color: $ikono--button-color;
border-color: $ikono--button-color;
color: white;
}
}
2015-09-21 16:23:18 +02:00
.open > .btn-default.dropdown-toggle:hover,
.open > .btn-default.dropdown-toggle:focus,
.open > .btn-default.dropdown-toggle.focus,
.open > .btn-default.dropdown-toggle.dropdown-toggle {
2015-09-21 16:23:18 +02:00
background-color: darken($ikono--button-color, 20%);
border-color: darken($ikono--button-color, 20%);
}
.pager li > a, .pager li > span {
background-color: $ikono--button-color;
border-color: $ikono--button-color;
}
.pager li.disabled > a,
.pager li.disabled > span {
background-color: $ikono--button-color !important;
border-color: $ikono--button-color;
}
2015-09-21 16:23:18 +02:00
}
// inputs!
.client--ikonotv {
.ascribe-input-glyph > .form-group > .input-group > .input-group-addon > .filter-glyph {
color: $ikono--button-color;
}
.ascribe-input-glyph > .form-group > .input-group > .input-group-addon,
.ascribe-input-glyph > .form-group > .input-group input {
border-color: $ikono--button-color;
}
.ascribe-property-collapsible-toggle [type=checkbox]:checked + .checkbox:before,
2015-09-21 16:23:18 +02:00
.ascribe-checkbox-wrapper [type=checkbox]:checked + .checkbox:before {
color: $ikono--button-color;
}
2015-10-13 13:32:48 +02:00
.search-bar > .form-group > .input-group > .input-group-addon {
border-color: transparent;
}
2015-09-21 16:23:18 +02:00
}
// properties!
.client--ikonotv {
2015-10-14 12:12:06 +02:00
input {
background-color: white;
}
.ascribe-property {
> div,
> input,
> pre,
> select,
> span:not(.glyphicon),
> textarea {
font-family: $ikono--font;
}
> div {
> div:not(.file-drag-and-drop div) {
font-family: $ikono--font;
}
}
}
2015-09-21 16:23:18 +02:00
.is-focused {
border-left-color: $ikono--button-color !important;
background-color: rgba($ikono--button-color, .05);
}
2015-10-14 12:12:06 +02:00
.is-error {
> div {
> span {
color: white !important;
}
> input,
> textarea {
color: rgba($ascribe-red-error, 1) !important;
}
}
&:hover {
border-left: 3px solid rgba($ascribe-red-error, .5)!important;
}
}
2015-10-12 15:34:06 +02:00
.ascribe-property-wrapper:hover {
2015-09-21 16:23:18 +02:00
border-left-color: rgba($ikono--button-color, .5);
}
}
.client--ikonotv {
.ascribe-accordion-list-item .wrapper:hover {
background-color: rgba($ikono--button-color, .05);
}
}
2015-09-22 13:37:31 +02:00
// notifications
.client--ikonotv .ascribe-global-notification-success {
2015-10-14 12:12:06 +02:00
background-color: lighten($ikono--button-color, 20%);
2015-09-22 13:37:31 +02:00
}
2015-09-22 15:13:48 +02:00
// progress bar
.client--ikonotv .ascribe-progress-bar > .progress-bar {
background-color: $ikono--button-color;
}
.client--ikonotv .acl-information-dropdown-list .title {
color: $ikono--button-color;
}
.client--ikonotv .action-file.icon-ascribe-ok,
.client--ikonotv .action-file.icon-ascribe-ok:hover {
color: $ikono--button-color;
}
.client--ikonotv .ascribe-progress-bar span {
text-shadow: -1px 0 $ikono--button-color,
0 1px $ikono--button-color,
1px 0 $ikono--button-color,
0 -1px $ikono--button-color;
}
.client--ikonotv .upload-button-wrapper > span {
color: $ikono--button-color;
}