EBernhardson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/177465
Change subject: Hygiene: increase specificity of .flow-topic-title and remove
!important
......................................................................
Hygiene: increase specificity of .flow-topic-title and remove !important
Change-Id: I1cde1fe6cb4b4f92271518724165ad515325dc6e
---
M modules/styles/board/topic/titlebar.less
1 file changed, 4 insertions(+), 22 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/65/177465/1
diff --git a/modules/styles/board/topic/titlebar.less
b/modules/styles/board/topic/titlebar.less
index 0990f3c..b127041 100644
--- a/modules/styles/board/topic/titlebar.less
+++ b/modules/styles/board/topic/titlebar.less
@@ -17,30 +17,12 @@
}
}
-// ...but only when titlebar is active
-.flow-element-collapsible-active {
- .flow-topic-titlebar {
- cursor: pointer;
-
- // Render a shadow
- &:hover,
- &:focus {
- .box-shadow( ~"inset 0 -1px 0px 1px
@{colorGrayLighter}, 0 1px 1px @{colorGrayLightest}" );
- }
-
- // Fade out the posts to show they will disappear
- &:hover + .flow-post {
- opacity: .85;
- }
- }
-}
-
-.flow-topic-title {
+// needs extra specificity to override `div#content h2` from Vector
+div#content .flow-topic-title {
padding: 0;
border-bottom: none;
- // @todo: !important needed to override default Vector styles on
div#content h2
- margin: 0 2.5em .15em 0 !important;
- font-family: sans-serif !important;
+ margin: 0 2.5em .15em 0;
+ font-family: sans-serif;
font-weight: bold;
word-break: break-word;
word-wrap: break-word;
--
To view, visit https://gerrit.wikimedia.org/r/177465
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1cde1fe6cb4b4f92271518724165ad515325dc6e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits