app/assets/stylesheets/scrivito_resourcebrowser/resourcebrowser.css in scrivito_resourcebrowser-0.0.4 vs app/assets/stylesheets/scrivito_resourcebrowser/resourcebrowser.css in scrivito_resourcebrowser-0.0.5

- old
+ new

@@ -113,12 +113,14 @@ width: 100%; } .editing-resourcebrowser .editing-resourcebrowser-search { float: left; + overflow: hidden; position: relative; width: 65%; + white-space: nowrap; } .editing-resourcebrowser .editing-resourcebrowser-search .search-field { border:0px; color:#333; @@ -171,12 +173,11 @@ user-select: none; border: 0px; border-left: none; color: #fff; cursor: pointer; - display: block; - float: left; + display: inline; font-size: 14px; font-weight: normal; height: 30px; margin: 0; padding: 0; @@ -392,23 +393,24 @@ padding: 1px 6px; } .editing-resourcebrowser ul.editing-resourcebrowser-filter-items .editing-icon { color: #666; - display: inline-block; + display: inline; font-size: 12px; line-height: 20px; padding: 0 7px 0 0; text-shadow: 0 1px 1px #fff; } .editing-resourcebrowser ul.editing-resourcebrowser-filter-items .editing-resourcebrowser-filter-name { color: #666; - display: inline-block; + display: inline; font-size: 11px; font-weight: bold; line-height: 20px; + word-wrap: break-word; } .editing-resourcebrowser ul.editing-resourcebrowser-filter-items li:hover .editing-resourcebrowser-counter, .editing-resourcebrowser ul.editing-resourcebrowser-filter-items li.active .editing-resourcebrowser-counter { background: #fff; @@ -502,12 +504,18 @@ position: relative; } .editing-resourcebrowser ul.editing-resourcebrowser-thumbnails li .editing-resourcebrowser-preview img { display: block; - height: 100%; - margin: 0 auto; + max-height: 100%; + max-width: 100%; + margin: auto; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; } .editing-resourcebrowser ul.editing-resourcebrowser-thumbnails li .editing-resourcebrowser-preview .editing-icon { color: #bfbfbf; display: block; @@ -572,10 +580,11 @@ text-align: center; text-decoration: none; vertical-align: middle; width: 40px; font-size: 11px; + z-index: 1; } .editing-resourcebrowser ul.editing-resourcebrowser-thumbnails li .editing-resourcebrowser-thumbnails-select:before { -webkit-user-select: none; -moz-user-select: none; @@ -848,9 +857,20 @@ font-size: 13px; font-weight: bold; margin: 0 3px 6px 3px; overflow: hidden; text-overflow: ellipsis; +} + +.editing-resourcebrowser-progress-wrapper .editing-resourcebrowser-progress-file .editing-resourcebrowser-error:empty { + display: none; +} + +.editing-resourcebrowser-progress-wrapper .editing-resourcebrowser-progress-file .editing-resourcebrowser-error { + color: #aa4040; + font-size: 13px; + font-weight: normal; + margin: 0 3px 6px 3px; } .editing-resourcebrowser-progress-wrapper .editing-resourcebrowser-progress { -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);