From 96f096057a834e319fea4e9cde554e138988a194 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Thu, 4 Feb 2021 06:24:27 -0800 Subject: [PATCH] login: Use HdyStatusPage and rounded buttons Related to https://gitlab.gnome.org/GNOME/fractal/-/issues/710 --- fractal-gtk/res/app.css | 5 ++ fractal-gtk/res/ui/login_flow.ui | 148 +++++++++++-------------------- 2 files changed, 59 insertions(+), 94 deletions(-) diff --git a/fractal-gtk/res/app.css b/fractal-gtk/res/app.css index 287913f4..3419f681 100644 --- a/fractal-gtk/res/app.css +++ b/fractal-gtk/res/app.css @@ -443,3 +443,8 @@ box.folded-history #clip-container { border-radius: 6px; } + +.pill-button { + border-radius: 9999px; + -gtk-outline-radius: 9999px; +} diff --git a/fractal-gtk/res/ui/login_flow.ui b/fractal-gtk/res/ui/login_flow.ui index 3ef45dca..f423a061 100644 --- a/fractal-gtk/res/ui/login_flow.ui +++ b/fractal-gtk/res/ui/login_flow.ui @@ -20,59 +20,46 @@ - + True False - center - center - True - vertical - 18 + True + True + chat-icon + Welcome to Fractal - + True False center - 18 - 18 - 18 - 128 - chat-icon - - - - - True - False - Welcome to Fractal - 48 - True - PANGO_WRAP_WORD_CHAR - - - - - - - - - True - True - _Log In - login.server_chooser - 48 - - - - - - True - True - _Create Account - 48 - login.create-account + vertical + 18 + 12 + + + True + True + _Log In + login.server_chooser + 48 + + + + + + True + True + _Create Account + 48 + login.create-account + + + @@ -129,46 +116,18 @@ - + True False - center - center - True - vertical - 18 - - - True - False - center - 18 - 18 - 128 - network-server-symbolic - - - - - - True - False - What is your Provider? - 30 - True - PANGO_WRAP_WORD_CHAR - - - - - - + True + True + network-server-symbolic + What is your Provider? True False + 12 vertical 6 @@ -193,19 +152,20 @@ - - - - - False - False - True - The domain may not be empty. - True - PANGO_WRAP_WORD_CHAR - + + + False + False + True + 12 + The domain may not be empty. + True + PANGO_WRAP_WORD_CHAR + + +