Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Css updates #1368

Merged
merged 2 commits into from
Jul 17, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions sass/chosen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ $chosen-sprite-retina: image-url('[email protected]');
margin: 0;
padding: 3px 4px;
white-space: nowrap;
input {
input[type="text"] {
@include box-sizing(border-box);
margin: 1px 0;
padding: 4px 20px 4px 5px;
Expand Down Expand Up @@ -158,7 +158,6 @@ $chosen-sprite-retina: image-url('[email protected]');
}
&.group-result {
display: list-item;
color: #999;
font-weight: bold;
cursor: default;
}
Expand Down Expand Up @@ -196,7 +195,7 @@ $chosen-sprite-retina: image-url('[email protected]');
margin: 0;
padding: 0;
white-space: nowrap;
input {
input[type="text"] {
margin: 1px 0;
padding: 5px;
height: 15px;
Expand Down Expand Up @@ -292,7 +291,7 @@ $chosen-sprite-retina: image-url('[email protected]');
.chzn-choices {
border: 1px solid #5897fb;
box-shadow: 0 0 5px rgba(#000,.3);
li.search-field input {
li.search-field input[type="text"] {
color: #111 !important;
}
}
Expand Down Expand Up @@ -337,7 +336,7 @@ $chosen-sprite-retina: image-url('[email protected]');
}
.chzn-choices li {
float: right;
&.search-field input {
&.search-field input[type="text"] {
direction: rtl;
}
&.search-choice {
Expand All @@ -364,7 +363,7 @@ $chosen-sprite-retina: image-url('[email protected]');
&.chzn-container-active.chzn-with-drop .chzn-single div {
border-right: none;
}
.chzn-search input {
.chzn-search input[type="text"] {
padding: 4px 5px 4px 20px;
background: #fff $chosen-sprite no-repeat -30px -20px;
@include background($chosen-sprite no-repeat -30px -20px, linear-gradient(#eee 1%, #fff 15%));
Expand All @@ -386,10 +385,10 @@ $chosen-sprite-retina: image-url('[email protected]');

/* @group Retina compatibility */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) {
.chzn-rtl .chzn-search input,
.chzn-rtl .chzn-search input[type="text"],
.chzn-container-single .chzn-single abbr,
.chzn-container-single .chzn-single div b,
.chzn-container-single .chzn-search input,
.chzn-container-single .chzn-search input[type="text"],
.chzn-container-multi .chzn-choices .search-choice .search-choice-close,
.chzn-container .chzn-results-scroll-down span,
.chzn-container .chzn-results-scroll-up span {
Expand Down