Skip to content

Commit

Permalink
Use fixed color
Browse files Browse the repository at this point in the history
IB-8325

Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma committed Dec 12, 2024
1 parent 2646a7a commit 1998ccd
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 101 deletions.
6 changes: 1 addition & 5 deletions client/dialogs/MobileDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
</property>
<property name="styleSheet">
<string notr="true">QWidget {
color: #07142A;
font-family: Roboto, Helvetica;
font-size: 14px;
}
Expand All @@ -30,24 +31,19 @@ color: #003168;
font-size: 20px;
font-weight: 700;
}
#labelCode, #labelPhone {
color: #07142A;
}
#errorCode, #errorPhone {
color: #AD2A45;
}
QLineEdit {
padding: 10px 14px;
border: 1px solid #C4CBD8;
border-radius: 4px;
color: #07142A;
background-color: white;
placeholder-text-color: #607496;
font-size: 16px;
}
QCheckBox {
spacing: 8px;
color: #07142A;
border: none; /*Workaround for right padding*/
}
QCheckBox:disabled {
Expand Down
79 changes: 1 addition & 78 deletions client/dialogs/MobileProgress.ui
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
</property>
<property name="styleSheet">
<string notr="true">QWidget {
color: #07142A;
font-family: Roboto, Helvetica;
font-size: 14px;
}
Expand All @@ -27,84 +28,6 @@ color: #003168;
font-size: 32px;
font-weight: 700;
}
#label, #info {
color: #07142A;
}
QLineEdit, QComboBox {
padding: 10px 14px;
border: 1px solid #C4CBD8;
border-radius: 4px;
color: #07142A;
background-color: white;
placeholder-text-color: #607496;
font-size: 16px;
}
QComboBox QWidget#popup {
background-color: transparent;
}
QComboBox QWidget#content {
border: 1px solid #C4CBD8;
border-radius: 4px;
background-color: #FFFFFF;
}
QComboBox QPushButton {
margin: 3px;
padding: 0px 12px 0px 4px;
border: 0px;
color: #07142A;
text-align: left;
font-weight: normal;
font-size: 16px;
qproperty-iconSize: 14px 9px;
qproperty-layoutDirection: RightToLeft;
}
QComboBox QPushButton#selected {
qproperty-icon: url(:/images/arrow_up.svg);
}
QComboBox QPushButton:hover#selected {
qproperty-icon: url(:/images/arrow_up_white.svg);
}
QComboBox::drop-down {
background-color: #FFFFFF;
width: 25px;
}
QComboBox::down-arrow {
image: url(:/images/arrow_down.svg);
}
QComboBox::down-arrow:on {
top: 1px;
left: 1px;
}
QCheckBox {
spacing: 8px;
color: #07142A;
border: none; /*Workaround for right padding*/
}
QCheckBox:disabled {
color: #C4CBD8;
}
QCheckBox::indicator {
width: 16px;
height: 16px;
}
QCheckBox::indicator:unchecked {
image: url(:/images/icon_checkbox.svg);
}
QCheckBox::indicator:unchecked:hover {
image: url(:/images/icon_checkbox_active.svg);
}
QCheckBox::indicator:unchecked:disabled {
image: url(:/images/icon_checkbox_disabled.svg);
}
QCheckBox::indicator:checked {
image: url(:/images/icon_checkbox_check.svg);
}
QCheckBox::indicator:checked:hover {
image: url(:/images/icon_checkbox_check_active.svg);
}
QCheckBox::indicator:checked:disabled {
image: url(:/images/icon_checkbox_check_disabled.svg);
}
QPushButton {
padding: 12px 12px;
border-radius: 4px;
Expand Down
7 changes: 2 additions & 5 deletions client/dialogs/PinPopup.ui
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
</property>
<property name="styleSheet">
<string notr="true">QWidget {
color: #07142A;
font-family: Roboto, Helvetica;
font-size: 14px;
}
Expand All @@ -27,23 +28,19 @@ color: #003168;
font-size: 20px;
font-weight: 700;
}
#labelPin {
color: #07142A;
}
#errorPin {
color: #AD2A45;
}
QLineEdit {
padding: 10px 14px;
border: 1px solid #C4CBD8;
border-radius: 4px;
color: #07142A;
background-color: white;
placeholder-text-color: #607496;
font-size: 16px;
}
QPushButton {
padding: 0px 12px;
padding: 12px 12px;
border-radius: 4px;
border: 1px solid #AD2A45;
color: #AD2A45;
Expand Down
5 changes: 1 addition & 4 deletions client/dialogs/PinUnblock.ui
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
</property>
<property name="styleSheet">
<string notr="true">QWidget {
color: #07142A;
font-family: Roboto, Helvetica;
font-size: 14px;
}
Expand All @@ -27,17 +28,13 @@ color: #003168;
font-size: 20px;
font-weight: 700;
}
#labelPuk, #labelPin, #labelRepeat {
color: #07142A;
}
#errorPuk, #errorPin, #errorRepeat {
color: #AD2A45;
}
QLineEdit {
padding: 10px 14px;
border: 1px solid #C4CBD8;
border-radius: 4px;
color: #07142A;
background-color: white;
placeholder-text-color: #607496;
font-size: 16px;
Expand Down
5 changes: 1 addition & 4 deletions client/dialogs/RoleAddressDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
</property>
<property name="styleSheet">
<string notr="true">QWidget {
color: #07142A;
font-family: Roboto, Helvetica;
font-size: 14px;
}
Expand All @@ -27,17 +28,13 @@ color: #003168;
font-size: 20px;
font-weight: 700;
}
#RoleLabel, #CityLabel, #StateLabel, #CountryLabel, #ZipLabel {
color: #07142A;
}
#errorCode, #errorCountry {
color: #AD2A45;
}
QLineEdit {
padding: 10px 14px;
border: 1px solid #C4CBD8;
border-radius: 4px;
color: #07142A;
background-color: white;
placeholder-text-color: #607496;
font-size: 16px;
Expand Down
1 change: 1 addition & 0 deletions client/dialogs/SettingsDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ QComboBox QPushButton {
margin: 3px;
padding: 0px 12px 0px 4px;
border: 0px;
color: #07142A;
text-align: left;
font-weight: normal;
font-size: 16px;
Expand Down
6 changes: 1 addition & 5 deletions client/dialogs/SmartIDDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
</property>
<property name="styleSheet">
<string notr="true">QWidget {
color: #07142A;
font-family: Roboto, Helvetica;
font-size: 14px;
}
Expand All @@ -30,17 +31,13 @@ color: #003168;
font-size: 20px;
font-weight: 700;
}
#labelCode, #labelCountry {
color: #07142A;
}
#errorCode, #errorCountry {
color: #AD2A45;
}
QLineEdit, QComboBox {
padding: 10px 14px;
border: 1px solid #C4CBD8;
border-radius: 4px;
color: #07142A;
background-color: white;
placeholder-text-color: #607496;
font-size: 16px;
Expand Down Expand Up @@ -83,7 +80,6 @@ left: 1px;
}
QCheckBox {
spacing: 8px;
color: #07142A;
border: none; /*Workaround for right padding*/
}
QCheckBox:disabled {
Expand Down

0 comments on commit 1998ccd

Please sign in to comment.