Skip to content

Commit

Permalink
add margins
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed Oct 16, 2024
1 parent c4adb6b commit f067f01
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
26 changes: 20 additions & 6 deletions data/Application.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
@keyframes fancy-turn {
0% { -gtk-icon-transform: rotate(0deg); }
25% { -gtk-icon-transform: rotate(-30deg); }
50% { -gtk-icon-transform: rotate(0deg); }
75% { -gtk-icon-transform: rotate(30deg); }
100% { -gtk-icon-transform: rotate(0deg); }
0% {
-gtk-icon-transform: rotate(0deg);
}

25% {
-gtk-icon-transform: rotate(-30deg);
}

50% {
-gtk-icon-transform: rotate(0deg);
}

75% {
-gtk-icon-transform: rotate(30deg);
}

100% {
-gtk-icon-transform: rotate(0deg);
}
}

.fancy-turn.animation {
Expand All @@ -18,4 +32,4 @@

.fw-500 {
font-weight: 500;
}
}
7 changes: 4 additions & 3 deletions src/Views/Form.vala
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class Views.Form : Adw.Bin {
}

var project_name_header = new Granite.HeaderLabel (_("Project Name:")) {
valign = END
valign = CENTER
};

var project_name_info = new Gtk.MenuButton () {
Expand All @@ -45,7 +45,7 @@ public class Views.Form : Adw.Bin {
};
project_name_info.add_css_class (Granite.STYLE_CLASS_DIM_LABEL);
project_name_info.add_css_class (Granite.STYLE_CLASS_FLAT);

var project_name_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0) {
margin_top = 12
};
Expand All @@ -62,7 +62,7 @@ public class Views.Form : Adw.Bin {
};

var identifier_header = new Granite.HeaderLabel (_("Organization Identifier:")) {
valign = END
valign = CENTER
};

var identifier_info = new Gtk.MenuButton () {
Expand Down Expand Up @@ -130,6 +130,7 @@ public class Views.Form : Adw.Bin {
vexpand = true,
valign = END,
margin_bottom = 32,
margin_top = 12
};
buttons_box.append (back_button);
buttons_box.append (create_button);
Expand Down

0 comments on commit f067f01

Please sign in to comment.