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
|
|
|
|
|
|
|
.ext-discussiontools-init-replylink-buttons {
|
|
|
|
.ext-discussiontools-init-replylink {
|
|
|
|
&-bracket {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2023-01-21 19:11:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-divider {
|
|
|
|
color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-init-replylink-open & > .ext-discussiontools-init-replylink-reply {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2023-01-21 19:11:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.ext-discussiontools-init-replylink-active > .ext-discussiontools-init-replylink-reply {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-init-publishedcomment {
|
2024-07-01 03:50:21 +00:00
|
|
|
background-color: var( --background-color-success-subtle );
|
2023-01-21 19:11:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-init-targetcomment {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-progressive-subtle );
|
2023-01-21 19:11:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2023-06-20 03:42:11 +00:00
|
|
|
text-indent: -9999px; // Hide text
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
opacity: var( --opacity-icon-base );
|
2023-07-07 20:36:27 +00:00
|
|
|
transition: var( --transition-hover );
|
|
|
|
transition-property: opacity;
|
2023-06-20 03:42:11 +00:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
2023-07-28 01:19:27 +00:00
|
|
|
content: '';
|
2023-06-20 03:42:11 +00:00
|
|
|
// 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-07-28 01:19:27 +00:00
|
|
|
filter: var( --filter-invert );
|
2023-06-20 03:42:11 +00:00
|
|
|
background-repeat: no-repeat;
|
2023-07-28 01:19:27 +00:00
|
|
|
background-position: center;
|
2023-06-20 03:42:11 +00:00
|
|
|
background-size: 1.125rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[ 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 {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--hover );
|
2023-06-20 03:42:11 +00:00
|
|
|
opacity: var( --opacity-icon-base--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--hover );
|
2024-06-30 05:04:30 +00:00
|
|
|
opacity: var( --opacity-icon-base--selected );
|
2023-06-20 03:42:11 +00:00
|
|
|
}
|
2023-01-21 19:11:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-link&-link-pending {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2023-01-21 19:11:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-init-pageframe-latestcomment {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2023-01-21 19:11:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-visualenhancements_pageframe-enabled {
|
|
|
|
.ext-discussiontools-init-sidebar-meta {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2023-01-21 19:11:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-visualenhancements-enabled {
|
|
|
|
.ext-discussiontools-init-section {
|
2024-05-03 22:38:57 +00:00
|
|
|
font-family: var( --font-family-base ) !important;
|
|
|
|
font-weight: var( --font-weight-semibold );
|
2024-05-03 22:39:57 +00:00
|
|
|
border-top-color: var( --border-color-base );
|
2024-05-03 22:38:57 +00:00
|
|
|
|
2024-08-17 21:10:05 +00:00
|
|
|
> h2 {
|
|
|
|
font-family: var( --font-family-base ) !important;
|
|
|
|
font-weight: var( --font-weight-semibold );
|
|
|
|
}
|
|
|
|
|
2024-05-03 22:38:57 +00:00
|
|
|
&-bar {
|
|
|
|
margin-top: var( --space-xxs );
|
|
|
|
font-size: var( --font-size-x-small );
|
|
|
|
}
|
2023-01-21 19:11:08 +00:00
|
|
|
|
|
|
|
&-metaitem {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2023-01-21 19:11:08 +00:00
|
|
|
|
|
|
|
& + .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 );
|
|
|
|
}
|
|
|
|
}
|