Skip to content

Commit fb3fa4f

Browse files
authored
Adjust Mobile-ID layout (#964)
IB-7079 Signed-off-by: Raul Metsma <raul@metsma.ee>
1 parent e06e695 commit fb3fa4f

File tree

1 file changed

+27
-36
lines changed

1 file changed

+27
-36
lines changed

client/dialogs/MobileDialog.ui

Lines changed: 27 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ border: 1px solid #DEE4E9;
2424
border-radius: 2px;
2525
}
2626
QCheckBox {
27+
color: #353739;
2728
min-height: 31px;
2829
}
2930
QCheckBox:disabled {
@@ -38,20 +39,44 @@ image: url(:/images/icon_checkbox.png);
3839
}
3940
QCheckBox::indicator:checked {
4041
image: url(:/images/icon_checkbox_check.png);
42+
}
43+
QPushButton {
44+
border-radius: 2px;
45+
border: none;
46+
color: #ffffff;
47+
background-color: #981E32;
48+
}
49+
QPushButton:pressed {
50+
background-color: #F24A66;
51+
}
52+
QPushButton:hover:!pressed {
53+
background-color: #CD2541;
54+
}
55+
QPushButton::default {
56+
background-color: #006EB5;
57+
}
58+
QPushButton::default:pressed {
59+
background-color: #41B6E6;
60+
}
61+
QPushButton::default:hover:!pressed {
62+
background-color: #008DCF;
63+
}
64+
QPushButton::default:disabled {
65+
background-color: #BEDBED;
4166
}</string>
4267
</property>
4368
<layout class="QVBoxLayout" name="MobileIDDialogLayout">
4469
<property name="spacing">
4570
<number>0</number>
4671
</property>
4772
<property name="leftMargin">
48-
<number>50</number>
73+
<number>30</number>
4974
</property>
5075
<property name="topMargin">
5176
<number>30</number>
5277
</property>
5378
<property name="rightMargin">
54-
<number>50</number>
79+
<number>30</number>
5580
</property>
5681
<property name="bottomMargin">
5782
<number>30</number>
@@ -176,9 +201,6 @@ padding-top: 8px;</string>
176201
</item>
177202
<item>
178203
<widget class="CheckBox" name="cbRemember">
179-
<property name="styleSheet">
180-
<string notr="true">color: #353739;</string>
181-
</property>
182204
<property name="text">
183205
<string>Remember me</string>
184206
</property>
@@ -221,20 +243,6 @@ padding-top: 8px;</string>
221243
<property name="accessibleName">
222244
<string extracomment="accessible">Cancel</string>
223245
</property>
224-
<property name="styleSheet">
225-
<string notr="true">QPushButton {
226-
border-radius: 2px;
227-
border: none;
228-
color: #ffffff;
229-
background-color: #981E32;
230-
}
231-
QPushButton:pressed {
232-
background-color: #F24A66;
233-
}
234-
QPushButton:hover:!pressed {
235-
background-color: #CD2541;
236-
}</string>
237-
</property>
238246
<property name="text">
239247
<string>CANCEL</string>
240248
</property>
@@ -265,23 +273,6 @@ QPushButton:hover:!pressed {
265273
<property name="accessibleName">
266274
<string extracomment="accessible">Sign</string>
267275
</property>
268-
<property name="styleSheet">
269-
<string notr="true">QPushButton {
270-
border-radius: 2px;
271-
border: none;
272-
color: #ffffff;
273-
background-color: #006EB5;
274-
}
275-
QPushButton:pressed {
276-
background-color: #41B6E6;
277-
}
278-
QPushButton:hover:!pressed {
279-
background-color: #008DCF;
280-
}
281-
QPushButton:disabled {
282-
background-color: #BEDBED;
283-
}</string>
284-
</property>
285276
<property name="text">
286277
<string>SIGN</string>
287278
</property>

0 commit comments

Comments
 (0)