Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missusage of Sass rgba global function #159

Merged
merged 2 commits into from Feb 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 10 additions & 10 deletions theme/SLE/wizard/cyan-black.qss
Expand Up @@ -30,8 +30,8 @@ QPushButton:default {

QPushButton:disabled,
QPushButton:default:disabled {
color: white;
border: 1px solid white;
color: rgba(255, 255, 255, 60%);
border: 1px solid rgba(255, 255, 255, 60%);
}

QPushButton:default:pressed,
Expand Down Expand Up @@ -360,8 +360,8 @@ QComboBox {
}

QComboBox::disabled {
color: white;
border-color: white;
color: rgba(255, 255, 255, 60%);
border-color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down Expand Up @@ -434,7 +434,7 @@ QMenu::separator {
}

QMenu::item:disabled {
color: white;
color: rgba(255, 255, 255, 60%);
}

/* Calendar
Expand All @@ -451,7 +451,7 @@ QTimeEdit {

QDateEdit::disabled,
QTimeEdit::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down Expand Up @@ -515,7 +515,7 @@ QLineEdit:focus {
}

QLineEdit:disabled {
border-bottom: 1px solid white;
border-bottom: 1px solid rgba(255, 255, 255, 60%);
}

QCheckBox,
Expand All @@ -526,7 +526,7 @@ YQCheckBoxFrame::indicator {
}

QCheckBox::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
}

QCheckBox:focus,
Expand Down Expand Up @@ -579,7 +579,7 @@ QRadioButton:focus {
}

QRadioButton::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down Expand Up @@ -810,7 +810,7 @@ YQWidgetCaption {
}

YQWidgetCaption::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down
2 changes: 1 addition & 1 deletion theme/SLE/wizard/cyan-black_richtext.css
Expand Up @@ -27,7 +27,7 @@ a {
}

.disabled-item {
color: white;
color: rgba(255, 255, 255, 60%);
}

/* end of styles for the addons selector */
20 changes: 10 additions & 10 deletions theme/SLE/wizard/highcontrast.qss
Expand Up @@ -30,8 +30,8 @@ QPushButton:default {

QPushButton:disabled,
QPushButton:default:disabled {
color: white;
border: 1px solid white;
color: rgba(255, 255, 255, 60%);
border: 1px solid rgba(255, 255, 255, 60%);
}

QPushButton:default:pressed,
Expand Down Expand Up @@ -360,8 +360,8 @@ QComboBox {
}

QComboBox::disabled {
color: white;
border-color: white;
color: rgba(255, 255, 255, 60%);
border-color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down Expand Up @@ -434,7 +434,7 @@ QMenu::separator {
}

QMenu::item:disabled {
color: white;
color: rgba(255, 255, 255, 60%);
}

/* Calendar
Expand All @@ -451,7 +451,7 @@ QTimeEdit {

QDateEdit::disabled,
QTimeEdit::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down Expand Up @@ -515,7 +515,7 @@ QLineEdit:focus {
}

QLineEdit:disabled {
border-bottom: 1px solid white;
border-bottom: 1px solid rgba(255, 255, 255, 60%);
}

QCheckBox,
Expand All @@ -526,7 +526,7 @@ YQCheckBoxFrame::indicator {
}

QCheckBox::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
}

QCheckBox:focus,
Expand Down Expand Up @@ -579,7 +579,7 @@ QRadioButton:focus {
}

QRadioButton::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down Expand Up @@ -810,7 +810,7 @@ YQWidgetCaption {
}

YQWidgetCaption::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down
2 changes: 1 addition & 1 deletion theme/SLE/wizard/highcontrast_richtext.css
Expand Up @@ -27,7 +27,7 @@ a {
}

.disabled-item {
color: white;
color: rgba(255, 255, 255, 60%);
}

/* end of styles for the addons selector */
20 changes: 10 additions & 10 deletions theme/SLE/wizard/installation.qss
Expand Up @@ -30,8 +30,8 @@ QPushButton:default {

QPushButton:disabled,
QPushButton:default:disabled {
color: white;
border: 1px solid white;
color: rgba(255, 255, 255, 60%);
border: 1px solid rgba(255, 255, 255, 60%);
}

QPushButton:default:pressed,
Expand Down Expand Up @@ -360,8 +360,8 @@ QComboBox {
}

QComboBox::disabled {
color: white;
border-color: white;
color: rgba(255, 255, 255, 60%);
border-color: rgba(255, 255, 255, 60%);
background-color: #2b2e38;
}

Expand Down Expand Up @@ -434,7 +434,7 @@ QMenu::separator {
}

QMenu::item:disabled {
color: white;
color: rgba(255, 255, 255, 60%);
}

/* Calendar
Expand All @@ -451,7 +451,7 @@ QTimeEdit {

QDateEdit::disabled,
QTimeEdit::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #2b2e38;
}

Expand Down Expand Up @@ -515,7 +515,7 @@ QLineEdit:focus {
}

QLineEdit:disabled {
border-bottom: 1px solid white;
border-bottom: 1px solid rgba(255, 255, 255, 60%);
}

QCheckBox,
Expand All @@ -526,7 +526,7 @@ YQCheckBoxFrame::indicator {
}

QCheckBox::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
}

QCheckBox:focus,
Expand Down Expand Up @@ -579,7 +579,7 @@ QRadioButton:focus {
}

QRadioButton::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #2b2e38;
}

Expand Down Expand Up @@ -810,7 +810,7 @@ YQWidgetCaption {
}

YQWidgetCaption::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #2b2e38;
}

Expand Down
2 changes: 1 addition & 1 deletion theme/SLE/wizard/installation_richtext.css
Expand Up @@ -27,7 +27,7 @@ a {
}

.disabled-item {
color: white;
color: rgba(255, 255, 255, 60%);
}

/* end of styles for the addons selector */
20 changes: 10 additions & 10 deletions theme/SLE/wizard/white-black.qss
Expand Up @@ -30,8 +30,8 @@ QPushButton:default {

QPushButton:disabled,
QPushButton:default:disabled {
color: white;
border: 1px solid white;
color: rgba(255, 255, 255, 60%);
border: 1px solid rgba(255, 255, 255, 60%);
}

QPushButton:default:pressed,
Expand Down Expand Up @@ -360,8 +360,8 @@ QComboBox {
}

QComboBox::disabled {
color: white;
border-color: white;
color: rgba(255, 255, 255, 60%);
border-color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down Expand Up @@ -434,7 +434,7 @@ QMenu::separator {
}

QMenu::item:disabled {
color: white;
color: rgba(255, 255, 255, 60%);
}

/* Calendar
Expand All @@ -451,7 +451,7 @@ QTimeEdit {

QDateEdit::disabled,
QTimeEdit::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down Expand Up @@ -515,7 +515,7 @@ QLineEdit:focus {
}

QLineEdit:disabled {
border-bottom: 1px solid white;
border-bottom: 1px solid rgba(255, 255, 255, 60%);
}

QCheckBox,
Expand All @@ -526,7 +526,7 @@ YQCheckBoxFrame::indicator {
}

QCheckBox::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
}

QCheckBox:focus,
Expand Down Expand Up @@ -579,7 +579,7 @@ QRadioButton:focus {
}

QRadioButton::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down Expand Up @@ -810,7 +810,7 @@ YQWidgetCaption {
}

YQWidgetCaption::disabled {
color: white;
color: rgba(255, 255, 255, 60%);
background-color: #000000;
}

Expand Down
2 changes: 1 addition & 1 deletion theme/SLE/wizard/white-black_richtext.css
Expand Up @@ -27,7 +27,7 @@ a {
}

.disabled-item {
color: white;
color: rgba(255, 255, 255, 60%);
}

/* end of styles for the addons selector */
4 changes: 2 additions & 2 deletions theme/assets/scss/theme-vars/cyan-black.scss
Expand Up @@ -16,8 +16,8 @@ $yast-dark-grey-500: #2b2e38;
$yast-dark-grey-700: #757575;
$yast-bg-900: #1f222b;

// rgba
$yast-disabled: rgba(255, 255, 255, 60);
// rgba (as an interpolated string for not processing it with Sass and letting Qt makes the work)
$yast-disabled: #{"rgba(255, 255, 255, 60%)"};

// borders
$yast-border: $yast-black;
Expand Down
4 changes: 2 additions & 2 deletions theme/assets/scss/theme-vars/dark.scss
Expand Up @@ -15,8 +15,8 @@ $yast-dark-grey-500: #2b2e38;
$yast-dark-grey-700: #757575;
$yast-bg-900: #1f222b;

// rgba
$yast-disabled: rgba(255, 255, 255, 60);
// rgba (as an interpolated string for not processing it with Sass and letting Qt makes the work)
$yast-disabled: #{"rgba(255, 255, 255, 60%)"};

// borders
$yast-border: $yast-black;
Expand Down
4 changes: 2 additions & 2 deletions theme/assets/scss/theme-vars/highcontrast.scss
Expand Up @@ -18,8 +18,8 @@ $yast-dark-grey-500: #2b2e38;
$yast-dark-grey-700: #757575;
$yast-bg-900: #1f222b;

// rgba
$yast-disabled: rgba(255, 255, 255, 60);
// rgba (as an interpolated string for not processing it with Sass and letting Qt makes the work)
$yast-disabled: #{"rgba(255, 255, 255, 60%)"};

// borders
$yast-border: $yast-black;
Expand Down
1 change: 0 additions & 1 deletion theme/assets/scss/theme-vars/light.scss
Expand Up @@ -22,7 +22,6 @@ $yast-dark-grey-500: #2b2e38;
$yast-dark-grey-700: #757575;
$yast-bg-900: #0e7e3c;

// rgba
$yast-disabled: #B6B4B4;

// borders
Expand Down
4 changes: 2 additions & 2 deletions theme/assets/scss/theme-vars/white-black.scss
Expand Up @@ -15,8 +15,8 @@ $yast-dark-grey-500: #2b2e38;
$yast-dark-grey-700: #757575;
$yast-bg-900: #1f222b;

// rgba
$yast-disabled: rgba(255, 255, 255, 60);
// rgba (as an interpolated string for not processing it with Sass and letting Qt makes the work)
$yast-disabled: #{"rgba(255, 255, 255, 60%)"};

// borders
$yast-border: $yast-black;
Expand Down