Skip to content

Commit f067f01

Browse files
committed
add margins
1 parent c4adb6b commit f067f01

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

data/Application.css

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
@keyframes fancy-turn {
2-
0% { -gtk-icon-transform: rotate(0deg); }
3-
25% { -gtk-icon-transform: rotate(-30deg); }
4-
50% { -gtk-icon-transform: rotate(0deg); }
5-
75% { -gtk-icon-transform: rotate(30deg); }
6-
100% { -gtk-icon-transform: rotate(0deg); }
2+
0% {
3+
-gtk-icon-transform: rotate(0deg);
4+
}
5+
6+
25% {
7+
-gtk-icon-transform: rotate(-30deg);
8+
}
9+
10+
50% {
11+
-gtk-icon-transform: rotate(0deg);
12+
}
13+
14+
75% {
15+
-gtk-icon-transform: rotate(30deg);
16+
}
17+
18+
100% {
19+
-gtk-icon-transform: rotate(0deg);
20+
}
721
}
822

923
.fancy-turn.animation {
@@ -18,4 +32,4 @@
1832

1933
.fw-500 {
2034
font-weight: 500;
21-
}
35+
}

src/Views/Form.vala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class Views.Form : Adw.Bin {
3333
}
3434

3535
var project_name_header = new Granite.HeaderLabel (_("Project Name:")) {
36-
valign = END
36+
valign = CENTER
3737
};
3838

3939
var project_name_info = new Gtk.MenuButton () {
@@ -45,7 +45,7 @@ public class Views.Form : Adw.Bin {
4545
};
4646
project_name_info.add_css_class (Granite.STYLE_CLASS_DIM_LABEL);
4747
project_name_info.add_css_class (Granite.STYLE_CLASS_FLAT);
48-
48+
4949
var project_name_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0) {
5050
margin_top = 12
5151
};
@@ -62,7 +62,7 @@ public class Views.Form : Adw.Bin {
6262
};
6363

6464
var identifier_header = new Granite.HeaderLabel (_("Organization Identifier:")) {
65-
valign = END
65+
valign = CENTER
6666
};
6767

6868
var identifier_info = new Gtk.MenuButton () {
@@ -130,6 +130,7 @@ public class Views.Form : Adw.Bin {
130130
vexpand = true,
131131
valign = END,
132132
margin_bottom = 32,
133+
margin_top = 12
133134
};
134135
buttons_box.append (back_button);
135136
buttons_box.append (create_button);

0 commit comments

Comments
 (0)