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
24f0505b
Commit
24f0505b
authored
Feb 01, 2013
by
Gil Barbara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update input-group-addon for input sizes
parent
e69912c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
101 additions
and
5 deletions
+101
-5
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+86
-5
less/forms.less
less/forms.less
+15
-0
No files found.
docs/assets/css/bootstrap.css
View file @
24f0505b
...
...
@@ -1242,9 +1242,8 @@ input[type="search"].input-large,
input
[
type
=
"tel"
]
.input-large
,
input
[
type
=
"color"
]
.input-large
,
.uneditable-input.input-large
{
padding
:
11px
19px
;
padding-right
:
14px
;
padding-left
:
14px
;
min-height
:
44px
;
padding
:
10px
14px
;
font-size
:
17.5px
;
border-radius
:
6px
;
}
...
...
@@ -1266,6 +1265,7 @@ input[type="search"].input-small,
input
[
type
=
"tel"
]
.input-small
,
input
[
type
=
"color"
]
.input-small
,
.uneditable-input.input-small
{
min-height
:
26px
;
padding
:
2px
10px
;
font-size
:
11.9px
;
border-radius
:
3px
;
...
...
@@ -1288,6 +1288,7 @@ input[type="search"].input-mini,
input
[
type
=
"tel"
]
.input-mini
,
input
[
type
=
"color"
]
.input-mini
,
.uneditable-input.input-mini
{
min-height
:
26px
;
padding
:
0
6px
;
font-size
:
10.5px
;
border-radius
:
3px
;
...
...
@@ -1462,6 +1463,20 @@ select:focus:invalid:focus {
border-radius
:
0
;
}
.input-group-addon.input-small
,
.input-group-btn.input-small
,
.input-group
input
.input-small
,
.input-group
.uneditable-input.input-small
{
border-radius
:
0
;
}
.input-group-addon.input-large
,
.input-group-btn.input-large
,
.input-group
input
.input-large
,
.input-group
.uneditable-input.input-large
{
border-radius
:
0
;
}
.input-group-addon
,
.input-group-btn
{
width
:
1%
;
...
...
@@ -1482,6 +1497,16 @@ select:focus:invalid:focus {
box-sizing
:
border-box
;
}
.input-group-addon.input-small
{
padding
:
2px
10px
;
font-size
:
11.9px
;
}
.input-group-addon.input-large
{
padding
:
10px
14px
;
font-size
:
17.5px
;
}
.input-group
input
:first-child
,
.input-group
.uneditable-input
:first-child
,
.input-group-addon
:first-child
{
...
...
@@ -1489,6 +1514,24 @@ select:focus:invalid:focus {
border-top-left-radius
:
4px
;
}
.input-group
input
:first-child
.input-small
,
.input-group
.uneditable-input
:first-child
.input-small
,
.input-group-addon
:first-child
.input-small
{
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
border-bottom-left-radius
:
3px
;
border-top-left-radius
:
3px
;
}
.input-group
input
:first-child
.input-large
,
.input-group
.uneditable-input
:first-child
.input-large
,
.input-group-addon
:first-child
.input-large
{
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
border-bottom-left-radius
:
6px
;
border-top-left-radius
:
6px
;
}
.input-group-addon
:first-child
{
border-right
:
0
;
}
...
...
@@ -1500,6 +1543,24 @@ select:focus:invalid:focus {
border-bottom-right-radius
:
4px
;
}
.input-group
input
:last-child
.input-small
,
.input-group
.uneditable-input
:last-child
.input-small
,
.input-group-addon
:last-child
.input-small
{
border-top-right-radius
:
3px
;
border-bottom-right-radius
:
3px
;
border-bottom-left-radius
:
0
;
border-top-left-radius
:
0
;
}
.input-group
input
:last-child
.input-large
,
.input-group
.uneditable-input
:last-child
.input-large
,
.input-group-addon
:last-child
.input-large
{
border-top-right-radius
:
6px
;
border-bottom-right-radius
:
6px
;
border-bottom-left-radius
:
0
;
border-top-left-radius
:
0
;
}
.input-group-addon
:last-child
{
border-left
:
0
;
}
...
...
@@ -1532,6 +1593,16 @@ select:focus:invalid:focus {
border-radius
:
4px
0
0
4px
;
}
.input-group-btn
:first-child
>
.btn.btn-large
,
.input-group-btn.btn-group
:first-child
>
.btn.btn-large
{
border-radius
:
6px
0
0
6px
;
}
.input-group-btn
:first-child
>
.btn.btn-small
,
.input-group-btn.btn-group
:first-child
>
.btn.btn-small
{
border-radius
:
3px
0
0
3px
;
}
.input-group-btn
:last-child
>
.btn
,
.input-group-btn.btn-group
:last-child
>
.btn
:first-child
{
border-left
:
0
;
...
...
@@ -1542,6 +1613,16 @@ select:focus:invalid:focus {
border-radius
:
0
4px
4px
0
;
}
.input-group-btn
:last-child
>
.btn.btn-large
,
.input-group-btn.btn-group
:last-child
>
.btn.btn-large
{
border-radius
:
0
6px
6px
0
;
}
.input-group-btn
:last-child
>
.btn.btn-small
,
.input-group-btn.btn-group
:last-child
>
.btn.btn-small
{
border-radius
:
0
3px
3px
0
;
}
@media
screen
and
(
min-width
:
768px
)
{
.form-horizontal
.control-group
{
position
:
relative
;
...
...
@@ -1616,7 +1697,7 @@ fieldset[disabled] .btn {
}
.btn-large
{
padding
:
11px
1
9
px
;
padding
:
11px
1
4
px
;
font-size
:
17.5px
;
border-radius
:
6px
;
}
...
...
@@ -3447,7 +3528,7 @@ button.close {
.pagination-large
>
li
>
a
,
.pagination-large
>
li
>
span
{
padding
:
11px
1
9
px
;
padding
:
11px
1
4
px
;
font-size
:
17.5px
;
}
...
...
less/forms.less
View file @
24f0505b
...
...
@@ -448,6 +448,12 @@ select:focus:invalid {
display: table-cell;
margin: 0;
border-radius: 0;
&.input-small {
border-radius: 0;
}
&.input-large {
border-radius: 0;
}
}
// Addon and addon wrapper for buttons
.input-group-addon,
...
...
@@ -468,6 +474,15 @@ select:focus:invalid {
text-shadow: 0 1px 0 #fff;
background-color: @grayLighter;
border: 1px solid #ccc;
&.input-small {
padding: @padding-small;
font-size: @font-size-small;
}
&.input-large {
padding: @padding-large-input;
font-size: @font-size-large;
}
}
// Reset rounded corners
...
...
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