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
75cf69a1
Commit
75cf69a1
authored
Jun 22, 2015
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop more -base, clean up var spacing
parent
0ca9b21c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
21 deletions
+21
-21
scss/_buttons.scss
scss/_buttons.scss
+1
-1
scss/_forms.scss
scss/_forms.scss
+4
-4
scss/_input-group.scss
scss/_input-group.scss
+1
-1
scss/_pagination.scss
scss/_pagination.scss
+1
-1
scss/_variables.scss
scss/_variables.scss
+14
-14
No files found.
scss/_buttons.scss
View file @
75cf69a1
...
...
@@ -17,7 +17,7 @@
cursor
:
pointer
;
user-select
:
none
;
border
:
$border-width
solid
transparent
;
@include
button-size
(
$padding-
base-y
,
$padding-base
-x
,
$font-size-base
,
$line-height-base
,
$btn-border-radius
);
@include
button-size
(
$padding-
y
,
$padding
-x
,
$font-size-base
,
$line-height-base
,
$btn-border-radius
);
transition
:
all
.2s
ease-in-out
;
&
,
...
...
scss/_forms.scss
View file @
75cf69a1
...
...
@@ -12,7 +12,7 @@
width
:
100%
;
// // Make inputs at least the height of their button counterpart (base line-height + padding + border)
// height: $input-height;
padding
:
$padding-
base-y
$padding-base
-x
;
padding
:
$padding-
y
$padding
-x
;
font-size
:
$font-size-base
;
line-height
:
$line-height-base
;
color
:
$input-color
;
...
...
@@ -83,7 +83,7 @@
// For use with horizontal and inline forms, when you need the label text to
// align with the form controls.
.form-control-label
{
padding
:
(
$padding-
base-y
+
$border-width
)
$padding-base
-x
;
padding
:
(
$padding-
y
+
$border-width
)
$padding
-x
;
margin-bottom
:
0
;
// Override the `<label>` default
}
...
...
@@ -127,8 +127,8 @@
.form-control-static
{
min-height
:
$input-height
;
// Size it appropriately next to real form controls
padding-top
:
(
$padding-
base-
y
+
$border-width
);
padding-bottom
:
(
$padding-
base-
y
+
$border-width
);
padding-top
:
(
$padding-y
+
$border-width
);
padding-bottom
:
(
$padding-y
+
$border-width
);
// Remove default margin from `p`
margin-bottom
:
0
;
...
...
scss/_input-group.scss
View file @
75cf69a1
...
...
@@ -85,7 +85,7 @@
//
.input-group-addon
{
padding
:
$padding-
base-y
$padding-base
-x
;
padding
:
$padding-
y
$padding
-x
;
font-size
:
$font-size-base
;
font-weight
:
normal
;
line-height
:
1
;
...
...
scss/_pagination.scss
View file @
75cf69a1
...
...
@@ -17,7 +17,7 @@
>
span
{
position
:
relative
;
float
:
left
;
// Collapse white-space
padding
:
$padding-
base-y
$padding-base
-x
;
padding
:
$padding-
y
$padding
-x
;
margin-left
:
-1px
;
line-height
:
$line-height-base
;
color
:
$pagination-color
;
...
...
scss/_variables.scss
View file @
75cf69a1
...
...
@@ -96,8 +96,8 @@ $headings-color: inherit !default;
//
// Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
$padding-
base-y
:
.5rem
!
default
;
$padding-
base-x
:
.75rem
!
default
;
$padding-
y
:
.5rem
!
default
;
$padding-
x
:
.75rem
!
default
;
$padding-lg-y
:
.75rem
!
default
;
$padding-lg-x
:
1
.5rem
!
default
;
...
...
@@ -192,7 +192,7 @@ $input-box-shadow-focus: rgba(102,175,233,.6) !default;
$input-color-placeholder
:
#999
!
default
;
$input-height
:
((
$font-size-base
*
$line-height-base
)
+
(
$padding-base
-y
*
2
)
+
(
$border-width
*
2
))
!
default
;
$input-height
:
((
$font-size-base
*
$line-height-base
)
+
(
$padding
-y
*
2
)
+
(
$border-width
*
2
))
!
default
;
$input-height-lg
:
((
$font-size-lg
*
$line-height-lg
)
+
(
$padding-lg-y
*
2
)
+
(
$border-width
*
2
))
!
default
;
$input-height-sm
:
((
$font-size-sm
*
$line-height-sm
)
+
(
$padding-sm-y
*
2
)
+
(
$border-width
*
2
))
!
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