forked from selectize/selectize.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent scrollbar click from closing dropdown in IE, fixes selectize#182
- Loading branch information
1 parent
6caddcc
commit 9ef837a
Showing
15 changed files
with
25 additions
and
1,066 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,101 +13,6 @@ | |
* | ||
* @author Brian Reavis <[email protected]> | ||
*/ | ||
.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; | ||
} | ||
.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after { | ||
content: '!'; | ||
visibility: hidden; | ||
} | ||
.selectize-control.plugin-drag_drop .ui-sortable-helper { | ||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||
} | ||
.selectize-dropdown-header { | ||
position: relative; | ||
padding: 3px 10px; | ||
border-bottom: 1px solid #d0d0d0; | ||
background: #f8f8f8; | ||
-webkit-border-radius: 4px 4px 0 0; | ||
-moz-border-radius: 4px 4px 0 0; | ||
border-radius: 4px 4px 0 0; | ||
} | ||
.selectize-dropdown-header-close { | ||
position: absolute; | ||
right: 10px; | ||
top: 50%; | ||
color: #333333; | ||
opacity: 0.4; | ||
margin-top: -12px; | ||
line-height: 20px; | ||
font-size: 20px !important; | ||
} | ||
.selectize-dropdown-header-close:hover { | ||
color: #000000; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup { | ||
border-right: 1px solid #f2f2f2; | ||
border-top: 0 none; | ||
float: left; | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child { | ||
border-right: 0 none; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup:before { | ||
display: none; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup-header { | ||
border-top: 0 none; | ||
} | ||
.selectize-control.plugin-remove_button [data-value] { | ||
position: relative; | ||
padding-right: 24px !important; | ||
} | ||
.selectize-control.plugin-remove_button [data-value] .remove { | ||
z-index: 1; | ||
/* fixes ie bug (see #392) */ | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
width: 17px; | ||
text-align: center; | ||
font-weight: bold; | ||
font-size: 12px; | ||
color: inherit; | ||
text-decoration: none; | ||
vertical-align: middle; | ||
display: inline-block; | ||
padding: 1px 0 0 0; | ||
border-left: 1px solid #cccccc; | ||
-webkit-border-radius: 0 2px 2px 0; | ||
-moz-border-radius: 0 2px 2px 0; | ||
border-radius: 0 2px 2px 0; | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
.selectize-control.plugin-remove_button [data-value] .remove:hover { | ||
background: rgba(0, 0, 0, 0.05); | ||
} | ||
.selectize-control.plugin-remove_button [data-value].active .remove { | ||
border-left-color: #0077b3; | ||
} | ||
.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover { | ||
background: none; | ||
} | ||
.selectize-control.plugin-remove_button .disabled [data-value] .remove { | ||
border-left-color: #e0e0e0; | ||
} | ||
.selectize-control { | ||
position: relative; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,101 +13,6 @@ | |
* | ||
* @author Brian Reavis <[email protected]> | ||
*/ | ||
.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; | ||
} | ||
.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after { | ||
content: '!'; | ||
visibility: hidden; | ||
} | ||
.selectize-control.plugin-drag_drop .ui-sortable-helper { | ||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||
} | ||
.selectize-dropdown-header { | ||
position: relative; | ||
padding: 3px 12px; | ||
border-bottom: 1px solid #d0d0d0; | ||
background: #f8f8f8; | ||
-webkit-border-radius: 4px 4px 0 0; | ||
-moz-border-radius: 4px 4px 0 0; | ||
border-radius: 4px 4px 0 0; | ||
} | ||
.selectize-dropdown-header-close { | ||
position: absolute; | ||
right: 12px; | ||
top: 50%; | ||
color: #333333; | ||
opacity: 0.4; | ||
margin-top: -12px; | ||
line-height: 20px; | ||
font-size: 20px !important; | ||
} | ||
.selectize-dropdown-header-close:hover { | ||
color: #000000; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup { | ||
border-right: 1px solid #f2f2f2; | ||
border-top: 0 none; | ||
float: left; | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child { | ||
border-right: 0 none; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup:before { | ||
display: none; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup-header { | ||
border-top: 0 none; | ||
} | ||
.selectize-control.plugin-remove_button [data-value] { | ||
position: relative; | ||
padding-right: 24px !important; | ||
} | ||
.selectize-control.plugin-remove_button [data-value] .remove { | ||
z-index: 1; | ||
/* fixes ie bug (see #392) */ | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
width: 17px; | ||
text-align: center; | ||
font-weight: bold; | ||
font-size: 12px; | ||
color: inherit; | ||
text-decoration: none; | ||
vertical-align: middle; | ||
display: inline-block; | ||
padding: 1px 0 0 0; | ||
border-left: 1px solid rgba(0, 0, 0, 0); | ||
-webkit-border-radius: 0 2px 2px 0; | ||
-moz-border-radius: 0 2px 2px 0; | ||
border-radius: 0 2px 2px 0; | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
.selectize-control.plugin-remove_button [data-value] .remove:hover { | ||
background: rgba(0, 0, 0, 0.05); | ||
} | ||
.selectize-control.plugin-remove_button [data-value].active .remove { | ||
border-left-color: rgba(0, 0, 0, 0); | ||
} | ||
.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover { | ||
background: none; | ||
} | ||
.selectize-control.plugin-remove_button .disabled [data-value] .remove { | ||
border-left-color: rgba(77, 77, 77, 0); | ||
} | ||
.selectize-control { | ||
position: relative; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,101 +14,6 @@ | |
* @author Brian Reavis <[email protected]> | ||
*/ | ||
|
||
.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; | ||
} | ||
.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after { | ||
content: '!'; | ||
visibility: hidden; | ||
} | ||
.selectize-control.plugin-drag_drop .ui-sortable-helper { | ||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||
} | ||
.selectize-dropdown-header { | ||
position: relative; | ||
padding: 5px 8px; | ||
border-bottom: 1px solid #d0d0d0; | ||
background: #f8f8f8; | ||
-webkit-border-radius: 3px 3px 0 0; | ||
-moz-border-radius: 3px 3px 0 0; | ||
border-radius: 3px 3px 0 0; | ||
} | ||
.selectize-dropdown-header-close { | ||
position: absolute; | ||
right: 8px; | ||
top: 50%; | ||
color: #303030; | ||
opacity: 0.4; | ||
margin-top: -12px; | ||
line-height: 20px; | ||
font-size: 20px !important; | ||
} | ||
.selectize-dropdown-header-close:hover { | ||
color: #000000; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup { | ||
border-right: 1px solid #f2f2f2; | ||
border-top: 0 none; | ||
float: left; | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child { | ||
border-right: 0 none; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup:before { | ||
display: none; | ||
} | ||
.selectize-dropdown.plugin-optgroup_columns .optgroup-header { | ||
border-top: 0 none; | ||
} | ||
.selectize-control.plugin-remove_button [data-value] { | ||
position: relative; | ||
padding-right: 24px !important; | ||
} | ||
.selectize-control.plugin-remove_button [data-value] .remove { | ||
z-index: 1; | ||
/* fixes ie bug (see #392) */ | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
width: 17px; | ||
text-align: center; | ||
font-weight: bold; | ||
font-size: 12px; | ||
color: inherit; | ||
text-decoration: none; | ||
vertical-align: middle; | ||
display: inline-block; | ||
padding: 2px 0 0 0; | ||
border-left: 1px solid #d0d0d0; | ||
-webkit-border-radius: 0 2px 2px 0; | ||
-moz-border-radius: 0 2px 2px 0; | ||
border-radius: 0 2px 2px 0; | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
.selectize-control.plugin-remove_button [data-value] .remove:hover { | ||
background: rgba(0, 0, 0, 0.05); | ||
} | ||
.selectize-control.plugin-remove_button [data-value].active .remove { | ||
border-left-color: #cacaca; | ||
} | ||
.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover { | ||
background: none; | ||
} | ||
.selectize-control.plugin-remove_button .disabled [data-value] .remove { | ||
border-left-color: #ffffff; | ||
} | ||
.selectize-control { | ||
position: relative; | ||
} | ||
|
Oops, something went wrong.