forked from nrkno/sofie-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: properties panel - element selection styling
- Loading branch information
Showing
1 changed file
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
@import '_variables'; | ||
|
||
.element-selected { | ||
animation: blinker 1.5s linear infinite; | ||
// Base glow | ||
box-shadow: inset 0 0 15px var(--primary-color, #ffffff7a); | ||
// Changed animation name from 'blinker' to 'glow' to better reflect its purpose | ||
animation: glow 1s ease-in-out infinite; | ||
|
||
@keyframes blinker { | ||
20% { | ||
opacity: 0.2; | ||
} | ||
} | ||
} | ||
@keyframes glow { | ||
0%, 100% { | ||
box-shadow: inset 0 0 15px var(--primary-color, #ffffff7b); | ||
} | ||
50% { | ||
box-shadow: inset 0 0 20px var(--primary-color, #ffffff84), | ||
inset 0 0 30px var(--primary-light-color, #ffffff86); | ||
} | ||
} | ||
} |