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
88deb08f
Commit
88deb08f
authored
Aug 02, 2012
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.1.0-wip' of
http://github.com/twitter/bootstrap
into 2.1.0-wip
parents
2b2b3303
d27dcf3b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
25 deletions
+59
-25
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+18
-9
docs/assets/css/docs.css
docs/assets/css/docs.css
+1
-1
less/mixins.less
less/mixins.less
+5
-1
less/tests/css-tests.html
less/tests/css-tests.html
+35
-14
No files found.
docs/assets/css/bootstrap.css
View file @
88deb08f
...
@@ -1305,6 +1305,9 @@ input[type="checkbox"][readonly] {
...
@@ -1305,6 +1305,9 @@ input[type="checkbox"][readonly] {
.control-group.warning
textarea
{
.control-group.warning
textarea
{
color
:
#c09853
;
color
:
#c09853
;
border-color
:
#c09853
;
border-color
:
#c09853
;
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
}
}
.control-group.warning
.checkbox
:focus
,
.control-group.warning
.checkbox
:focus
,
...
@@ -1313,9 +1316,9 @@ input[type="checkbox"][readonly] {
...
@@ -1313,9 +1316,9 @@ input[type="checkbox"][readonly] {
.control-group.warning
select
:focus
,
.control-group.warning
select
:focus
,
.control-group.warning
textarea
:focus
{
.control-group.warning
textarea
:focus
{
border-color
:
#a47e3c
;
border-color
:
#a47e3c
;
-webkit-box-shadow
:
0
0
6px
#dbc59e
;
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
6px
#dbc59e
;
-moz-box-shadow
:
0
0
6px
#dbc59e
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
6px
#dbc59e
;
box-shadow
:
0
0
6px
#dbc59e
;
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
6px
#dbc59e
;
}
}
.control-group.warning
.input-prepend
.add-on
,
.control-group.warning
.input-prepend
.add-on
,
...
@@ -1338,6 +1341,9 @@ input[type="checkbox"][readonly] {
...
@@ -1338,6 +1341,9 @@ input[type="checkbox"][readonly] {
.control-group.error
textarea
{
.control-group.error
textarea
{
color
:
#b94a48
;
color
:
#b94a48
;
border-color
:
#b94a48
;
border-color
:
#b94a48
;
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
}
}
.control-group.error
.checkbox
:focus
,
.control-group.error
.checkbox
:focus
,
...
@@ -1346,9 +1352,9 @@ input[type="checkbox"][readonly] {
...
@@ -1346,9 +1352,9 @@ input[type="checkbox"][readonly] {
.control-group.error
select
:focus
,
.control-group.error
select
:focus
,
.control-group.error
textarea
:focus
{
.control-group.error
textarea
:focus
{
border-color
:
#953b39
;
border-color
:
#953b39
;
-webkit-box-shadow
:
0
0
6px
#d59392
;
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
6px
#d59392
;
-moz-box-shadow
:
0
0
6px
#d59392
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
6px
#d59392
;
box-shadow
:
0
0
6px
#d59392
;
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
6px
#d59392
;
}
}
.control-group.error
.input-prepend
.add-on
,
.control-group.error
.input-prepend
.add-on
,
...
@@ -1371,6 +1377,9 @@ input[type="checkbox"][readonly] {
...
@@ -1371,6 +1377,9 @@ input[type="checkbox"][readonly] {
.control-group.success
textarea
{
.control-group.success
textarea
{
color
:
#468847
;
color
:
#468847
;
border-color
:
#468847
;
border-color
:
#468847
;
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
}
}
.control-group.success
.checkbox
:focus
,
.control-group.success
.checkbox
:focus
,
...
@@ -1379,9 +1388,9 @@ input[type="checkbox"][readonly] {
...
@@ -1379,9 +1388,9 @@ input[type="checkbox"][readonly] {
.control-group.success
select
:focus
,
.control-group.success
select
:focus
,
.control-group.success
textarea
:focus
{
.control-group.success
textarea
:focus
{
border-color
:
#356635
;
border-color
:
#356635
;
-webkit-box-shadow
:
0
0
6px
#7aba7b
;
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
6px
#7aba7b
;
-moz-box-shadow
:
0
0
6px
#7aba7b
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
6px
#7aba7b
;
box-shadow
:
0
0
6px
#7aba7b
;
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
6px
#7aba7b
;
}
}
.control-group.success
.input-prepend
.add-on
,
.control-group.success
.input-prepend
.add-on
,
...
...
docs/assets/css/docs.css
View file @
88deb08f
...
@@ -134,7 +134,7 @@ hr.soften {
...
@@ -134,7 +134,7 @@ hr.soften {
/* Download button */
/* Download button */
@-webkit-keyframes
downloadButton
{
@-webkit-keyframes
downloadButton
{
from
{
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.1
);
}
from
{
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.1
);
}
50
%
{
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
50px
rgba
(
0
,
68
,
204
,
1
);
}
50
%
{
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
25px
rgba
(
0
,
68
,
204
,
.9
);
}
to
{
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.1
);
}
to
{
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.1
);
}
}
}
.masthead
.btn
{
.masthead
.btn
{
...
...
less/mixins.less
View file @
88deb08f
...
@@ -175,9 +175,13 @@
...
@@ -175,9 +175,13 @@
textarea {
textarea {
color: @textColor;
color: @textColor;
border-color: @borderColor;
border-color: @borderColor;
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
&:focus {
&:focus {
border-color: darken(@borderColor, 10%);
border-color: darken(@borderColor, 10%);
.box-shadow(0 0 6px lighten(@borderColor, 20%));
// Write out in full since the lighten() function isn't easily escaped
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
}
}
}
}
// Give a small background color for input-prepend/-append
// Give a small background color for input-prepend/-append
...
...
less/tests/css-tests.html
View file @
88deb08f
...
@@ -818,6 +818,30 @@
...
@@ -818,6 +818,30 @@
<br>
<br>
<h4>
Fluid textarea at .span12
</h4>
<div
class=
"row-fluid"
>
<div
class=
"span12"
>
<textarea
class=
"span12"
></textarea>
</div>
</div>
<br>
<h4>
Selects
</h4>
<form>
<select
class=
"span4"
>
<option>
Option
</option>
</select>
</form>
<br>
<!-- Dropdowns
<!-- Dropdowns
================================================== -->
================================================== -->
...
@@ -1009,6 +1033,7 @@
...
@@ -1009,6 +1033,7 @@
</div>
</div>
</div>
<!-- /tabbable -->
</div>
<!-- /tabbable -->
<br>
<!-- Labels
<!-- Labels
...
@@ -1035,13 +1060,14 @@
...
@@ -1035,13 +1060,14 @@
</div>
<!--/span-->
</div>
<!--/span-->
</div>
<!--/row-->
</div>
<!--/row-->
<br>
<!-- Button groups
<!-- Button groups
================================================== -->
================================================== -->
<div
class=
"page-header"
>
<div
class=
"page-header"
>
<h1>
Button
group
s
</h1>
<h1>
Buttons
</h1>
</div>
</div>
<table
class=
"table table-bordered"
>
<table
class=
"table table-bordered"
>
...
@@ -1062,6 +1088,14 @@
...
@@ -1062,6 +1088,14 @@
</tbody>
</tbody>
</table>
</table>
<h4>
Mini buttons: text and icon
</h4>
<div
class=
"btn-group"
>
<button
class=
"btn btn-mini"
>
Button text
</button>
<button
class=
"btn btn-mini"
><i
class=
"icon-cog"
></i></button>
</div>
<br>
<!-- Responsive utility classes
<!-- Responsive utility classes
...
@@ -1098,19 +1132,6 @@
...
@@ -1098,19 +1132,6 @@
<br>
<br>
<br>
<h4>
Fluid textarea at .span12
</h4>
<div
class=
"row-fluid"
>
<div
class=
"span12"
>
<textarea
class=
"span12"
></textarea>
</div>
</div>
</div>
<!-- /container -->
</div>
<!-- /container -->
...
...
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