Commit ca6a5684 authored by Adrien Plazas's avatar Adrien Plazas Committed by Alexander Mikhaylenko
Browse files

preferences-page: Implement the margins via CSS

This makes the widget more flexible.
parent 2b67e133
Pipeline #240500 passed with stages
in 15 minutes and 57 seconds
......@@ -12,10 +12,6 @@
<property name="visible">True</property>
<child>
<object class="HdyClamp">
<property name="margin-bottom">18</property>
<property name="margin-end">12</property>
<property name="margin-start">12</property>
<property name="margin-top">18</property>
<property name="visible">True</property>
<child>
<object class="GtkBox" id="box">
......
......@@ -83,6 +83,8 @@ statuspage > scrolledwindow > viewport > box > clamp > box > .title { margin-bot
statuspage > scrolledwindow > viewport > box > clamp > box > .description { margin-bottom: 36px; }
preferencespage > scrolledwindow > viewport > clamp { margin: 18px 12px; }
preferencesgroup > box > label:not(:first-child) { margin-top: 6px; }
preferencesgroup > box > box:not(:first-child) { margin-top: 12px; }
......
......@@ -83,6 +83,8 @@ statuspage > scrolledwindow > viewport > box > clamp > box > .title { margin-bot
statuspage > scrolledwindow > viewport > box > clamp > box > .description { margin-bottom: 36px; }
preferencespage > scrolledwindow > viewport > clamp { margin: 18px 12px; }
preferencesgroup > box > label:not(:first-child) { margin-top: 6px; }
preferencesgroup > box > box:not(:first-child) { margin-top: 12px; }
......
......@@ -83,6 +83,8 @@ statuspage > scrolledwindow > viewport > box > clamp > box > .title { margin-bot
statuspage > scrolledwindow > viewport > box > clamp > box > .description { margin-bottom: 36px; }
preferencespage > scrolledwindow > viewport > clamp { margin: 18px 12px; }
preferencesgroup > box > label:not(:first-child) { margin-top: 6px; }
preferencesgroup > box > box:not(:first-child) { margin-top: 12px; }
......
......@@ -83,6 +83,8 @@ statuspage > scrolledwindow > viewport > box > clamp > box > .title { margin-bot
statuspage > scrolledwindow > viewport > box > clamp > box > .description { margin-bottom: 36px; }
preferencespage > scrolledwindow > viewport > clamp { margin: 18px 12px; }
preferencesgroup > box > label:not(:first-child) { margin-top: 6px; }
preferencesgroup > box > box:not(:first-child) { margin-top: 12px; }
......
......@@ -171,6 +171,10 @@ statuspage > scrolledwindow > viewport > box {
// Preferences
preferencespage > scrolledwindow > viewport > clamp {
margin: 18px 12px;
}
preferencesgroup > box {
// Add space between the description and the title.
> label:not(:first-child) {
......
......@@ -83,6 +83,8 @@ statuspage > scrolledwindow > viewport > box > clamp > box > .title { margin-bot
statuspage > scrolledwindow > viewport > box > clamp > box > .description { margin-bottom: 36px; }
preferencespage > scrolledwindow > viewport > clamp { margin: 18px 12px; }
preferencesgroup > box > label:not(:first-child) { margin-top: 6px; }
preferencesgroup > box > box:not(:first-child) { margin-top: 12px; }
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