mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
fix form inputs
This commit is contained in:
parent
2745963fa4
commit
f4a2cd88fd
@ -65,7 +65,6 @@ select[size]
|
|||||||
.form-control
|
.form-control
|
||||||
display: block
|
display: block
|
||||||
width: 100%
|
width: 100%
|
||||||
height: $input-height-base
|
|
||||||
padding: $padding-base-vertical $padding-base-horizontal
|
padding: $padding-base-vertical $padding-base-horizontal
|
||||||
font-size: $input-font-size
|
font-size: $input-font-size
|
||||||
font-weight: $input-font-weight
|
font-weight: $input-font-weight
|
||||||
@ -176,11 +175,11 @@ input[type="checkbox"],
|
|||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
|
|
||||||
input-small()
|
input-small()
|
||||||
input-size($input-height-small, $padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small)
|
input-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small)
|
||||||
placeholder(font-size $font-size-small, line-height $line-height-small)
|
placeholder(font-size $font-size-small, line-height $line-height-small)
|
||||||
|
|
||||||
input-large()
|
input-large()
|
||||||
input-size($input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large)
|
input-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large)
|
||||||
placeholder(font-size $font-size-large, line-height $line-height-large)
|
placeholder(font-size $font-size-large, line-height $line-height-large)
|
||||||
|
|
||||||
.input-small
|
.input-small
|
||||||
|
@ -219,8 +219,7 @@ button-size(padding-vertical, padding-horizontal, font-size, line-height, border
|
|||||||
// Form control sizing
|
// Form control sizing
|
||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
|
|
||||||
input-size(input-height, padding-vertical, padding-horizontal, font-size, line-height, border-radius)
|
input-size(padding-vertical, padding-horizontal, font-size, line-height, border-radius)
|
||||||
height: input-height
|
|
||||||
padding: padding-vertical padding-horizontal
|
padding: padding-vertical padding-horizontal
|
||||||
font-size: font-size
|
font-size: font-size
|
||||||
line-height: line-height
|
line-height: line-height
|
||||||
@ -232,7 +231,6 @@ input-size(input-height, padding-vertical, padding-horizontal, font-size, line-h
|
|||||||
padding-left: (padding-vertical*4)
|
padding-left: (padding-vertical*4)
|
||||||
|
|
||||||
select&
|
select&
|
||||||
height: input-height
|
|
||||||
line-height: input-height
|
line-height: input-height
|
||||||
|
|
||||||
textarea&,
|
textarea&,
|
||||||
|
@ -125,10 +125,6 @@ $input-border = $brand-grey-light
|
|||||||
$input-border-radius = $border-radius-base
|
$input-border-radius = $border-radius-base
|
||||||
$input-border-focus = $brand-cyan
|
$input-border-focus = $brand-cyan
|
||||||
|
|
||||||
$input-height-base = ($spacer + ($padding-base-vertical * 2) + 2)
|
|
||||||
$input-height-large = (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 1)
|
|
||||||
$input-height-small = (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2)
|
|
||||||
|
|
||||||
|
|
||||||
// Code
|
// Code
|
||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user