-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Echo): 馃悰 missing styles for new talk page alert
- Loading branch information
1 parent
3a62b5f
commit b90dd3d
Showing
1 changed file
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,41 @@ | ||
/* | ||
/* | ||
* Citizen | ||
* | ||
* SkinStyles for Extension:Echo | ||
* Module: ext.echo.styles.alert | ||
* Version: REL1_35 347c30e | ||
* Version: REL1_39 | ||
* | ||
* Date: 2021-08-11 | ||
* Date: 2024-02-27 | ||
*/ | ||
|
||
@import '../../../resources/variables.less'; | ||
|
||
.mw-echo-alert { | ||
color: var( --color-base--emphasized ); | ||
background-color: var( --color-warning ); | ||
position: fixed; | ||
z-index: @z-index-overlay; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
width: auto; | ||
max-width: @max-width-breakpoint-tablet; | ||
margin: var( --space-xs ); | ||
padding: 0; | ||
border: 1px solid var( --border-color-base ); | ||
border-radius: var( --border-radius--large ); | ||
box-shadow: var( --box-shadow-dialog ); | ||
font-size: var( --font-size-small ); | ||
line-height: var( --line-height-sm ); | ||
background-color: var( --color-surface-1 ); | ||
color: var( --color-base ); | ||
|
||
@media only screen and ( min-width: @min-width-breakpoint-desktop ) { | ||
right: unset; | ||
left: var( --header-size ); | ||
} | ||
|
||
// Needed additional specificity | ||
&.mw-list-item > a { | ||
padding: var( --space-md ); | ||
border-radius: var( --border-radius--large ); | ||
} | ||
} |