vendor/assets/javascripts/webshims/shims/styles/shim.css in webshims-rails-1.14.6 vs vendor/assets/javascripts/webshims/shims/styles/shim.css in webshims-rails-1.15.2
- old
+ new
@@ -3,11 +3,12 @@
visibility: hidden !important;
position: absolute;
top: -999999px;
}
-.ws-po-box button, .ws-custom-file > button {
+.ws-po-box button, .ws-custom-file > button,
+.ws-capture-file > button {
display: inline-block;
overflow: visible;
position: relative;
margin: 0;
border: 0;
@@ -19,15 +20,17 @@
cursor: pointer;
font-size: inherit;
line-height: inherit;
touch-action: none;
}
-.ws-po-box button::-moz-focus-inner, .ws-custom-file > button::-moz-focus-inner {
+.ws-po-box button::-moz-focus-inner, .ws-custom-file > button::-moz-focus-inner,
+.ws-capture-file > button::-moz-focus-inner {
border: 0;
padding: 0;
}
-.ws-po-box button[disabled], .ws-custom-file > button[disabled] {
+.ws-po-box button[disabled], .ws-custom-file > button[disabled],
+.ws-capture-file > button[disabled] {
cursor: default;
color: #888;
}
[hidden] {
@@ -585,64 +588,47 @@
summary.summary-has-focus {
outline: 1px dotted #aaa;
outline-offset: -1px;
}
-.ws-custom-file {
+.ws-custom-file,
+.ws-capture-file {
position: relative;
overflow: hidden;
}
.ws-custom-file > button,
-.ws-custom-file > input {
+.ws-custom-file > input,
+.ws-capture-file > button,
+.ws-capture-file > input {
box-sizing: border-box;
cursor: pointer;
}
.ws-custom-file > button,
-.ws-custom-file > .ws-file-value {
+.ws-custom-file > .ws-file-value,
+.ws-capture-file > button,
+.ws-capture-file > .ws-file-value {
position: relative;
z-index: 0;
display: inline-block;
padding: 5px;
border: 1px solid #ccc;
background: #eee;
color: #333;
transition: 400ms all;
}
-.ws-custom-file > button {
+.ws-custom-file > button,
+.ws-capture-file > button {
margin-right: 0.4em;
float: left;
}
+
.ws-custom-file .ws-file-value {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
-.ws-custom-file:hover > button, .ws-custom-file.ws-mouseenter > button,
-.ws-custom-file > input[type="file"]:focus ~ button {
- background: #fff;
- border-color: #999;
- background: #eeeeee linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.1));
-}
-.ws-custom-file:hover > .ws-file-value, .ws-custom-file.ws-mouseenter > .ws-file-value,
-.ws-custom-file > input[type="file"]:focus ~ .ws-file-value {
- border-color: #999;
-}
-.ws-custom-file.ws-active > button,
-.ws-custom-file > input[type="file"]:active ~ button {
- border-color: #000;
-}
-.ws-custom-file.ws-active > .ws-file-value,
-.ws-custom-file > input[type="file"]:active ~ .ws-file-value {
- border-color: #000;
-}
-.ws-custom-file > input[type="file"][disabled] ~ .ws-file-value,
-.ws-custom-file > input[type="file"][disabled] ~ button {
- border-color: #bbb;
- background: #eee;
- color: #999;
-}
.ws-custom-file > input[type="file"],
.ws-custom-file .ws-coverfile {
position: absolute;
top: -1%;
left: -3%;
@@ -677,6 +663,67 @@
cursor: default;
cursor: not-allowed;
}
.ws-custom-file > .moxie-shim {
z-index: 20;
+}
+.ws-custom-file:hover > button, .ws-custom-file.ws-mouseenter > button,
+.ws-custom-file > input[type="file"]:focus ~ button {
+ background: #fff;
+ border-color: #999;
+ background: #eeeeee linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.1));
+}
+.ws-custom-file:hover > .ws-file-value, .ws-custom-file.ws-mouseenter > .ws-file-value,
+.ws-custom-file > input[type="file"]:focus ~ .ws-file-value {
+ border-color: #999;
+}
+.ws-custom-file.ws-active > button,
+.ws-custom-file > input[type="file"]:active ~ button {
+ border-color: #000;
+}
+.ws-custom-file.ws-active > .ws-file-value,
+.ws-custom-file > input[type="file"]:active ~ .ws-file-value {
+ border-color: #000;
+}
+.ws-custom-file > input[type="file"][disabled] ~ .ws-file-value,
+.ws-custom-file > input[type="file"][disabled] ~ button {
+ border-color: #bbb;
+ background: #eee;
+ color: #999;
+}
+
+.ws-sticky {
+ top: auto;
+ left: auto !important;
+ right: auto !important;
+ bottom: auto;
+ position: static;
+ position: -webkit-sticky;
+ position: -moz-sticky;
+ position: -ms-sticky;
+ position: -o-sticky;
+ position: sticky;
+ float: none !important;
+ margin-left: 0;
+ margin-right: 0;
+}
+
+thead.ws-sticky,
+tbody.ws-sticky,
+tfoot.ws-sticky {
+ margin-left: -0.8px;
+ margin-right: -1px;
+}
+
+.ws-sticky.ws-sticky-on {
+ position: fixed !important;
+}
+
+.ws-fixedsticky-placeholder {
+ position: static !important;
+ visibility: hidden !important;
+ padding: 0;
+ border: none;
+ margin: 0;
+ left: -999px;
+ zoom: 1;
}