-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(components/tiles): remove
::ng-deep
from tile styles
- Loading branch information
1 parent
9c78db4
commit 5cf9188
Showing
5 changed files
with
55 additions
and
48 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
libs/components/tiles/src/lib/modules/tiles/tile-content/tile-content-section.component.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,8 +1,32 @@ | ||
@use 'libs/components/theme/src/lib/styles/mixins' as mixins; | ||
@use 'libs/components/theme/src/lib/styles/variables' as *; | ||
|
||
:host:not(:last-child) .sky-tile-content-section { | ||
@include mixins.sky-border(light); | ||
} | ||
|
||
:host-context(.sky-theme-modern sky-tile-content) { | ||
.sky-tile-content-section { | ||
border-bottom: 1px dotted $sky-theme-modern-color-gray-30; | ||
} | ||
|
||
:host:first-child { | ||
.sky-tile-content-section { | ||
margin-top: $sky-space-lg; | ||
} | ||
} | ||
|
||
:host:last-child { | ||
.sky-tile-content-section { | ||
padding-bottom: 0; | ||
border-bottom: none; | ||
} | ||
} | ||
} | ||
|
||
@include mixins.sky-theme-modern { | ||
.sky-tile-content-section { | ||
border-bottom: 1px dotted $sky-theme-modern-color-gray-30; | ||
padding: $sky-space-lg 0; | ||
} | ||
} |
8 changes: 0 additions & 8 deletions
8
libs/components/tiles/src/lib/modules/tiles/tile-content/tile-content.component.scss
This file was deleted.
Oops, something went wrong.
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