Improve form helpers and add more hooks

This commit is contained in:
Frederic Guillot
2016-08-13 17:49:27 -04:00
parent 4ffaba2ba0
commit ffe61abc69
11 changed files with 70 additions and 42 deletions

File diff suppressed because one or more lines are too long

View File

@@ -26,16 +26,25 @@ input
outline: 0
box-shadow: 0 0 8px rgba(82, 168, 236, 0.6)
input[type="number"]
width: 70px
input[type="text"]:not(.input-addon-field)
&.form-numeric
width: 70px
&.form-datetime, &.form-date
width: 150px
&.form-input-large
width: 400px
&.form-input-small
width: 150px
textarea:focus
color: color('dark')
border-color: rgba(82, 168, 236, 0.8)
outline: 0
box-shadow: 0 0 8px rgba(82, 168, 236, 0.6)
input
&.form-numeric, &[type="number"]
width: 70px
textarea
border: 1px solid #ccc
width: 400px
@@ -101,14 +110,6 @@ ul.form-errors li
.form-inline-group
display: inline
input
&.form-datetime, &.form-date
width: 150px
&.form-input-large
width: 400px
&.form-input-small
width: 150px
.form-columns
display: -webkit-flex
display: flex