1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Merge pull request #211 from ascribe/bokk-styles

Bokk styles
This commit is contained in:
Tim Daubenschütz 2016-11-07 14:56:12 +01:00 committed by GitHub
commit c9a62a0523
2 changed files with 223 additions and 0 deletions

View File

@ -0,0 +1,222 @@
$bokk--nav-bg-color: #4d2e80;
$bokk--nav-fg-prim-color: #1E1E1E;
$bokk--button-color: #ab52bd;
$bokk--hover-color: ;
.client--bokk {
.navbar-default {
background-color: $bokk--nav-bg-color;
box-shadow: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
a {
color: $bokk--nav-bg-color;
}
.navbar-nav > li > a,
.navbar-nav > li > .active a {
color: $bokk--nav-fg-prim-color;
background-color: $bokk--nav-bg-color;
}
.navbar-nav > li > a:hover {
color: lighten($bokk--nav-fg-prim-color, 40%);
}
.navbar-nav > .active a,
.navbar-nav > .active a:hover,
.navbar-nav > .active a:focus {
color: $bokk--nav-fg-prim-color;
border-bottom-color: $bokk--nav-fg-prim-color;
background-color: $bokk--nav-bg-color;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
color: lighten($bokk--nav-fg-prim-color, 40%);
background-color: $bokk--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 {
color: lighten($bokk--nav-fg-prim-color, 40%);
background-color: $bokk--nav-bg-color;
}
.dropdown-menu {
background-color: $bokk--nav-bg-color;
}
.dropdown-menu > li > a {
color: $bokk--nav-fg-prim-color;
}
.navbar-toggle .icon-bar {
background-color: $bokk--nav-fg-prim-color;
}
.navbar-toggle:hover,
.navbar-toggle:focus {
background-color: $bokk--nav-bg-color;
}
}
.client--bokk .icon-ascribe-search {
color: $bokk--button-color;
}
// disabled buttons
.client--bokk {
// 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: $bokk--nav-bg-color;
color: $bokk--nav-fg-prim-color;
}
}
.client--bokk {
.btn-secondary {
background-color: $bokk--nav-bg-color;
border-color: $bokk--nav-fg-prim-color;
color: $bokk--nav-fg-prim-color;
&:hover,
&:active,
&:focus,
&:active:hover,
&:active:focus,
&:active.focus,
&.active:hover,
&.active:focus,
&.active.focus {
background-color: $bokk--nav-fg-prim-color;
border-color: $bokk--nav-fg-prim-color;
color: $bokk--nav-bg-color;
}
}
}
// buttons!
// thought of the day:
// "every great atrocity is the result of people just following orders"
.client--bokk {
.ascribe-piece-list-toolbar-widget button {
color: $bokk--button-color !important;
background-color: transparent !important;
border-color: transparent !important;
&:hover,
&:active {
background-color: $bokk--button-color !important;
border-color: $bokk--button-color !important;
color: white !important;
}
}
.btn-wide,
.btn-default {
background-color: $bokk--button-color;
border-color: $bokk--button-color;
&:hover,
&:active,
&:focus,
&:active:hover,
&:active:focus,
&:active.focus,
&.active:hover,
&.active:focus,
&.active.focus {
background-color: lighten($bokk--button-color, 20%);
border-color: lighten($bokk--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($bokk--button-color, 20%);
border-color: darken($bokk--button-color, 20%);
}
.pager li > a,
.pager li > span {
background-color: $bokk--button-color;
border-color: $bokk--button-color;
}
.pager li.disabled > a,
.pager li.disabled > span {
background-color: $bokk--button-color !important;
border-color: $bokk--button-color;
}
}
// spinner!
.client--bokk {
.btn-spinner {
color: $bokk--button-color;
}
.spinner-circle {
border-color: $bokk--button-color;
}
.spinner-inner {
color: $bokk--button-color;
display: none;
}
}
// intercom stuff
.client--bokk {
#intercom-container .intercom-launcher-button {
background-color: $bokk--button-color !important;;
border-color: $bokk--button-color !important;;
}
}
// notifications
.client--bokk .ascribe-global-notification-success {
background-color: lighten($bokk--button-color, 50%);
}
// progress bar
.client--bokk .ascribe-progress-bar > .progress-bar {
background-color: $bokk--button-color;
}
.client--bokk .acl-information-dropdown-list .title {
color: $bokk--button-color;
}
.client--bokk .action-file.icon-ascribe-ok,
.client--bokk .action-file.icon-ascribe-ok:hover {
color: $bokk--button-color;
}
.client--bokk .ascribe-progress-bar span {
text-shadow: -1px 0 $bokk--button-color,
0 1px $bokk--button-color,
1px 0 $bokk--button-color,
0 -1px $bokk--button-color;
}
.client--bokk .upload-button-wrapper > span {
color: $bokk--button-color;
}

View File

@ -4,6 +4,7 @@
@import '23vivi/23vivi_custom_style';
@import 'polline/polline_custom_style';
@import 'artcity/artcity_custom_style';
@import 'bokk/bokk_custom_style';
@import 'market/index';
.ascribe-wallet-app {