-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(DiscussionTools): ✨ update DT styles
- Loading branch information
1 parent
a7406d8
commit ca503c7
Showing
6 changed files
with
129 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
skinStyles/extensions/DiscussionTools/ext.discussionTools.ReplyWidgetVisual.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Citizen | ||
* | ||
* SkinStyles for Extension:DiscussionTools | ||
* Module: ext.discussionTools.ReplyWidgetVisual | ||
* Version: REL1_39 1aae2cc | ||
* | ||
* Date: 2023-01-21 | ||
*/ | ||
|
||
.ext-discussiontools-ui-targetWidget { | ||
> .ve-init-target > .ve-ui-surface { | ||
.ve-ui-completionWidget-header > .oo-ui-labelElement-label { | ||
color: var( --color-base ); | ||
|
||
> span { | ||
color: var( --color-base--subtle ); | ||
} | ||
} | ||
} | ||
} |
22 changes: 0 additions & 22 deletions
22
skinStyles/extensions/DiscussionTools/ext.discussionTools.init.less
This file was deleted.
Oops, something went wrong.
88 changes: 88 additions & 0 deletions
88
skinStyles/extensions/DiscussionTools/ext.discussionTools.init.styles.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
/* | ||
* Citizen | ||
* | ||
* SkinStyles for Extension:DiscussionTools | ||
* Module: ext.discussionTools.init.styles | ||
* Version: REL1_39 1aae2cc | ||
* | ||
* Date: 2023-01-21 | ||
*/ | ||
|
||
.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 { | ||
&-bracket { | ||
color: var( --color-base--subtle ); | ||
} | ||
|
||
&-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 ); | ||
} | ||
} |