From 1b806bb47b8c7fad665d50bddc3c29011fc97e9a Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Tue, 7 Mar 2023 11:03:39 +0000 Subject: [PATCH] Remove obsolete mx_BetaDot style rules introduced for Space release (#10286) Signed-off-by: Suguru Hirahara --- res/css/structures/_SpacePanel.pcss | 6 --- res/css/views/beta/_BetaCard.pcss | 61 ----------------------------- 2 files changed, 67 deletions(-) diff --git a/res/css/structures/_SpacePanel.pcss b/res/css/structures/_SpacePanel.pcss index 70c65b3f74..1ace17cf67 100644 --- a/res/css/structures/_SpacePanel.pcss +++ b/res/css/structures/_SpacePanel.pcss @@ -111,12 +111,6 @@ $activeBorderColor: $primary-content; .mx_SpaceItem_new { position: relative; - - .mx_BetaDot { - position: absolute; - left: 33px; - top: -5px; - } } .mx_SpaceItem:not(.hasSubSpaces) > .mx_SpaceButton { diff --git a/res/css/views/beta/_BetaCard.pcss b/res/css/views/beta/_BetaCard.pcss index 59244783d9..e4e4db01e5 100644 --- a/res/css/views/beta/_BetaCard.pcss +++ b/res/css/views/beta/_BetaCard.pcss @@ -137,64 +137,3 @@ limitations under the License. cursor: pointer; } } - -$pulse-color: $accent-alt; -$dot-size: 12px; - -.mx_BetaDot { - border-radius: 50%; - margin: 10px; - height: $dot-size; - width: $dot-size; - transform: scale(1); - background: rgba($pulse-color, 1); - animation: mx_Beta_bluePulse 2s infinite; - animation-iteration-count: 20; - position: relative; - pointer-events: none; - - &::after { - content: ""; - position: absolute; - width: inherit; - height: inherit; - top: 0; - left: 0; - transform: scale(1); - transform-origin: center center; - animation-name: mx_Beta_bluePulse_shadow; - animation-duration: inherit; - animation-iteration-count: inherit; - border-radius: 50%; - background: rgba($pulse-color, 1); - } -} - -@keyframes mx_Beta_bluePulse { - 0% { - transform: scale(0.95); - } - - 70% { - transform: scale(1); - } - - 100% { - transform: scale(0.95); - } -} - -@keyframes mx_Beta_bluePulse_shadow { - 0% { - opacity: 0.7; - } - - 70% { - transform: scale(2.2); - opacity: 0; - } - - 100% { - opacity: 0; - } -}