1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00

🔧 Don't use the class for @all in root mode

This commit is contained in:
Steffo 2021-07-27 04:08:13 +02:00 committed by Stefano Pigozzi
parent f109c00675
commit 95245d40cd
5 changed files with 13 additions and 89 deletions

View file

@ -144,29 +144,21 @@ body,
body, body,
.bluelib, .bluelib,
body *, body *,
.bluelib *, .bluelib * {
body .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);
} }
body, body,
.bluelib, .bluelib,
body *, body *,
.bluelib *, .bluelib *,
body .all,
.bluelib .all,
body::before, body::before,
.bluelib::before, .bluelib::before,
body *::before, body *::before,
.bluelib *::before, .bluelib *::before,
body .all::before,
.bluelib .all::before,
body::after, body::after,
.bluelib::after, .bluelib::after,
body *::after, body *::after,
.bluelib *::after, .bluelib *::after {
body .all::after,
.bluelib .all::after {
box-sizing: border-box; box-sizing: border-box;
} }
body .layout, body .layout,
@ -280,21 +272,7 @@ body blockquote > *:first-child,
body .panel-aside > *:first-child, body .panel-aside > *:first-child,
.bluelib .panel-aside > *:first-child, .bluelib .panel-aside > *:first-child,
body aside > *:first-child, body aside > *:first-child,
.bluelib aside > *:first-child, .bluelib aside > *:first-child {
body .panel .all:first-child,
.bluelib .panel .all:first-child,
body section .all:first-child,
.bluelib section .all:first-child,
body .panel-box .all:first-child,
.bluelib .panel-box .all:first-child,
body .panel-blockquote .all:first-child,
.bluelib .panel-blockquote .all:first-child,
body blockquote .all:first-child,
.bluelib blockquote .all:first-child,
body .panel-aside .all:first-child,
.bluelib .panel-aside .all:first-child,
body aside .all:first-child,
.bluelib aside .all:first-child {
margin-top: 0; margin-top: 0;
} }
body .panel > *:last-child, body .panel > *:last-child,
@ -310,21 +288,7 @@ body blockquote > *:last-child,
body .panel-aside > *:last-child, body .panel-aside > *:last-child,
.bluelib .panel-aside > *:last-child, .bluelib .panel-aside > *:last-child,
body aside > *:last-child, body aside > *:last-child,
.bluelib aside > *:last-child, .bluelib aside > *:last-child {
body .panel .all:last-child,
.bluelib .panel .all:last-child,
body section .all:last-child,
.bluelib section .all:last-child,
body .panel-box .all:last-child,
.bluelib .panel-box .all:last-child,
body .panel-blockquote .all:last-child,
.bluelib .panel-blockquote .all:last-child,
body blockquote .all:last-child,
.bluelib blockquote .all:last-child,
body .panel-aside .all:last-child,
.bluelib .panel-aside .all:last-child,
body aside .all:last-child,
.bluelib aside .all:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
body section, body section,
@ -374,9 +338,7 @@ body .split aside,
margin: 0; margin: 0;
} }
body .split > *, body .split > *,
.bluelib .split > *, .bluelib .split > * {
body .split .all,
.bluelib .split .all {
flex-grow: 1; flex-grow: 1;
flex-shrink: 0; flex-shrink: 0;
flex-basis: 0; flex-basis: 0;

File diff suppressed because one or more lines are too long

View file

@ -144,29 +144,21 @@ body,
body, body,
.bluelib, .bluelib,
body *, body *,
.bluelib *, .bluelib * {
body .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);
} }
body, body,
.bluelib, .bluelib,
body *, body *,
.bluelib *, .bluelib *,
body .all,
.bluelib .all,
body::before, body::before,
.bluelib::before, .bluelib::before,
body *::before, body *::before,
.bluelib *::before, .bluelib *::before,
body .all::before,
.bluelib .all::before,
body::after, body::after,
.bluelib::after, .bluelib::after,
body *::after, body *::after,
.bluelib *::after, .bluelib *::after {
body .all::after,
.bluelib .all::after {
box-sizing: border-box; box-sizing: border-box;
} }
body .layout, body .layout,
@ -280,21 +272,7 @@ body blockquote > *:first-child,
body .panel-aside > *:first-child, body .panel-aside > *:first-child,
.bluelib .panel-aside > *:first-child, .bluelib .panel-aside > *:first-child,
body aside > *:first-child, body aside > *:first-child,
.bluelib aside > *:first-child, .bluelib aside > *:first-child {
body .panel .all:first-child,
.bluelib .panel .all:first-child,
body section .all:first-child,
.bluelib section .all:first-child,
body .panel-box .all:first-child,
.bluelib .panel-box .all:first-child,
body .panel-blockquote .all:first-child,
.bluelib .panel-blockquote .all:first-child,
body blockquote .all:first-child,
.bluelib blockquote .all:first-child,
body .panel-aside .all:first-child,
.bluelib .panel-aside .all:first-child,
body aside .all:first-child,
.bluelib aside .all:first-child {
margin-top: 0; margin-top: 0;
} }
body .panel > *:last-child, body .panel > *:last-child,
@ -310,21 +288,7 @@ body blockquote > *:last-child,
body .panel-aside > *:last-child, body .panel-aside > *:last-child,
.bluelib .panel-aside > *:last-child, .bluelib .panel-aside > *:last-child,
body aside > *:last-child, body aside > *:last-child,
.bluelib aside > *:last-child, .bluelib aside > *:last-child {
body .panel .all:last-child,
.bluelib .panel .all:last-child,
body section .all:last-child,
.bluelib section .all:last-child,
body .panel-box .all:last-child,
.bluelib .panel-box .all:last-child,
body .panel-blockquote .all:last-child,
.bluelib .panel-blockquote .all:last-child,
body blockquote .all:last-child,
.bluelib blockquote .all:last-child,
body .panel-aside .all:last-child,
.bluelib .panel-aside .all:last-child,
body aside .all:last-child,
.bluelib aside .all:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
body section, body section,
@ -374,9 +338,7 @@ body .split aside,
margin: 0; margin: 0;
} }
body .split > *, body .split > *,
.bluelib .split > *, .bluelib .split > * {
body .split .all,
.bluelib .split .all {
flex-grow: 1; flex-grow: 1;
flex-shrink: 0; flex-shrink: 0;
flex-basis: 0; flex-basis: 0;

File diff suppressed because one or more lines are too long

View file

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