staple 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -7
  3. data/Rakefile +1 -0
  4. data/lib/staple/install_generator.rb +11 -1
  5. data/source/stylesheets/after.scss +5 -0
  6. data/source/stylesheets/before.scss +9 -0
  7. data/source/stylesheets/buttons.scss +0 -0
  8. data/source/stylesheets/color.scss +0 -0
  9. data/source/stylesheets/forms.scss +0 -0
  10. data/source/stylesheets/foundation_and_overrides.scss +3 -0
  11. data/source/stylesheets/sizing.scss +0 -0
  12. data/source/stylesheets/typography.scss +0 -0
  13. data/source/stylesheets/utilities.scss +0 -0
  14. data/staple.gemspec +6 -6
  15. metadata +12 -190
  16. data/config.rb +0 -24
  17. data/source/CNAME +0 -1
  18. data/source/_accordion.html.erb +0 -24
  19. data/source/_accordion_tabs.html.erb +0 -26
  20. data/source/_accordion_tabs_minimal.html.erb +0 -26
  21. data/source/_badges.html.erb +0 -7
  22. data/source/_breadcrumbs.html.erb +0 -7
  23. data/source/_browser.html.erb +0 -29
  24. data/source/_button_group.html.erb +0 -18
  25. data/source/_cards.html.erb +0 -59
  26. data/source/_centered_navigation.html.erb +0 -38
  27. data/source/_code.html.erb +0 -10
  28. data/source/_comment.html.erb +0 -21
  29. data/source/_device.html.erb +0 -10
  30. data/source/_dropdown.html.erb +0 -12
  31. data/source/_expander.html.erb +0 -6
  32. data/source/_flashes.html.erb +0 -15
  33. data/source/_footer.html.erb +0 -28
  34. data/source/_footer_2.html.erb +0 -33
  35. data/source/_grid_items.html.erb +0 -37
  36. data/source/_grid_items_lines.html.erb +0 -44
  37. data/source/_hero.html.erb +0 -11
  38. data/source/_hover_tile_animation.html.erb +0 -11
  39. data/source/_icon_bullet_points.html.erb +0 -30
  40. data/source/_image_gradient_dynamic.html.erb +0 -7
  41. data/source/_intro_text.html.erb +0 -6
  42. data/source/_label_alerts.html.erb +0 -5
  43. data/source/_modal.html.erb +0 -14
  44. data/source/_navigation.html.erb +0 -44
  45. data/source/_pagination.html.erb +0 -17
  46. data/source/_progress_bar.html.erb +0 -3
  47. data/source/_progress_bar_indication.html.erb +0 -5
  48. data/source/_search_bar.html.erb +0 -8
  49. data/source/_search_tools.html.erb +0 -58
  50. data/source/_side_image.html.erb +0 -10
  51. data/source/_sliding_menu.html.erb +0 -13
  52. data/source/_snippet.html.erb +0 -4
  53. data/source/_switch.html.erb +0 -4
  54. data/source/_tables.html.erb +0 -31
  55. data/source/_tables_minimal.html.erb +0 -31
  56. data/source/_texture-legend.html.erb +0 -24
  57. data/source/_textures.html.erb +0 -4
  58. data/source/_tooltip.html.erb +0 -6
  59. data/source/_type_system_geometric.html.erb +0 -18
  60. data/source/_type_system_rounded.html.erb +0 -18
  61. data/source/_type_system_sans.html.erb +0 -18
  62. data/source/_type_system_serif.html.erb +0 -19
  63. data/source/_type_system_slab.html.erb +0 -18
  64. data/source/_type_system_traditional.html.erb +0 -18
  65. data/source/_vertical_tabs.html.erb +0 -30
  66. data/source/_video.html.erb +0 -5
  67. data/source/components.html.erb +0 -174
  68. data/source/foundation/application.html.slim +0 -17
  69. data/source/foundation/foundation_and_overrides.scss +0 -4
  70. data/source/index.html.erb +0 -162
  71. data/source/javascripts/all.js +0 -11
  72. data/source/javascripts/jquery.erToc.js +0 -477
  73. data/source/javascripts/jquery.glide.js +0 -941
  74. data/source/javascripts/staple/accordion.js +0 -5
  75. data/source/javascripts/staple/accordion_tabs.js +0 -19
  76. data/source/javascripts/staple/accordion_tabs_minimal.js +0 -19
  77. data/source/javascripts/staple/centered_navigation.js +0 -14
  78. data/source/javascripts/staple/dropdown.js +0 -9
  79. data/source/javascripts/staple/expander.js +0 -53
  80. data/source/javascripts/staple/navigation.js +0 -23
  81. data/source/javascripts/staple/search_tools.js +0 -110
  82. data/source/javascripts/staple/sliding_menu.js +0 -13
  83. data/source/javascripts/staple/vertical_tabs.js +0 -32
  84. data/source/layouts/layout.erb +0 -1
  85. data/source/refills-hero.html.erb +0 -7
  86. data/source/refills-menu.html.erb +0 -5
  87. data/source/refills-page-scripts.html.erb +0 -66
  88. data/source/stylesheets/_bourbon-nav.scss +0 -86
  89. data/source/stylesheets/_normalize.scss +0 -425
  90. data/source/stylesheets/_refills-nav.scss +0 -102
  91. data/source/stylesheets/_refills-styles.scss +0 -543
  92. data/source/stylesheets/all.scss +0 -61
  93. data/source/stylesheets/staple/_accordion-tabs-minimal.scss +0 -60
  94. data/source/stylesheets/staple/_accordion-tabs.scss +0 -88
  95. data/source/stylesheets/staple/_accordion.scss +0 -55
  96. data/source/stylesheets/staple/_badges.scss +0 -44
  97. data/source/stylesheets/staple/_breadcrumbs.scss +0 -84
  98. data/source/stylesheets/staple/_browser.scss +0 -141
  99. data/source/stylesheets/staple/_button-group.scss +0 -81
  100. data/source/stylesheets/staple/_cards.scss +0 -132
  101. data/source/stylesheets/staple/_centered-navigation.scss +0 -251
  102. data/source/stylesheets/staple/_comment.scss +0 -60
  103. data/source/stylesheets/staple/_device.scss +0 -83
  104. data/source/stylesheets/staple/_dropdown.scss +0 -127
  105. data/source/stylesheets/staple/_expander.scss +0 -30
  106. data/source/stylesheets/staple/_flashes.scss +0 -29
  107. data/source/stylesheets/staple/_footer-2.scss +0 -117
  108. data/source/stylesheets/staple/_footer.scss +0 -76
  109. data/source/stylesheets/staple/_grid-items-lines.scss +0 -86
  110. data/source/stylesheets/staple/_grid-items.scss +0 -97
  111. data/source/stylesheets/staple/_hero.scss +0 -54
  112. data/source/stylesheets/staple/_hover-tile-animation.scss +0 -52
  113. data/source/stylesheets/staple/_icon-bullet-points.scss +0 -63
  114. data/source/stylesheets/staple/_image-gradient-dynamic.scss +0 -59
  115. data/source/stylesheets/staple/_intro-text.scss +0 -67
  116. data/source/stylesheets/staple/_label-alerts.scss +0 -11
  117. data/source/stylesheets/staple/_modal.scss +0 -147
  118. data/source/stylesheets/staple/_navigation.scss +0 -329
  119. data/source/stylesheets/staple/_pagination.scss +0 -51
  120. data/source/stylesheets/staple/_progress-bar-indication.scss +0 -39
  121. data/source/stylesheets/staple/_progress-bar.scss +0 -83
  122. data/source/stylesheets/staple/_search-bar.scss +0 -40
  123. data/source/stylesheets/staple/_search-tools.scss +0 -67
  124. data/source/stylesheets/staple/_side-image.scss +0 -59
  125. data/source/stylesheets/staple/_sliding-menu.scss +0 -63
  126. data/source/stylesheets/staple/_switch.scss +0 -77
  127. data/source/stylesheets/staple/_tables-minimal.scss +0 -60
  128. data/source/stylesheets/staple/_tables.scss +0 -88
  129. data/source/stylesheets/staple/_texture-legend.scss +0 -182
  130. data/source/stylesheets/staple/_textures.scss +0 -119
  131. data/source/stylesheets/staple/_tooltip.scss +0 -57
  132. data/source/stylesheets/staple/_type-system-geometric.scss +0 -103
  133. data/source/stylesheets/staple/_type-system-rounded.scss +0 -107
  134. data/source/stylesheets/staple/_type-system-sans.scss +0 -110
  135. data/source/stylesheets/staple/_type-system-serif.scss +0 -111
  136. data/source/stylesheets/staple/_type-system-slab.scss +0 -107
  137. data/source/stylesheets/staple/_type-system-traditional.scss +0 -114
  138. data/source/stylesheets/staple/_vertical-tabs.scss +0 -105
  139. data/source/stylesheets/staple/_video.scss +0 -21
  140. data/source/type-systems.html.erb +0 -67
  141. data/source/vendor/javascripts/ZeroClipboard.min.js +0 -9
  142. data/source/vendor/javascripts/fixedsticky.js +0 -185
  143. data/source/vendor/javascripts/prism.js +0 -13
  144. data/source/vendor/javascripts/smooth-scroll.js +0 -125
  145. data/source/vendor/stylesheets/fixedsticky.css +0 -22
  146. data/source/vendor/stylesheets/prism.css +0 -126
@@ -1,329 +0,0 @@
1
- header.navigation {
2
- $navigation-padding: 1em;
3
- $navigation-background: $dark-gray;
4
- $navigation-color: transparentize(white, 0.3);
5
- $navigation-color-hover: white;
6
- $navigation-height: 60px;
7
- $navigation-nav-button-background: $base-accent-color;
8
- $navigation-nav-button-background-hover: lighten($navigation-background, 10);
9
- $navigation-nav-button-border: 1px solid lighten($navigation-nav-button-background, 20);
10
- $navigation-search-background: lighten($navigation-background, 5);
11
- $navigation-search-border: 1px solid darken($navigation-background, 5);
12
- $navigation-active-link-color: transparentize(white, 0.5);
13
- $navigation-submenu-padding: 1em;
14
- $navigation-submenu-width: 12em;
15
- $horizontal-bar-mode: $large-screen;
16
-
17
- background-color: $navigation-background;
18
- border-bottom: 1px solid darken($navigation-background, 10);
19
- height: $navigation-height;
20
- width: 100%;
21
- z-index: 999;
22
-
23
- .navigation-wrapper {
24
- @include clearfix;
25
- @include outer-container;
26
- position: relative;
27
- z-index: 9999;
28
- }
29
-
30
- .logo {
31
- float: left;
32
- max-height: $navigation-height;
33
- padding-left: $navigation-padding;
34
- padding-right: 2em;
35
-
36
- img {
37
- max-height: $navigation-height;
38
- padding: .8em 0;
39
- }
40
- }
41
-
42
- // Mobile view
43
-
44
- .navigation-menu-button {
45
- color: $navigation-color;
46
- display: block;
47
- float: right;
48
- font-family: $sans-serif;
49
- font-weight: 700;
50
- line-height: $navigation-height;
51
- margin: 0;
52
- padding-right: 1em;
53
- text-transform: uppercase;
54
-
55
- @include media ($horizontal-bar-mode) {
56
- display: none;
57
- }
58
-
59
- &:hover {
60
- color: $navigation-color-hover;
61
- }
62
- }
63
-
64
- // Nav menu
65
-
66
- .nav {
67
- z-index: 9999999;
68
- float: none;
69
- @include media ($horizontal-bar-mode) {
70
- float: left;
71
- }
72
- }
73
-
74
- ul#navigation-menu {
75
- -webkit-transform-style: preserve-3d; // stop webkit flicker
76
- clear: both;
77
- display: none;
78
- margin: 0 auto;
79
- overflow: visible;
80
- padding: 0;
81
- width: 100%;
82
- z-index: 9999;
83
-
84
- @include media ($horizontal-bar-mode) {
85
- display: inline;
86
- margin: 0;
87
- padding: 0;
88
- }
89
- }
90
-
91
- // The nav items
92
-
93
- ul li.nav-link {
94
- background: $navigation-background;
95
- display: block;
96
- line-height: $navigation-height;
97
- overflow: hidden;
98
- padding-right: .8em;
99
- text-align: right;
100
- width: 100%;
101
- z-index: 9999;
102
-
103
- @include media ($horizontal-bar-mode) {
104
- background: transparent;
105
- display: inline;
106
- line-height: $navigation-height;
107
- text-decoration: none;
108
- width: auto;
109
- }
110
-
111
- a {
112
- color: $navigation-color;
113
- display: inline-block;
114
- font-weight: 400;
115
-
116
- @include media ($horizontal-bar-mode) {
117
- padding-right: 1em;
118
- }
119
-
120
- &:hover {
121
- color: $navigation-color-hover;
122
- }
123
- }
124
- }
125
-
126
- .active-nav-item a {
127
- border-bottom: 1px solid $navigation-active-link-color;
128
- padding-bottom: 3px;
129
- }
130
-
131
- // Sub menus
132
-
133
- li.more.nav-link {
134
- padding-right: 0;
135
-
136
- @include media($large-screen) {
137
- padding-right: $navigation-submenu-padding;
138
- }
139
-
140
- > ul > li:first-child a {
141
- padding-top: 1em;
142
- }
143
-
144
- a {
145
- margin-right: $navigation-submenu-padding;
146
- }
147
-
148
- > a {
149
- padding-right: 0.6em;
150
- }
151
-
152
- > a:after {
153
- @include position(absolute, auto -.4em auto auto);
154
- content: '\25BE';
155
- color: $navigation-color;
156
- }
157
- }
158
-
159
- li.more {
160
- overflow: visible;
161
- padding-right: 0;
162
-
163
- a {
164
- padding-right: .8em;
165
- }
166
-
167
- > a {
168
- padding-right: 1.6em;
169
- position: relative;
170
-
171
- @include media($large-screen) {
172
- margin-right: $navigation-submenu-padding;
173
- }
174
-
175
- &:after {
176
- content: '›';
177
- font-size: 1.2em;
178
- position: absolute;
179
- right: $navigation-submenu-padding / 2;
180
- }
181
- }
182
-
183
- &:hover > .submenu {
184
- display: block;
185
- }
186
-
187
- @include media($horizontal-bar-mode) {
188
- padding-right: .8em;
189
- position: relative;
190
- }
191
- }
192
-
193
- ul.submenu {
194
- display: none;
195
- padding-left: 0;
196
-
197
- @include media($horizontal-bar-mode) {
198
- left: -$navigation-submenu-padding;
199
- position: absolute;
200
- top: 1.5em;
201
- }
202
-
203
- .submenu {
204
- @include media($horizontal-bar-mode) {
205
- left: $navigation-submenu-width - .2em;
206
- top: 0;
207
- }
208
- }
209
-
210
- li {
211
- display: block;
212
- padding-right: 0;
213
-
214
- @include media($horizontal-bar-mode) {
215
- line-height: $navigation-height / 1.3;
216
-
217
- &:first-child > a {
218
- border-top-left-radius: $base-border-radius;
219
- border-top-right-radius: $base-border-radius;
220
- }
221
-
222
- &:last-child > a {
223
- border-bottom-left-radius: $base-border-radius;
224
- border-bottom-right-radius: $base-border-radius;
225
- padding-bottom: .7em;
226
- }
227
- }
228
-
229
- a {
230
- background-color: darken($navigation-background, 3);
231
- display: inline-block;
232
- text-align: right;
233
- width: 100%;
234
-
235
- @include media($horizontal-bar-mode) {
236
- background-color: $navigation-background;
237
- padding-left: $navigation-submenu-padding;
238
- text-align: left;
239
- width: $navigation-submenu-width;
240
- }
241
- }
242
- }
243
- }
244
-
245
- // Elements on the far right
246
-
247
- .navigation-tools {
248
- @include clearfix;
249
- display: block;
250
- padding-right: $navigation-padding;
251
- padding-left: $navigation-padding/2;
252
- clear: both;
253
- background: #505050;
254
-
255
- @include media($large-screen) {
256
- background: transparent;
257
- float: right;
258
- clear: none;
259
- }
260
- }
261
-
262
- .sign-up {
263
- @extend button;
264
- margin-top: 1.2em;
265
- float: right;
266
- display: inline;
267
- font-size: .8em;
268
- text-transform: uppercase;
269
- padding: .75em 1em;
270
- }
271
-
272
- // Search bar
273
-
274
- .search-bar {
275
- $search-bar-border-color: $base-border-color;
276
- $search-bar-border: 1px solid $search-bar-border-color;
277
- $search-bar-background: lighten($search-bar-border-color, 10);
278
-
279
- padding: .85em .6em;
280
- width: 60%;
281
- float: left;
282
-
283
- .search-and-submit {
284
- position: relative;
285
-
286
- input[type=search] {
287
- background: $navigation-search-background;
288
- border: $navigation-search-border;
289
- padding: .6em .8em;
290
- font-size: .9em;
291
- font-style: italic;
292
- color: $navigation-color;
293
- border-radius: $base-border-radius * 2;
294
- margin: 0;
295
-
296
- @include media($large-screen) {
297
- width: 100%;
298
- }
299
- }
300
-
301
- button[type=submit] {
302
- @include button(flat, $navigation-search-background);
303
- position: absolute;
304
- top: 0.3em;
305
- right: 0.3em;
306
- bottom: 0.3em;
307
- left: auto;
308
- outline: none;
309
- padding: 0 15px;
310
-
311
- img {
312
- height: 12px;
313
- opacity: .7;
314
- }
315
- }
316
- }
317
-
318
- @include media($horizontal-bar-mode) {
319
- width: 16em;
320
- position: relative;
321
- display: inline-block;
322
-
323
- input {
324
- @include box-sizing(border-box);
325
- display: block;
326
- }
327
- }
328
- }
329
- }
@@ -1,51 +0,0 @@
1
- .pagination {
2
- $pagination-border-color: $base-border-color;
3
- $pagination-border: 1px solid $pagination-border-color;
4
- $pagination-background: lighten($pagination-border-color, 10);
5
- $pagination-hover-background: lighten($pagination-background, 5);
6
- $pagination-color: $base-font-color;
7
-
8
- text-align: center;
9
-
10
- ul {
11
- display: inline;
12
- text-align: center;
13
-
14
- li {
15
- display: inline;
16
- }
17
-
18
- ul li {
19
- display: none;
20
-
21
- &:nth-child(1),
22
- &:nth-child(2),
23
- &:nth-child(3) {
24
- display: inline;
25
- }
26
-
27
- @include media($large-screen) {
28
- display: inline;
29
- }
30
- }
31
-
32
- li a {
33
- @include transition (all 0.2s ease-in-out);
34
- background: $pagination-background;
35
- border-radius: $base-border-radius;
36
- border: $pagination-border;
37
- color: $pagination-color;
38
- padding: $base-spacing/4 $gutter/2;
39
-
40
- &:hover,
41
- &:focus {
42
- background: $pagination-hover-background;
43
- color: $base-link-color;
44
- }
45
-
46
- &:active {
47
- background: $pagination-background;
48
- }
49
- }
50
- }
51
- }
@@ -1,39 +0,0 @@
1
- .progress-bar-indication {
2
- $progress-border-color: $base-border-color;
3
- $progress-border: 1px solid $progress-border-color;
4
- $progress-meter-border-color: $base-accent-color;
5
- $progress-meter-border: 1px solid darken($progress-meter-border-color, 15%);
6
- $progress-meter-color: $progress-meter-border-color;
7
- $progress-background: darken($base-background-color, 5);
8
- $progress-animation-duration: 0.7s;
9
- $progress-color: white;
10
-
11
- background-color: $progress-background;
12
- border: $progress-border;
13
- box-shadow: inset 0 0 3px 0 rgba(darken($progress-background, 50%), 0.15);
14
- border-radius: $base-border-radius;
15
- margin: 0 auto;
16
- width: 50%;
17
-
18
- > span.meter {
19
- @include box-sizing(border-box);
20
- background-color: $progress-meter-color;
21
- background-size: 40px 40px;
22
- background-repeat: repeat-x;
23
- border: $progress-meter-border;
24
- border-radius: $base-border-radius /1.5;
25
- border-top-right-radius: 0;
26
- border-bottom-right-radius: 0;
27
- display: block;
28
- height: 100%;
29
- width: 60%;
30
- }
31
-
32
- p {
33
- margin-bottom: 0;
34
- padding: .1em .5em;
35
- font-weight: 800;
36
- color: $progress-color;
37
- text-shadow: 0 0 1px black;
38
- }
39
- }
@@ -1,83 +0,0 @@
1
- .progress-bar {
2
- $progress-border-color: $base-border-color;
3
- $progress-border: 1px solid $progress-border-color;
4
- $progress-meter-border-color: $base-accent-color;
5
- $progress-meter-border: 1px solid darken($progress-meter-border-color, 15%);
6
- $progress-meter-color: $progress-meter-border-color;
7
- $progress-background: darken($base-background-color, 5);
8
- $progress-animation-duration: 0.7s;
9
- $progress-height: 30px;
10
-
11
- background-color: $progress-background;
12
- border: $progress-border;
13
- box-shadow: inset 0 0 3px 0 rgba(darken($progress-background, 50%), 0.15);
14
- border-radius: $base-border-radius;
15
- height: $progress-height;
16
- margin: 0 auto;
17
- padding: 2px;
18
- width: 50%;
19
-
20
- > span.meter {
21
- @include animation(progress $progress-animation-duration linear infinite);
22
- @include box-sizing(border-box);
23
- background-color: $progress-meter-color;
24
- @include background-image(linear-gradient(-45deg, rgba(255,255,255, 0.15) 25%,
25
- transparent 25%,
26
- transparent 50%,
27
- rgba(255,255,255, 0.15) 50%,
28
- rgba(255,255,255, 0.15) 75%,
29
- transparent 75%));
30
- background-size: 40px 40px;
31
- background-repeat: repeat-x;
32
- border: $progress-meter-border;
33
- border-radius: $base-border-radius /1.5;
34
- display: block;
35
- height: 100%;
36
- width: 60%;
37
- }
38
- }
39
-
40
- @-webkit-keyframes progress {
41
- 0% {
42
- background-position: 0px 0px;
43
- }
44
- 100% {
45
- background-position: 40px 0px;
46
- }
47
- }
48
-
49
- @-moz-keyframes progress {
50
- 0% {
51
- background-position: 0px 0px;
52
- }
53
- 100% {
54
- background-position: 40px 0px;
55
- }
56
- }
57
-
58
- @-ms-keyframes progress {
59
- 0% {
60
- background-position: 0px 0px;
61
- }
62
- 100% {
63
- background-position: 40px 0px;
64
- }
65
- }
66
-
67
- @-o-keyframes progress {
68
- 0% {
69
- background-position: 0px 0px;
70
- }
71
- 100% {
72
- background-position: 40px 0px;
73
- }
74
- }
75
-
76
- @keyframes progress {
77
- 0% {
78
- background-position: 0px 0px;
79
- }
80
- 100% {
81
- background-position: 40px 0px;
82
- }
83
- }
@@ -1,40 +0,0 @@
1
- .search-bar {
2
- $search-bar-border-color: $base-border-color;
3
- $search-bar-border: 1px solid $search-bar-border-color;
4
- $search-bar-background: lighten($search-bar-border-color, 10);
5
-
6
- position: relative;
7
- display: inline-block;
8
-
9
- input {
10
- @include box-sizing(border-box);
11
- display: block;
12
- }
13
-
14
- div.search-and-submit {
15
- position: relative;
16
-
17
- input[type=search] {
18
- @include appearance(none);
19
- width: 100%;
20
- padding: .5em .8em;
21
- font-size: .9em;
22
- font-style: italic;
23
- border-radius: $base-border-radius;
24
- margin: 0;
25
- }
26
-
27
- button[type=submit] {
28
- @include position(absolute, 0em 0em 0em null);
29
- outline: none;
30
- border-top-left-radius: 0;
31
- border-bottom-left-radius: 0;
32
- padding: 5px 10px;
33
-
34
- img {
35
- height: 12px;
36
- opacity: .7;
37
- }
38
- }
39
- }
40
- }
@@ -1,67 +0,0 @@
1
- .search-tools {
2
- $search-tools-border-color: $base-border-color;
3
- $search-tools-background: lighten($search-tools-border-color, 10);
4
-
5
- @include clearfix;
6
- border: 1px solid $search-tools-border-color;
7
- background: $search-tools-background;
8
- padding: $gutter / 2;
9
- border-radius: $base-border-radius;
10
-
11
- .filter {
12
- margin-bottom: 1em;
13
-
14
- @include media($large-screen) {
15
- @include span-columns(3.5);
16
- margin-bottom: 0;
17
- }
18
-
19
- > div {
20
- @extend input[type="text"];
21
- position: relative;
22
-
23
- label {
24
- font-weight: 400;
25
- cursor: pointer;
26
- margin-bottom: 0;
27
- }
28
- }
29
-
30
- ol label {
31
- display: inline;
32
- }
33
-
34
- button {
35
- @include button(simple, lighten($search-tools-background, 10));
36
- @include position(absolute, 5px 5px auto auto);
37
- font-size: .7em;
38
- }
39
-
40
- .hide-options {
41
- margin-bottom: 0;
42
-
43
- ol, button {
44
- display: none;
45
- }
46
- }
47
- }
48
-
49
- .trigger {
50
- width: 100%;
51
-
52
- @include media($large-screen) {
53
- @include span-columns(1.5);
54
- }
55
-
56
- button {
57
- width: 100%;
58
- margin-top: 1em;
59
- padding-top: .7em;
60
- padding-bottom: .7em;
61
-
62
- @include media($large-screen) {
63
- margin-top: 1.95em;
64
- }
65
- }
66
- }
67
- }
@@ -1,59 +0,0 @@
1
- $side-image-background-top: #B5EBEB;
2
- $side-image-background-bottom: #5DAC5D;
3
- $side-image-border: 1px solid darken(transparentize($side-image-background-bottom, .8), 30);
4
-
5
- .side-image {
6
- background: #F9F9F9;
7
-
8
- @include media($large-screen) {
9
- @include row(table);
10
- }
11
-
12
- .images-wrapper {
13
- @include background(url('https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/mountains.png'), linear-gradient($side-image-background-top, $side-image-background-bottom), no-repeat $side-image-background-top scroll);
14
- background-color: $side-image-background-top;
15
- border-bottom: $side-image-border;
16
- background-size: cover;
17
- display: block;
18
- min-height: 12em;
19
- padding: 3em;
20
-
21
- @include media($large-screen) {
22
- @include span-columns(4);
23
- background-position: bottom;
24
- background-size: cover;
25
- border-right: $side-image-border;
26
- }
27
- }
28
-
29
- .content {
30
- @include span-columns(12);
31
- padding: 1em 1em 4em 1em;
32
-
33
- @include media($large-screen) {
34
- @include span-columns(8);
35
- padding: 4em 4em 8em 4em;
36
- }
37
- }
38
-
39
- .content h1 {
40
- margin-bottom: .9em;
41
- }
42
-
43
- .content h4 {
44
- background: #BBB;
45
- color: white;
46
- display: inline-block;
47
- font-size: .75em;
48
- font-weight: 800;
49
- margin-bottom: 1.3em;
50
- padding: 3px 8px;
51
- text-transform: uppercase;
52
- }
53
-
54
- .content p {
55
- color: gray;
56
- margin-bottom: 3em;
57
- }
58
- @include reset-display();
59
- }