mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
859f2a8646
It can take some time to actually set the status message and see it play back as a committed event. This adds a spinner for immediate feedback so it's clear that something is happening. Fixes https://github.com/vector-im/riot-web/issues/8135.
65 lines
1.6 KiB
SCSS
65 lines
1.6 KiB
SCSS
/*
|
|
Copyright 2018 New Vector Ltd
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
.mx_StatusMessageContextMenu {
|
|
padding: 10px;
|
|
}
|
|
|
|
.mx_StatusMessageContextMenu_form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
input.mx_StatusMessageContextMenu_message {
|
|
border-radius: 4px;
|
|
border: 1px solid $input-border-color;
|
|
padding: 6.5px 11px;
|
|
background-color: $primary-bg-color;
|
|
font-weight: normal;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.mx_StatusMessageContextMenu_message::placeholder {
|
|
color: $memberstatus-placeholder-color;
|
|
}
|
|
|
|
.mx_StatusMessageContextMenu_actionContainer {
|
|
display: flex;
|
|
}
|
|
|
|
.mx_StatusMessageContextMenu_submit,
|
|
.mx_StatusMessageContextMenu_clear {
|
|
@mixin mx_DialogButton;
|
|
align-self: start;
|
|
font-size: 12px;
|
|
padding: 6px 1em;
|
|
border: 1px solid transparent;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.mx_StatusMessageContextMenu_submit[disabled] {
|
|
opacity: 0.49;
|
|
}
|
|
|
|
.mx_StatusMessageContextMenu_clear {
|
|
color: $warning-color;
|
|
background-color: transparent;
|
|
border: 1px solid $warning-color;
|
|
}
|
|
|
|
.mx_StatusMessageContextMenu_actionContainer .mx_Spinner {
|
|
justify-content: start;
|
|
}
|