Commit 2abafa14 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui

Merge branch 'wip/cdavis/fix-styles' into 'master'

Remove redundant and empty style classes See merge request GNOME/gnome-tour!59
parents 3df8b87e 63e4d0b0
.large-title {
font-weight: 300;
font-size: 24pt;
letter-spacing: 0.2rem;
}
.page-title {
font-weight: 600;
font-size: 20pt;
}
.page-body {
font-weight: 400;
font-size: 12pt;
}
.video {
opacity: 0;
}
......@@ -62,7 +49,3 @@ window .titlebar button {
background-position: center 30%;
animation: left-and-right 2s ease-in-out infinite alternate;
}
.last-page { }
.last-page .page-title, .last-page .page-body { }
......@@ -48,7 +48,7 @@ impl ImagePageWidget {
.valign(gtk::Align::Center)
.margin_top(36)
.build();
head_label.add_css_class("page-title");
head_label.add_css_class("title-1");
container.append(&head_label);
let body_label = gtk::Label::builder()
......@@ -59,7 +59,6 @@ impl ImagePageWidget {
.valign(gtk::Align::Center)
.margin_top(12)
.build();
body_label.add_css_class("page-body");
container.append(&body_label);
self.widget.append(&clamp);
......
......@@ -158,7 +158,7 @@ impl WelcomePageWidget {
let title = gtk::Label::new(Some(&gettext("Start the Tour")));
title.set_margin_top(36);
title.add_css_class("page-title");
title.add_css_class("title-1");
container.append(&title);
let name = glib::os_info("NAME").unwrap_or_else(|| "GNOME".into());
......
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