Skip to content

Commit d53c11e

Browse files
TatoniMatteoilgrosso
authored andcommitted
Improve LoginPage colors and spaces (#1508)
1 parent eb93cbe commit d53c11e

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

  • client/idrepo
    • common-ui/src/main/resources/META-INF/resources/ui-commons/css
    • console/src/main/resources/org/apache/syncope/client/console/pages
    • enduser/src/main/resources/org/apache/syncope/client/enduser/pages

‎client/idrepo/common-ui/src/main/resources/META-INF/resources/ui-commons/css/_theme.scss‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
/*
116116
* Semantic states
117117
*/
118-
--app-success: var(--app-cyan-500);
118+
--app-success: var(--app-green-500);
119119
--app-success-contrast: var(--color-white);
120120

121121
--app-danger: var(--app-red-500);
@@ -288,7 +288,7 @@
288288
* --------------------------------------------------------------------------
289289
*/
290290

291-
--app-success: #29b8d3;
291+
--app-success: var(--app-green-500);
292292
--app-success-contrast: var(--color-white);
293293

294294
--app-danger: #ed5864;

‎client/idrepo/common-ui/src/main/resources/META-INF/resources/ui-commons/css/login.scss‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
@import 'theme';
2121
@import 'utils';
2222

23+
html {
24+
height: 100% !important;
25+
}
2326

2427
body, html {
25-
height: 100% !important;
26-
background-color: var(--app-bg);
2728
background-repeat: no-repeat;
2829
font-family: "Source Sans Pro",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol'!important;
2930
}
@@ -33,6 +34,16 @@ body, html {
3334
padding: 40px;
3435
}
3536

37+
fieldset{
38+
border: none !important;
39+
padding: 1rem 0 0 0 !important;
40+
margin-bottom: 0 !important;
41+
}
42+
43+
.input-group > button[type="button"] {
44+
min-width: 50px
45+
}
46+
3647
/*
3748
* Card component
3849
*/
@@ -41,8 +52,7 @@ body, html {
4152
/* just in case there no content*/
4253
color: var(--app-text);
4354
padding: 20px 25px 30px;
44-
margin: 0 auto 25px;
45-
margin-top: 50px;
55+
margin: 50px auto 25px;
4656
/* shadows and rounded borders */
4757
@include border_radius(2px);
4858
@include shadow(0 2px 2px var(--app-shadow));

‎client/idrepo/console/src/main/resources/org/apache/syncope/client/console/pages/Login.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<div class="input-group d-flex">
6868
<input type="password" class="form-control w-75" wicket:id="password"
6969
wicket:message="placeholder:password" required="required"/>
70-
<button type="button" class="btn btn-warning btn-flat input-group-text w-25 m-0 h-100" onclick="
70+
<button type="button" class="btn btn-warning btn-flat input-group-text w-auto m-0 h-100" onclick="
7171
var input = $(this).prevAll('input');
7272
var type = input.attr('type');
7373
var children = $(this).children();

‎client/idrepo/enduser/src/main/resources/org/apache/syncope/client/enduser/pages/Login.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<div class="input-group d-flex">
6767
<input type="password" class="form-control w-75" wicket:id="password"
6868
wicket:message="placeholder:password" required="required"/>
69-
<button type="button" class="btn btn-warning btn-flat input-group-text w-25 m-0 h-100" onclick="
69+
<button type="button" class="btn btn-warning btn-flat input-group-text w-auto m-0 h-100" onclick="
7070
var input = $(this).prevAll('input');
7171
var type = input.attr('type');
7272
var children = $(this).children();

0 commit comments

Comments
 (0)