-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(daffio): enforce stylelint configurations (#3364)
- Loading branch information
Showing
49 changed files
with
383 additions
and
420 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
Empty file.
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,4 +1,4 @@ | ||
:host { | ||
display: block; | ||
overflow: hidden; | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
apps/daffio/src/app/content/not-found/component/not-found.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,3 +1,3 @@ | ||
.daffio-not-found { | ||
text-align: center; | ||
} | ||
text-align: center; | ||
} |
25 changes: 12 additions & 13 deletions
25
apps/daffio/src/app/content/support/component/support.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,18 +1,17 @@ | ||
@use 'utilities' as daff; | ||
|
||
/* autoprefixer grid: autoplace */ /* stylelint-disable-line scss/comment-no-loud */ | ||
.daffio-support { | ||
&__body { | ||
text-align: center; | ||
} | ||
&__body { | ||
text-align: center; | ||
} | ||
|
||
&__actions { | ||
display: inline-grid; | ||
grid-template-columns: 1fr; | ||
grid-gap: 16px; | ||
&__actions { | ||
display: inline-grid; | ||
grid-template-columns: 1fr; | ||
grid-gap: 16px; | ||
|
||
@include daff.breakpoint(tablet) { | ||
grid-template-columns: 1fr 1fr; | ||
} | ||
} | ||
} | ||
@include daff.breakpoint(tablet) { | ||
grid-template-columns: 1fr 1fr; | ||
} | ||
} | ||
} |
32 changes: 16 additions & 16 deletions
32
...affio/src/app/content/why-pwa/components/feature-comparison/feature-comparison-theme.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,20 +1,20 @@ | ||
@use 'sass:map'; | ||
@use 'theme' as daff-theme; | ||
|
||
@mixin daffio-feature-comparison-theme($theme){ | ||
$secondary: map.get($theme, secondary); | ||
$base: daff-theme.daff-map-deep-get($theme, "core.base"); | ||
$base-contrast: daff-theme.daff-map-deep-get($theme, "core.base-contrast"); | ||
.feature-comparison { | ||
background: $base; | ||
box-shadow: 0 0 30px 0 rgba($base-contrast, 0.05); | ||
> * { | ||
&:nth-child(4n-2) { | ||
background: daff-theme.daff-color($secondary); | ||
color: daff-theme.daff-text-contrast(daff-theme.daff-color($secondary)); | ||
} | ||
} | ||
} | ||
@mixin daffio-feature-comparison-theme($theme) { | ||
$secondary: map.get($theme, secondary); | ||
$base: daff-theme.daff-map-deep-get($theme, 'core.base'); | ||
$base-contrast: daff-theme.daff-map-deep-get($theme, 'core.base-contrast'); | ||
|
||
.daffio-feature-comparison { | ||
background: $base; | ||
box-shadow: 0 0 30px 0 rgba($base-contrast, 0.05); | ||
|
||
> * { | ||
&:nth-child(4n-2) { | ||
background: daff-theme.daff-color($secondary); | ||
color: daff-theme.daff-text-contrast(daff-theme.daff-color($secondary)); | ||
} | ||
} | ||
} | ||
} |
58 changes: 29 additions & 29 deletions
58
...o/src/app/content/why-pwa/components/feature-comparison/feature-comparison.component.html
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,36 @@ | ||
<div class="feature-comparison"> | ||
<div class="feature-comparison__header">Features</div> | ||
<div class="feature-comparison__header">PWA</div> | ||
<div class="feature-comparison__header">Native App</div> | ||
<div class="feature-comparison__header">Website</div> | ||
<div class="daffio-feature-comparison"> | ||
<div class="daffio-feature-comparison__header">Features</div> | ||
<div class="daffio-feature-comparison__header">PWA</div> | ||
<div class="daffio-feature-comparison__header">Native App</div> | ||
<div class="daffio-feature-comparison__header">Website</div> | ||
|
||
<div class="feature-comparison__cell">Offline Capability</div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell">Offline Capability</div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
|
||
<div class="feature-comparison__cell">Push Notifications</div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell">Push Notifications</div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
|
||
<div class="feature-comparison__cell">Home Screen Access</div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell">Home Screen Access</div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
|
||
<div class="feature-comparison__cell">No Installation Required</div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell">No Installation Required</div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
|
||
<div class="feature-comparison__cell">No Updates Required</div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell">No Updates Required</div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
|
||
<div class="feature-comparison__cell">Searchable and Linkable</div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
<div class="feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell">Searchable and Linkable</div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faTimes"></fa-icon></div> | ||
<div class="daffio-feature-comparison__cell"><fa-icon [icon]="faCheck"></fa-icon></div> | ||
</div> |
Oops, something went wrong.