summaryrefslogtreecommitdiff
path: root/paper/bootswatch.less
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.co>2015-07-19 13:54:00 -0400
committerThomas Park <thomas@thomaspark.co>2015-07-19 13:54:00 -0400
commit89711ac5e3adc1c3cf42affd7dfcd49d1787ad2f (patch)
tree28894fda0cddc6b7525ed0cc0f00aaa162403492 /paper/bootswatch.less
parentbc9cc5bfb0df495b52c5b900f5061c24e937963f (diff)
paper: give colored underline to readonly inputs, closes #491
Diffstat (limited to 'paper/bootswatch.less')
-rw-r--r--paper/bootswatch.less12
1 files changed, 12 insertions, 0 deletions
diff --git a/paper/bootswatch.less b/paper/bootswatch.less
index b869a046..bc58261a 100644
--- a/paper/bootswatch.less
+++ b/paper/bootswatch.less
@@ -348,8 +348,12 @@ input[type="checkbox"],
.has-warning {
input:not([type=checkbox]),
.form-control,
+ input.form-control[readonly],
+ input[type=text][readonly],
+ [type=text].form-control[readonly],
input:not([type=checkbox]):focus,
.form-control:focus {
+ border-bottom: none;
.box-shadow(inset 0 -2px 0 @brand-warning);
}
}
@@ -357,8 +361,12 @@ input[type="checkbox"],
.has-error {
input:not([type=checkbox]),
.form-control,
+ input.form-control[readonly],
+ input[type=text][readonly],
+ [type=text].form-control[readonly],
input:not([type=checkbox]):focus,
.form-control:focus {
+ border-bottom: none;
.box-shadow(inset 0 -2px 0 @brand-danger);
}
}
@@ -366,8 +374,12 @@ input[type="checkbox"],
.has-success {
input:not([type=checkbox]),
.form-control,
+ input.form-control[readonly],
+ input[type=text][readonly],
+ [type=text].form-control[readonly],
input:not([type=checkbox]):focus,
.form-control:focus {
+ border-bottom: none;
.box-shadow(inset 0 -2px 0 @brand-success);
}
}