Set Agora font stack to mw-ui-container in Vector
authorS Page <spage@wikimedia.org>
Fri, 12 Apr 2013 23:37:05 +0000 (16:37 -0700)
committerS Page <spage@wikimedia.org>
Fri, 12 Apr 2013 23:37:05 +0000 (16:37 -0700)
We moved the language links outside the new compact vertical form
layout, hence also need to apply the font stack to mw-ui-container when
using Vector skin.

Also
* a comment-only CSS change
* set relative_assets = true in Compass sourcefiles configuration

Bug: 47187
Change-Id: Id064dc8ada5c43c33e17d1e66d327ba05e918657

resources/mediawiki.special/mediawiki.special.vforms.css
resources/mediawiki.ui/mediawiki.ui.vector.css
resources/mediawiki.ui/sourcefiles/config.rb
resources/mediawiki.ui/sourcefiles/scss/components/_vector.scss
resources/mediawiki.ui/sourcefiles/scss/components/vector/_containers.scss [new file with mode: 0644]

index 4ae06df..db947a9 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * When inside the VForm style, disable the border that Vector puts on the div
- * surrounding the login/create account form.
+ * When inside the VForm style, disable the border that Vector and other skins
+ * put on the div surrounding the login/create account form.
  * Also disable the margin and padding that Vector puts around the form.
  */
 .mw-ui-container #userloginForm,
index 4849fb4..b830649 100644 (file)
   font-size: 1em;
   line-height: 1.4em;
 }
+
+/* line 3, sourcefiles/scss/components/vector/_containers.scss */
+.mw-ui-container {
+  font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
+  font-size: 1em;
+  line-height: 1.4em;
+}
index be96e64..28c6524 100644 (file)
@@ -14,7 +14,7 @@ sass_dir = "scss"
 output_style = :expanded
 
 # To enable relative paths to assets via compass helper functions. Uncomment:
-relative_assets = true
+relative_assets = true
 
 # To disable debugging comments that display the original location of your selectors. Uncomment:
 line_comments = true
index e52a1ed..d7cb34a 100644 (file)
@@ -1,3 +1,4 @@
 @import "utilities";
 @import "vector/buttons";
-@import "vector/forms";
\ No newline at end of file
+@import "vector/forms";
+@import "vector/containers";
diff --git a/resources/mediawiki.ui/sourcefiles/scss/components/vector/_containers.scss b/resources/mediawiki.ui/sourcefiles/scss/components/vector/_containers.scss
new file mode 100644 (file)
index 0000000..ed01603
--- /dev/null
@@ -0,0 +1,5 @@
+// No default settings for containers yet.
+
+.mw-ui-container {
+    @include vector-type;
+}