-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use node-sass for building sass (#2483)
* use node-sass for building sass Replaced compass for node sass and added autoprefixer for automated vendor prefixes This removes the ruby dependency remove compass from package.json remove gem install from travis config update contributing guide accordingly * set outputStyle to expanded
- Loading branch information
Showing
8 changed files
with
32 additions
and
58 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
This file was deleted.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -1,19 +1,15 @@ | ||
@import "compass/css3/box-sizing"; | ||
@import "compass/css3/images"; | ||
@import "compass/css3/user-interface"; | ||
|
||
$chosen-sprite: image-url('chosen-sprite.png') !default; | ||
$chosen-sprite-retina: image-url('[email protected]') !default; | ||
$chosen-sprite: url('chosen-sprite.png') !default; | ||
$chosen-sprite-retina: url('[email protected]') !default; | ||
|
||
/* @group Base */ | ||
.chosen-container { | ||
position: relative; | ||
display: inline-block; | ||
vertical-align: middle; | ||
font-size: 13px; | ||
@include user-select(none); | ||
user-select: none; | ||
* { | ||
@include box-sizing(border-box); | ||
box-sizing: border-box; | ||
} | ||
.chosen-drop { | ||
position: absolute; | ||
|
@@ -62,7 +58,7 @@ $chosen-sprite-retina: image-url('[email protected]') !default; | |
border: 1px solid #aaa; | ||
border-radius: 5px; | ||
background-color: #fff; | ||
@include background(linear-gradient(#fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%)); | ||
background: linear-gradient(#fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%); | ||
background-clip: padding-box; | ||
box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(#000,.1); | ||
color: #444; | ||
|
@@ -127,7 +123,7 @@ $chosen-sprite-retina: image-url('[email protected]') !default; | |
outline: 0; | ||
border: 1px solid #aaa; | ||
background: #fff $chosen-sprite no-repeat 100% -20px; | ||
@include background($chosen-sprite no-repeat 100% -20px); | ||
background: $chosen-sprite no-repeat 100% -20px; | ||
font-size: 1em; | ||
font-family: sans-serif; | ||
line-height: normal; | ||
|
@@ -175,7 +171,7 @@ $chosen-sprite-retina: image-url('[email protected]') !default; | |
} | ||
&.highlighted { | ||
background-color: #3875d7; | ||
@include background-image(linear-gradient(#3875d7 20%, #2a62bc 90%)); | ||
background-image: linear-gradient(#3875d7 20%, #2a62bc 90%); | ||
color: #fff; | ||
} | ||
&.no-results { | ||
|
@@ -210,7 +206,7 @@ $chosen-sprite-retina: image-url('[email protected]') !default; | |
height: auto; | ||
border: 1px solid #aaa; | ||
background-color: #fff; | ||
@include background-image(linear-gradient(#eee 1%, #fff 15%)); | ||
background-image: linear-gradient(#eee 1%, #fff 15%); | ||
cursor: text; | ||
} | ||
.chosen-choices li { | ||
|
@@ -243,7 +239,7 @@ $chosen-sprite-retina: image-url('[email protected]') !default; | |
max-width: 100%; | ||
border-radius: 3px; | ||
background-color: #eeeeee; | ||
@include background-image(linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%)); | ||
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%); | ||
background-size: 100% 19px; | ||
background-repeat: repeat-x; | ||
background-clip: padding-box; | ||
|
@@ -272,7 +268,7 @@ $chosen-sprite-retina: image-url('[email protected]') !default; | |
padding-right: 5px; | ||
border: 1px solid #ccc; | ||
background-color: #e4e4e4; | ||
@include background-image(linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%)); | ||
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%); | ||
color: #666; | ||
} | ||
&.search-choice-focus { | ||
|
@@ -307,7 +303,7 @@ $chosen-sprite-retina: image-url('[email protected]') !default; | |
border-bottom-right-radius: 0; | ||
-moz-border-radius-bottomleft: 0; | ||
border-bottom-left-radius: 0; | ||
@include background-image(linear-gradient(#eee 20%, #fff 80%)); | ||
background-image: linear-gradient(#eee 20%, #fff 80%); | ||
box-shadow: 0 1px 0 #fff inset; | ||
} | ||
.chosen-single div { | ||
|
@@ -396,7 +392,7 @@ $chosen-sprite-retina: image-url('[email protected]') !default; | |
.chosen-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); | ||
background: $chosen-sprite no-repeat -30px -20px; | ||
direction: rtl; | ||
} | ||
&.chosen-container-single{ | ||
|