Increment an existing reaction
This allows you to increment an existing reaction below a message by clicking on it. At the moment, this is not linked to the action bar, so they each are using local state. We'll likely want to add some mechanism so that we can local echo to both of these UI areas at the same time, but that can be done separately. Fixes https://github.com/vector-im/riot-web/issues/9486
This commit is contained in:
@@ -23,8 +23,14 @@ limitations under the License.
|
||||
border: 1px solid $reaction-row-button-border-color;
|
||||
border-radius: 10px;
|
||||
background-color: $reaction-row-button-bg-color;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
border-color: $reaction-row-button-hover-border-color;
|
||||
}
|
||||
|
||||
&.mx_ReactionsRowButton_selected {
|
||||
background-color: $reaction-row-button-selected-bg-color;
|
||||
border-color: $reaction-row-button-selected-border-color;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -154,6 +154,8 @@ $message-action-bar-hover-border-color: $header-panel-text-primary-color;
|
||||
$reaction-row-button-bg-color: $header-panel-bg-color;
|
||||
$reaction-row-button-border-color: #616b7f;
|
||||
$reaction-row-button-hover-border-color: $header-panel-text-primary-color;
|
||||
$reaction-row-button-selected-bg-color: #1f6954;
|
||||
$reaction-row-button-selected-border-color: $accent-color;
|
||||
|
||||
// ***** Mixins! *****
|
||||
|
||||
|
||||
@@ -262,6 +262,8 @@ $message-action-bar-hover-border-color: #b8c1d2;
|
||||
$reaction-row-button-bg-color: $header-panel-bg-color;
|
||||
$reaction-row-button-border-color: #e9edf1;
|
||||
$reaction-row-button-hover-border-color: #bebebe;
|
||||
$reaction-row-button-selected-bg-color: #e9fff9;
|
||||
$reaction-row-button-selected-border-color: $accent-color;
|
||||
|
||||
// ***** Mixins! *****
|
||||
|
||||
|
||||
Reference in New Issue
Block a user