2023-01-21 19:11:08 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:DiscussionTools
|
|
|
|
* Module: ext.discussionTools.init.styles
|
|
|
|
* Version: REL1_39 1aae2cc
|
|
|
|
*
|
2023-06-24 15:55:22 +00:00
|
|
|
* Date: 2023-06-24
|
|
|
|
*/
|
2023-01-21 19:11:08 +00:00
|
|
|
|
2023-06-20 03:42:11 +00:00
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
|
2023-01-21 19:11:08 +00:00
|
|
|
.ext-discussiontools-init-replylink-buttons {
|
|
|
|
.ext-discussiontools-init-replylink {
|
|
|
|
&-bracket {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
&-divider {
|
|
|
|
color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-init-replylink-open & > .ext-discussiontools-init-replylink-reply {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ext-discussiontools-init-replylink-active > .ext-discussiontools-init-replylink-reply {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-init-publishedcomment {
|
|
|
|
background-color: var( --background-color-success );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-init-targetcomment {
|
|
|
|
background-color: var( --background-color-primary--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-init-section-subscribe {
|
2023-06-20 03:42:11 +00:00
|
|
|
&.mw-editsection-like {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-01-21 19:11:08 +00:00
|
|
|
&-bracket {
|
2023-06-20 03:42:11 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Align with .citizen-editsection-icon
|
|
|
|
&-link {
|
|
|
|
display: block;
|
|
|
|
width: 1.875rem;
|
|
|
|
height: 1.875rem;
|
|
|
|
border-radius: var( --border-radius--small );
|
|
|
|
font-size: 0.875rem;
|
|
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
text-indent: -9999px; // Hide text
|
|
|
|
transition: @transition-opacity;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
|
|
|
// FIXME: Figure out a way to use OOUI icon for extension
|
2023-06-22 17:50:09 +00:00
|
|
|
background-image: url( data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KCTx0aXRsZT4KCQliZWxsCgk8L3RpdGxlPgoJPHBhdGggZD0iTTExLjUgMi4xOUMxNC4wOSAyLjg2IDE2IDUuMiAxNiA4djZsMiAydjFIMnYtMWwyLTJWOGMwLTIuOCAxLjkxLTUuMTQgNC41LTUuODFWMS41QzguNS42NyA5LjE3IDAgMTAgMHMxLjUuNjcgMS41IDEuNXYuNjl6TTEwIDRDNy43OSA0IDYgNS43OSA2IDh2N2g4VjhjMC0yLjIxLTEuNzktNC00LTR6TTggMThoNGMwIDEuMS0uOSAyLTIgMnMtMi0uOS0yLTJ6Ii8+Cjwvc3ZnPgo= );
|
2023-06-20 03:42:11 +00:00
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 1.125rem;
|
|
|
|
content: '';
|
2023-06-24 15:55:22 +00:00
|
|
|
|
|
|
|
.skin-citizen-dark & {
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
2023-06-20 03:42:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&[ data-mw-subscribed='1' ]::before {
|
|
|
|
// FIXME: Figure out a way to use OOUI icon for extension
|
2023-06-22 17:50:09 +00:00
|
|
|
background-image: url( data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KCTx0aXRsZT4KCQliZWxsCgk8L3RpdGxlPgoJPHBhdGggZD0iTTE2IDdhNS4zOCA1LjM4IDAgMDAtNC40Ni00Ljg1QzExLjYgMS40NiAxMS41MyAwIDEwIDBTOC40IDEuNDYgOC40NiAyLjE1QTUuMzggNS4zOCAwIDAwNCA3djZsLTIgMnYxaDE2di0xbC0yLTJ6bS02IDEzYTMgMyAwIDAwMy0zSDdhMyAzIDAgMDAzIDN6Ii8+Cjwvc3ZnPgo= );
|
2023-06-20 03:42:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var( --background-color-quiet--hover );
|
|
|
|
opacity: var( --opacity-icon-base--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var( --background-color-quiet--hover );
|
|
|
|
opacity: var( --opacity-icon-base--active );
|
|
|
|
}
|
2023-01-21 19:11:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-link&-link-pending {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-init-pageframe-latestcomment {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-visualenhancements_pageframe-enabled {
|
|
|
|
.ext-discussiontools-init-sidebar-meta {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-visualenhancements-enabled {
|
|
|
|
.ext-discussiontools-init-section {
|
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
|
|
|
|
&-metaitem {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
|
|
|
|
& + .ext-discussiontools-init-section-metaitem {
|
|
|
|
border-left-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h2.ext-discussiontools-ui-newTopic-sectionTitle .oo-ui-inputWidget-input {
|
|
|
|
font-family: var( --font-family-base );
|
|
|
|
font-weight: var( --font-weight-semibold );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-emptystate {
|
|
|
|
.mw-parser-output:not( .noarticletext ) & {
|
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-autotopicsubpopup {
|
|
|
|
&-title {
|
|
|
|
font-weight: var( --font-weight-semibold );
|
|
|
|
}
|
|
|
|
}
|