r101704 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101703‎ | r101704 | r101705 >
Date:21:29, 2 November 2011
Author:tparscal
Status:ok
Tags:
Comment:
Copying jquery and qunit to VisualEditor extension
Modified paths:
  • /trunk/extensions/VisualEditor/modules/qunit.css (added) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/qunit.css
@@ -0,0 +1,226 @@
 2+/**
 3+ * QUnit 1.2.0pre - A JavaScript Unit Testing Framework
 4+ *
 5+ * http://docs.jquery.com/QUnit
 6+ *
 7+ * Copyright (c) 2011 John Resig, Jörn Zaefferer
 8+ * Dual licensed under the MIT (MIT-LICENSE.txt)
 9+ * or GPL (GPL-LICENSE.txt) licenses.
 10+ */
 11+
 12+/** Font Family and Sizes */
 13+
 14+#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
 15+ font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
 16+}
 17+
 18+#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
 19+#qunit-tests { font-size: smaller; }
 20+
 21+
 22+/** Resets */
 23+
 24+#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
 25+ margin: 0;
 26+ padding: 0;
 27+}
 28+
 29+
 30+/** Header */
 31+
 32+#qunit-header {
 33+ padding: 0.5em 0 0.5em 1em;
 34+
 35+ color: #8699a4;
 36+ background-color: #0d3349;
 37+
 38+ font-size: 1.5em;
 39+ line-height: 1em;
 40+ font-weight: normal;
 41+
 42+ border-radius: 15px 15px 0 0;
 43+ -moz-border-radius: 15px 15px 0 0;
 44+ -webkit-border-top-right-radius: 15px;
 45+ -webkit-border-top-left-radius: 15px;
 46+}
 47+
 48+#qunit-header a {
 49+ text-decoration: none;
 50+ color: #c2ccd1;
 51+}
 52+
 53+#qunit-header a:hover,
 54+#qunit-header a:focus {
 55+ color: #fff;
 56+}
 57+
 58+#qunit-banner {
 59+ height: 5px;
 60+}
 61+
 62+#qunit-testrunner-toolbar {
 63+ padding: 0.5em 0 0.5em 2em;
 64+ color: #5E740B;
 65+ background-color: #eee;
 66+}
 67+
 68+#qunit-userAgent {
 69+ padding: 0.5em 0 0.5em 2.5em;
 70+ background-color: #2b81af;
 71+ color: #fff;
 72+ text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
 73+}
 74+
 75+
 76+/** Tests: Pass/Fail */
 77+
 78+#qunit-tests {
 79+ list-style-position: inside;
 80+}
 81+
 82+#qunit-tests li {
 83+ padding: 0.4em 0.5em 0.4em 2.5em;
 84+ border-bottom: 1px solid #fff;
 85+ list-style-position: inside;
 86+}
 87+
 88+#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
 89+ display: none;
 90+}
 91+
 92+#qunit-tests li strong {
 93+ cursor: pointer;
 94+}
 95+
 96+#qunit-tests li a {
 97+ padding: 0.5em;
 98+ color: #c2ccd1;
 99+ text-decoration: none;
 100+}
 101+#qunit-tests li a:hover,
 102+#qunit-tests li a:focus {
 103+ color: #000;
 104+}
 105+
 106+#qunit-tests ol {
 107+ margin-top: 0.5em;
 108+ padding: 0.5em;
 109+
 110+ background-color: #fff;
 111+
 112+ border-radius: 15px;
 113+ -moz-border-radius: 15px;
 114+ -webkit-border-radius: 15px;
 115+
 116+ box-shadow: inset 0px 2px 13px #999;
 117+ -moz-box-shadow: inset 0px 2px 13px #999;
 118+ -webkit-box-shadow: inset 0px 2px 13px #999;
 119+}
 120+
 121+#qunit-tests table {
 122+ border-collapse: collapse;
 123+ margin-top: .2em;
 124+}
 125+
 126+#qunit-tests th {
 127+ text-align: right;
 128+ vertical-align: top;
 129+ padding: 0 .5em 0 0;
 130+}
 131+
 132+#qunit-tests td {
 133+ vertical-align: top;
 134+}
 135+
 136+#qunit-tests pre {
 137+ margin: 0;
 138+ white-space: pre-wrap;
 139+ word-wrap: break-word;
 140+}
 141+
 142+#qunit-tests del {
 143+ background-color: #e0f2be;
 144+ color: #374e0c;
 145+ text-decoration: none;
 146+}
 147+
 148+#qunit-tests ins {
 149+ background-color: #ffcaca;
 150+ color: #500;
 151+ text-decoration: none;
 152+}
 153+
 154+/*** Test Counts */
 155+
 156+#qunit-tests b.counts { color: black; }
 157+#qunit-tests b.passed { color: #5E740B; }
 158+#qunit-tests b.failed { color: #710909; }
 159+
 160+#qunit-tests li li {
 161+ margin: 0.5em;
 162+ padding: 0.4em 0.5em 0.4em 0.5em;
 163+ background-color: #fff;
 164+ border-bottom: none;
 165+ list-style-position: inside;
 166+}
 167+
 168+/*** Passing Styles */
 169+
 170+#qunit-tests li li.pass {
 171+ color: #5E740B;
 172+ background-color: #fff;
 173+ border-left: 26px solid #C6E746;
 174+}
 175+
 176+#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
 177+#qunit-tests .pass .test-name { color: #366097; }
 178+
 179+#qunit-tests .pass .test-actual,
 180+#qunit-tests .pass .test-expected { color: #999999; }
 181+
 182+#qunit-banner.qunit-pass { background-color: #C6E746; }
 183+
 184+/*** Failing Styles */
 185+
 186+#qunit-tests li li.fail {
 187+ color: #710909;
 188+ background-color: #fff;
 189+ border-left: 26px solid #EE5757;
 190+ white-space: pre;
 191+}
 192+
 193+#qunit-tests > li:last-child {
 194+ border-radius: 0 0 15px 15px;
 195+ -moz-border-radius: 0 0 15px 15px;
 196+ -webkit-border-bottom-right-radius: 15px;
 197+ -webkit-border-bottom-left-radius: 15px;
 198+}
 199+
 200+#qunit-tests .fail { color: #000000; background-color: #EE5757; }
 201+#qunit-tests .fail .test-name,
 202+#qunit-tests .fail .module-name { color: #000000; }
 203+
 204+#qunit-tests .fail .test-actual { color: #EE5757; }
 205+#qunit-tests .fail .test-expected { color: green; }
 206+
 207+#qunit-banner.qunit-fail { background-color: #EE5757; }
 208+
 209+
 210+/** Result */
 211+
 212+#qunit-testresult {
 213+ padding: 0.5em 0.5em 0.5em 2.5em;
 214+
 215+ color: #2b81af;
 216+ background-color: #D2E0E6;
 217+
 218+ border-bottom: 1px solid white;
 219+}
 220+
 221+/** Fixture */
 222+
 223+#qunit-fixture {
 224+ position: absolute;
 225+ top: -10000px;
 226+ left: -10000px;
 227+}
Property changes on: trunk/extensions/VisualEditor/modules/qunit.css
___________________________________________________________________
Added: svn:eol-style
1228 + native
Added: svn:mime-type
2229 + text/plain

Status & tagging log