mediawiki-skins-Citizen/skinStyles/extensions/TwoColConflict/ext.TwoColConflict.SplitCss.less

144 lines
3.7 KiB
Plaintext
Raw Normal View History

/*
* Citizen
*
* SkinStyles for Extension:TwoColConflict
* Module: ext.TwoColConflict.SplitCss
* Version: REL1_39 5a2a947
*
* Date: 2023-01-09
*/
/* ext.TwoColConflict.Split.less */
.mw-twocolconflict-special-your-version-header,
.mw-twocolconflict-split-current-version-header,
.mw-twocolconflict-split-your-version-header {
.mw-twocolconflict-revision-label {
padding: 0 5px;
font-weight: var( --font-weight-semi-bold );
}
}
.mw-twocolconflict-split-current-version-header .mw-twocolconflict-revision-label {
2024-07-01 03:50:21 +00:00
background-color: var( --background-color-warning-subtle );
}
.mw-twocolconflict-special-your-version-header .mw-twocolconflict-revision-label,
.mw-twocolconflict-split-your-version-header .mw-twocolconflict-revision-label {
background-color: var( --background-color-progressive-subtle );
}
.mw-twocolconflict-split-row {
&.mw-twocolconflict-no-selection {
2024-07-01 03:50:21 +00:00
background-color: var( --background-color-destructive-subtle );
border-color: transparent;
}
}
.mw-twocolconflict-single-column,
.mw-twocolconflict-split-column {
color: var( --color-emphasized );
background-color: var( --color-surface-0 );
&.mw-twocolconflict-split-add {
border-color: var( --background-color-progressive-subtle );
}
&.mw-twocolconflict-split-delete {
2024-07-01 03:50:21 +00:00
border-color: var( --background-color-warning-subtle );
}
&.mw-twocolconflict-split-copy {
background-color: var( --color-surface-2 );
border-color: var( --color-surface-2 );
}
ins.mw-twocolconflict-diffchange {
background-color: var( --background-color-progressive-subtle );
}
del.mw-twocolconflict-diffchange {
2024-07-01 03:50:21 +00:00
background-color: var( --background-color-warning-subtle );
}
&.mw-twocolconflict-split-unselected {
color: var( --color-subtle );
&.mw-twocolconflict-split-add {
border-color: var( --background-color-progressive-subtle );
}
&.mw-twocolconflict-split-delete {
2024-07-01 03:50:21 +00:00
border-color: var( --background-color-warning-subtle );
}
ins.mw-twocolconflict-diffchange {
background-color: var( --background-color-progressive-subtle );
}
del.mw-twocolconflict-diffchange {
2024-07-01 03:50:21 +00:00
background-color: var( --background-color-warning-subtle );
}
}
.mw-twocolconflict-split-collapsed {
.mw-twocolconflict-split-fade {
background-image: linear-gradient( transparent, var( --color-surface-2 ) );
}
}
}
.mw-twocolconflict-split-selector-label {
.mw-twocolconflict-no-selection & {
color: var( --color-destructive );
}
}
.mw-twocolconflict-split-selection {
.mw-twocolconflict-split-row.mw-twocolconflict-no-selection & > div {
.oo-ui-radioInputWidget [ type='radio' ] + span {
border-color: var( --color-destructive );
}
}
> div:nth-child( 1 ) {
.oo-ui-radioInputWidget.oo-ui-widget-enabled [ type='radio' ]:checked + span,
.oo-ui-radioInputWidget.oo-ui-widget-enabled [ type='radio' ]:active + span,
.oo-ui-radioInputWidget [ type='radio' ] + span {
2024-07-01 03:50:21 +00:00
background: var( --background-color-warning-subtle );
border-color: var( --color-warning );
}
}
> div:nth-child( 2 ) {
.oo-ui-radioInputWidget.oo-ui-widget-enabled [ type='radio' ]:checked + span,
.oo-ui-radioInputWidget.oo-ui-widget-enabled [ type='radio' ]:active + span,
.oo-ui-radioInputWidget [ type='radio' ] + span {
background: var( --background-color-progressive-subtle );
border-color: var( --color-progressive );
}
}
}
.mw-twocolconflict-copy-notice {
p {
font-size: 0.875em;
}
}
/* ext.TwoColConflict.Talk.styles.less */
.mw-twocolconflict-conflicting-talk-row {
.mw-twocolconflict-conflicting-talk-label {
span {
font-weight: var( --font-weight-semi-bold );
.mw-twocolconflict-split-delete {
2024-07-01 03:50:21 +00:00
background-color: var( --background-color-warning-subtle );
}
.mw-twocolconflict-split-add {
background-color: var( --background-color-progressive-subtle );
}
}
}
}