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

Style thumbnail upload button for whitelabels

This commit is contained in:
Tim Daubenschütz 2015-12-03 13:29:37 +01:00
parent 911860ccb5
commit 5772a5ad49
3 changed files with 115 additions and 27 deletions

View File

@ -207,4 +207,20 @@ $cc--button-color: $cc--nav-fg-prim-color;
.client--cc .acl-information-dropdown-list .title {
color: $cc--button-color;
}
.client--cc .action-file.icon-ascribe-ok,
.client--cc .action-file.icon-ascribe-ok:hover {
color: $cc--button-color;
}
.client--cc .ascribe-progress-bar span {
text-shadow: -1px 0 $cc--button-color,
0 1px $cc--button-color,
1px 0 $cc--button-color,
0 -1px $cc--button-color;
}
.client--cc .upload-button-wrapper > span {
color: $cc--button-color;
}

View File

@ -60,39 +60,14 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
}
.client--cyland .icon-ascribe-search{
.client--cyland .icon-ascribe-search {
color: $cyland--button-color;
}
.client--cyland .ascribe-piece-list-toolbar .btn-ascribe-add{
.client--cyland .ascribe-piece-list-toolbar .btn-ascribe-add {
display: none;
}
// disabled buttons
.client--cyland {
.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($cyland--button-color, 20%);
border-color: darken($cyland--button-color, 20%);
}
}
// buttons!
// thought of the day:
// "every great atrocity is the result of people just following orders"
@ -129,6 +104,26 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
}
}
.btn-secondary {
background-color: white;
border-color: $cyland--button-color;
color: $cyland--button-color;
&:hover,
&:active,
&:focus,
&:active:hover,
&:active:focus,
&:active.focus,
&.active:hover,
&.active:focus,
&.active.focus {
background-color: $cyland--button-color;
border-color: $cyland--button-color;
color: white;
}
}
.open > .btn-default.dropdown-toggle:hover,
.open > .btn-default.dropdown-toggle:focus,
.open > .btn-default.dropdown-toggle.focus,
@ -148,6 +143,31 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
}
}
// disabled buttons
.client--cyland {
.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($cyland--button-color, 20%);
border-color: darken($cyland--button-color, 20%);
}
}
// spinner!
.client--cyland {
.btn-spinner {
@ -182,4 +202,20 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
.client--cyland .acl-information-dropdown-list .title {
color: $cyland--button-color;
}
.client--cyland .action-file.icon-ascribe-ok,
.client--cyland .action-file.icon-ascribe-ok:hover {
color: $cyland--nav-fg-prim-color;
}
.client--cyland .ascribe-progress-bar span {
text-shadow: -1px 0 $cyland--nav-fg-prim-color,
0 1px $cyland--nav-fg-prim-color,
1px 0 $cyland--nav-fg-prim-color,
0 -1px $cyland--nav-fg-prim-color;
}
.client--cyland .upload-button-wrapper > span {
color: $cyland--button-color;
}

View File

@ -411,6 +411,26 @@ $ikono--font: 'Helvetica Neue', 'Helvetica', sans-serif !important;
}
}
.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;
}
}
.open > .btn-default.dropdown-toggle:hover,
.open > .btn-default.dropdown-toggle:focus,
.open > .btn-default.dropdown-toggle.focus,
@ -524,4 +544,20 @@ $ikono--font: 'Helvetica Neue', 'Helvetica', sans-serif !important;
.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;
}