Replace Sass variables with custom properties - mx_Indicator (#10808)

This commit is contained in:
Suguru Hirahara 2023-05-16 10:12:45 +00:00 committed by GitHub
parent 9bab356e20
commit ae692f712a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 14 deletions

View file

@ -262,12 +262,12 @@ limitations under the License.
position: absolute;
right: -3px;
top: -3px;
width: $dot-size;
height: $dot-size;
width: var(--RoomHeader-indicator-dot-size);
height: var(--RoomHeader-indicator-dot-size);
border-radius: 50%;
transform: scale(1);
background: rgba($pulse-color, 1);
box-shadow: 0 0 0 0 rgba($pulse-color, 1);
background: rgba(var(--RoomHeader-indicator-pulseColor), 1);
box-shadow: 0 0 0 0 rgba(var(--RoomHeader-indicator-pulseColor), 1);
animation: mx_Indicator_pulse 2s infinite;
animation-iteration-count: 1;