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

🔧 Make the @bluelib element fill all available space

This commit is contained in:
Steffo 2021-08-17 17:26:35 +02:00
parent db2eecb26a
commit 885b9ffd71
Signed by: steffo
GPG key ID: 6965406171929D01
5 changed files with 12 additions and 3 deletions

View file

@ -301,6 +301,8 @@
} }
//</editor-fold>
/// ===== Root ===== /// ===== Root =====
/// The root element has some rules itself. /// The root element has some rules itself.
@ -309,6 +311,10 @@
// Set the background defined in the palette // Set the background defined in the palette
background-color: @rgb-background; background-color: @rgb-background;
// Make the element fill all available space
width: 100%;
height: 100%;
// Set the base color to the foreground defined in the palette // Set the base color to the foreground defined in the palette
.map-var-rgb(bluelib-color; bluelib-foreground); .map-var-rgb(bluelib-color; bluelib-foreground);
@ -317,7 +323,6 @@
//</editor-fold> //</editor-fold>
//</editor-fold>
/// ===== Layouts ===== /// ===== Layouts =====
/// Layouts arrange the content displayed inside the root. /// Layouts arrange the content displayed inside the root.

View file

@ -53,6 +53,8 @@
--bluelib-code-family: monospace; --bluelib-code-family: monospace;
--bluelib-code-weight: normal; --bluelib-code-weight: normal;
background-color: rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b)); background-color: rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
width: 100%;
height: 100%;
--bluelib-color-r: var(--bluelib-foreground-r); --bluelib-color-r: var(--bluelib-foreground-r);
--bluelib-color-g: var(--bluelib-foreground-g); --bluelib-color-g: var(--bluelib-foreground-g);
--bluelib-color-b: var(--bluelib-foreground-b); --bluelib-color-b: var(--bluelib-foreground-b);

File diff suppressed because one or more lines are too long

View file

@ -54,6 +54,8 @@ body,
--bluelib-code-family: monospace; --bluelib-code-family: monospace;
--bluelib-code-weight: normal; --bluelib-code-weight: normal;
background-color: rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b)); background-color: rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
width: 100%;
height: 100%;
--bluelib-color-r: var(--bluelib-foreground-r); --bluelib-color-r: var(--bluelib-foreground-r);
--bluelib-color-g: var(--bluelib-foreground-g); --bluelib-color-g: var(--bluelib-foreground-g);
--bluelib-color-b: var(--bluelib-foreground-b); --bluelib-color-b: var(--bluelib-foreground-b);

File diff suppressed because one or more lines are too long