-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IBX-9274: Context menu does not show up in 'Location' folder
- Loading branch information
Showing
3 changed files
with
27 additions
and
11 deletions.
There are no files selected for viewing
22 changes: 16 additions & 6 deletions
22
src/bundle/Resources/public/scss/ui/modules/common/_spinner.scss
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,21 @@ | ||
@use 'sass:list'; | ||
|
||
.c-spinner { | ||
@include spinner(calculateRem(26px), calculateRem(3px), $ibexa-color-primary); | ||
$color-variants: ( | ||
'--primary': $ibexa-color-primary, | ||
'--light': $ibexa-color-white, | ||
); | ||
|
||
&--small { | ||
@include spinner(calculateRem(16px), calculateRem(2px), $ibexa-color-primary); | ||
} | ||
$size-variants: ( | ||
'--small': calculateRem(16px) calculateRem(2px), | ||
'--large': calculateRem(86px) calculateRem(6px), | ||
); | ||
|
||
&--large { | ||
@include spinner(calculateRem(86px), calculateRem(6px), $ibexa-color-primary); | ||
@each $size-modifier, $sizes in $size-variants { | ||
@each $color-modifier, $color in $color-variants { | ||
&#{$size-modifier}.c-spinner#{$color-modifier} { | ||
@include spinner(list.nth($sizes, 1), list.nth($sizes, 2), $color); | ||
} | ||
} | ||
} | ||
} |
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
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