summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/bootstrap/less/forms.less
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-01-30 15:21:04 +0100
committerqsm-odoo <qsm@odoo.com>2018-02-01 11:03:05 +0100
commit126850e9bd66175985b562eb4c912f1e352097c0 (patch)
tree93fbfb2036ac532c55f443715f1d5f824ae39b8e /addons/web/static/lib/bootstrap/less/forms.less
parent31a99ed5b79ba1bfa1fe7e35bcfc7a573912e19b (diff)
[IMP] web: update bootstrap to 3.3.7
Before this commit the bootstrap version we used was inconsistent. Indeed, the javascript files were the 3.3.4 ones and the less files were the 3.3.5 ones. This was due to a failed merged resolution in 9.0. This should however not cause any issue as the difference between 3.3.x versions are very minor. Basically, this commit is more of a fix than an improvement and may even be backported if we find reasons to do so. This commit is mainly made to prepare the transition to version 4.0.0, which requires to switch our LESS files to SCSS first (and it will be easier to go by bootstrap 3.3.7 with SCSS files first).
Diffstat (limited to 'addons/web/static/lib/bootstrap/less/forms.less')
-rw-r--r--addons/web/static/lib/bootstrap/less/forms.less14
1 files changed, 10 insertions, 4 deletions
diff --git a/addons/web/static/lib/bootstrap/less/forms.less b/addons/web/static/lib/bootstrap/less/forms.less
index b064ede4652..9377d3846b9 100644
--- a/addons/web/static/lib/bootstrap/less/forms.less
+++ b/addons/web/static/lib/bootstrap/less/forms.less
@@ -132,6 +132,12 @@ output {
// Placeholder
.placeholder();
+ // Unstyle the caret on `<select>`s in IE10+.
+ &::-ms-expand {
+ border: 0;
+ background-color: transparent;
+ }
+
// Disabled and read-only inputs
//
// HTML5 says that controls under a fieldset > legend:first-child won't be
@@ -175,7 +181,7 @@ input[type="search"] {
// set a pixel line-height that matches the given height of the input, but only
// for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848
//
-// Note that as of 8.3, iOS doesn't support `datetime` or `week`.
+// Note that as of 9.3, iOS doesn't support `week`.
@media screen and (-webkit-min-device-pixel-ratio: 0) {
input[type="date"],
@@ -433,10 +439,10 @@ input[type="checkbox"] {
.has-feedback label {
& ~ .form-control-feedback {
- top: (@line-height-computed + 5); // Height of the `label` and its margin
+ top: (@line-height-computed + 5); // Height of the `label` and its margin
}
&.sr-only ~ .form-control-feedback {
- top: 0;
+ top: 0;
}
}
@@ -591,7 +597,7 @@ input[type="checkbox"] {
.form-group-lg {
@media (min-width: @screen-sm-min) {
.control-label {
- padding-top: ((@padding-large-vertical * @line-height-large) + 1);
+ padding-top: (@padding-large-vertical + 1);
font-size: @font-size-large;
}
}