Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
66743676
Commit
66743676
authored
Mar 28, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moving css tests to less directory
parent
93d42ca8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
352 deletions
+49
-352
docs/templates/pages/css-tests.mustache
docs/templates/pages/css-tests.mustache
+0
-276
less/tests/css-tests.css
less/tests/css-tests.css
+35
-0
less/tests/css-tests.html
less/tests/css-tests.html
+14
-76
No files found.
docs/templates/pages/css-tests.mustache
deleted
100644 → 0
View file @
93d42ca8
<style>
/* nuke background */
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
);
}
</style>
<!-- Masthead
================================================== -->
<header
class=
"jumbotron subhead"
id=
"overview"
>
<h1>
{{
_i
}}
CSS Tests
{{/
i
}}
</h1>
<p
class=
"lead"
>
{{
_i
}}
One stop shop for quick debugging and edge-case tests of CSS.
{{/
i
}}
</p>
</header>
<!-- Tables
================================================== -->
<div
class=
"page-header"
>
<h1>
Tables
</h1>
</div>
<div
class=
"row"
>
<div
class=
"span6"
>
<h4>
Bordered without thead
</h4>
<table
class=
"table table-bordered"
>
<tbody>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
</tbody>
</table>
<h4>
Bordered without thead, with caption
</h4>
<table
class=
"table table-bordered"
>
<caption>
Table caption
</caption>
<tbody>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
</tbody>
</table>
<h4>
Bordered without thead, with colgroup
</h4>
<table
class=
"table table-bordered"
>
<colgroup>
<col
class=
"col1"
>
<col
class=
"col2"
>
<col
class=
"col3"
>
</colgroup>
<tbody>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
</tbody>
</table>
<h4>
Bordered with thead, with colgroup
</h4>
<table
class=
"table table-bordered"
>
<colgroup>
<col
class=
"col1"
>
<col
class=
"col2"
>
<col
class=
"col3"
>
</colgroup>
<thead>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
</thead>
<tbody>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
</tbody>
</table>
</div>
<!--/span-->
<div
class=
"span6"
>
<h4>
Bordered with thead and caption
</h4>
<table
class=
"table table-bordered"
>
<caption>
Table caption
</caption>
<thead>
<tr>
<th>
1
</th>
<th>
2
</th>
<th>
3
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
</tbody>
</table>
<h4>
Bordered with rowspan and colspan
</h4>
<table
class=
"table table-bordered"
>
<thead>
<tr>
<th>
1
</th>
<th>
2
</th>
<th>
3
</th>
</tr>
</thead>
<tbody>
<tr>
<td
colspan=
"2"
>
1 and 2
</td>
<td>
3
</td>
</tr>
<tr>
<td>
1
</td>
<td
rowspan=
"2"
>
2
</td>
<td>
3
</td>
</tr>
<tr>
<td
rowspan=
"2"
>
1
</td>
<td>
3
</td>
</tr>
<tr>
<td
colspan=
"2"
>
2 and 3
</td>
</tr>
</tbody>
</table>
</div>
<!--/span-->
</div>
<!--/row-->
<!-- Forms
================================================== -->
<div
class=
"page-header"
>
<h1>
Forms
</h1>
</div>
<div
class=
"row"
>
<div
class=
"span4"
>
<h4>
Prepend and append on inputs
</h4>
<form>
<div
class=
"controls"
>
<div
class=
"input-prepend"
>
<span
class=
"add-on"
>
@
</span><input
class=
"span2"
id=
"prependedInput"
size=
"16"
type=
"text"
>
</div>
</div>
<div
class=
"controls"
>
<div
class=
"input-append"
>
<input
class=
"span2"
id=
"prependedInput"
size=
"16"
type=
"text"
><span
class=
"add-on"
>
@
</span>
</div>
</div>
<div
class=
"controls"
>
<div
class=
"input-prepend input-append"
>
<span
class=
"add-on"
>
$
</span><input
class=
"span2"
id=
"prependedInput"
size=
"16"
type=
"text"
><span
class=
"add-on"
>
.00
</span>
</div>
</div>
</form>
</div>
<!--/span-->
<div
class=
"span6"
>
<h4>
Prepend and append with uneditable
</h4>
<form>
<div
class=
"input-prepend"
>
<span
class=
"add-on"
>
$
</span><span
class=
"span2 uneditable-input"
>
Some value here
</span>
</div>
<div
class=
"input-append"
>
<span
class=
"span2 uneditable-input"
>
Some value here
</span><span
class=
"add-on"
>
.00
</span>
</div>
</form>
</div>
<!--/span-->
</div>
<!--/row-->
<h4>
Fluid row with inputs
</h4>
<p>
Inputs should not extend past the light red background, set on their parent, a
<code>
.span*
</code>
column.
</p>
<div
id=
"fluidRowInputs"
>
<div
class=
"row-fluid"
>
<div
class=
"span4"
>
<input
class=
"span4"
placeholder=
"span4"
>
</div>
<!--/span-->
<div
class=
"span8"
>
<input
class=
"span8"
placeholder=
"span8"
>
</div>
<!--/span-->
</div>
<!--/row-->
<div
class=
"row-fluid"
id=
"fluidRowInputs"
>
<div
class=
"span12"
>
<input
class=
"span12"
placeholder=
"span12"
>
</div>
<!--/span-->
</div>
<!--/row-->
</div>
less/tests/css-tests.css
0 → 100644
View file @
66743676
/*!
* 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
);
}
doc
s/css-tests.html
→
less/test
s/css-tests.html
View file @
66743676
...
...
@@ -2,16 +2,19 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
C
s
s · Twitter Bootstrap
</title>
<title>
C
SS Test
s · Twitter Bootstrap
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
<!-- Le styles -->
<link
href=
"assets/css/bootstrap.css"
rel=
"stylesheet"
>
<link
href=
"assets/css/bootstrap-responsive.css"
rel=
"stylesheet"
>
<link
href=
"assets/css/docs.css"
rel=
"stylesheet"
>
<link
href=
"assets/js/google-code-prettify/prettify.css"
rel=
"stylesheet"
>
<link
href=
"../../docs/assets/css/bootstrap.css"
rel=
"stylesheet"
>
<link
href=
"../../docs/assets/css/bootstrap-responsive.css"
rel=
"stylesheet"
>
<link
href=
"../../docs/assets/css/docs.css"
rel=
"stylesheet"
>
<link
href=
"../../docs/assets/js/google-code-prettify/prettify.css"
rel=
"stylesheet"
>
<!-- CSS just for the tests page -->
<link
href=
"css-tests.css"
rel=
"stylesheet"
>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
...
...
@@ -19,14 +22,14 @@
<![endif]-->
<!-- Le fav and touch icons -->
<link
rel=
"shortcut icon"
href=
"assets/ico/favicon.ico"
>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"144x144"
href=
"assets/ico/apple-touch-icon-144-precomposed.png"
>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"114x114"
href=
"assets/ico/apple-touch-icon-114-precomposed.png"
>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"72x72"
href=
"assets/ico/apple-touch-icon-72-precomposed.png"
>
<link
rel=
"apple-touch-icon-precomposed"
href=
"assets/ico/apple-touch-icon-57-precomposed.png"
>
<link
rel=
"shortcut icon"
href=
"
../../docs/
assets/ico/favicon.ico"
>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"144x144"
href=
"
../../docs/
assets/ico/apple-touch-icon-144-precomposed.png"
>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"114x114"
href=
"
../../docs/
assets/ico/apple-touch-icon-114-precomposed.png"
>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"72x72"
href=
"
../../docs/
assets/ico/apple-touch-icon-72-precomposed.png"
>
<link
rel=
"apple-touch-icon-precomposed"
href=
"
../../docs/
assets/ico/apple-touch-icon-57-precomposed.png"
>
</head>
<body
data-spy=
"scroll"
data-target=
".subnav"
data-offset=
"50"
>
<body>
<!-- Navbar
...
...
@@ -34,78 +37,13 @@
<div
class=
"navbar navbar-fixed-top"
>
<div
class=
"navbar-inner"
>
<div
class=
"container"
>
<a
class=
"btn btn-navbar"
data-toggle=
"collapse"
data-target=
".nav-collapse"
>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<div
class=
"nav-collapse collapse"
>
<ul
class=
"nav"
>
<li
class=
""
>
<a
href=
"./index.html"
>
Overview
</a>
</li>
<li
class=
""
>
<a
href=
"./scaffolding.html"
>
Scaffolding
</a>
</li>
<li
class=
""
>
<a
href=
"./base-css.html"
>
Base CSS
</a>
</li>
<li
class=
""
>
<a
href=
"./components.html"
>
Components
</a>
</li>
<li
class=
""
>
<a
href=
"./javascript.html"
>
Javascript plugins
</a>
</li>
<li
class=
""
>
<a
href=
"./less.html"
>
Using LESS
</a>
</li>
<li
class=
"divider-vertical"
></li>
<li
class=
""
>
<a
href=
"./download.html"
>
Customize
</a>
</li>
<li
class=
""
>
<a
href=
"./examples.html"
>
Examples
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div
class=
"container"
>
<style>
/* nuke background */
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
);
}
</style>
<!-- Masthead
================================================== -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment