mediawiki-skins-Citizen/skinStyles/extensions/DismissableSiteNotice/ext.dismissableSiteNotice.less
github-actions 9e15415835 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-02-28 21:59:36 +00:00

44 lines
748 B
Plaintext

@import '../../../resources/variables.less';
.skin-citizen {
.mw-dismissable-notice {
&-close {
font-size: 0; // hide brackets
> a {
display: block;
width: 24px;
height: 24px;
&::before {
display: block;
color: var( --color-base );
content: '\00d7'; // close icon
font-size: 24px;
line-height: 1;
text-align: center;
transition: @transition-color;
}
&:hover {
&::before {
color: var( --color-base--emphasized );
}
}
&:active {
&::before {
color: var( --color-base--subtle );
}
}
}
}
&-body {
// Default has top and bottom margin
// So bottom margin is added to respect it
margin: 0 0 var( --space-md ) 0;
}
}
}