jenkins-bot has submitted this change and it was merged.

Change subject: Add forms, forgot the forms, oops.
......................................................................


Add forms, forgot the forms, oops.

Change-Id: Id35385874c86f851007d685d50c7a9929ae809e2
---
A resources/forms.less
M resources/main.js
2 files changed, 203 insertions(+), 0 deletions(-)

Approvals:
  Isarra: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/forms.less b/resources/forms.less
new file mode 100644
index 0000000..ef34e58
--- /dev/null
+++ b/resources/forms.less
@@ -0,0 +1,203 @@
+@import "variables.less";
+
+/*
+ * PREFERENCES AND FIELDSET STUFF
+ */
+#preftoc {
+       margin: 0 0 1em;
+       padding: 0;
+       list-style: none;
+       clear: both;
+
+       li {
+               display: inline;
+               margin-right: 1em;
+
+               &.selected {
+                       border-bottom: solid 3px @soft-border;
+
+                       a {
+                               color: #000;
+                       }
+               }
+               a {
+                       color: @link-grey;
+               }
+       }
+}
+#preferences {
+       margin: 0;
+       clear: both;
+       min-height: 400px;
+
+       .prefsection {
+               border: none;
+               padding: 0;
+               margin: 0;
+       }
+       .mainLegend {
+               display: none;
+       }
+       .preferences-login {
+               clear: both;
+               margin-bottom: 1.5em;
+       }
+       .mw-email-not-authenticated .mw-input, .mw-email-none .mw-input
+{
+               display: block;
+       }
+}
+
+/*
+ * FORM STUFF
+ */
+
+/* pile of bad hacks to try to catch all the different ones */
+#searchInput,
+input[name="target"],
+input[name="user"],
+input[name="mime"],
+input[size$="0"],
+input[type="text"],
+input[type="checkbox"],
+input[type="radio"],
+input#wpTemplateSandboxPage,
+input.mw-summary,
+input.mw-input,
+.mw-input input,
+textarea,
+.mw-ui-input-inline {
+       padding: .35em;
+       box-shadow: 0 1px 4px -1px #ccc inset;
+       border: solid 1px @bold-border;
+       margin: .5em 0;
+}
+select {
+       padding: .2em;
+       margin: .5em 0;
+}
+#searchInput,
+input[type="submit"].searchButton {
+       padding: .45em;
+       margin: 0;
+}
+input[type="radio"] {
+       border-radius: 7px;
+}
+input[type="submit"],
+input[type="button"],
+button {
+       padding: .35em 1em;
+       border: solid 1px #ccc;
+       border-radius: 3px;
+       box-shadow: none;
+       .vertical-gradient ( #fcfcfc, #ededed, 0, 100% );
+
+       &:active {
+               .vertical-gradient ( #fff, #f6f6f6, 0, 100% );
+       }
+}
+textarea {
+       width: 100%;
+       resize: vertical;
+       box-sizing: border-box;
+       line-height: 1.3em;
+}
+div.editOptions {
+       background: #fff;
+       border-bottom: solid 1px @soft-border;
+       padding: 1em 0;
+
+       .mw-summary label {
+               padding-left: 0;
+       }
+       input#wpSummary {
+               box-sizing: border-box;
+               width: 100%;
+       }
+       label {
+               margin-right: 1.5em;
+       }
+}
+td.mw-input,
+td.mw-label {
+       vertical-align: middle;
+}
+
+fieldset {
+       border: 1px @bold-border;
+       border-style: solid none none;
+       line-height: 1.3em;
+       margin: 1em 0;
+       padding: 1.5em 0 0 0;
+
+       legend {
+               padding: 0 1em;
+               text-shadow: 0 0 1px #999;
+               margin-left: 1em;
+       }
+}
+label {
+       padding-left: .5em;
+}
+.mw-input label {
+       padding: 0;
+       margin-right: 1em;
+}
+.mw-label {
+       padding-right: .5em;
+}
+.mw-submit {
+       padding-top: 2em;
+}
+.htmlform-tip {
+       font-size: 85%;
+       color: @text-grey;
+       line-height: 1.2em;
+       padding: 1em 0;
+}
+
+/* Recent changes and watchlist options */
+.rcoptions hr,
+#mw-watchlist-options hr {
+       clear: both;
+}
+.rcoptions #namespace,
+#mw-watchlist-options .namespaceselector {
+       margin-right: 2em;
+}
+
+/* Watchlist */
+#mw-watchlist-options {
+       label {
+               padding: 0 1em 0 0;
+       }
+       input[type="submit"] {
+               margin: 0 0 0 4em;
+       }
+}
+
+/* Related changes hacks */
+.mw-special-Recentchangeslinked {
+       .rcoptions {
+               input[type="submit"] {
+                       float: right;
+                       margin: 0 0 0 4em;
+               }
+               td.mw-label.mw-target-label {
+                       vertical-align: top;
+                       padding-top: .75em;
+               }
+               input[name="target"] {
+                       float: left;
+               }
+       }
+       #showlinkedto {
+               clear: left;
+               float: left;
+       }
+       label[for="showlinkedto"] {
+               padding: .4em;
+               float: left;
+       }
+}
diff --git a/resources/main.js b/resources/main.js
old mode 100755
new mode 100644

-- 
To view, visit https://gerrit.wikimedia.org/r/248987
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id35385874c86f851007d685d50c7a9929ae809e2
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/skins/GreyStuff
Gerrit-Branch: master
Gerrit-Owner: Isarra <[email protected]>
Gerrit-Reviewer: Isarra <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to