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
ce9c0f01
Commit
ce9c0f01
authored
Jun 22, 2015
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak small forms, small inputs; trying to equalize their rendered dimensions
parent
5f201067
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
scss/_forms.scss
scss/_forms.scss
+6
-6
scss/_navbar.scss
scss/_navbar.scss
+4
-2
scss/_variables.scss
scss/_variables.scss
+1
-1
No files found.
scss/_forms.scss
View file @
ce9c0f01
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
background-color
:
$input-bg
;
background-color
:
$input-bg
;
// Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214.
// Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214.
background-image
:
none
;
background-image
:
none
;
border
:
1px
solid
$input-border
;
border
:
$border-width
solid
$input-border
;
// Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
// Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
@include
border-radius
(
$input-border-radius
);
@include
border-radius
(
$input-border-radius
);
@include
box-shadow
(
inset
0
1px
1px
rgba
(
0
,
0
,
0
,.
075
));
@include
box-shadow
(
inset
0
1px
1px
rgba
(
0
,
0
,
0
,.
075
));
...
@@ -27,11 +27,11 @@
...
@@ -27,11 +27,11 @@
// Make inputs at least the height of their button counterpart (base line-height + padding + border).
// Make inputs at least the height of their button counterpart (base line-height + padding + border).
// Only apply the height to textual inputs and some selcts.
// Only apply the height to textual inputs and some selcts.
&
:not
(
textarea
),
//
&:not(textarea),
&
:not
(
select
[
size
]),
//
&:not(select[size]),
&
:not
(
select
[
multiple
])
{
//
&:not(select[multiple]) {
height
:
$input-height-base
;
//
height: $input-height-base;
}
//
}
// Unstyle the caret on `<select>`s in IE10+.
// Unstyle the caret on `<select>`s in IE10+.
&
:
:-
ms-expand
{
&
:
:-
ms-expand
{
...
...
scss/_navbar.scss
View file @
ce9c0f01
...
@@ -141,9 +141,11 @@
...
@@ -141,9 +141,11 @@
}
}
// Condensed navbar
// Small navbar
//
// Condensed dimensions for an aesthetic closer to v3's navbar.
.navbar-
condensed
{
.navbar-
sm
{
padding-top
:
0
;
padding-top
:
0
;
padding-bottom
:
0
;
padding-bottom
:
0
;
...
...
scss/_variables.scss
View file @
ce9c0f01
...
@@ -102,7 +102,7 @@ $padding-base-horizontal: .75rem !default;
...
@@ -102,7 +102,7 @@ $padding-base-horizontal: .75rem !default;
$padding-lg-vertical
:
.75rem
!
default
;
$padding-lg-vertical
:
.75rem
!
default
;
$padding-lg-horizontal
:
1
.5rem
!
default
;
$padding-lg-horizontal
:
1
.5rem
!
default
;
$padding-sm-vertical
:
.
3
rem
!
default
;
$padding-sm-vertical
:
.
275
rem
!
default
;
$padding-sm-horizontal
:
.75rem
!
default
;
$padding-sm-horizontal
:
.75rem
!
default
;
$padding-xs-vertical
:
.2rem
!
default
;
$padding-xs-vertical
:
.2rem
!
default
;
...
...
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