Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-15 14:22:53 +01:00
DEV: Use variables and change selector specificity for pro button
Dieser Commit ist enthalten in:
Ursprung
628d3f31db
Commit
0ed9e896a5
2 geänderte Dateien mit 9 neuen und 11 gelöschten Zeilen
|
@ -2,6 +2,7 @@
|
|||
@import "wizard-manager";
|
||||
@import "wizard-api";
|
||||
@import "common/components/buttons";
|
||||
@import "wizard-variables";
|
||||
|
||||
.admin-wizard-controls {
|
||||
display: flex;
|
||||
|
@ -712,25 +713,20 @@
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.btn-pavilion-pro {
|
||||
background: #3c1c8c;
|
||||
color: white;
|
||||
.btn.btn-pavilion-pro {
|
||||
background: $pavilion-primary;
|
||||
color: $pavilion-secondary;
|
||||
|
||||
.d-icon {
|
||||
color: white;
|
||||
color: $pavilion-secondary;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: #2d1569 !important;
|
||||
color: rgba(white, 0.8);
|
||||
background: darken($pavilion-primary, 5%);
|
||||
&[href],
|
||||
svg.d-icon {
|
||||
color: rgba(white, 0.85) !important;
|
||||
color: darken($pavilion-secondary, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
&[href] {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
|
2
assets/stylesheets/common/wizard-variables.scss
Normale Datei
2
assets/stylesheets/common/wizard-variables.scss
Normale Datei
|
@ -0,0 +1,2 @@
|
|||
$pavilion-primary: #3c1c8c;
|
||||
$pavilion-secondary: #fff;
|
Laden …
In neuem Issue referenzieren