-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: unnesting minimap styles (#253)
- Loading branch information
Showing
5 changed files
with
50 additions
and
59 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,48 @@ | ||
.svg-linker-root__button.svg-linker-root__button--disabled { | ||
cursor: default; | ||
&.svg-linker-root__button--regular { | ||
& rect:first-child { | ||
fill: transparent; | ||
stroke: var(--color-border); | ||
} | ||
|
||
& path { | ||
fill: var(--color-text-disabled); | ||
} | ||
|
||
&:hover rect:first-child { | ||
fill: transparent; | ||
} | ||
} | ||
|
||
&.svg-linker-root__button--drop-shadow { | ||
& > g > g > rect { | ||
fill: var(--mp-brand-secondary-3); | ||
} | ||
|
||
& path { | ||
fill: var(--color-text-disabled); | ||
} | ||
|
||
&:hover { | ||
filter: none; | ||
} | ||
} | ||
|
||
&.svg-linker-root__button--black { | ||
& rect:first-child { | ||
fill: var(--mp-brand-secondary-6); | ||
} | ||
|
||
&:hover rect:first-child { | ||
fill: var(--mp-brand-secondary-6); | ||
} | ||
} | ||
} | ||
|
||
.svg-linker-root__button { | ||
&.svg-linker-root__button--drop-shadow:hover { | ||
filter: drop-shadow(0px 9px 28px rgba(0, 0, 0, 0.05)) | ||
drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.12)) | ||
drop-shadow(0px 6px 16px rgba(0, 0, 0, 0.08)); | ||
} | ||
|
||
&.svg-linker-root__button--regular:hover rect:first-child { | ||
fill: var(--mp-brand-primary-2); | ||
} | ||
|
||
&.svg-linker-root__button--black:hover rect:first-child { | ||
fill: var(--mp-brand-secondary-7); | ||
} | ||
} | ||
|
||
.svg-linker-root__button.svg-linker-root__button--disabled.svg-linker-root__button--regular rect:first-child { | ||
fill: transparent; | ||
stroke: var(--color-border); | ||
} | ||
|
||
.svg-linker-root__button.svg-linker-root__button--disabled.svg-linker-root__button--regular path { | ||
fill: var(--color-text-disabled); | ||
} | ||
|
||
.svg-linker-root__button.svg-linker-root__button--disabled.svg-linker-root__button--regular:hover rect:first-child { | ||
fill: transparent; | ||
} | ||
|
||
.svg-linker-root__button.svg-linker-root__button--disabled.svg-linker-root__button--drop-shadow > g > g > rect { | ||
fill: var(--mp-brand-secondary-3); | ||
} | ||
|
||
.svg-linker-root__button.svg-linker-root__button--disabled.svg-linker-root__button--drop-shadow path { | ||
fill: var(--color-text-disabled); | ||
} | ||
|
||
.svg-linker-root__button.svg-linker-root__button--disabled.svg-linker-root__button--drop-shadow:hover { | ||
filter: none; | ||
} | ||
|
||
.svg-linker-root__button.svg-linker-root__button--disabled.svg-linker-root__button--black rect:first-child { | ||
fill: var(--mp-brand-secondary-6); | ||
} | ||
|
||
.svg-linker-root__button.svg-linker-root__button--disabled.svg-linker-root__button--black:hover rect:first-child { | ||
fill: var(--mp-brand-secondary-6); | ||
} | ||
|
||
.svg-linker-root__button.svg-linker-root__button--drop-shadow:hover { | ||
filter: drop-shadow(0px 9px 28px rgba(0, 0, 0, 0.05)) drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.12)) drop-shadow(0px 6px 16px rgba(0, 0, 0, 0.08)); | ||
} | ||
|
||
.svg-linker-root__button.svg-linker-root__button--regular:hover rect:first-child { | ||
fill: var(--mp-brand-primary-2); | ||
} | ||
|
||
.svg-linker-root__button.svg-linker-root__button--black:hover rect:first-child { | ||
fill: var(--mp-brand-secondary-7); | ||
} |