app/assets/stylesheets/activeadmin/selectize/selectize.css in activeadmin_selectize-0.1.6 vs app/assets/stylesheets/activeadmin/selectize/selectize.css in activeadmin_selectize-0.2.0

- old
+ new

@@ -1,7 +1,7 @@ /** - * selectize.css (v0.12.4) + * selectize.css (v0.12.6) * Copyright (c) 2013–2015 Brian Reavis & contributors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at: * http://www.apache.org/licenses/LICENSE-2.0 @@ -17,12 +17,12 @@ .selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder { visibility: visible !important; background: #f2f2f2 !important; background: rgba(0, 0, 0, 0.06) !important; border: 0 none !important; - -webkit-box-shadow: inset 0 0 12px 4px #ffffff; - box-shadow: inset 0 0 12px 4px #ffffff; + -webkit-box-shadow: inset 0 0 12px 4px #fff; + box-shadow: inset 0 0 12px 4px #fff; } .selectize-control.plugin-drag_drop .ui-sortable-placeholder::after { content: '!'; visibility: hidden; } @@ -109,12 +109,12 @@ .selectize-control.plugin-remove_button .disabled [data-value] .remove { border-left-color: #ffffff; } .selectize-control.plugin-remove_button .remove-single { position: absolute; - right: 28px; - top: 6px; + right: 0; + top: 0; font-size: 23px; } .selectize-control { position: relative; } @@ -127,11 +127,11 @@ line-height: 18px; -webkit-font-smoothing: inherit; } .selectize-input, .selectize-control.single .selectize-input.input-active { - background: #ffffff; + background: #fff; cursor: text; display: inline-block; } .selectize-input { border: 1px solid #d0d0d0; @@ -152,11 +152,11 @@ } .selectize-control.multi .selectize-input.has-items { padding: 6px 8px 3px; } .selectize-input.full { - background-color: #ffffff; + background-color: #fff; } .selectize-input.disabled, .selectize-input.disabled * { cursor: default !important; } @@ -233,11 +233,11 @@ } .selectize-dropdown { position: absolute; z-index: 10; border: 1px solid #d0d0d0; - background: #ffffff; + background: #fff; margin: -1px 0 0 0; border-top: 0 none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; @@ -255,19 +255,28 @@ background: rgba(125, 168, 208, 0.2); -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; } -.selectize-dropdown [data-selectable], +.selectize-dropdown .option, .selectize-dropdown .optgroup-header { padding: 5px 8px; } +.selectize-dropdown .option, +.selectize-dropdown [data-disabled], +.selectize-dropdown [data-disabled] [data-selectable].option { + cursor: inherit; + opacity: 0.5; +} +.selectize-dropdown [data-selectable].option { + opacity: 1; +} .selectize-dropdown .optgroup:first-child .optgroup-header { border-top: 0 none; } .selectize-dropdown .optgroup-header { color: #303030; - background: #ffffff; + background: #fff; cursor: default; } .selectize-dropdown .active { background-color: #f5fafd; color: #495c68;