summaryrefslogtreecommitdiff
path: root/paper/bootswatch.less
diff options
context:
space:
mode:
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);
}
}