Commit a7df63ff authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui
Browse files

Improve the contrast level bar CSS

parent 00c83a66
Pipeline #99167 passed with stages
in 6 minutes and 28 seconds
......@@ -22,10 +22,13 @@
border: 1px solid darker(@background_color);
box-shadow: 0 0;
}
.main-window .main-container {
background: @background_color;
}
.preview {
.main-window .level-box ,
.main-window .preview {
padding: 12px;
background-color: @background_color;
}
.preview-head{
......@@ -34,10 +37,6 @@
color: @foreground_color;
}
.main-window .level-box {
background: @background_color;
padding: 12px;
}
.level-label {
font-size: 16px;
color: @foreground_color;
......
......@@ -20,6 +20,7 @@ impl ContrastLevelBar {
fn init(&self) {
self.widget.set_halign(gtk::Align::Fill);
self.widget.set_vexpand(true);
self.widget.get_style_context().add_class("level-box");
self.levelbar.get_style_context().add_class("levelbar");
......
......@@ -100,6 +100,7 @@ impl Window {
fn setup_widgets(&self) {
let container = gtk::Box::new(gtk::Orientation::Vertical, 0);
container.get_style_context().add_class("main-container");
container.show();
let reverse_btn = gtk::Button::new();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment