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
7590e65f
Commit
7590e65f
authored
Jul 24, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix search form, mostly in navbar
parent
394922a1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
11 deletions
+15
-11
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+9
-6
docs/assets/css/docs.css
docs/assets/css/docs.css
+1
-1
less/forms.less
less/forms.less
+1
-1
less/navbar.less
less/navbar.less
+4
-3
No files found.
docs/assets/css/bootstrap.css
View file @
7590e65f
...
...
@@ -1533,9 +1533,9 @@ select:focus:required:invalid:focus {
/* IE7-8 doesn't have border-radius, so don't indent the padding */
margin-bottom
:
0
;
-webkit-border-radius
:
1
4
px
;
-moz-border-radius
:
1
4
px
;
border-radius
:
1
4
px
;
-webkit-border-radius
:
1
5
px
;
-moz-border-radius
:
1
5
px
;
border-radius
:
1
5
px
;
}
/* Allow for input prepend/append in search forms */
...
...
@@ -4034,12 +4034,12 @@ input[type="submit"].btn.btn-mini {
.navbar-search
{
position
:
relative
;
float
:
left
;
margin-top
:
6
px
;
margin-top
:
5
px
;
margin-bottom
:
0
;
}
.navbar-search
.search-query
{
padding
:
4px
9
px
;
padding
:
4px
14
px
;
margin-bottom
:
0
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-size
:
13px
;
...
...
@@ -4048,6 +4048,9 @@ input[type="submit"].btn.btn-mini {
color
:
#ffffff
;
background-color
:
#515151
;
border
:
1px
solid
#040404
;
-webkit-border-radius
:
15px
;
-moz-border-radius
:
15px
;
border-radius
:
15px
;
-webkit-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0
rgba
(
255
,
255
,
255
,
0.15
);
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0
rgba
(
255
,
255
,
255
,
0.15
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0
rgba
(
255
,
255
,
255
,
0.15
);
...
...
@@ -4071,7 +4074,7 @@ input[type="submit"].btn.btn-mini {
.navbar-search
.search-query
:focus
,
.navbar-search
.search-query.focused
{
padding
:
5px
1
0
px
;
padding
:
5px
1
5
px
;
color
:
#333333
;
text-shadow
:
0
1px
0
#ffffff
;
background-color
:
#ffffff
;
...
...
docs/assets/css/docs.css
View file @
7590e65f
...
...
@@ -892,7 +892,7 @@ form.bs-docs-example {
}
.bs-docs-sidenav
{
width
:
218px
;
margin-top
:
4
0px
;
margin-top
:
3
0px
;
padding
:
0
;
margin-right
:
10px
;
background-color
:
#fff
;
...
...
less/forms.less
View file @
7590e65f
...
...
@@ -495,7 +495,7 @@ select:focus:required:invalid {
padding-left: 14px;
padding-left: 4px \9; /* IE7-8 doesn't have border-radius, so don't indent the padding */
margin-bottom: 0; // Remove the default margin on all inputs
.border-radius(1
4
px);
.border-radius(1
5
px);
}
/* Allow for input prepend/append in search forms */
...
...
less/navbar.less
View file @
7590e65f
...
...
@@ -114,15 +114,16 @@
.navbar-search {
position: relative;
float: left;
.navbarVerticalAlign(
28
px); // Vertically center in navbar
.navbarVerticalAlign(
30
px); // Vertically center in navbar
margin-bottom: 0;
.search-query {
margin-bottom: 0;
padding: 4px
9
px;
padding: 4px
14
px;
#font > .sans-serif(13px, normal, 1);
color: @white;
background-color: @navbarSearchBackground;
border: 1px solid @navbarSearchBorder;
.border-radius(15px); // redeclare because of specificity of the type attribute
.box-shadow(~"inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15)");
.transition(none);
...
...
@@ -131,7 +132,7 @@
// Focus states (we use .focused since IE7-8 and down doesn't support :focus)
&:focus,
&.focused {
padding: 5px 1
0
px;
padding: 5px 1
5
px;
color: @grayDark;
text-shadow: 0 1px 0 @white;
background-color: @navbarSearchBackgroundFocus;
...
...
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