Kaldari has uploaded a new change for review.
https://gerrit.wikimedia.org/r/73348
Change subject: Cleaning up some old bogus CSS
......................................................................
Cleaning up some old bogus CSS
Bug: 51069
Change-Id: I78c640f59ab7e2501322aeb4c16aab96436890e3
---
M less/common/overlays.less
M stylesheets/common/overlays.css
2 files changed, 27 insertions(+), 45 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/48/73348/1
diff --git a/less/common/overlays.less b/less/common/overlays.less
index 73e8f82..ff9b51f 100644
--- a/less/common/overlays.less
+++ b/less/common/overlays.less
@@ -1,28 +1,5 @@
@import "../mf-mixins.less";
-// FIXME: this looks suspicious (overlay class is added to <html>)
-.overlay ul {
- text-align: left;
- left: 0;
- border: none;
- z-index: 1;
- position: relative;
- opacity: 1;
- padding: 0;
- margin: 0;
- list-style: none;
-
- &.informative {
- margin-left: 16px;
- list-style: outside square;
- margin-bottom: 16px;
-
- li {
- margin-bottom: 8px;
- }
- }
-}
-
html.overlay {
.mw-mf-overlay {
display: block;
@@ -76,8 +53,21 @@
background-color: #F1F1F1;
}
- li {
- text-align: left;
+ ul {
+ list-style: none;
+ li {
+ text-align: left;
+ }
+
+ &.informative {
+ margin-left: 16px;
+ list-style: outside square;
+ margin-bottom: 16px;
+
+ li {
+ margin-bottom: 8px;
+ }
+ }
}
// FIXME: talk overlay specific (style talk textarea like the editor)
diff --git a/stylesheets/common/overlays.css b/stylesheets/common/overlays.css
index f6fe562..abbc941 100644
--- a/stylesheets/common/overlays.css
+++ b/stylesheets/common/overlays.css
@@ -1,22 +1,3 @@
-.overlay ul {
- text-align: left;
- left: 0;
- border: none;
- z-index: 1;
- position: relative;
- opacity: 1;
- padding: 0;
- margin: 0;
- list-style: none;
-}
-.overlay ul.informative {
- margin-left: 16px;
- list-style: outside square;
- margin-bottom: 16px;
-}
-.overlay ul.informative li {
- margin-bottom: 8px;
-}
html.overlay .mw-mf-overlay {
display: block;
}
@@ -62,9 +43,20 @@
.mw-mf-overlay .mw-mf-overlay-header {
background-color: #F1F1F1;
}
-.mw-mf-overlay li {
+.mw-mf-overlay ul {
+ list-style: none;
+}
+.mw-mf-overlay ul li {
text-align: left;
}
+.mw-mf-overlay ul.informative {
+ margin-left: 16px;
+ list-style: outside square;
+ margin-bottom: 16px;
+}
+.mw-mf-overlay ul.informative li {
+ margin-bottom: 8px;
+}
.mw-mf-overlay div.content textarea {
display: block;
width: 100%;
--
To view, visit https://gerrit.wikimedia.org/r/73348
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I78c640f59ab7e2501322aeb4c16aab96436890e3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits