mediawiki-skins-Citizen/skinStyles/extensions/CommentStreams/ext.CommentStreams.less
alistair3149 5d3ecd9edd
feat(core): convert some CSS variables into Codex equivalent
This is an on-going work to adapt Codex into Citizen.
Some of the CSS variables are soft depreciated, see tokens.less for updated info.
2024-06-30 01:04:30 -04:00

46 lines
749 B
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:CommentStreams
* Module: ext.CommentStreams
* Version: REL1_39 f75ff3b
*
* Date: 2023-06-02
*/
.cs {
&-comments {
font-family: var( --font-family-base );
}
&-edit-box {
background-color: var( --color-surface-1 );
border: 1px solid var( --border-color-base );
}
&-comment {
&-title {
color: var( --color-emphasized );
}
&-details {
color: var( --color-subtle );
}
&-header {
.cs-collapsed & {
background-color: var( --color-surface-2 );
}
.cs-expanded & {
background-color: rgba( 51, 102, 204, 0.1 );
}
.cs-reply-comment > & {
background-color: var( --color-surface-1 );
border-top: 1px solid var( --border-color-base );
}
}
}
}