From 338e2d2e5841982c6284b4e33ef93cdb5ac49f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Par=C3=B3czai=20Oliv=C3=A9r?= Date: Fri, 21 Oct 2022 14:25:28 +0200 Subject: [PATCH 1/3] Also make the changes apply to the login page (v1.0.6) --- css/unround.css | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/css/unround.css b/css/unround.css index 1ac96ef..9f28809 100644 --- a/css/unround.css +++ b/css/unround.css @@ -52,13 +52,18 @@ select { border-radius: var(--border-radius-pill) !important; } -/* Fix some button misalignments */ -#body-login input.primary { /* For login button */ +.guest-box, .body-login-container { /* Login container (requires hardcoded radius, login page overrides local variables) */ + border-radius: 4px !important; +} + +.two-factor-provider { /* For two-factor login options */ width: 100% !important; } - -#body-login .two-factor-submit { /* For two factor submit button */ - width: 269px !important; /* It's a hardcoded width, following the same hardcoded width from the two factor input. That's just sad :( */ + +/* Fix some button misalignments */ +#body-login:first-of-type button[type="submit"] { /* For login button, also requires hardcoded radius */ + width: 100% !important; + border-radius: 4px !important; } .icon-history{ From 71a5f60f084f01de0a0d01374b4ef387456b4dd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Par=C3=B3czai=20Oliv=C3=A9r?= Date: Fri, 21 Oct 2022 14:26:11 +0200 Subject: [PATCH 2/3] Version v1.0.6 --- appinfo/info.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 4a49544..4a283ff 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -8,7 +8,7 @@ # Unrounded Corners A Nextcloud app that restores the corners of buttons and widgets to their original looks by unrounding them. ]]> - 1.0.5 + 1.0.6 agpl Oliver Paroczai UnroundedCorners From ca1cb82e0405d8b2f9a41f13b3af505ad6e6763a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Par=C3=B3czai=20Oliv=C3=A9r?= Date: Fri, 21 Oct 2022 20:07:58 +0200 Subject: [PATCH 3/3] Remove content body height hardcoding and talk specific code --- css/unround.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/css/unround.css b/css/unround.css index 9f28809..2dfa07a 100644 --- a/css/unround.css +++ b/css/unround.css @@ -1,7 +1,6 @@ :root { /* Body container settings */ --body-container-margin: 0px !important; --body-container-radius: 0px !important; ---body-height: 100% !important; } [data-theme-light], [data-theme-dark]{ /* For sitewide buttons, both themes */ @@ -33,10 +32,6 @@ border-radius: var(--border-radius-pill) !important; } -.main-view { /* For Talk app */ - height: calc(100% - 50px) !important; -} - #uploadprogressbar { /* For upload progress bar */ border-radius: var(--border-radius-pill) 0 0 var(--border-radius-pill) !important; }