egghead-styles 1.0.72 → 1.0.73

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/egghead-styles.css.scss +18 -13
  3. data/app/assets/stylesheets/globals/_bootstrap-and-overrides.css.scss +3 -3
  4. data/app/assets/stylesheets/plugins/bootstrap/_bootstrap-compass.scss +9 -0
  5. data/app/assets/stylesheets/plugins/bootstrap/_bootstrap-mincer.scss +19 -0
  6. data/app/assets/stylesheets/plugins/bootstrap/_bootstrap-sprockets.scss +9 -0
  7. data/app/assets/stylesheets/plugins/bootstrap/_bootstrap.scss +56 -0
  8. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_alerts.scss +73 -0
  9. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_badges.scss +68 -0
  10. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_breadcrumbs.scss +26 -0
  11. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_button-groups.scss +244 -0
  12. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_buttons.scss +168 -0
  13. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_carousel.scss +269 -0
  14. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_close.scss +36 -0
  15. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_code.scss +69 -0
  16. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_component-animations.scss +37 -0
  17. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_dropdowns.scss +216 -0
  18. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_forms.scss +611 -0
  19. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_glyphicons.scss +307 -0
  20. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_grid.scss +84 -0
  21. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_input-groups.scss +167 -0
  22. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_jumbotron.scss +52 -0
  23. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_labels.scss +66 -0
  24. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_list-group.scss +130 -0
  25. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_media.scss +66 -0
  26. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_mixins.scss +40 -0
  27. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_modals.scss +150 -0
  28. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_navbar.scss +662 -0
  29. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_navs.scss +242 -0
  30. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_normalize.scss +424 -0
  31. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_pager.scss +54 -0
  32. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_pagination.scss +89 -0
  33. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_panels.scss +271 -0
  34. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_popovers.scss +131 -0
  35. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_print.scss +101 -0
  36. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_progress-bars.scss +87 -0
  37. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_responsive-embed.scss +35 -0
  38. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_responsive-utilities.scss +179 -0
  39. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_scaffolding.scss +161 -0
  40. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_tables.scss +234 -0
  41. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_theme.scss +291 -0
  42. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_thumbnails.scss +38 -0
  43. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_tooltip.scss +101 -0
  44. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_type.scss +298 -0
  45. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_utilities.scss +55 -0
  46. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_variables.scss +872 -0
  47. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/_wells.scss +29 -0
  48. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_alerts.scss +14 -0
  49. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_background-variant.scss +12 -0
  50. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_border-radius.scss +18 -0
  51. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_buttons.scss +68 -0
  52. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_center-block.scss +7 -0
  53. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_clearfix.scss +22 -0
  54. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_forms.scss +88 -0
  55. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_gradients.scss +58 -0
  56. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_grid-framework.scss +81 -0
  57. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_grid.scss +122 -0
  58. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_hide-text.scss +21 -0
  59. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_image.scss +33 -0
  60. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_labels.scss +12 -0
  61. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_list-group.scss +32 -0
  62. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_nav-divider.scss +10 -0
  63. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  64. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_opacity.scss +8 -0
  65. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_pagination.scss +24 -0
  66. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_panels.scss +24 -0
  67. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_progress-bar.scss +10 -0
  68. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_reset-filter.scss +8 -0
  69. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_reset-text.scss +18 -0
  70. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_resize.scss +6 -0
  71. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_responsive-visibility.scss +21 -0
  72. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_size.scss +10 -0
  73. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_tab-focus.scss +9 -0
  74. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_table-row.scss +28 -0
  75. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_text-emphasis.scss +12 -0
  76. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_text-overflow.scss +8 -0
  77. data/app/assets/stylesheets/plugins/bootstrap/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  78. data/app/assets/stylesheets/plugins/chosen.scss +433 -0
  79. data/app/assets/stylesheets/plugins/{chosen.css.scss → chosen_overrides.css.scss} +0 -0
  80. data/app/assets/stylesheets/plugins/compass/_compass.scss +3 -0
  81. data/app/assets/stylesheets/plugins/compass/_lemonade.scss +38 -0
  82. data/app/assets/stylesheets/plugins/compass/compass/_css3.scss +20 -0
  83. data/app/assets/stylesheets/plugins/compass/compass/_layout.scss +3 -0
  84. data/app/assets/stylesheets/plugins/compass/compass/_reset-legacy.scss +3 -0
  85. data/app/assets/stylesheets/plugins/compass/compass/_reset.scss +3 -0
  86. data/app/assets/stylesheets/plugins/compass/compass/_support.scss +40 -0
  87. data/app/assets/stylesheets/plugins/compass/compass/_typography.scss +4 -0
  88. data/app/assets/stylesheets/plugins/compass/compass/_utilities.scss +9 -0
  89. data/app/assets/stylesheets/plugins/compass/compass/css3/_appearance.scss +17 -0
  90. data/app/assets/stylesheets/plugins/compass/compass/css3/_background-clip.scss +43 -0
  91. data/app/assets/stylesheets/plugins/compass/compass/css3/_background-origin.scss +42 -0
  92. data/app/assets/stylesheets/plugins/compass/compass/css3/_background-size.scss +26 -0
  93. data/app/assets/stylesheets/plugins/compass/compass/css3/_border-radius.scss +130 -0
  94. data/app/assets/stylesheets/plugins/compass/compass/css3/_box-shadow.scss +76 -0
  95. data/app/assets/stylesheets/plugins/compass/compass/css3/_box-sizing.scss +13 -0
  96. data/app/assets/stylesheets/plugins/compass/compass/css3/_box.scss +111 -0
  97. data/app/assets/stylesheets/plugins/compass/compass/css3/_columns.scss +157 -0
  98. data/app/assets/stylesheets/plugins/compass/compass/css3/_filter.scss +23 -0
  99. data/app/assets/stylesheets/plugins/compass/compass/css3/_font-face.scss +48 -0
  100. data/app/assets/stylesheets/plugins/compass/compass/css3/_hyphenation.scss +77 -0
  101. data/app/assets/stylesheets/plugins/compass/compass/css3/_images.scss +132 -0
  102. data/app/assets/stylesheets/plugins/compass/compass/css3/_inline-block.scss +22 -0
  103. data/app/assets/stylesheets/plugins/compass/compass/css3/_opacity.scss +19 -0
  104. data/app/assets/stylesheets/plugins/compass/compass/css3/_pie.scss +73 -0
  105. data/app/assets/stylesheets/plugins/compass/compass/css3/_regions.scss +22 -0
  106. data/app/assets/stylesheets/plugins/compass/compass/css3/_shared.scss +38 -0
  107. data/app/assets/stylesheets/plugins/compass/compass/css3/_text-shadow.scss +87 -0
  108. data/app/assets/stylesheets/plugins/compass/compass/css3/_transform-legacy.scss +87 -0
  109. data/app/assets/stylesheets/plugins/compass/compass/css3/_transform.scss +598 -0
  110. data/app/assets/stylesheets/plugins/compass/compass/css3/_transition.scss +221 -0
  111. data/app/assets/stylesheets/plugins/compass/compass/css3/_user-interface.scss +17 -0
  112. data/app/assets/stylesheets/plugins/compass/compass/layout/_grid-background.scss +178 -0
  113. data/app/assets/stylesheets/plugins/compass/compass/layout/_sticky-footer.scss +23 -0
  114. data/app/assets/stylesheets/plugins/compass/compass/layout/_stretching.scss +24 -0
  115. data/app/assets/stylesheets/plugins/compass/compass/reset/_utilities-legacy.scss +135 -0
  116. data/app/assets/stylesheets/plugins/compass/compass/reset/_utilities.scss +142 -0
  117. data/app/assets/stylesheets/plugins/compass/compass/typography/_links.scss +3 -0
  118. data/app/assets/stylesheets/plugins/compass/compass/typography/_lists.scss +4 -0
  119. data/app/assets/stylesheets/plugins/compass/compass/typography/_text.scss +4 -0
  120. data/app/assets/stylesheets/plugins/compass/compass/typography/_vertical_rhythm.scss +221 -0
  121. data/app/assets/stylesheets/plugins/compass/compass/typography/links/_hover-link.scss +5 -0
  122. data/app/assets/stylesheets/plugins/compass/compass/typography/links/_link-colors.scss +28 -0
  123. data/app/assets/stylesheets/plugins/compass/compass/typography/links/_unstyled-link.scss +7 -0
  124. data/app/assets/stylesheets/plugins/compass/compass/typography/lists/_bullets.scss +34 -0
  125. data/app/assets/stylesheets/plugins/compass/compass/typography/lists/_horizontal-list.scss +61 -0
  126. data/app/assets/stylesheets/plugins/compass/compass/typography/lists/_inline-block-list.scss +50 -0
  127. data/app/assets/stylesheets/plugins/compass/compass/typography/lists/_inline-list.scss +44 -0
  128. data/app/assets/stylesheets/plugins/compass/compass/typography/text/_ellipsis.scss +25 -0
  129. data/app/assets/stylesheets/plugins/compass/compass/typography/text/_force-wrap.scss +12 -0
  130. data/app/assets/stylesheets/plugins/compass/compass/typography/text/_nowrap.scss +2 -0
  131. data/app/assets/stylesheets/plugins/compass/compass/typography/text/_replacement.scss +68 -0
  132. data/app/assets/stylesheets/plugins/compass/compass/utilities/_color.scss +1 -0
  133. data/app/assets/stylesheets/plugins/compass/compass/utilities/_general.scss +6 -0
  134. data/app/assets/stylesheets/plugins/compass/compass/utilities/_links.scss +5 -0
  135. data/app/assets/stylesheets/plugins/compass/compass/utilities/_lists.scss +6 -0
  136. data/app/assets/stylesheets/plugins/compass/compass/utilities/_print.scss +17 -0
  137. data/app/assets/stylesheets/plugins/compass/compass/utilities/_sprites.scss +2 -0
  138. data/app/assets/stylesheets/plugins/compass/compass/utilities/_tables.scss +3 -0
  139. data/app/assets/stylesheets/plugins/compass/compass/utilities/_text.scss +5 -0
  140. data/app/assets/stylesheets/plugins/compass/compass/utilities/color/_contrast.scss +28 -0
  141. data/app/assets/stylesheets/plugins/compass/compass/utilities/general/_clearfix.scss +44 -0
  142. data/app/assets/stylesheets/plugins/compass/compass/utilities/general/_float.scss +30 -0
  143. data/app/assets/stylesheets/plugins/compass/compass/utilities/general/_hacks.scss +46 -0
  144. data/app/assets/stylesheets/plugins/compass/compass/utilities/general/_min.scss +16 -0
  145. data/app/assets/stylesheets/plugins/compass/compass/utilities/general/_reset.scss +2 -0
  146. data/app/assets/stylesheets/plugins/compass/compass/utilities/general/_tabs.scss +1 -0
  147. data/app/assets/stylesheets/plugins/compass/compass/utilities/general/_tag-cloud.scss +18 -0
  148. data/app/assets/stylesheets/plugins/compass/compass/utilities/links/_hover-link.scss +3 -0
  149. data/app/assets/stylesheets/plugins/compass/compass/utilities/links/_link-colors.scss +3 -0
  150. data/app/assets/stylesheets/plugins/compass/compass/utilities/links/_unstyled-link.scss +3 -0
  151. data/app/assets/stylesheets/plugins/compass/compass/utilities/lists/_bullets.scss +3 -0
  152. data/app/assets/stylesheets/plugins/compass/compass/utilities/lists/_horizontal-list.scss +3 -0
  153. data/app/assets/stylesheets/plugins/compass/compass/utilities/lists/_inline-block-list.scss +3 -0
  154. data/app/assets/stylesheets/plugins/compass/compass/utilities/lists/_inline-list.scss +3 -0
  155. data/app/assets/stylesheets/plugins/compass/compass/utilities/sprites/_base.scss +66 -0
  156. data/app/assets/stylesheets/plugins/compass/compass/utilities/sprites/_sprite-img.scss +79 -0
  157. data/app/assets/stylesheets/plugins/compass/compass/utilities/tables/_alternating-rows-and-columns.scss +22 -0
  158. data/app/assets/stylesheets/plugins/compass/compass/utilities/tables/_borders.scss +33 -0
  159. data/app/assets/stylesheets/plugins/compass/compass/utilities/tables/_scaffolding.scss +9 -0
  160. data/app/assets/stylesheets/plugins/compass/compass/utilities/text/_ellipsis.scss +3 -0
  161. data/app/assets/stylesheets/plugins/compass/compass/utilities/text/_nowrap.scss +3 -0
  162. data/app/assets/stylesheets/plugins/compass/compass/utilities/text/_replacement.scss +3 -0
  163. data/{vendor/assets/stylesheets → app/assets/stylesheets/plugins}/font-awesome/_bootstrap.scss +0 -0
  164. data/{vendor/assets/stylesheets → app/assets/stylesheets/plugins}/font-awesome/_core.scss +0 -0
  165. data/{vendor/assets/stylesheets → app/assets/stylesheets/plugins}/font-awesome/_extras.scss +0 -0
  166. data/{vendor/assets/stylesheets → app/assets/stylesheets/plugins}/font-awesome/_icons.scss +0 -0
  167. data/{vendor/assets/stylesheets → app/assets/stylesheets/plugins}/font-awesome/_mixins.scss +0 -0
  168. data/{vendor/assets/stylesheets → app/assets/stylesheets/plugins}/font-awesome/_path.scss +0 -0
  169. data/{vendor/assets/stylesheets → app/assets/stylesheets/plugins}/font-awesome/_variables.scss +0 -0
  170. data/{vendor/assets/stylesheets → app/assets/stylesheets/plugins}/font-awesome/font-awesome-ie7.scss +0 -0
  171. data/{vendor/assets/stylesheets → app/assets/stylesheets/plugins}/font-awesome/font-awesome.scss +0 -0
  172. data/app/assets/stylesheets/plugins/fontello/fonts/fontello.eot +0 -0
  173. data/app/assets/stylesheets/plugins/fontello/fonts/fontello.svg +2140 -0
  174. data/app/assets/stylesheets/plugins/fontello/fonts/fontello.ttf +0 -0
  175. data/app/assets/stylesheets/plugins/fontello/fonts/fontello.woff +0 -0
  176. data/app/assets/stylesheets/plugins/fontello/stylesheets/_fontello-ie7-codes.scss +742 -0
  177. data/app/assets/stylesheets/plugins/fontello/stylesheets/_fontello-ie7.scss +752 -0
  178. data/app/assets/stylesheets/plugins/fontello/stylesheets/_fontello.scss +778 -0
  179. data/app/assets/stylesheets/plugins/fontello/stylesheets/_fontello_codes.scss +744 -0
  180. data/{vendor/assets/stylesheets → app/assets/stylesheets/plugins}/social-likes.css.scss +0 -0
  181. data/{vendor/assets/stylesheets → app/assets/stylesheets/plugins}/typeahead-bootstrap.css.scss +0 -0
  182. data/lib/egghead/styles/version.rb +1 -1
  183. metadata +180 -98
@@ -0,0 +1,433 @@
1
+ @import "compass/css3/box-sizing";
2
+ @import "compass/css3/images";
3
+ @import "compass/css3/user-interface";
4
+
5
+ $chosen-sprite: image-url('chosen-sprite.png') !default;
6
+ $chosen-sprite-retina: image-url('chosen-sprite@2x.png') !default;
7
+
8
+ /* @group Base */
9
+ .chosen-container {
10
+ position: relative;
11
+ display: inline-block;
12
+ vertical-align: middle;
13
+ font-size: 13px;
14
+ zoom: 1;
15
+ *display: inline;
16
+ @include user-select(none);
17
+ * {
18
+ @include box-sizing(border-box);
19
+ }
20
+ .chosen-drop {
21
+ position: absolute;
22
+ top: 100%;
23
+ left: -9999px;
24
+ z-index: 1010;
25
+ width: 100%;
26
+ border: 1px solid #aaa;
27
+ border-top: 0;
28
+ background: #fff;
29
+ box-shadow: 0 4px 5px rgba(#000,.15);
30
+ }
31
+ &.chosen-with-drop .chosen-drop {
32
+ left: 0;
33
+ }
34
+ a{
35
+ cursor: pointer;
36
+ }
37
+
38
+ .search-choice, .chosen-single{
39
+ .group-name{
40
+ margin-right: 4px;
41
+ overflow: hidden;
42
+ white-space: nowrap;
43
+ text-overflow: ellipsis;
44
+ font-weight: normal;
45
+ color: #999999;
46
+ &:after {
47
+ content: ":";
48
+ padding-left: 2px;
49
+ vertical-align: top;
50
+ }
51
+ }
52
+ }
53
+ }
54
+ /* @end */
55
+
56
+ /* @group Single Chosen */
57
+ .chosen-container-single{
58
+ .chosen-single {
59
+ position: relative;
60
+ display: block;
61
+ overflow: hidden;
62
+ padding: 0 0 0 8px;
63
+ height: 25px;
64
+ border: 1px solid #aaa;
65
+ border-radius: 5px;
66
+ background-color: #fff;
67
+ @include background(linear-gradient(top, #fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%));
68
+ background-clip: padding-box;
69
+ box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(#000,.1);
70
+ color: #444;
71
+ text-decoration: none;
72
+ white-space: nowrap;
73
+ line-height: 24px;
74
+ }
75
+ .chosen-default {
76
+ color: #999;
77
+ }
78
+ .chosen-single span {
79
+ display: block;
80
+ overflow: hidden;
81
+ margin-right: 26px;
82
+ text-overflow: ellipsis;
83
+ white-space: nowrap;
84
+ }
85
+ .chosen-single-with-deselect span {
86
+ margin-right: 38px;
87
+ }
88
+ .chosen-single abbr {
89
+ position: absolute;
90
+ top: 6px;
91
+ right: 26px;
92
+ display: block;
93
+ width: 12px;
94
+ height: 12px;
95
+ background: $chosen-sprite -42px 1px no-repeat;
96
+ font-size: 1px;
97
+ &:hover {
98
+ background-position: -42px -10px;
99
+ }
100
+ }
101
+ &.chosen-disabled .chosen-single abbr:hover {
102
+ background-position: -42px -10px;
103
+ }
104
+ .chosen-single div {
105
+ position: absolute;
106
+ top: 0;
107
+ right: 0;
108
+ display: block;
109
+ width: 18px;
110
+ height: 100%;
111
+ b {
112
+ display: block;
113
+ width: 100%;
114
+ height: 100%;
115
+ background: $chosen-sprite no-repeat 0px 2px;
116
+ }
117
+ }
118
+ .chosen-search {
119
+ position: relative;
120
+ z-index: 1010;
121
+ margin: 0;
122
+ padding: 3px 4px;
123
+ white-space: nowrap;
124
+ input[type="text"] {
125
+ margin: 1px 0;
126
+ padding: 4px 20px 4px 5px;
127
+ width: 100%;
128
+ height: auto;
129
+ outline: 0;
130
+ border: 1px solid #aaa;
131
+ background: #fff $chosen-sprite no-repeat 100% -20px;
132
+ @include background($chosen-sprite no-repeat 100% -20px);
133
+ font-size: 1em;
134
+ font-family: sans-serif;
135
+ line-height: normal;
136
+ border-radius: 0;
137
+ }
138
+ }
139
+ .chosen-drop {
140
+ margin-top: -1px;
141
+ border-radius: 0 0 4px 4px;
142
+ background-clip: padding-box;
143
+ }
144
+ &.chosen-container-single-nosearch .chosen-search {
145
+ position: absolute;
146
+ left: -9999px;
147
+ }
148
+ }
149
+ /* @end */
150
+
151
+ /* @group Results */
152
+ .chosen-container .chosen-results {
153
+ color: #444;
154
+ position: relative;
155
+ overflow-x: hidden;
156
+ overflow-y: auto;
157
+ margin: 0 4px 4px 0;
158
+ padding: 0 0 0 4px;
159
+ max-height: 240px;
160
+ -webkit-overflow-scrolling: touch;
161
+ li {
162
+ display: none;
163
+ margin: 0;
164
+ padding: 5px 6px;
165
+ list-style: none;
166
+ line-height: 15px;
167
+ word-wrap: break-word;
168
+ -webkit-touch-callout: none;
169
+ &.active-result {
170
+ display: list-item;
171
+ cursor: pointer;
172
+ }
173
+ &.disabled-result {
174
+ display: list-item;
175
+ color: #ccc;
176
+ cursor: default;
177
+ }
178
+ &.highlighted {
179
+ background-color: #3875d7;
180
+ @include background-image(linear-gradient(#3875d7 20%, #2a62bc 90%));
181
+ color: #fff;
182
+ }
183
+ &.no-results {
184
+ color: #777;
185
+ display: list-item;
186
+ background: #f4f4f4;
187
+ }
188
+ &.group-result {
189
+ display: list-item;
190
+ font-weight: bold;
191
+ cursor: default;
192
+ }
193
+ &.group-option {
194
+ padding-left: 15px;
195
+ }
196
+ em {
197
+ font-style: normal;
198
+ text-decoration: underline;
199
+ }
200
+ }
201
+ }
202
+ /* @end */
203
+
204
+ /* @group Multi Chosen */
205
+ .chosen-container-multi{
206
+ .chosen-choices {
207
+ position: relative;
208
+ overflow: hidden;
209
+ margin: 0;
210
+ padding: 0 5px;
211
+ width: 100%;
212
+ height: auto !important;
213
+ height: 1%;
214
+ border: 1px solid #aaa;
215
+ background-color: #fff;
216
+ @include background-image(linear-gradient(#eee 1%, #fff 15%));
217
+ cursor: text;
218
+ }
219
+ .chosen-choices li {
220
+ float: left;
221
+ list-style: none;
222
+ &.search-field {
223
+ margin: 0;
224
+ padding: 0;
225
+ white-space: nowrap;
226
+ input[type="text"] {
227
+ margin: 1px 0;
228
+ padding: 0;
229
+ height: 25px;
230
+ outline: 0;
231
+ border: 0 !important;
232
+ background: transparent !important;
233
+ box-shadow: none;
234
+ color: #999;
235
+ font-size: 100%;
236
+ font-family: sans-serif;
237
+ line-height: normal;
238
+ border-radius: 0;
239
+ }
240
+ }
241
+ &.search-choice {
242
+ position: relative;
243
+ margin: 3px 5px 3px 0;
244
+ padding: 3px 20px 3px 5px;
245
+ border: 1px solid #aaa;
246
+ max-width: 100%;
247
+ border-radius: 3px;
248
+ background-color: #eeeeee;
249
+ @include background-image(linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%));
250
+ background-size: 100% 19px;
251
+ background-repeat: repeat-x;
252
+ background-clip: padding-box;
253
+ box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(#000,.05);
254
+ color: #333;
255
+ line-height: 13px;
256
+ cursor: default;
257
+ span {
258
+ word-wrap: break-word;
259
+ }
260
+ .search-choice-close {
261
+ position: absolute;
262
+ top: 4px;
263
+ right: 3px;
264
+ display: block;
265
+ width: 12px;
266
+ height: 12px;
267
+ background: $chosen-sprite -42px 1px no-repeat;
268
+ font-size: 1px;
269
+ &:hover {
270
+ background-position: -42px -10px;
271
+ }
272
+ }
273
+ }
274
+ &.search-choice-disabled {
275
+ padding-right: 5px;
276
+ border: 1px solid #ccc;
277
+ background-color: #e4e4e4;
278
+ @include background-image(linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%));
279
+ color: #666;
280
+ }
281
+ &.search-choice-focus {
282
+ background: #d4d4d4;
283
+ .search-choice-close {
284
+ background-position: -42px -10px;
285
+ }
286
+ }
287
+ }
288
+ .chosen-results {
289
+ margin: 0;
290
+ padding: 0;
291
+ }
292
+ .chosen-drop .result-selected {
293
+ display: list-item;
294
+ color: #ccc;
295
+ cursor: default;
296
+ }
297
+ }
298
+ /* @end */
299
+
300
+ /* @group Active */
301
+ .chosen-container-active{
302
+ .chosen-single {
303
+ border: 1px solid #5897fb;
304
+ box-shadow: 0 0 5px rgba(#000,.3);
305
+ }
306
+ &.chosen-with-drop{
307
+ .chosen-single {
308
+ border: 1px solid #aaa;
309
+ -moz-border-radius-bottomright: 0;
310
+ border-bottom-right-radius: 0;
311
+ -moz-border-radius-bottomleft: 0;
312
+ border-bottom-left-radius: 0;
313
+ @include background-image(linear-gradient(#eee 20%, #fff 80%));
314
+ box-shadow: 0 1px 0 #fff inset;
315
+ }
316
+ .chosen-single div {
317
+ border-left: none;
318
+ background: transparent;
319
+ b {
320
+ background-position: -18px 2px;
321
+ }
322
+ }
323
+ }
324
+ .chosen-choices {
325
+ border: 1px solid #5897fb;
326
+ box-shadow: 0 0 5px rgba(#000,.3);
327
+ li.search-field input[type="text"] {
328
+ color: #222 !important;
329
+ }
330
+ }
331
+ }
332
+ /* @end */
333
+
334
+ /* @group Disabled Support */
335
+ .chosen-disabled {
336
+ opacity: 0.5 !important;
337
+ cursor: default;
338
+ .chosen-single {
339
+ cursor: default;
340
+ }
341
+ .chosen-choices .search-choice .search-choice-close {
342
+ cursor: default;
343
+ }
344
+ }
345
+ /* @end */
346
+
347
+ /* @group Right to Left */
348
+ .chosen-rtl {
349
+ text-align: right;
350
+ .chosen-single {
351
+ overflow: visible;
352
+ padding: 0 8px 0 0;
353
+ }
354
+ .chosen-single span {
355
+ margin-right: 0;
356
+ margin-left: 26px;
357
+ direction: rtl;
358
+ }
359
+ .chosen-single-with-deselect span {
360
+ margin-left: 38px;
361
+ }
362
+ .chosen-single div {
363
+ right: auto;
364
+ left: 3px;
365
+ }
366
+ .chosen-single abbr {
367
+ right: auto;
368
+ left: 26px;
369
+ }
370
+ .chosen-choices li {
371
+ float: right;
372
+ &.search-field input[type="text"] {
373
+ direction: rtl;
374
+ }
375
+ &.search-choice {
376
+ margin: 3px 5px 3px 0;
377
+ padding: 3px 5px 3px 19px;
378
+ .search-choice-close {
379
+ right: auto;
380
+ left: 4px;
381
+ }
382
+ }
383
+ }
384
+ &.chosen-container-single-nosearch .chosen-search,
385
+ .chosen-drop {
386
+ left: 9999px;
387
+ }
388
+ &.chosen-container-single .chosen-results {
389
+ margin: 0 0 4px 4px;
390
+ padding: 0 4px 0 0;
391
+ }
392
+ .chosen-results li.group-option {
393
+ padding-right: 15px;
394
+ padding-left: 0;
395
+ }
396
+ &.chosen-container-active.chosen-with-drop .chosen-single div {
397
+ border-right: none;
398
+ }
399
+ .chosen-search input[type="text"] {
400
+ padding: 4px 5px 4px 20px;
401
+ background: #fff $chosen-sprite no-repeat -30px -20px;
402
+ @include background($chosen-sprite no-repeat -30px -20px);
403
+ direction: rtl;
404
+ }
405
+ &.chosen-container-single{
406
+ .chosen-single div b {
407
+ background-position: 6px 2px;
408
+ }
409
+ &.chosen-with-drop{
410
+ .chosen-single div b {
411
+ background-position: -12px 2px;
412
+ }
413
+ }
414
+ }
415
+ }
416
+
417
+ /* @end */
418
+
419
+ /* @group Retina compatibility */
420
+ @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
421
+ .chosen-rtl .chosen-search input[type="text"],
422
+ .chosen-container-single .chosen-single abbr,
423
+ .chosen-container-single .chosen-single div b,
424
+ .chosen-container-single .chosen-search input[type="text"],
425
+ .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
426
+ .chosen-container .chosen-results-scroll-down span,
427
+ .chosen-container .chosen-results-scroll-up span {
428
+ background-image: $chosen-sprite-retina !important;
429
+ background-size: 52px 37px !important;
430
+ background-repeat: no-repeat !important;
431
+ }
432
+ }
433
+ /* @end */
@@ -0,0 +1,3 @@
1
+ @import "compass/utilities";
2
+ @import "compass/typography";
3
+ @import "compass/css3";
@@ -0,0 +1,38 @@
1
+ @mixin image-dimensions($file) {
2
+ height: image-height($file);
3
+ width: image-width($file);
4
+ }
5
+
6
+ @mixin sprite-image($file) {
7
+ background: sprite-image($file) $repeat;
8
+ }
9
+
10
+ @mixin sized-sprite-image($file) {
11
+ background: sprite-image($file);
12
+ @include image-dimensions($file);
13
+ }
14
+
15
+ @mixin sprite-folder($folder, $image-dimensions: false) {
16
+ .#{$folder} {
17
+ @if $image-dimensions {
18
+ background: sprite-url($folder);
19
+ }
20
+ @else {
21
+ background: sprite-url($folder) no-repeat;
22
+ }
23
+ }
24
+ @for $i from 0 to sprite-files-in-folder($folder) {
25
+ $file: sprite-file-from-folder($folder, $i);
26
+ .#{$folder}-#{image-basename($file)} {
27
+ @extend .#{$folder};
28
+ background-position: sprite-position(sprite-file-from-folder($folder, $i));
29
+ @if $image-dimensions {
30
+ @include image-dimensions($file);
31
+ }
32
+ }
33
+ }
34
+ }
35
+
36
+ @mixin sized-sprite-folder($folder) {
37
+ @include sprite-folder($folder, true);
38
+ }