vendor/assets/javascripts/webshims/shims/styles/scss/shim.scss in webshims-rails-1.14.6 vs vendor/assets/javascripts/webshims/shims/styles/scss/shim.scss in webshims-rails-1.15.2

- old
+ new

@@ -600,11 +600,12 @@ summary.summary-has-focus { outline: 1px dotted #aaa; outline-offset: -1px; } -.ws-custom-file { +.ws-custom-file, +.ws-capture-file { position: relative; overflow: hidden; > button, > input { @@ -630,51 +631,20 @@ > button { margin-right: 0.4em; float: left; } +} +.ws-custom-file { .ws-file-value { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } - &:hover > button, - &.ws-mouseenter > button, - > input[type="file"]:focus ~ button { - background: #fff; - border-color: #999; - background: #eee linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.1)); - } - - - &:hover > .ws-file-value, - &.ws-mouseenter > .ws-file-value, - > input[type="file"]:focus ~ .ws-file-value { - border-color: #999; - } - - &.ws-active > button, - > input[type="file"]:active ~ button { - border-color: #000; - } - - - &.ws-active > .ws-file-value, - > input[type="file"]:active ~ .ws-file-value { - border-color: #000; - } - - > input[type="file"][disabled] ~ .ws-file-value, - > input[type="file"][disabled] ~ button { - border-color: #bbb; - background: #eee; - color: #999; - } - > input[type="file"], .ws-coverfile { position: absolute; top: -1%; left: -3%; @@ -715,6 +685,76 @@ > .moxie-shim { z-index: 20; } + + &:hover > button, + &.ws-mouseenter > button, + > input[type="file"]:focus ~ button { + background: #fff; + border-color: #999; + background: #eee linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.1)); + } + + + &:hover > .ws-file-value, + &.ws-mouseenter > .ws-file-value, + > input[type="file"]:focus ~ .ws-file-value { + border-color: #999; + } + + &.ws-active > button, + > input[type="file"]:active ~ button { + border-color: #000; + } + + + &.ws-active > .ws-file-value, + > input[type="file"]:active ~ .ws-file-value { + border-color: #000; + } + + > input[type="file"][disabled] ~ .ws-file-value, + > 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; }