1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2025-01-08 11:19:49 +00:00

🔧 Apply @all only to elements under .bluelib in module mode

This commit is contained in:
Steffo 2021-07-27 04:07:52 +02:00 committed by Stefano Pigozzi
parent 35b6e43643
commit f109c00675
5 changed files with 17 additions and 17 deletions

View file

@ -141,18 +141,18 @@
font-weight: 400; font-weight: 400;
} }
.bluelib, .bluelib,
.bluelib *, .bluelib .bluelib *,
.bluelib .all { .bluelib .all {
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1); color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
} }
.bluelib, .bluelib,
.bluelib *, .bluelib .bluelib *,
.bluelib .all, .bluelib .all,
.bluelib::before, .bluelib::before,
.bluelib *::before, .bluelib .bluelib *::before,
.bluelib .all::before, .bluelib .all::before,
.bluelib::after, .bluelib::after,
.bluelib *::after, .bluelib .bluelib *::after,
.bluelib .all::after { .bluelib .all::after {
box-sizing: border-box; box-sizing: border-box;
} }
@ -228,11 +228,11 @@
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.025); background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.025);
border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.1); border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.1);
} }
.bluelib .panel > *:first-child, .bluelib .panel > .bluelib *:first-child,
.bluelib .panel .all:first-child { .bluelib .panel .all:first-child {
margin-top: 0; margin-top: 0;
} }
.bluelib .panel > *:last-child, .bluelib .panel > .bluelib *:last-child,
.bluelib .panel .all:last-child { .bluelib .panel .all:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
@ -259,7 +259,7 @@
.bluelib .split > .panel { .bluelib .split > .panel {
margin: 0; margin: 0;
} }
.bluelib .split > *, .bluelib .split > .bluelib *,
.bluelib .split .all { .bluelib .split .all {
flex-grow: 1; flex-grow: 1;
flex-shrink: 0; flex-shrink: 0;

File diff suppressed because one or more lines are too long

View file

@ -141,18 +141,18 @@
font-weight: 400; font-weight: 400;
} }
.bluelib, .bluelib,
.bluelib *, .bluelib .bluelib *,
.bluelib .all { .bluelib .all {
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1); color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
} }
.bluelib, .bluelib,
.bluelib *, .bluelib .bluelib *,
.bluelib .all, .bluelib .all,
.bluelib::before, .bluelib::before,
.bluelib *::before, .bluelib .bluelib *::before,
.bluelib .all::before, .bluelib .all::before,
.bluelib::after, .bluelib::after,
.bluelib *::after, .bluelib .bluelib *::after,
.bluelib .all::after { .bluelib .all::after {
box-sizing: border-box; box-sizing: border-box;
} }
@ -228,11 +228,11 @@
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.025); background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.025);
border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.1); border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.1);
} }
.bluelib .panel > *:first-child, .bluelib .panel > .bluelib *:first-child,
.bluelib .panel .all:first-child { .bluelib .panel .all:first-child {
margin-top: 0; margin-top: 0;
} }
.bluelib .panel > *:last-child, .bluelib .panel > .bluelib *:last-child,
.bluelib .panel .all:last-child { .bluelib .panel .all:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
@ -259,7 +259,7 @@
.bluelib .split > .panel { .bluelib .split > .panel {
margin: 0; margin: 0;
} }
.bluelib .split > *, .bluelib .split > .bluelib *,
.bluelib .split .all { .bluelib .split .all {
flex-grow: 1; flex-grow: 1;
flex-shrink: 0; flex-shrink: 0;

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
@bluelib: ~".bluelib"; @bluelib: ~".bluelib";
@all: ~"*, .all"; @all: ~".bluelib *, .all";
@layout: ~".layout"; @layout: ~".layout";
@layout-fill: ~".layout-fill"; @layout-fill: ~".layout-fill";