mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Fix site disabled styles
This commit is contained in:
@@ -152,7 +152,8 @@ a:not(.button):focus {
|
|||||||
|
|
||||||
|
|
||||||
/* Behaviours */
|
/* Behaviours */
|
||||||
.button:disabled {
|
.button:disabled,
|
||||||
|
.button[disabled] {
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
.button:focus,
|
.button:focus,
|
||||||
@@ -163,24 +164,30 @@ a:not(.button):focus {
|
|||||||
border: initial;
|
border: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button:not(:disabled):hover {
|
.button:not(:disabled):hover,
|
||||||
|
.button:not([disabled]):hover {
|
||||||
background-color: var(--__photon__button_background_hover);
|
background-color: var(--__photon__button_background_hover);
|
||||||
}
|
}
|
||||||
.button:not(:disabled):hover:active {
|
.button:not(:disabled):hover:active,
|
||||||
|
.button:not([disabled]):hover:active {
|
||||||
background-color: var(--__photon__button_background_active);
|
background-color: var(--__photon__button_background_active);
|
||||||
}
|
}
|
||||||
|
|
||||||
.button--primary:not(:disabled):hover {
|
.button--primary:not(:disabled):hover,
|
||||||
|
.button--primary:not([disabled]):hover {
|
||||||
background-color: var(--__photon__button_background_primary_hover);
|
background-color: var(--__photon__button_background_primary_hover);
|
||||||
}
|
}
|
||||||
.button--primary:not(:disabled):hover:active {
|
.button--primary:not(:disabled):hover:active,
|
||||||
|
.button--primary:not([disabled]):hover:active {
|
||||||
background-color: var(--__photon__button_background_primary_active);
|
background-color: var(--__photon__button_background_primary_active);
|
||||||
}
|
}
|
||||||
|
|
||||||
.button--ghost:not(:disabled):hover {
|
.button--ghost:not(:disabled):hover,
|
||||||
|
.button--ghost:not([disabled]):hover {
|
||||||
background-color: var(--__photon__button_background_ghost_hover);
|
background-color: var(--__photon__button_background_ghost_hover);
|
||||||
}
|
}
|
||||||
.button--ghost:not(:disabled):hover:active {
|
.button--ghost:not(:disabled):hover:active,
|
||||||
|
.button--ghost:not([disabled]):hover:active {
|
||||||
background-color: var(--__photon__button_background_ghost_active);
|
background-color: var(--__photon__button_background_ghost_active);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user