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
1da19bf6
Commit
1da19bf6
authored
Nov 29, 2011
by
Jeff Adams
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scope form feedback states to .control-group instead of unused .clearfix
parent
ba17414d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
25 deletions
+25
-25
bootstrap.css
bootstrap.css
+13
-13
bootstrap.min.css
bootstrap.min.css
+9
-9
lib/forms.less
lib/forms.less
+3
-3
No files found.
bootstrap.css
View file @
1da19bf6
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date:
Fri Nov 25 21:33:58 P
ST 2011
* Date:
Tue Nov 29 14:05:43 C
ST 2011
*/
*/
html
,
body
{
html
,
body
{
margin
:
0
;
margin
:
0
;
...
@@ -796,56 +796,56 @@ textarea[readonly] {
...
@@ -796,56 +796,56 @@ textarea[readonly] {
border-color
:
#ddd
;
border-color
:
#ddd
;
cursor
:
not-allowed
;
cursor
:
not-allowed
;
}
}
form
.clearfix.error
>
label
,
form
.clearfix.error
.help-block
,
form
.clearfix
.error
.help-inline
{
.control-group.error
>
label
,
.control-group.error
.help-block
,
.control-group
.error
.help-inline
{
color
:
#b94a48
;
color
:
#b94a48
;
}
}
form
.clearfix.error
input
,
form
.clearfix
.error
textarea
{
.control-group.error
input
,
.control-group
.error
textarea
{
color
:
#b94a48
;
color
:
#b94a48
;
border-color
:
#ee5f5b
;
border-color
:
#ee5f5b
;
}
}
form
.clearfix.error
input
:focus
,
form
.clearfix
.error
textarea
:focus
{
.control-group.error
input
:focus
,
.control-group
.error
textarea
:focus
{
border-color
:
#e9322d
;
border-color
:
#e9322d
;
-webkit-box-shadow
:
0
0
6px
#f8b9b7
;
-webkit-box-shadow
:
0
0
6px
#f8b9b7
;
-moz-box-shadow
:
0
0
6px
#f8b9b7
;
-moz-box-shadow
:
0
0
6px
#f8b9b7
;
box-shadow
:
0
0
6px
#f8b9b7
;
box-shadow
:
0
0
6px
#f8b9b7
;
}
}
form
.clearfix.error
.input-prepend
.add-on
,
form
.clearfix
.error
.input-append
.add-on
{
.control-group.error
.input-prepend
.add-on
,
.control-group
.error
.input-append
.add-on
{
color
:
#b94a48
;
color
:
#b94a48
;
background-color
:
#fce6e6
;
background-color
:
#fce6e6
;
border-color
:
#b94a48
;
border-color
:
#b94a48
;
}
}
form
.clearfix.warning
>
label
,
form
.clearfix.warning
.help-block
,
form
.clearfix
.warning
.help-inline
{
.control-group.warning
>
label
,
.control-group.warning
.help-block
,
.control-group
.warning
.help-inline
{
color
:
#c09853
;
color
:
#c09853
;
}
}
form
.clearfix.warning
input
,
form
.clearfix
.warning
textarea
{
.control-group.warning
input
,
.control-group
.warning
textarea
{
color
:
#c09853
;
color
:
#c09853
;
border-color
:
#ccae64
;
border-color
:
#ccae64
;
}
}
form
.clearfix.warning
input
:focus
,
form
.clearfix
.warning
textarea
:focus
{
.control-group.warning
input
:focus
,
.control-group
.warning
textarea
:focus
{
border-color
:
#be9a3f
;
border-color
:
#be9a3f
;
-webkit-box-shadow
:
0
0
6px
#e5d6b1
;
-webkit-box-shadow
:
0
0
6px
#e5d6b1
;
-moz-box-shadow
:
0
0
6px
#e5d6b1
;
-moz-box-shadow
:
0
0
6px
#e5d6b1
;
box-shadow
:
0
0
6px
#e5d6b1
;
box-shadow
:
0
0
6px
#e5d6b1
;
}
}
form
.clearfix.warning
.input-prepend
.add-on
,
form
.clearfix
.warning
.input-append
.add-on
{
.control-group.warning
.input-prepend
.add-on
,
.control-group
.warning
.input-append
.add-on
{
color
:
#c09853
;
color
:
#c09853
;
background-color
:
#d2b877
;
background-color
:
#d2b877
;
border-color
:
#c09853
;
border-color
:
#c09853
;
}
}
form
.clearfix.success
>
label
,
form
.clearfix.success
.help-block
,
form
.clearfix
.success
.help-inline
{
.control-group.success
>
label
,
.control-group.success
.help-block
,
.control-group
.success
.help-inline
{
color
:
#468847
;
color
:
#468847
;
}
}
form
.clearfix.success
input
,
form
.clearfix
.success
textarea
{
.control-group.success
input
,
.control-group
.success
textarea
{
color
:
#468847
;
color
:
#468847
;
border-color
:
#57a957
;
border-color
:
#57a957
;
}
}
form
.clearfix.success
input
:focus
,
form
.clearfix
.success
textarea
:focus
{
.control-group.success
input
:focus
,
.control-group
.success
textarea
:focus
{
border-color
:
#458845
;
border-color
:
#458845
;
-webkit-box-shadow
:
0
0
6px
#9acc9a
;
-webkit-box-shadow
:
0
0
6px
#9acc9a
;
-moz-box-shadow
:
0
0
6px
#9acc9a
;
-moz-box-shadow
:
0
0
6px
#9acc9a
;
box-shadow
:
0
0
6px
#9acc9a
;
box-shadow
:
0
0
6px
#9acc9a
;
}
}
form
.clearfix.success
.input-prepend
.add-on
,
form
.clearfix
.success
.input-append
.add-on
{
.control-group.success
.input-prepend
.add-on
,
.control-group
.success
.input-append
.add-on
{
color
:
#468847
;
color
:
#468847
;
background-color
:
#bcddbc
;
background-color
:
#bcddbc
;
border-color
:
#468847
;
border-color
:
#468847
;
...
...
bootstrap.min.css
View file @
1da19bf6
...
@@ -127,15 +127,15 @@ input.span14,textarea.span14,select.span14,.uneditable-input.span14{display:inli
...
@@ -127,15 +127,15 @@ input.span14,textarea.span14,select.span14,.uneditable-input.span14{display:inli
input
.span15
,
textarea
.span15
,
select
.span15
,
.uneditable-input.span15
{
display
:
inline-block
;
float
:
none
;
width
:
1450px
;
margin-left
:
0
;}
input
.span15
,
textarea
.span15
,
select
.span15
,
.uneditable-input.span15
{
display
:
inline-block
;
float
:
none
;
width
:
1450px
;
margin-left
:
0
;}
input
.span16
,
textarea
.span16
,
select
.span16
,
.uneditable-input.span16
{
display
:
inline-block
;
float
:
none
;
width
:
1550px
;
margin-left
:
0
;}
input
.span16
,
textarea
.span16
,
select
.span16
,
.uneditable-input.span16
{
display
:
inline-block
;
float
:
none
;
width
:
1550px
;
margin-left
:
0
;}
input
[
disabled
],
select
[
disabled
],
textarea
[
disabled
],
input
[
readonly
],
select
[
readonly
],
textarea
[
readonly
]
{
background-color
:
#f5f5f5
;
border-color
:
#ddd
;
cursor
:
not-allowed
;}
input
[
disabled
],
select
[
disabled
],
textarea
[
disabled
],
input
[
readonly
],
select
[
readonly
],
textarea
[
readonly
]
{
background-color
:
#f5f5f5
;
border-color
:
#ddd
;
cursor
:
not-allowed
;}
form
.clearfix.error
>
label
,
form
.clearfix.error
.help-block
,
form
.clearfix
.error
.help-inline
{
color
:
#b94a48
;}
.control-group.error
>
label
,
.control-group.error
.help-block
,
.control-group
.error
.help-inline
{
color
:
#b94a48
;}
form
.clearfix.error
input
,
form
.clearfix.error
textarea
{
color
:
#b94a48
;
border-color
:
#ee5f5b
;}
form
.clearfix.error
input
:focus
,
form
.clearfix
.error
textarea
:focus
{
border-color
:
#e9322d
;
-webkit-box-shadow
:
0
0
6px
#f8b9b7
;
-moz-box-shadow
:
0
0
6px
#f8b9b7
;
box-shadow
:
0
0
6px
#f8b9b7
;}
.control-group.error
input
,
.control-group.error
textarea
{
color
:
#b94a48
;
border-color
:
#ee5f5b
;}
.control-group.error
input
:focus
,
.control-group
.error
textarea
:focus
{
border-color
:
#e9322d
;
-webkit-box-shadow
:
0
0
6px
#f8b9b7
;
-moz-box-shadow
:
0
0
6px
#f8b9b7
;
box-shadow
:
0
0
6px
#f8b9b7
;}
form
.clearfix.error
.input-prepend
.add-on
,
form
.clearfix
.error
.input-append
.add-on
{
color
:
#b94a48
;
background-color
:
#fce6e6
;
border-color
:
#b94a48
;}
.control-group.error
.input-prepend
.add-on
,
.control-group
.error
.input-append
.add-on
{
color
:
#b94a48
;
background-color
:
#fce6e6
;
border-color
:
#b94a48
;}
form
.clearfix.warning
>
label
,
form
.clearfix.warning
.help-block
,
form
.clearfix
.warning
.help-inline
{
color
:
#c09853
;}
.control-group.warning
>
label
,
.control-group.warning
.help-block
,
.control-group
.warning
.help-inline
{
color
:
#c09853
;}
form
.clearfix.warning
input
,
form
.clearfix.warning
textarea
{
color
:
#c09853
;
border-color
:
#ccae64
;}
form
.clearfix.warning
input
:focus
,
form
.clearfix
.warning
textarea
:focus
{
border-color
:
#be9a3f
;
-webkit-box-shadow
:
0
0
6px
#e5d6b1
;
-moz-box-shadow
:
0
0
6px
#e5d6b1
;
box-shadow
:
0
0
6px
#e5d6b1
;}
.control-group.warning
input
,
.control-group.warning
textarea
{
color
:
#c09853
;
border-color
:
#ccae64
;}
.control-group.warning
input
:focus
,
.control-group
.warning
textarea
:focus
{
border-color
:
#be9a3f
;
-webkit-box-shadow
:
0
0
6px
#e5d6b1
;
-moz-box-shadow
:
0
0
6px
#e5d6b1
;
box-shadow
:
0
0
6px
#e5d6b1
;}
form
.clearfix.warning
.input-prepend
.add-on
,
form
.clearfix
.warning
.input-append
.add-on
{
color
:
#c09853
;
background-color
:
#d2b877
;
border-color
:
#c09853
;}
.control-group.warning
.input-prepend
.add-on
,
.control-group
.warning
.input-append
.add-on
{
color
:
#c09853
;
background-color
:
#d2b877
;
border-color
:
#c09853
;}
form
.clearfix.success
>
label
,
form
.clearfix.success
.help-block
,
form
.clearfix
.success
.help-inline
{
color
:
#468847
;}
.control-group.success
>
label
,
.control-group.success
.help-block
,
.control-group
.success
.help-inline
{
color
:
#468847
;}
form
.clearfix.success
input
,
form
.clearfix.success
textarea
{
color
:
#468847
;
border-color
:
#57a957
;}
form
.clearfix.success
input
:focus
,
form
.clearfix
.success
textarea
:focus
{
border-color
:
#458845
;
-webkit-box-shadow
:
0
0
6px
#9acc9a
;
-moz-box-shadow
:
0
0
6px
#9acc9a
;
box-shadow
:
0
0
6px
#9acc9a
;}
.control-group.success
input
,
.control-group.success
textarea
{
color
:
#468847
;
border-color
:
#57a957
;}
.control-group.success
input
:focus
,
.control-group
.success
textarea
:focus
{
border-color
:
#458845
;
-webkit-box-shadow
:
0
0
6px
#9acc9a
;
-moz-box-shadow
:
0
0
6px
#9acc9a
;
box-shadow
:
0
0
6px
#9acc9a
;}
form
.clearfix.success
.input-prepend
.add-on
,
form
.clearfix
.success
.input-append
.add-on
{
color
:
#468847
;
background-color
:
#bcddbc
;
border-color
:
#468847
;}
.control-group.success
.input-prepend
.add-on
,
.control-group
.success
.input-append
.add-on
{
color
:
#468847
;
background-color
:
#bcddbc
;
border-color
:
#468847
;}
.form-actions
{
padding
:
17px
20px
18px
;
margin-top
:
18px
;
margin-bottom
:
18px
;
background-color
:
#f5f5f5
;
border-top
:
1px
solid
#ddd
;}
.form-actions
{
padding
:
17px
20px
18px
;
margin-top
:
18px
;
margin-bottom
:
18px
;
background-color
:
#f5f5f5
;
border-top
:
1px
solid
#ddd
;}
.uneditable-input
{
display
:
block
;
background-color
:
#ffffff
;
border-color
:
#eee
;
-webkit-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
cursor
:
not-allowed
;}
.uneditable-input
{
display
:
block
;
background-color
:
#ffffff
;
border-color
:
#eee
;
-webkit-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
cursor
:
not-allowed
;}
:-moz-placeholder
{
color
:
#bfbfbf
;}
:-moz-placeholder
{
color
:
#bfbfbf
;}
...
...
lib/forms.less
View file @
1da19bf6
...
@@ -220,15 +220,15 @@ textarea[readonly] {
...
@@ -220,15 +220,15 @@ textarea[readonly] {
}
}
}
}
// Error
// Error
form .clearfix
.error {
.control-group
.error {
.formFieldState(#b94a48, #ee5f5b, lighten(#ee5f5b, 30%));
.formFieldState(#b94a48, #ee5f5b, lighten(#ee5f5b, 30%));
}
}
// Warning
// Warning
form .clearfix
.warning {
.control-group
.warning {
.formFieldState(#c09853, #ccae64, lighten(#CCAE64, 5%));
.formFieldState(#c09853, #ccae64, lighten(#CCAE64, 5%));
}
}
// Success
// Success
form .clearfix
.success {
.control-group
.success {
.formFieldState(#468847, #57a957, lighten(#57a957, 30%));
.formFieldState(#468847, #57a957, lighten(#57a957, 30%));
}
}
...
...
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