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
90e4ff73
Commit
90e4ff73
authored
May 09, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip
Conflicts: less/forms.less
parents
a19fda69
1fdfee8d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
126 deletions
+31
-126
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+17
-79
less/forms.less
less/forms.less
+13
-47
less/glyphicons.less
less/glyphicons.less
+1
-0
No files found.
docs/assets/css/bootstrap.css
View file @
90e4ff73
...
@@ -1601,20 +1601,11 @@ select:focus:invalid:focus {
...
@@ -1601,20 +1601,11 @@ select:focus:invalid:focus {
.input-group-btn
,
.input-group-btn
,
.input-group
input
{
.input-group
input
{
display
:
table-cell
;
display
:
table-cell
;
/*margin: 0;*/
border-radius
:
0
;
}
.input-group-addon.input-small
,
.input-group-btn.input-small
,
.input-group
input
.input-small
{
border-radius
:
0
;
}
}
.input-group-addon
.input-large
,
.input-group-addon
:not
(
:first-child
)
:not
(
:last-child
)
,
.input-group-btn
.input-large
,
.input-group-btn
:not
(
:first-child
)
:not
(
:last-child
)
,
.input-group
input
.input-large
{
.input-group
input
:not
(
:first-child
)
:not
(
:last-child
)
{
border-radius
:
0
;
border-radius
:
0
;
}
}
...
@@ -1633,6 +1624,7 @@ select:focus:invalid:focus {
...
@@ -1633,6 +1624,7 @@ select:focus:invalid:focus {
text-shadow
:
0
1px
0
#fff
;
text-shadow
:
0
1px
0
#fff
;
background-color
:
#eeeeee
;
background-color
:
#eeeeee
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
-webkit-box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
@@ -1641,29 +1633,21 @@ select:focus:invalid:focus {
...
@@ -1641,29 +1633,21 @@ select:focus:invalid:focus {
.input-group-addon.input-small
{
.input-group-addon.input-small
{
padding
:
2px
10px
;
padding
:
2px
10px
;
font-size
:
11.9px
;
font-size
:
11.9px
;
border-radius
:
3px
;
}
}
.input-group-addon.input-large
{
.input-group-addon.input-large
{
padding
:
11px
14px
;
padding
:
11px
14px
;
font-size
:
17.5px
;
font-size
:
17.5px
;
border-radius
:
6px
;
}
}
.input-group
input
:first-child
,
.input-group
input
:first-child
,
.input-group-addon
:first-child
{
.input-group-addon
:first-child
,
border-bottom-left-radius
:
4px
;
.input-group-btn
:first-child
>
.btn
:first-child
,
border-top-left-radius
:
4px
;
.input-group-btn
:first-child
>
.dropdown-toggle
:first-child
{
}
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
.input-group
input
:first-child
.input-small
,
.input-group-addon
:first-child
.input-small
{
border-bottom-left-radius
:
3px
;
border-top-left-radius
:
3px
;
}
.input-group
input
:first-child
.input-large
,
.input-group-addon
:first-child
.input-large
{
border-bottom-left-radius
:
6px
;
border-top-left-radius
:
6px
;
}
}
.input-group-addon
:first-child
{
.input-group-addon
:first-child
{
...
@@ -1671,21 +1655,11 @@ select:focus:invalid:focus {
...
@@ -1671,21 +1655,11 @@ select:focus:invalid:focus {
}
}
.input-group
input
:last-child
,
.input-group
input
:last-child
,
.input-group-addon
:last-child
{
.input-group-addon
:last-child
,
border-top-right-radius
:
4px
;
.input-group-btn
:last-child
>
.btn
:last-child
,
border-bottom-right-radius
:
4px
;
.input-group-btn
:last-child
>
.dropdown-toggle
{
}
border-bottom-left-radius
:
0
;
border-top-left-radius
:
0
;
.input-group
input
:last-child
.input-small
,
.input-group-addon
:last-child
.input-small
{
border-top-right-radius
:
3px
;
border-bottom-right-radius
:
3px
;
}
.input-group
input
:last-child
.input-large
,
.input-group-addon
:last-child
.input-large
{
border-top-right-radius
:
6px
;
border-bottom-right-radius
:
6px
;
}
}
.input-group-addon
:last-child
{
.input-group-addon
:last-child
{
...
@@ -1700,7 +1674,6 @@ select:focus:invalid:focus {
...
@@ -1700,7 +1674,6 @@ select:focus:invalid:focus {
.input-group-btn
>
.btn
{
.input-group-btn
>
.btn
{
position
:
relative
;
position
:
relative
;
float
:
left
;
float
:
left
;
border-radius
:
0
;
}
}
.input-group-btn
>
.btn
+
.btn
{
.input-group-btn
>
.btn
+
.btn
{
...
@@ -1712,42 +1685,6 @@ select:focus:invalid:focus {
...
@@ -1712,42 +1685,6 @@ select:focus:invalid:focus {
z-index
:
2
;
z-index
:
2
;
}
}
.input-group-btn
:first-child
>
.btn
:first-child
,
.input-group-btn
:first-child
>
.dropdown-toggle
:first-child
{
border-bottom-left-radius
:
4px
;
border-top-left-radius
:
4px
;
}
.input-group-btn
:first-child
>
.btn
:first-child
.btn-large
,
.input-group-btn
:first-child
>
.dropdown-toggle
:first-child
.btn-large
{
border-bottom-left-radius
:
6px
;
border-top-left-radius
:
6px
;
}
.input-group-btn
:first-child
>
.btn
:first-child
.btn-small
,
.input-group-btn
:first-child
>
.dropdown-toggle
:first-child
.btn-small
{
border-bottom-left-radius
:
3px
;
border-top-left-radius
:
3px
;
}
.input-group-btn
:last-child
>
.btn
:last-child
,
.input-group-btn
:last-child
>
.dropdown-toggle
{
border-top-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
}
.input-group-btn
:last-child
>
.btn
:last-child
.btn-large
,
.input-group-btn
:last-child
>
.dropdown-toggle.btn-large
{
border-top-right-radius
:
6px
;
border-bottom-right-radius
:
6px
;
}
.input-group-btn
:last-child
>
.btn
:last-child
.btn-small
,
.input-group-btn
:last-child
>
.dropdown-toggle.btn-small
{
border-top-right-radius
:
3px
;
border-bottom-right-radius
:
3px
;
}
.form-inline
input
,
.form-inline
input
,
.form-inline
select
,
.form-inline
select
,
.form-inline
textarea
,
.form-inline
textarea
,
...
@@ -2115,6 +2052,7 @@ input[type="button"].btn-block {
...
@@ -2115,6 +2052,7 @@ input[type="button"].btn-block {
.glyphicon
:before
{
.glyphicon
:before
{
font-family
:
'Glyphicons Halflings'
;
font-family
:
'Glyphicons Halflings'
;
-webkit-font-smoothing
:
antialiased
;
font-style
:
normal
;
font-style
:
normal
;
font-weight
:
normal
;
font-weight
:
normal
;
line-height
:
1
;
line-height
:
1
;
...
...
less/forms.less
View file @
90e4ff73
...
@@ -370,12 +370,8 @@ select:focus:invalid {
...
@@ -370,12 +370,8 @@ select:focus:invalid {
.input-group-btn,
.input-group-btn,
.input-group input {
.input-group input {
display: table-cell;
display: table-cell;
/*margin: 0;*/
border-radius: 0;
&:not(:first-child):not(:last-child) {
&.input-small {
border-radius: 0;
}
&.input-large {
border-radius: 0;
border-radius: 0;
}
}
}
}
...
@@ -398,40 +394,34 @@ select:focus:invalid {
...
@@ -398,40 +394,34 @@ select:focus:invalid {
text-shadow: 0 1px 0 #fff;
text-shadow: 0 1px 0 #fff;
background-color: @gray-lighter;
background-color: @gray-lighter;
border: 1px solid #ccc;
border: 1px solid #ccc;
border-radius: @border-radius-base;
&.input-small {
&.input-small {
padding: @padding-small;
padding: @padding-small;
font-size: @font-size-small;
font-size: @font-size-small;
}
border-radius: @border-radius-small;
}
&.input-large {
&.input-large {
padding: @padding-large;
padding: @padding-large;
font-size: @font-size-large;
font-size: @font-size-large;
border-radius: @border-radius-large;
}
}
}
}
// Reset rounded corners
// Reset rounded corners
.input-group input:first-child,
.input-group input:first-child,
.input-group-addon:first-child {
.input-group-addon:first-child,
.border-left-radius(@border-radius-base);
.input-group-btn:first-child > .btn:first-child,
&.input-small {
.input-group-btn:first-child > .dropdown-toggle:first-child {
.border-left-radius(@border-radius-small);
.border-right-radius(0);
}
&.input-large {
.border-left-radius(@border-radius-large);
}
}
}
.input-group-addon:first-child {
.input-group-addon:first-child {
border-right: 0;
border-right: 0;
}
}
.input-group input:last-child,
.input-group input:last-child,
.input-group-addon:last-child {
.input-group-addon:last-child,
.border-right-radius(@border-radius-base);
.input-group-btn:last-child > .btn:last-child,
&.input-small {
.input-group-btn:last-child > .dropdown-toggle {
.border-right-radius(@border-radius-small);
.border-left-radius(0);
}
&.input-large {
.border-right-radius(@border-radius-large);
}
}
}
.input-group-addon:last-child {
.input-group-addon:last-child {
border-left: 0;
border-left: 0;
...
@@ -446,7 +436,6 @@ select:focus:invalid {
...
@@ -446,7 +436,6 @@ select:focus:invalid {
.input-group-btn > .btn {
.input-group-btn > .btn {
position: relative;
position: relative;
float: left; // Collapse white-space
float: left; // Collapse white-space
border-radius: 0;
+ .btn {
+ .btn {
margin-left: -1px;
margin-left: -1px;
}
}
...
@@ -457,29 +446,6 @@ select:focus:invalid {
...
@@ -457,29 +446,6 @@ select:focus:invalid {
}
}
}
}
// Prepended buttons
.input-group-btn:first-child {
// Round the left corners only
> .btn:first-child,
> .dropdown-toggle:first-child {
.border-left-radius(@border-radius-base);
&.btn-large { .border-left-radius(@border-radius-large); }
&.btn-small { .border-left-radius(@border-radius-small); }
}
}
// Appended buttons
.input-group-btn:last-child {
// Round the right corners only
> .btn:last-child,
> .dropdown-toggle {
.border-right-radius(@border-radius-base);
&.btn-large { .border-right-radius(@border-radius-large); }
&.btn-small { .border-right-radius(@border-radius-small); }
}
}
// Inline forms
// Inline forms
// --------------------------------------------------
// --------------------------------------------------
...
...
less/glyphicons.less
View file @
90e4ff73
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
font-style: normal;
font-style: normal;
font-weight: normal;
font-weight: normal;
line-height: 1;
line-height: 1;
-webkit-font-smoothing: antialiased;
}
}
// Individual icons
// Individual icons
...
...
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