summaryrefslogtreecommitdiff
path: root/assets/sass
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-08-13 17:49:27 -0400
committerFrederic Guillot <fred@kanboard.net>2016-08-13 17:49:27 -0400
commitffe61abc6910670c5c2c243eb82d9f5851f06c6b (patch)
tree0a1833f8a7f22ac239f8914f2e870a881e630e41 /assets/sass
parent4ffaba2ba0dd6b5810adea1916080c3b645f3d29 (diff)
Improve form helpers and add more hooks
Diffstat (limited to 'assets/sass')
-rw-r--r--assets/sass/_form.sass25
1 files changed, 13 insertions, 12 deletions
diff --git a/assets/sass/_form.sass b/assets/sass/_form.sass
index e89fdc24..e46e14d4 100644
--- a/assets/sass/_form.sass
+++ b/assets/sass/_form.sass
@@ -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