1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 03:24:20 +00:00

🔧 Add .all to @all in case an override is needed

This commit is contained in:
Steffo 2021-07-23 19:33:28 +02:00 committed by Stefano Pigozzi
parent 59c42583e2
commit 3fb2679646
10 changed files with 26 additions and 14 deletions

View file

@ -142,7 +142,8 @@
font-weight: 400; font-weight: 400;
} }
.bluelib, .bluelib,
.bluelib * { .bluelib *,
.bluelib .all {
box-sizing: border-box; box-sizing: border-box;
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);
/* Disable outline, as we already highlight focused elements; if it's not enough, let me know */ /* Disable outline, as we already highlight focused elements; if it's not enough, let me know */
@ -191,7 +192,8 @@
gap: 8px; gap: 8px;
justify-content: center; justify-content: center;
} }
.bluelib .panel-split > * { .bluelib .panel-split > *,
.bluelib .panel-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

@ -145,7 +145,9 @@ body,
body, body,
.bluelib, .bluelib,
body *, body *,
.bluelib * { .bluelib *,
body .all,
.bluelib .all {
box-sizing: border-box; box-sizing: border-box;
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);
/* Disable outline, as we already highlight focused elements; if it's not enough, let me know */ /* Disable outline, as we already highlight focused elements; if it's not enough, let me know */
@ -769,7 +771,9 @@ body .panel-split,
justify-content: center; justify-content: center;
} }
body .panel-split > *, body .panel-split > *,
.bluelib .panel-split > * { .bluelib .panel-split > *,
body .panel-split .all,
.bluelib .panel-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

@ -142,7 +142,8 @@
font-weight: 400; font-weight: 400;
} }
.bluelib, .bluelib,
.bluelib * { .bluelib *,
.bluelib .all {
box-sizing: border-box; box-sizing: border-box;
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);
/* Disable outline, as we already highlight focused elements; if it's not enough, let me know */ /* Disable outline, as we already highlight focused elements; if it's not enough, let me know */
@ -191,7 +192,8 @@
gap: 8px; gap: 8px;
justify-content: center; justify-content: center;
} }
.bluelib .panel-split > * { .bluelib .panel-split > *,
.bluelib .panel-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

@ -145,7 +145,9 @@ body,
body, body,
.bluelib, .bluelib,
body *, body *,
.bluelib * { .bluelib *,
body .all,
.bluelib .all {
box-sizing: border-box; box-sizing: border-box;
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);
/* Disable outline, as we already highlight focused elements; if it's not enough, let me know */ /* Disable outline, as we already highlight focused elements; if it's not enough, let me know */
@ -769,7 +771,9 @@ body .panel-split,
justify-content: center; justify-content: center;
} }
body .panel-split > *, body .panel-split > *,
.bluelib .panel-split > * { .bluelib .panel-split > *,
body .panel-split .all,
.bluelib .panel-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: ~".bluelib"; @bluelib: ~".bluelib";
@all: ~"*"; @all: ~"*, .all";
@container-main: ~".container-main"; @container-main: ~".container-main";
@panel: ~".panel"; @panel: ~".panel";
@panel-box: ~".panel-box"; @panel-box: ~".panel-box";

View file

@ -1,5 +1,5 @@
@bluelib: ~"body, .bluelib"; @bluelib: ~"body, .bluelib";
@all: ~"*"; @all: ~"*, .all";
@container-main: ~"main, .container-main"; @container-main: ~"main, .container-main";
@panel: ~".panel, .panel-box, section, .panel-blockquote, blockquote, .panel-aside, aside, .panel-split"; @panel: ~".panel, .panel-box, section, .panel-blockquote, blockquote, .panel-aside, aside, .panel-split";
@panel-box: ~".panel-box, section, .panel-blockquote, blockquote, .panel-aside, aside"; @panel-box: ~".panel-box, section, .panel-blockquote, blockquote, .panel-aside, aside";