Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
ca44f5b0
Commit
ca44f5b0
authored
8 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Redo the small custom select vars
— Sizing shorthand comes last — Add height var and put it to use
parent
dc3af671
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_custom-forms.scss
+2
-6
scss/_custom-forms.scss
scss/_variables.scss
+2
-1
scss/_variables.scss
with
4 additions
and
7 deletions
+4
-7
scss/_custom-forms.scss
+
2
-
6
View file @
ca44f5b0
...
...
@@ -176,14 +176,10 @@
}
.custom-select-sm
{
height
:
$custom-select-height-sm
;
padding-top
:
$custom-select-padding-y
;
padding-bottom
:
$custom-select-padding-y
;
font-size
:
$custom-select-sm-font-size
;
// &:not([multiple]) {
// height: 26px;
// min-height: 26px;
// }
font-size
:
$custom-select-font-size-sm
;
}
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
2
-
1
View file @
ca44f5b0
...
...
@@ -492,7 +492,8 @@ $custom-select-border-radius: $border-radius !default;
$custom-select-focus-border-color
:
lighten
(
$brand-primary
,
25%
)
!
default
;
$custom-select-focus-box-shadow
:
inset
0
1px
2px
rgba
(
$black
,
.075
)
,
0
0
5px
rgba
(
$custom-select-focus-border-color
,
.5
)
!
default
;
$custom-select-sm-font-size
:
75%
!
default
;
$custom-select-font-size-sm
:
75%
!
default
;
$custom-select-height-sm
:
$input-height-sm
!
default
;
$custom-file-height
:
2
.5rem
!
default
;
$custom-file-width
:
14rem
!
default
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets