forked from AkkomaGang/akkoma-fe
add success global notice style/level
This commit is contained in:
parent
835eaf33b1
commit
adc3b17fe0
3 changed files with 45 additions and 0 deletions
|
@ -698,6 +698,15 @@ nav {
|
||||||
color: var(--alertWarningPanelText, $fallback--text);
|
color: var(--alertWarningPanelText, $fallback--text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.success {
|
||||||
|
background-color: var(--alertSuccess, $fallback--alertWarning);
|
||||||
|
color: var(--alertSuccessText, $fallback--text);
|
||||||
|
|
||||||
|
.panel-heading & {
|
||||||
|
color: var(--alertSuccessPanelText, $fallback--text);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.faint {
|
.faint {
|
||||||
|
|
|
@ -71,6 +71,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.global-success {
|
||||||
|
background-color: var(--alertPopupSuccess, $fallback--cGreen);
|
||||||
|
color: var(--alertPopupSuccessText, $fallback--text);
|
||||||
|
.svg-inline--fa {
|
||||||
|
color: var(--alertPopupSuccessText, $fallback--text);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.global-info {
|
.global-info {
|
||||||
background-color: var(--alertPopupNeutral, $fallback--fg);
|
background-color: var(--alertPopupNeutral, $fallback--fg);
|
||||||
color: var(--alertPopupNeutralText, $fallback--text);
|
color: var(--alertPopupNeutralText, $fallback--text);
|
||||||
|
|
|
@ -616,6 +616,23 @@ export const SLOT_INHERITANCE = {
|
||||||
textColor: true
|
textColor: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
alertSuccess: {
|
||||||
|
depends: ['cGreen'],
|
||||||
|
opacity: 'alert'
|
||||||
|
},
|
||||||
|
alertSuccessText: {
|
||||||
|
depends: ['text'],
|
||||||
|
layer: 'alert',
|
||||||
|
variant: 'alertSuccess',
|
||||||
|
textColor: true
|
||||||
|
},
|
||||||
|
alertSuccessPanelText: {
|
||||||
|
depends: ['panelText'],
|
||||||
|
layer: 'alertPanel',
|
||||||
|
variant: 'alertSuccess',
|
||||||
|
textColor: true
|
||||||
|
},
|
||||||
|
|
||||||
alertNeutral: {
|
alertNeutral: {
|
||||||
depends: ['text'],
|
depends: ['text'],
|
||||||
opacity: 'alert'
|
opacity: 'alert'
|
||||||
|
@ -656,6 +673,17 @@ export const SLOT_INHERITANCE = {
|
||||||
textColor: true
|
textColor: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
alertPopupSuccess: {
|
||||||
|
depends: ['alertSuccess'],
|
||||||
|
opacity: 'alertPopup'
|
||||||
|
},
|
||||||
|
alertPopupSuccessText: {
|
||||||
|
depends: ['alertSuccessText'],
|
||||||
|
layer: 'popover',
|
||||||
|
variant: 'alertPopupSuccess',
|
||||||
|
textColor: true
|
||||||
|
},
|
||||||
|
|
||||||
alertPopupNeutral: {
|
alertPopupNeutral: {
|
||||||
depends: ['alertNeutral'],
|
depends: ['alertNeutral'],
|
||||||
opacity: 'alertPopup'
|
opacity: 'alertPopup'
|
||||||
|
|
Loading…
Reference in a new issue