1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00
onion/sass/ascribe_custom_style.scss

410 lines
9.9 KiB
SCSS
Raw Normal View History

2015-10-08 11:12:15 +02:00
$ascribe-black: #1E1E1E;
$ascribe-dark-blue: #003C69;
$ascribe-blue: #65CFE9;
$ascribe-light-blue: #D3DEE4;
2015-10-08 20:26:29 +02:00
$ascribe-white: #F8F8F8;
2015-10-08 11:12:15 +02:00
$ascribe-pink: #D10074;
$ascribe--fg-color: $ascribe-dark-blue;
2015-10-08 20:26:29 +02:00
$ascribe--bg-color: $ascribe-dark-blue;
2015-10-08 11:12:15 +02:00
2015-10-08 20:26:29 +02:00
$ascribe--nav-fg-prim-color: white;
$ascribe--nav-fg-sec-color: $ascribe-light-blue;
2015-10-08 11:12:15 +02:00
$ascribe--nav-bg-color: $ascribe-dark-blue;
$ascribe--button-color: $ascribe--bg-color;
2015-10-08 11:12:15 +02:00
$ascribe--font-weight: 300;
$ascribe--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ikono_tv.png';
2015-10-08 11:12:15 +02:00
$ascribe--font: 'canada-type-gibson';
2015-10-08 11:12:15 +02:00
html,
body {
2015-10-08 11:12:15 +02:00
//font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
font-family: 'canada-type-gibson', sans-serif !important;
font-weight: $ascribe--font-weight !important;
2015-10-08 20:26:29 +02:00
background-color: #f9f9f9 !important;
2015-10-08 11:12:15 +02:00
}
h1, h3 {
font-family: 'canada-type-gibson', sans-serif !important;
font-weight: $ascribe--font-weight !important;
}
2015-10-08 20:26:29 +02:00
h1 {
font-size: 30px;
}
2015-10-08 11:12:15 +02:00
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
border-color: transparent;
}
.navbar-default {
2015-10-08 11:12:15 +02:00
background-color: $ascribe--nav-bg-color;
2015-10-08 20:26:29 +02:00
box-shadow: 0 0 4px rgba(0,0,0,.14),
0 4px 8px rgba(0,0,0,.28);
.navbar-nav > li > a,
.navbar-nav > li > .active a {
text-transform: uppercase;
2015-10-08 11:12:15 +02:00
font-size: 12px;
2015-10-08 20:26:29 +02:00
color: $ascribe--nav-fg-prim-color;
border-bottom: 3px solid transparent;
2015-10-08 11:12:15 +02:00
}
.navbar-nav > li > a:hover {
color: $ascribe--nav-fg-sec-color;
}
.navbar-nav > .active a,
.navbar-nav > .active a:hover,
.navbar-nav > .active a:focus {
2015-10-08 11:12:15 +02:00
color: $ascribe--nav-fg-prim-color;
border-bottom-color: $ascribe--nav-fg-prim-color;
background-color: $ascribe--nav-bg-color;
2015-10-08 20:26:29 +02:00
font-weight: 500;
}
.navbar-nav > .active {
2015-10-08 11:12:15 +02:00
background-color: $ascribe--nav-bg-color;
}
.navbar-toggle .icon-bar {
2015-10-08 11:12:15 +02:00
background-color: $ascribe--nav-bg-color;
}
.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 {
2015-10-08 11:12:15 +02:00
color: $ascribe--nav-fg-prim-color;
background-color: $ascribe--nav-bg-color;
}
2015-10-08 20:26:29 +02:00
.dropdown-menu {
background-color: $ascribe--nav-bg-color;
}
2015-10-08 11:12:15 +02:00
.dropdown-menu > li > a {
color: $ascribe--nav-fg-prim-color;
font-weight: $ascribe--font-weight !important;
}
2015-10-08 11:12:15 +02:00
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
color: $ascribe--nav-fg-prim-color;
background-color: $ascribe--nav-bg-color;
}
2015-10-08 20:26:29 +02:00
.notification-menu {
.dropdown-menu {
background-color: white;
li:hover {
background-color: $ascribe-white;
}
}
.notification-action{
color: $ascribe-pink;
}
}
.navbar-brand,
.navbar-brand:hover {
font-size: 23px;
padding: 12px 15px;
2015-10-08 11:12:15 +02:00
color: $ascribe--nav-fg-prim-color;
}
.img-brand .navbar-brand {
width: 0;
height: 0;
padding-right: 120px;
padding-bottom: 36px;
padding-left: 30px;
background-image: url($ascribe--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 {
2015-10-08 11:12:15 +02:00
background-color: $ascribe--nav-bg-color;
}
}
2015-10-08 20:26:29 +02:00
.ascribe-accordion-list-item {
border: 1px solid rgba(0, 60, 105, 0.1);
-webkit-box-shadow: 0 2px 2px -2px rgba(0,0,0,.58);
-moz-box-shadow: 0 2px 2px -2px rgba(0,0,0,.58);
box-shadow: 0 2px 2px -2px rgba(0,0,0,.58);
2015-10-09 02:00:02 +02:00
&:hover {
-webkit-transform: scale(1.02);
-moz-transform: scale(1.02);
-ms-transform: scale(1.02);
-o-transform: scale(1.02);
transform: scale(1.02);
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;
2015-10-08 20:26:29 +02:00
}
}
.ascribe-footer {
position: fixed;
left: 0;
bottom: 0;
height: 80px;
width: 100%;
text-transform: uppercase;
background-color: $ascribe-white;
border-top: 1px solid rgba(0, 60, 105, 0.1);
}
.route--landing {
animation: color-loop 20s;
-moz-animation: color-loop 20s infinite;
-webkit-animation: color-loop 20s infinite;
margin: 0;
width: 100%;
padding: 5em 1em;
}
.route--login,
.route--signup {
.ascribe-btn-login {
display: block;
margin: 50px auto 0;
width: auto;
padding: 10px 30px;
text-transform: uppercase;
font-weight: bold;
width: 180px;
}
.ascribe-btn-login-spinner {
background-color: $ascribe--button-color;
}
.ascribe-form-header {
background-image: url($ascribe--logo);
background-color: transparent;
background-position: center 0;
background-repeat: no-repeat;
background-size: 300px;
margin-bottom: 0;
height: 150px;
position: relative;
h3 {
position: absolute;
bottom: 0;
left: 0;
right: 0;
color: white;
text-align: center;
font-size: 22px;
text-indent: -99999px;
font-size: 0;
}
}
.ascribe-settings-wrapper {
background-color: transparent;
&:hover {
border-left: 3px solid transparent;
}
&.is-focused {
border-left: 3px solid transparent !important;
}
}
.ascribe-settings-property {
border: none;
}
.ascribe-settings-property > span {
color: white;
}
.ascribe-settings-property > input {
padding: 10px;
background-color: #fff;
margin-top: .1em;
&:focus {
background-color: #ffff00;
}
}
.checkbox,
.checkbox a {
color: white !important;
}
.ascribe-login-text {
color: white;
text-align: center;
a {
color: white;
text-decoration: underline;
}
}
}
.route--login,
.route--signup {
.ascribe-form-bordered {
border: none;
}
}
// disabled buttons
.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($ascribe--button-color, 20%);
border-color: darken($ascribe--button-color, 20%);
}
// buttons!
// thought of the day:
// "every great atrocity is the result of people just following orders"
.ascribe-piece-list-toolbar-filter-widget button {
background-color: transparent;
border: 1px solid transparent;
color: $ascribe--button-color;
&:hover,
&:active {
background-color: $ascribe--button-color !important;
border-color: $ascribe--button-color !important;
color: white;
}
}
.ascribe-btn-login,
.btn-default {
background-color: $ascribe--button-color;
border-color: $ascribe--button-color;
&:hover,
&:active,
&:focus,
&:active:hover,
&:active:focus,
&:active.focus,
&.active:hover,
&.active:focus,
&.active.focus {
background-color: darken($ascribe--button-color, 20%);
border-color: darken($ascribe--button-color, 20%);
}
}
2015-10-08 20:26:29 +02:00
.btn-secondary {
background-color: white;
border-color: $ascribe--button-color;
color: $ascribe--button-color;
&:hover,
&:active,
&:focus,
&:active:hover,
&:active:focus,
&:active.focus,
&.active:hover,
&.active:focus,
&.active.focus {
background-color: darken($ascribe--button-color, 20%);
border-color: darken($ascribe--button-color, 20%);
}
}
.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 {
background-color: darken($ascribe--button-color, 20%);
border-color: darken($ascribe--button-color, 20%);
}
.pager li > a, .pager li > span {
background-color: $ascribe--button-color;
border-color: $ascribe--button-color;
}
// inputs!
.ascribe-input-glyph > .form-group > .input-group > .input-group-addon > .filter-glyph {
color: $ascribe--button-color;
}
.ascribe-input-glyph > .form-group > .input-group > .input-group-addon,
.ascribe-input-glyph > .form-group > .input-group input {
border-color: $ascribe--button-color;
}
.ascribe-settings-property-collapsible-toggle [type=checkbox]:checked + .checkbox:before,
.ascribe-checkbox-wrapper [type=checkbox]:checked + .checkbox:before {
color: $ascribe--button-color;
}
// properties!
.is-focused {
border-left-color: $ascribe--button-color !important;
background-color: rgba($ascribe--button-color, .05);
}
.ascribe-settings-wrapper:hover {
border-left-color: rgba($ascribe--button-color, .5);
}
.ascribe-accordion-list-item .wrapper:hover {
background-color: rgba($ascribe--button-color, .05);
}
// intercom stuff
#intercom-container .intercom-launcher-button {
background-color: $ascribe--button-color !important;
border-color: $ascribe--button-color !important;
}
// notifications
.ascribe-global-notification-success {
background-color: $ascribe--button-color;
}
// progress bar
.ascribe-progress-bar > .progress-bar {
background-color: $ascribe--button-color;
}