vendor/assets/javascripts/webshims/shims/styles/shim.css in webshims-rails-1.14.4 vs vendor/assets/javascripts/webshims/shims/styles/shim.css in webshims-rails-1.14.5
- old
+ new
@@ -364,10 +364,11 @@
display: none;
}
.datalist-polyfill {
position: absolute;
+ text-align: left;
}
.datalist-polyfill .ws-po-box {
padding: 0.38462em 0;
}
.datalist-polyfill .datalist-box {
@@ -390,11 +391,11 @@
background-color: #fff;
color: #000;
}
.datalist-polyfill .datalist-box li {
margin: 0.07692em 0;
- padding: 0.15385em 0.76923em;
+ padding: 0.30769em 0.76923em;
overflow: hidden;
white-space: nowrap;
cursor: default;
zoom: 1;
overflow: hidden;
@@ -406,32 +407,26 @@
.datalist-polyfill .datalist-box mark {
font-weight: normal;
font-style: normal;
}
.datalist-polyfill .datalist-box .option-value {
- display: inline-block;
+ display: block;
text-overflow: ellipsis;
max-width: 100%;
color: #000;
- float: left;
transition: color 400ms;
}
.datalist-polyfill .datalist-box .option-label {
display: none;
- max-width: 100%;
- float: right;
font-size: 90%;
color: #666;
text-overflow: ellipsis;
- vertical-align: bottom;
- margin-top: 0.15em;
- margin-left: 0.76923em;
- text-align: right;
+ margin-top: 0.1em;
transition: color 400ms;
}
.datalist-polyfill .datalist-box .has-option-label .option-label {
- display: inline-block;
+ display: block;
}
.datalist-polyfill .datalist-box .hidden-item {
display: none !important;
}
.datalist-polyfill .datalist-box .active-item {
@@ -441,18 +436,9 @@
.datalist-polyfill .datalist-box .active-item .option-value {
color: #fff;
}
.datalist-polyfill .datalist-box .active-item .option-label {
color: #eee;
-}
-.datalist-polyfill.ws-is-rtl .option-value {
- float: right;
-}
-.datalist-polyfill.ws-is-rtl .option-label {
- float: left;
- margin-right: 0.76923em;
- margin-left: 0;
- text-align: left;
}
.validity-alert {
display: inline-block;
z-index: 1000000000;