mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Style thumbnail upload button for whitelabels
This commit is contained in:
parent
911860ccb5
commit
5772a5ad49
@ -208,3 +208,19 @@ $cc--button-color: $cc--nav-fg-prim-color;
|
|||||||
.client--cc .acl-information-dropdown-list .title {
|
.client--cc .acl-information-dropdown-list .title {
|
||||||
color: $cc--button-color;
|
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;
|
||||||
|
}
|
@ -68,31 +68,6 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
|
|||||||
display: none;
|
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!
|
// buttons!
|
||||||
// thought of the day:
|
// thought of the day:
|
||||||
// "every great atrocity is the result of people just following orders"
|
// "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:hover,
|
||||||
.open > .btn-default.dropdown-toggle:focus,
|
.open > .btn-default.dropdown-toggle:focus,
|
||||||
.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!
|
// spinner!
|
||||||
.client--cyland {
|
.client--cyland {
|
||||||
.btn-spinner {
|
.btn-spinner {
|
||||||
@ -183,3 +203,19 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
|
|||||||
.client--cyland .acl-information-dropdown-list .title {
|
.client--cyland .acl-information-dropdown-list .title {
|
||||||
color: $cyland--button-color;
|
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;
|
||||||
|
}
|
@ -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:hover,
|
||||||
.open > .btn-default.dropdown-toggle:focus,
|
.open > .btn-default.dropdown-toggle:focus,
|
||||||
.open > .btn-default.dropdown-toggle.focus,
|
.open > .btn-default.dropdown-toggle.focus,
|
||||||
@ -525,3 +545,19 @@ $ikono--font: 'Helvetica Neue', 'Helvetica', sans-serif !important;
|
|||||||
.client--ikonotv .acl-information-dropdown-list .title {
|
.client--ikonotv .acl-information-dropdown-list .title {
|
||||||
color: $ikono--button-color;
|
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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user