mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 23:34:14 +01:00
Properly style call buttons across app, when already in a call
This commit is contained in:
@@ -171,21 +171,38 @@
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
&--in-another-call {
|
||||
@include light-theme {
|
||||
opacity: 0.5;
|
||||
}
|
||||
@include dark-theme {
|
||||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:disabled) {
|
||||
@include light-theme {
|
||||
&:hover,
|
||||
&:focus {
|
||||
&:hover {
|
||||
background: $color-gray-02;
|
||||
}
|
||||
&:focus {
|
||||
@include keyboard-mode {
|
||||
background: $color-gray-02;
|
||||
}
|
||||
}
|
||||
&:active {
|
||||
background: $color-gray-05;
|
||||
}
|
||||
}
|
||||
@include dark-theme {
|
||||
&:hover,
|
||||
&:focus {
|
||||
&:hover {
|
||||
background: $color-gray-80;
|
||||
}
|
||||
&:focus {
|
||||
@include keyboard-mode {
|
||||
background: $color-gray-02;
|
||||
}
|
||||
}
|
||||
&:active {
|
||||
background: $color-gray-75;
|
||||
}
|
||||
@@ -281,13 +298,13 @@
|
||||
}
|
||||
|
||||
&:not(:disabled) {
|
||||
// Override hover state coming from __button above.
|
||||
&:hover {
|
||||
// Override hover/focus/active state coming from __button above.
|
||||
&:hover,
|
||||
&:active {
|
||||
@include any-theme {
|
||||
background-color: darken($background, 16%);
|
||||
}
|
||||
}
|
||||
|
||||
&:focus {
|
||||
@include keyboard-mode {
|
||||
background-color: darken($background, 16%);
|
||||
|
||||
Reference in New Issue
Block a user