From 66743676ce83552fbab86ced2fc9e890d0dde6a6 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 28 Mar 2012 17:41:40 -0700 Subject: [PATCH] moving css tests to less directory --- docs/templates/pages/css-tests.mustache | 276 ------------------------ less/tests/css-tests.css | 35 +++ {docs => less/tests}/css-tests.html | 90 ++------ 3 files changed, 49 insertions(+), 352 deletions(-) delete mode 100644 docs/templates/pages/css-tests.mustache create mode 100644 less/tests/css-tests.css rename {docs => less/tests}/css-tests.html (77%) diff --git a/docs/templates/pages/css-tests.mustache b/docs/templates/pages/css-tests.mustache deleted file mode 100644 index cb902e9854..0000000000 --- a/docs/templates/pages/css-tests.mustache +++ /dev/null @@ -1,276 +0,0 @@ - - - - -
-

{{_i}}CSS Tests{{/i}}

-

{{_i}}One stop shop for quick debugging and edge-case tests of CSS.{{/i}}

-
- - - - - - - -
-
-

Bordered without thead

- - - - - - - - - - - - - - - - - - -
123
123
123
-

Bordered without thead, with caption

- - - - - - - - - - - - - - - - - - - -
Table caption
123
123
123
-

Bordered without thead, with colgroup

- - - - - - - - - - - - - - - - - - - - - - - -
123
123
123
-

Bordered with thead, with colgroup

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
123
123
123
123
-
-
-

Bordered with thead and caption

- - - - - - - - - - - - - - - - - - - - - - - - - - -
Table caption
123
123
123
123
-

Bordered with rowspan and colspan

- - - - - - - - - - - - - - - - - - - - - - - - - - -
123
1 and 23
123
13
2 and 3
-
-
- - - - - - - -
-
-

Prepend and append on inputs

-
-
-
- @ -
-
-
-
- @ -
-
-
-
- $.00 -
-
-
-
-
-

Prepend and append with uneditable

-
-
- $Some value here -
-
- Some value here.00 -
-
-
-
- -

Fluid row with inputs

-

Inputs should not extend past the light red background, set on their parent, a .span* column.

-
-
-
- -
-
- -
-
-
-
- -
-
-
- - - - - - - diff --git a/less/tests/css-tests.css b/less/tests/css-tests.css new file mode 100644 index 0000000000..95067048d1 --- /dev/null +++ b/less/tests/css-tests.css @@ -0,0 +1,35 @@ +/*! + * Bootstrap CSS Tests + */ + + +/* Remove background image */ +body { + background-image: none; +} + +/* Space out subhead */ +.subhead { + margin-bottom: 36px; +} +h4 { + margin-bottom: 5px; +} + + +/* colgroup tests */ +.col1 { + background-color: rgba(255,0,0,.1); +} +.col2 { + background-color: rgba(0,255,0,.1); +} +.col3 { + background-color: rgba(0,0,255,.1); +} + + +/* Fluid row inputs */ +#fluidRowInputs .row-fluid > [class*=span] { + background-color: rgba(255,0,0,.1); +} diff --git a/docs/css-tests.html b/less/tests/css-tests.html similarity index 77% rename from docs/css-tests.html rename to less/tests/css-tests.html index 332420dec7..2e40b44c61 100644 --- a/docs/css-tests.html +++ b/less/tests/css-tests.html @@ -2,16 +2,19 @@ - Css · Twitter Bootstrap + CSS Tests · Twitter Bootstrap - - - - + + + + + + + - - - - - + + + + + - +