Begin CSS styling
This commit is contained in:
parent
ae36c5d62e
commit
cbadc88044
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
nbcl/config/config.nbcl
|
nbcl/config/config.nbcl
|
||||||
scss/local/
|
scss/local/
|
||||||
dprint.json
|
dprint.json
|
||||||
|
ewwii.core
|
||||||
|
|||||||
@ -1,4 +1,9 @@
|
|||||||
|
/* Reset all GTK styles */
|
||||||
* {
|
* {
|
||||||
all: unset;
|
all: unset;
|
||||||
box-sizing: border-box;
|
}
|
||||||
|
|
||||||
|
/* Top bar */
|
||||||
|
.ewwii_panel {
|
||||||
|
background-color: rgba(95, 95, 95, .404);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
# Example config
|
# Example config
|
||||||
|
|
||||||
const panel_height = 27
|
const panel_height = 27
|
||||||
|
const panel_width = 1366
|
||||||
@ -2,6 +2,9 @@ component EwwiiPanel () {
|
|||||||
Box {
|
Box {
|
||||||
orinetation = "horizontal"
|
orinetation = "horizontal"
|
||||||
halign = "center"
|
halign = "center"
|
||||||
|
class = "ewwii_panel"
|
||||||
|
height = config.panel_height
|
||||||
|
width = config.panel_width
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
widget_name = "panel_comp_sample_text"
|
widget_name = "panel_comp_sample_text"
|
||||||
|
|||||||
@ -1 +1,7 @@
|
|||||||
|
// Colors scheme: Glass
|
||||||
|
// Candifloss <candifloss@candifloss.cc>
|
||||||
|
// https://git.candifloss.cc/candifloss
|
||||||
|
|
||||||
|
// Common
|
||||||
|
$primary_bg: rgba(95, 95, 95, .404);
|
||||||
|
$primary_text_col: #ffffff;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
|
/* Reset all GTK styles */
|
||||||
* {
|
* {
|
||||||
all: unset;
|
all: unset;
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1 +1,2 @@
|
|||||||
@use "common/reset";
|
@use "common/reset";
|
||||||
|
@use "panel/panel";
|
||||||
|
|||||||
6
scss/panel/_panel.scss
Normal file
6
scss/panel/_panel.scss
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
@use "../colors/glass" as *;
|
||||||
|
|
||||||
|
/* Top bar */
|
||||||
|
.ewwii_panel {
|
||||||
|
background-color: $primary_bg;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user