This file contains hidden or 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
FROM nginx:alpine | |
COPY nginx.conf /etc/nginx/nginx.conf | |
## Remove default nginx index page | |
RUN rm -rf /usr/share/nginx/html/* | |
COPY dist/apps usr/share/nginx/html | |
EXPOSE 80 |
This file contains hidden or 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
@mixin some-component-a { | |
.some-component { | |
display: inline; | |
body[lang='fr'] & div { | |
display: flex; | |
} | |
& div { | |
display: block; |
This file contains hidden or 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
@mixin if-direct-parent($parent-selectors) { | |
$current-sequences: &; | |
$new-sequences: (); | |
@each $parent-selector in $parent-selectors { | |
@each $sequence in $current-sequences { | |
$current-selector: nth($sequence, -1); | |
$prepended-selector: join($parent-selector, $current-selector); | |
$new-sequence: set-nth($sequence, -1, $prepended-selector); | |
$new-sequences: append($new-sequences, $new-sequence, comma); |
OlderNewer