Skip to content

Commit

Permalink
Adjust Mobile-ID layout (#964)
Browse files Browse the repository at this point in the history
IB-7079

Signed-off-by: Raul Metsma <raul@metsma.ee>
  • Loading branch information
metsma authored Jun 21, 2021
1 parent e06e695 commit fb3fa4f
Showing 1 changed file with 27 additions and 36 deletions.
63 changes: 27 additions & 36 deletions client/dialogs/MobileDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ border: 1px solid #DEE4E9;
border-radius: 2px;
}
QCheckBox {
color: #353739;
min-height: 31px;
}
QCheckBox:disabled {
Expand All @@ -38,20 +39,44 @@ image: url(:/images/icon_checkbox.png);
}
QCheckBox::indicator:checked {
image: url(:/images/icon_checkbox_check.png);
}
QPushButton {
border-radius: 2px;
border: none;
color: #ffffff;
background-color: #981E32;
}
QPushButton:pressed {
background-color: #F24A66;
}
QPushButton:hover:!pressed {
background-color: #CD2541;
}
QPushButton::default {
background-color: #006EB5;
}
QPushButton::default:pressed {
background-color: #41B6E6;
}
QPushButton::default:hover:!pressed {
background-color: #008DCF;
}
QPushButton::default:disabled {
background-color: #BEDBED;
}</string>
</property>
<layout class="QVBoxLayout" name="MobileIDDialogLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>50</number>
<number>30</number>
</property>
<property name="topMargin">
<number>30</number>
</property>
<property name="rightMargin">
<number>50</number>
<number>30</number>
</property>
<property name="bottomMargin">
<number>30</number>
Expand Down Expand Up @@ -176,9 +201,6 @@ padding-top: 8px;</string>
</item>
<item>
<widget class="CheckBox" name="cbRemember">
<property name="styleSheet">
<string notr="true">color: #353739;</string>
</property>
<property name="text">
<string>Remember me</string>
</property>
Expand Down Expand Up @@ -221,20 +243,6 @@ padding-top: 8px;</string>
<property name="accessibleName">
<string extracomment="accessible">Cancel</string>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
border-radius: 2px;
border: none;
color: #ffffff;
background-color: #981E32;
}
QPushButton:pressed {
background-color: #F24A66;
}
QPushButton:hover:!pressed {
background-color: #CD2541;
}</string>
</property>
<property name="text">
<string>CANCEL</string>
</property>
Expand Down Expand Up @@ -265,23 +273,6 @@ QPushButton:hover:!pressed {
<property name="accessibleName">
<string extracomment="accessible">Sign</string>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
border-radius: 2px;
border: none;
color: #ffffff;
background-color: #006EB5;
}
QPushButton:pressed {
background-color: #41B6E6;
}
QPushButton:hover:!pressed {
background-color: #008DCF;
}
QPushButton:disabled {
background-color: #BEDBED;
}</string>
</property>
<property name="text">
<string>SIGN</string>
</property>
Expand Down

0 comments on commit fb3fa4f

Please sign in to comment.