-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: extract css out of :host (#77)
- Loading branch information
Showing
6 changed files
with
57 additions
and
59 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
projects/clr-lift/src/lib/components/alert/alert.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,7 +1,7 @@ | ||
:host { | ||
display: block; | ||
} | ||
|
||
.alert-text { | ||
word-break: break-all; | ||
} | ||
.alert-text { | ||
word-break: break-all; | ||
} |
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
50 changes: 24 additions & 26 deletions
50
...s/clr-lift/src/lib/components/certificate-signpost/certificate/certificate.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,36 +1,34 @@ | ||
:host { | ||
.certificate-container { | ||
padding: 0 0.5rem 0.5rem; | ||
} | ||
.certificate-container { | ||
padding: 0 0.5rem 0.5rem; | ||
} | ||
|
||
.certificate-subtitle { | ||
margin-top: 1.2rem; | ||
margin-bottom: 0.7rem; | ||
font-weight: 500; | ||
.certificate-subtitle { | ||
margin-top: 1.2rem; | ||
margin-bottom: 0.7rem; | ||
font-weight: 500; | ||
|
||
&:first-of-type { | ||
margin-top: 0; | ||
} | ||
&:first-of-type { | ||
margin-top: 0; | ||
} | ||
} | ||
|
||
.certificate-content { | ||
display: grid; | ||
column-gap: 1rem; | ||
font-size: 0.6rem; | ||
.certificate-content { | ||
display: grid; | ||
column-gap: 1rem; | ||
font-size: 0.6rem; | ||
|
||
dt { | ||
font-weight: 500; | ||
} | ||
dt { | ||
font-weight: 500; | ||
} | ||
|
||
dd { | ||
margin-bottom: 0.5rem; | ||
} | ||
dd { | ||
margin-bottom: 0.5rem; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 768px) { | ||
.certificate-content { | ||
grid-template-columns: 1fr 2fr; | ||
font-size: 0.7rem; | ||
} | ||
@media screen and (min-width: 768px) { | ||
.certificate-content { | ||
grid-template-columns: 1fr 2fr; | ||
font-size: 0.7rem; | ||
} | ||
} |
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
18 changes: 9 additions & 9 deletions
18
projects/clr-lift/src/lib/components/spinner/spinner.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,14 +1,14 @@ | ||
:host { | ||
display: contents; | ||
} | ||
|
||
.spinner-block { | ||
margin-top: 1.5rem; | ||
margin-bottom: 1.5rem; | ||
display: block; | ||
} | ||
.spinner-block { | ||
margin-top: 1.5rem; | ||
margin-bottom: 1.5rem; | ||
display: block; | ||
} | ||
|
||
.mx-auto { | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
.mx-auto { | ||
margin-left: auto; | ||
margin-right: auto; | ||
} |
8 changes: 4 additions & 4 deletions
8
projects/clr-lift/src/lib/components/theme-toggle/theme-toggle.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,9 +1,9 @@ | ||
:host { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
cds-icon.theme-toggle, | ||
button:hover cds-icon.theme-toggle { | ||
color: hsl(198, 20%, 91%); | ||
} | ||
cds-icon.theme-toggle, | ||
button:hover cds-icon.theme-toggle { | ||
color: hsl(198, 20%, 91%); | ||
} |