shibori 1.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +27 -0
  5. data/Procfile +1 -0
  6. data/README.md +24 -0
  7. data/Rakefile +2 -0
  8. data/app.json +11 -0
  9. data/builder/lineage_hunter.js +80 -0
  10. data/builder/list_item_hunter.js +106 -0
  11. data/builder/media_hunter.js +51 -0
  12. data/builder/object_factory.js +60 -0
  13. data/builder/parameter_hunter.js +69 -0
  14. data/builder/pattern_assembler.js +258 -0
  15. data/builder/pattern_exporter.js +43 -0
  16. data/builder/patternlab.js +365 -0
  17. data/builder/patternlab_grunt.js +38 -0
  18. data/builder/patternlab_gulp.js +26 -0
  19. data/builder/pseudopattern_hunter.js +78 -0
  20. data/config.json +34 -0
  21. data/docs/Pattern Lab Node.md +225 -0
  22. data/favicon.ico +0 -0
  23. data/gulpfile.js +148 -0
  24. data/index.js +20 -0
  25. data/lib/shibori/version.rb +3 -0
  26. data/lib/shibori.rb +11 -0
  27. data/package.json +44 -0
  28. data/public/data/annotations.js +109 -0
  29. data/public/styleguide/css/static.css +458 -0
  30. data/public/styleguide/css/static.scss +404 -0
  31. data/public/styleguide/css/styleguide-specific.css +170 -0
  32. data/public/styleguide/css/styleguide-specific.scss +204 -0
  33. data/public/styleguide/css/styleguide.css +880 -0
  34. data/public/styleguide/css/styleguide.scss +950 -0
  35. data/public/styleguide/css/vendor/prism.css +112 -0
  36. data/public/styleguide/css/vendor/typeahead.css +66 -0
  37. data/public/styleguide/fonts/icomoon.eot +0 -0
  38. data/public/styleguide/fonts/icomoon.svg +22 -0
  39. data/public/styleguide/fonts/icomoon.ttf +0 -0
  40. data/public/styleguide/fonts/icomoon.woff +0 -0
  41. data/public/styleguide/html/README +1 -0
  42. data/public/styleguide/images/spinner.gif +0 -0
  43. data/public/styleguide/js/annotations-pattern.js +308 -0
  44. data/public/styleguide/js/annotations-viewer.js +289 -0
  45. data/public/styleguide/js/code-pattern.js +120 -0
  46. data/public/styleguide/js/code-viewer.js +443 -0
  47. data/public/styleguide/js/data-saver.js +169 -0
  48. data/public/styleguide/js/pattern-finder.js +114 -0
  49. data/public/styleguide/js/postmessage.js +127 -0
  50. data/public/styleguide/js/styleguide.js +600 -0
  51. data/public/styleguide/js/url-handler.js +182 -0
  52. data/public/styleguide/js/vendor/classlist-polyfill.js +176 -0
  53. data/public/styleguide/js/vendor/jquery.js +4 -0
  54. data/public/styleguide/js/vendor/jwerty.js +523 -0
  55. data/public/styleguide/js/vendor/prism.js +7 -0
  56. data/public/styleguide/js/vendor/typeahead.bundle.min.js +7 -0
  57. data/script/bootstrap +58 -0
  58. data/shibori.gemspec +18 -0
  59. data/shibori.jpg +0 -0
  60. data/source/_data/annotations.js +109 -0
  61. data/source/_data/data.json +93 -0
  62. data/source/_data/listitems.json +782 -0
  63. data/source/_patternlab-files/README +1 -0
  64. data/source/_patternlab-files/index.mustache +94 -0
  65. data/source/_patternlab-files/partials/ishControls.mustache +64 -0
  66. data/source/_patternlab-files/partials/patternNav.mustache +17 -0
  67. data/source/_patternlab-files/partials/patternPaths.mustache +3 -0
  68. data/source/_patternlab-files/partials/viewAllPaths.mustache +3 -0
  69. data/source/_patternlab-files/pattern-header-footer/README +1 -0
  70. data/source/_patternlab-files/pattern-header-footer/footer.html +34 -0
  71. data/source/_patternlab-files/pattern-header-footer/header.html +44 -0
  72. data/source/_patternlab-files/styleguide.mustache +75 -0
  73. data/source/_patternlab-files/viewall.mustache +75 -0
  74. data/source/_patterns/00-atoms/00-typography/00-headings.mustache +6 -0
  75. data/source/_patterns/00-atoms/00-typography/01-headings-options.mustache +7 -0
  76. data/source/_patterns/00-atoms/00-typography/02-body.mustache +2 -0
  77. data/source/_patterns/00-atoms/00-typography/03-text-manipulation.mustache +12 -0
  78. data/source/_patterns/00-atoms/00-typography/04-blockquotes.mustache +3 -0
  79. data/source/_patterns/00-atoms/00-typography/05-lists.mustache +64 -0
  80. data/source/_patterns/00-atoms/01-colors/00-colors-monochromatic.mustache +36 -0
  81. data/source/_patterns/00-atoms/01-colors/01-colors-brand.mustache +26 -0
  82. data/source/_patterns/00-atoms/01-colors/02-colors-gradients.mustache +38 -0
  83. data/source/_patterns/00-atoms/02-buttons/00-btn-lg.mustache +7 -0
  84. data/source/_patterns/00-atoms/02-buttons/01-btn-sm.mustache +7 -0
  85. data/source/_patterns/00-atoms/02-buttons/02-btn-xs.mustache +7 -0
  86. data/source/_patterns/00-atoms/02-buttons/03-btn-block.mustache +7 -0
  87. data/source/_patterns/00-atoms/02-buttons/04-btn-deploy.mustache +4 -0
  88. data/source/_patterns/00-atoms/03-forms/00-text-fields.mustache +24 -0
  89. data/source/_patterns/00-atoms/03-forms/01-select-menu.mustache +6 -0
  90. data/source/_patterns/00-atoms/03-forms/02-checkbox.mustache +10 -0
  91. data/source/_patterns/00-atoms/03-forms/03-radios.mustache +10 -0
  92. data/source/_patterns/00-atoms/03-forms/04-validation.mustache +14 -0
  93. data/source/_patterns/00-atoms/04-quote/00-pullquote.mustache +7 -0
  94. data/source/_patterns/00-atoms/04-quote/01-quote-small.mustache +7 -0
  95. data/source/_patterns/00-atoms/05-code/01-pre.mustache +11 -0
  96. data/source/_patterns/00-atoms/06-tooltips/00-text.mustache +3 -0
  97. data/source/_patterns/00-atoms/06-tooltips/01-diagram-callout.mustache +1 -0
  98. data/source/_patterns/00-atoms/07-loader/00-spinner.mustache +5 -0
  99. data/source/_patterns/00-atoms/08-readmore/00-readmore.mustache +3 -0
  100. data/source/_patterns/00-atoms/09-slider/00-dots.mustache +8 -0
  101. data/source/_patterns/00-atoms/10-tables/00-tables.mustache +26 -0
  102. data/source/_patterns/00-atoms/12-modal/00-modal.mustache +14 -0
  103. data/source/_patterns/00-atoms/13-panel/00-panel.mustache +3 -0
  104. data/source/_patterns/00-atoms/14-users/00-avatar.mustache +3 -0
  105. data/source/_patterns/00-atoms/15-icons/00-icons.mustache +333 -0
  106. data/source/_patterns/00-atoms/15-icons/04-icon-colors.mustache +38 -0
  107. data/source/_patterns/00-atoms/15-icons/05-icon-sizes.mustache +31 -0
  108. data/source/_patterns/00-atoms/15-icons/_02-languages.mustache +0 -0
  109. data/source/_patterns/00-atoms/15-icons/_03-social.mustache +0 -0
  110. data/source/_patterns/00-atoms/15-icons/_05-icon-containers.mustache +0 -0
  111. data/source/_patterns/00-atoms/16-video/01-video.mustache +3 -0
  112. data/source/_patterns/00-atoms/16-video/_00-play-button.mustache +0 -0
  113. data/source/_patterns/00-atoms/17-utilities/00-visibility.mustache +8 -0
  114. data/source/_patterns/00-atoms/17-utilities/01-ui-elements.mustache +3 -0
  115. data/source/_patterns/00-atoms/18-grid/_00-grid.mustache +0 -0
  116. data/source/_patterns/01-molecules/00-text/00-header-groups.mustache +4 -0
  117. data/source/_patterns/01-molecules/00-text/01-intro-text.mustache +5 -0
  118. data/source/_patterns/01-molecules/01-layout/00-one-up.mustache +8 -0
  119. data/source/_patterns/01-molecules/01-layout/01-two-up.mustache +9 -0
  120. data/source/_patterns/01-molecules/01-layout/02-three-up.mustache +10 -0
  121. data/source/_patterns/01-molecules/01-layout/03-four-up.mustache +11 -0
  122. data/source/_patterns/01-molecules/01-layout/04-masonary-2.mustache +24 -0
  123. data/source/_patterns/01-molecules/01-layout/05-masonary-3.mustache +24 -0
  124. data/source/_patterns/01-molecules/02-navigation/01-subnav.mustache +21 -0
  125. data/source/_patterns/01-molecules/02-navigation/02-breadcrumbs.mustache +25 -0
  126. data/source/_patterns/01-molecules/02-navigation/03-side-nav.mustache +11 -0
  127. data/source/_patterns/01-molecules/02-navigation/04-side-nav-small.mustache +32 -0
  128. data/source/_patterns/01-molecules/02-navigation/05-pagination.mustache +0 -0
  129. data/source/_patterns/01-molecules/02-navigation/06-tabs.mustache +46 -0
  130. data/source/_patterns/01-molecules/03-forms/_00-search.mustache +0 -0
  131. data/source/_patterns/01-molecules/04-slider/00-slider.mustache +8 -0
  132. data/source/_patterns/01-molecules/05-messages/00-alert.mustache +15 -0
  133. data/source/_patterns/01-molecules/06-components/_00-social-share.mustache +0 -0
  134. data/source/_patterns/01-molecules/07-Elements/01-Addons-Card.mustache +79 -0
  135. data/source/_patterns/01-molecules/07-Elements/02-Buttons-Card.mustache +131 -0
  136. data/source/_patterns/01-molecules/07-Elements/03-Buildpack-Card.mustache +109 -0
  137. data/source/_patterns/01-molecules/08-vertical-tabs/01-vertical-tabs.mustache +30 -0
  138. data/source/_patterns/02-organisms/03-sections/00-purple.mustache +11 -0
  139. data/source/_patterns/02-organisms/03-sections/01-purple-dark.mustache +12 -0
  140. data/source/_patterns/02-organisms/03-sections/03-gray-light.mustache +12 -0
  141. data/source/css/hk-icon-rails.scss +13 -0
  142. data/source/css/scss/base/_base.scss +62 -0
  143. data/source/css/scss/base/_fonts.scss +12 -0
  144. data/source/css/scss/base/_normalize.scss +431 -0
  145. data/source/css/scss/base/_type.scss +128 -0
  146. data/source/css/scss/base/_utilities.scss +78 -0
  147. data/source/css/scss/components/_alert.scss +38 -0
  148. data/source/css/scss/components/_animate.scss +3340 -0
  149. data/source/css/scss/components/_animation.scss +15 -0
  150. data/source/css/scss/components/_buttons.scss +175 -0
  151. data/source/css/scss/components/_code.scss +26 -0
  152. data/source/css/scss/components/_forms.scss +136 -0
  153. data/source/css/scss/components/_hero.scss +18 -0
  154. data/source/css/scss/components/_hr.scss +11 -0
  155. data/source/css/scss/components/_icons.scss +85 -0
  156. data/source/css/scss/components/_lists.scss +45 -0
  157. data/source/css/scss/components/_logos.scss +15 -0
  158. data/source/css/scss/components/_masonary.scss +46 -0
  159. data/source/css/scss/components/_modal.scss +218 -0
  160. data/source/css/scss/components/_owlCarousel.scss +270 -0
  161. data/source/css/scss/components/_panel.scss +11 -0
  162. data/source/css/scss/components/_pill-box.scss +38 -0
  163. data/source/css/scss/components/_quote.scss +96 -0
  164. data/source/css/scss/components/_readmore.scss +11 -0
  165. data/source/css/scss/components/_slider.scss +96 -0
  166. data/source/css/scss/components/_spinner.scss +64 -0
  167. data/source/css/scss/components/_sprites.scss +3 -0
  168. data/source/css/scss/components/_sr-only.scss +10 -0
  169. data/source/css/scss/components/_tables.scss +62 -0
  170. data/source/css/scss/components/_tooltips.scss +93 -0
  171. data/source/css/scss/components/_users.scss +11 -0
  172. data/source/css/scss/components/_vertical-tabs.scss +129 -0
  173. data/source/css/scss/components/_video.scss +7 -0
  174. data/source/css/scss/ecosystem/_addons-card.scss +3 -0
  175. data/source/css/scss/ecosystem/_cards.scss +369 -0
  176. data/source/css/scss/ecosystem/_elements-brand.scss +32 -0
  177. data/source/css/scss/ecosystem/_elements.scss +4 -0
  178. data/source/css/scss/globals/_colors.scss +189 -0
  179. data/source/css/scss/globals/_mixins.scss +45 -0
  180. data/source/css/scss/globals/_variables.scss +87 -0
  181. data/source/css/scss/layout/_grid-settings.scss +13 -0
  182. data/source/css/scss/layout/_layout.scss +95 -0
  183. data/source/css/scss/page-elements/_headers.scss +3 -0
  184. data/source/css/scss/page-elements/_navigation.scss +254 -0
  185. data/source/css/scss/page-elements/_sections.scss +66 -0
  186. data/source/css/scss/page-elements/_sidebar.scss +34 -0
  187. data/source/css/shibori.scss +63 -0
  188. data/source/fonts/bentonsans/bentonsans-book.eot +0 -0
  189. data/source/fonts/bentonsans/bentonsans-book.svg +400 -0
  190. data/source/fonts/bentonsans/bentonsans-book.ttf +0 -0
  191. data/source/fonts/bentonsans/bentonsans-book.woff +0 -0
  192. data/source/fonts/bentonsans/bentonsans-medium.eot +0 -0
  193. data/source/fonts/bentonsans/bentonsans-medium.svg +416 -0
  194. data/source/fonts/bentonsans/bentonsans-medium.ttf +0 -0
  195. data/source/fonts/bentonsans/bentonsans-medium.woff +0 -0
  196. data/source/fonts/bentonsans/bentonsans-regular.eot +0 -0
  197. data/source/fonts/bentonsans/bentonsans-regular.svg +416 -0
  198. data/source/fonts/bentonsans/bentonsans-regular.ttf +0 -0
  199. data/source/fonts/bentonsans/bentonsans-regular.woff +0 -0
  200. data/source/fonts/hk-icon/hk-icon.eot +0 -0
  201. data/source/fonts/hk-icon/hk-icon.svg +261 -0
  202. data/source/fonts/hk-icon/hk-icon.ttf +0 -0
  203. data/source/fonts/hk-icon/hk-icon.woff +0 -0
  204. data/source/fonts/inconsolata/inconsolata-bold.eot +0 -0
  205. data/source/fonts/inconsolata/inconsolata-bold.svg +239 -0
  206. data/source/fonts/inconsolata/inconsolata-bold.ttf +0 -0
  207. data/source/fonts/inconsolata/inconsolata-bold.woff +0 -0
  208. data/source/fonts/inconsolata/inconsolata-regular.eot +0 -0
  209. data/source/fonts/inconsolata/inconsolata-regular.svg +239 -0
  210. data/source/fonts/inconsolata/inconsolata-regular.ttf +0 -0
  211. data/source/fonts/inconsolata/inconsolata-regular.woff +0 -0
  212. data/source/images/blockquote/close-sm.png +0 -0
  213. data/source/images/blockquote/close.png +0 -0
  214. data/source/images/blockquote/close@2x.png +0 -0
  215. data/source/images/blockquote/open-sm.png +0 -0
  216. data/source/images/blockquote/open.png +0 -0
  217. data/source/images/blockquote/open@2x.png +0 -0
  218. data/source/images/elements/heroku_suported.svg +32 -0
  219. data/source/images/forms/select-input-arrows.svg +8 -0
  220. data/source/js/init.js +26 -0
  221. data/source/js/main.js +22 -0
  222. data/source/js/vendor/bourbon-modal.js +17 -0
  223. data/source/js/vendor/fitvids.js +77 -0
  224. data/source/js/vendor/fixto.js +719 -0
  225. data/source/js/vendor/jquery-2.0.0b2.js +8690 -0
  226. data/source/js/vendor/modernizr.js +4 -0
  227. data/source/js/vendor/owl.carousel.js +3069 -0
  228. data/source/js/vendor/readmore.js +11 -0
  229. data/source/js/vendor/unslider.js +1 -0
  230. data/source/js/vendor/vertical-tabs.js +34 -0
  231. data/test/files/test.css +19 -0
  232. data/test/lineage_hunter_tests.js +262 -0
  233. data/test/list_item_hunter_tests.js +167 -0
  234. data/test/media_hunter_tests.js +74 -0
  235. data/test/object_factory_tests.js +62 -0
  236. data/test/parameter_hunter_tests.js +298 -0
  237. data/test/pattern_assembler_tests.js +43 -0
  238. data/test/patternlab_tests.js +8 -0
  239. metadata +320 -0
@@ -0,0 +1,404 @@
1
+ /*
2
+ colors
3
+ red: $orange; rgb(229,24,55)
4
+ gray: #808080;
5
+ */
6
+
7
+ $orange : #bededf;
8
+
9
+ $max-width: 60em;
10
+
11
+ /************Reset**************/
12
+ * {
13
+ -moz-box-sizing: border-box;
14
+ -webkit-box-sizing: border-box;
15
+ box-sizing: border-box;
16
+ }
17
+ html, body, div, object, iframe, fieldset {
18
+ margin: 0;
19
+ padding: 0;
20
+ border: 0;
21
+ }
22
+ ol, ul {
23
+ list-style: none;
24
+ margin: 0;
25
+ padding: 0;
26
+ }
27
+ table {
28
+ border-collapse: collapse;
29
+ border-spacing: 0;
30
+ }
31
+ header, footer, nav, section, article, hgroup, figure {
32
+ display: block;
33
+ }
34
+ legend {
35
+ display: none;
36
+ }
37
+ /************End Reset**************/
38
+
39
+ /************Global**************/
40
+ body {
41
+ background: #fff;
42
+ color: #000;
43
+ font: 100%/1.4 "HelveticaNeue", "Helvetica", "Arial", sans-serif;
44
+ padding: 0;
45
+ -webkit-text-size-adjust: 100%;
46
+ border-top: 20px solid #000;
47
+ border-bottom: 20px solid #000;
48
+ }
49
+ a {
50
+ color: #808080;
51
+ text-decoration: none;
52
+ }
53
+ a:hover, a:focus {
54
+ color: $orange;
55
+ }
56
+ p {
57
+ margin: 0 0 1em;
58
+ }
59
+ img, object, video {
60
+ max-width: 100%;
61
+ border: 0;
62
+ }
63
+ a img {
64
+ border: 0;
65
+ outline: 0;
66
+ }
67
+ h1 {
68
+ font-size: 3em;
69
+ line-height: 1;
70
+ letter-spacing: -0.02em;
71
+ margin-bottom: 0.2em;
72
+ }
73
+ h2 {
74
+ font-size: 2em;
75
+ line-height: 1.1;
76
+ margin-bottom: 0.2em;
77
+ }
78
+ h3 {
79
+ font-weight: normal;
80
+ line-height: 1.1;
81
+ padding-bottom: 0.4em;
82
+ border-bottom: 1px solid #ccc;
83
+ }
84
+ h1 a, h2 a, h3 a {
85
+ display: block;
86
+ color: #000;
87
+ }
88
+ h1 a:hover, h2 a:hover, h3 a:hover {
89
+ color: $orange;
90
+ }
91
+ blockquote {
92
+ border-left: 0.5em solid #ddd;
93
+ padding-left: 1em;
94
+ margin-left: 1em;
95
+ }
96
+ small {
97
+ color: $orange;
98
+ }
99
+ input[type=search] {
100
+ -webkit-appearance: none;
101
+ border-radius: 0;
102
+ }
103
+ ::-webkit-input-placeholder {
104
+ color: #808080;
105
+ }
106
+ :-moz-placeholder {
107
+ color: #808080;
108
+ }
109
+ /************End Global**************/
110
+
111
+ /************Classes**************/
112
+ .inactive {
113
+ color: #ddd;
114
+ }
115
+ /************End Classes**************/
116
+
117
+ /************Structure**************/
118
+ .container {
119
+ max-width: $max-width;
120
+ margin: 0 auto;
121
+ padding: 0 1em;
122
+ overflow: hidden;
123
+ }
124
+
125
+ [role=main] {
126
+ padding-bottom: 1em;
127
+ }
128
+
129
+ /*Footer*/
130
+ [role=contentinfo] {
131
+ color: #fff;
132
+ background: #000;
133
+ margin: 0 -1em;
134
+ position: relative;
135
+ z-index: 2;
136
+
137
+ > div {
138
+ max-width: $max-width;
139
+ padding: 0 1em;
140
+ margin: 0 auto;
141
+ overflow: hidden;
142
+ }
143
+ }
144
+ /*End Footer*/
145
+
146
+ /*Grid*/
147
+ .grid {
148
+ margin: 0 -1em;
149
+ overflow: hidden;
150
+ }
151
+ .grid:target {
152
+ -webkit-animation: fadeout 5s 1 ease-out;
153
+ -moz-animation: fadeout 5s 1 ease-out;
154
+ -o-animation: fadeout 5s 1 ease-out;
155
+ animation: fadeout 5s 1 ease-out;
156
+ }
157
+ .grid > h2 {
158
+ margin-left: 0.45em;
159
+ }
160
+ .grid > section {
161
+ padding: 1em 1em 0.5em;
162
+ }
163
+ .grid > section:target {
164
+ -webkit-animation: fadeout 5s 1 ease-out;
165
+ -moz-animation: fadeout 5s 1 ease-out;
166
+ -o-animation: fadeout 5s 1 ease-out;
167
+ animation: fadeout 5s 1 ease-out;
168
+ }
169
+ .grid ul {
170
+ overflow: hidden;
171
+ }
172
+ .grid ul li {
173
+ margin-bottom: 0.3em;
174
+ }
175
+ .featured:after {
176
+ content: "*";
177
+ color: $orange;
178
+ }
179
+
180
+ /*Fluid*/
181
+ .fluid {
182
+ display: block;
183
+ margin: 0 auto;
184
+ max-width: 40em;
185
+ }
186
+
187
+ /*Homepage*/
188
+ .home h1 {
189
+ margin-bottom: 0.2em;
190
+ }
191
+ .intro {
192
+ font-size: 1.8em;
193
+ line-height: 1.2;
194
+ margin: 0 auto;
195
+ }
196
+ .intro a:hover ,.intro a:focus {
197
+ color: #000;
198
+ border-bottom-color: #000;
199
+ }
200
+
201
+ .ani {
202
+ position: relative;
203
+ height: 15em;
204
+ margin: 1em 0 0;
205
+ width: 100%;
206
+ z-index: 0;
207
+ }
208
+ .ani div {
209
+ width: 100%;
210
+ }
211
+ .ani div b {
212
+ display: block;
213
+ position: absolute;
214
+ top: 5%;
215
+ right: 5%;
216
+ bottom: 5%;
217
+ left: 5%;
218
+ background: rgba(229,24,55,0.22);
219
+ }
220
+
221
+
222
+ /*Patterns*/
223
+ .mod {
224
+ padding: 1em;
225
+ }
226
+ .pattern {
227
+ background: #f7f7f7;
228
+ border-bottom: 1px solid #808080;
229
+ margin-bottom: 1em;
230
+ overflow: hidden;
231
+ }
232
+ .pattern-description h1 {
233
+ font-size: 3.4em;
234
+ margin-bottom: 0.5em;
235
+ }
236
+ .pattern-description {
237
+ max-width: 40em;
238
+ margin: 0 auto;
239
+ }
240
+ .pattern-description ul, .pattern-description ol {
241
+ margin-bottom: 2em;
242
+ }
243
+ .pattern-description li {
244
+ margin-bottom: 1em;
245
+ }
246
+
247
+
248
+ /*Blog*/
249
+ /*Blog Header*/
250
+ .blog .container {
251
+ max-width: 62em;
252
+ }
253
+ .blog header[role=banner] {
254
+ overflow: hidden;
255
+ margin-bottom: 2em;
256
+ padding: 2em 0 1em;
257
+ border-bottom: 1px solid #000;
258
+ }
259
+ .blog-logo {
260
+ font-weight: normal;
261
+ font-size: 1.2em;
262
+ margin: 0 0 1em;
263
+ }
264
+ .blog-logo img {
265
+ width: 3.3em;
266
+ }
267
+ .blog-logo a {
268
+ color: #000;
269
+ }
270
+ .search-form {
271
+ width: 100%;
272
+ margin-bottom: 1em;
273
+ }
274
+ .search-field {
275
+ width: 100%;
276
+ padding: 0.5em 0;
277
+ border: 0;
278
+ border-bottom: 1px solid #808080;
279
+ outline: none;
280
+ }
281
+ .search-field:focus {
282
+ background: $orange;
283
+ color: #fff;
284
+ }
285
+ .search-field:focus::-webkit-input-placeholder {
286
+ color: #fff;
287
+ }
288
+
289
+ .search-field:focus :-moz-placeholder {
290
+ color: #fff;
291
+ }
292
+
293
+ .blog .nav {
294
+ clear: both;
295
+ }
296
+ .blog .nav a {
297
+ display: block;
298
+ font-weight: bold;
299
+ color: #000;
300
+ }
301
+ .blog .nav a:hover {
302
+ color: $orange;
303
+ }
304
+
305
+ /*Posts*/
306
+ .posts ol > li {
307
+ padding-bottom: 1em;
308
+ border-bottom: 1px solid #ccc;
309
+ margin-bottom: 1em;
310
+ overflow: hidden;
311
+ }
312
+ .posts h2 {
313
+ font-size: 1.4em;
314
+ margin: 0.28em 0 0.1em;
315
+ font-weight: normal;
316
+ }
317
+ .posts h2 a {
318
+ color: #000;
319
+ }
320
+ .posts h2 a:hover, .posts h2 a:focus {
321
+ color: $orange;
322
+ }
323
+ .permalink {
324
+ display: block;
325
+ font-size: 0.8em;
326
+ margin-bottom: 1.2em;
327
+ }
328
+ .post-body a {
329
+ border-bottom: 1px solid #ccc;
330
+ }
331
+ .posts blockquote {
332
+ margin: 0 0 1em;
333
+ color: #666;
334
+ border-left: 0.25em solid #ccc;
335
+ padding-left: 1em;
336
+ }
337
+ .tags {
338
+ float: left;
339
+ }
340
+ .tags li {
341
+ display: inline-block;
342
+ font-size: 0.8em;
343
+ margin-right: 0.5em;
344
+ }
345
+
346
+ .posts ol > li .tags a, .permalink {
347
+ color: #ccc;
348
+ -webkit-transition: color 0.3s ease-out;
349
+ -moz-transition: color 0.3s ease-out;
350
+ -ms-transition: color 0.3s ease-out;
351
+ -o-transition: color 0.3s ease-out;
352
+ transition: color 0.3s ease-out;
353
+ }
354
+ .posts ol > li:hover .tags a, .posts ol > li:hover .permalink {
355
+ color: #808080;
356
+ }
357
+ .blog-nav {
358
+ text-align: center;
359
+ overflow: hidden;
360
+ padding: 1em 0;
361
+ }
362
+ .posts .blog-nav a {
363
+ border: 0;
364
+ }
365
+ .nav-next {
366
+ float: right;
367
+ }
368
+ .nav-prev {
369
+ float: left;
370
+ }
371
+
372
+ /* Sidebar */
373
+ .sidebar {
374
+ font-size: 0.8em;
375
+ padding-bottom: 1.4em;
376
+ }
377
+ .sidebar div {
378
+ margin-bottom: 2em;
379
+ }
380
+ .sidebar h3 {
381
+ font-weight: bold;
382
+ font-size: 0.9em;
383
+ line-height: 1;
384
+ border-bottom: 1px solid #000;
385
+ }
386
+ .sidebar a {
387
+ color: #808080;
388
+ }
389
+ .sidebar a:hover, .sidebar a:focus {
390
+ color: $orange;
391
+ }
392
+
393
+
394
+
395
+
396
+ .top {
397
+ clear: both;
398
+ display: block;
399
+ padding: 1em 0;
400
+ }
401
+ .top:before {
402
+ content: '▲';
403
+ }
404
+
@@ -0,0 +1,170 @@
1
+ /*------------------------------------* $PATTERN LAB-SPECIFIC STYLES
2
+ \*------------------------------------*/
3
+ /**
4
+ * This stylesheet is for styles you want to include only when the interface is being viewed within Pattern Lab.
5
+ * This is helpful for displaying demo styles for grids, animations, color swatches, etc
6
+ * It's also helpful for overriding context-specific styles like fixed or absolutely positioned elements
7
+ * These styles will not be your production CSS.
8
+ */
9
+ /* Style Guide Interface Colors */
10
+ /* Typography */
11
+ /* Defaults */
12
+ /* Dimensions */
13
+ /* Breakpoints */
14
+ .demo {
15
+ overflow: hidden;
16
+ margin-bottom: 1rem;
17
+ }
18
+
19
+ .demo .gi, .demo .demo-block {
20
+ background: #ddd;
21
+ color: #808080;
22
+ text-align: center;
23
+ margin-bottom: 0.5em;
24
+ padding: 1em !important;
25
+ }
26
+
27
+ .demo .gi:nth-of-type(2n), .demo .demo-block:nth-of-type(2n) {
28
+ color: #ddd;
29
+ background: #808080;
30
+ }
31
+
32
+ .demo .gi .gi, .demo .demo-block .gi {
33
+ background: rgba(0, 0, 0, 0.1);
34
+ color: #ddd;
35
+ }
36
+
37
+ .demo .gi .gi:nth-of-type(2n), .demo .demo-block .gi:nth-of-type(2n) {
38
+ background: rgba(0, 0, 0, 0.3);
39
+ }
40
+
41
+ .demo-animate {
42
+ background: #ddd;
43
+ padding: 1em;
44
+ margin-bottom: 1em;
45
+ text-align: center;
46
+ }
47
+
48
+ .animate-move {
49
+ position: relative;
50
+ }
51
+
52
+ .animate-move .demo-shape {
53
+ position: absolute;
54
+ top: 0;
55
+ left: 0;
56
+ bottom: 0;
57
+ width: 20px;
58
+ background: #808080;
59
+ }
60
+
61
+ .animate-move:hover > .demo-shape {
62
+ left: 100%;
63
+ margin-left: -20px;
64
+ }
65
+
66
+ .sg-colors {
67
+ overflow: hidden;
68
+ display: flex;
69
+ flex-direction: row;
70
+ flex-wrap: wrap;
71
+ justify-content: flex-start;
72
+ align-content: center;
73
+ align-items: flex-start;
74
+ }
75
+
76
+ .sg-colors li {
77
+ box-sizing: border-box;
78
+ overflow: hidden;
79
+ margin: 0 0 1em 0;
80
+ flex-grow: 0;
81
+ flex-shrink: 1;
82
+ width: 100%;
83
+ }
84
+
85
+ @media all and (min-width: 24em) {
86
+ .sg-colors li {
87
+ width: calc(50% - 1em);
88
+ margin-right: 1em;
89
+ }
90
+ }
91
+
92
+ @media all and (min-width: 48em) {
93
+ .sg-colors li {
94
+ width: calc(25% - 1em);
95
+ margin-right: 1em;
96
+ }
97
+ }
98
+
99
+ @media all and (min-width: 72em) {
100
+ .sg-colors li {
101
+ width: calc(15% - 1em);
102
+ margin-right: 1em;
103
+ }
104
+ }
105
+
106
+ .sg-swatch {
107
+ display: block;
108
+ height: 120px;
109
+ border-radius: 2px;
110
+ margin-bottom: 10px;
111
+ margin-right: 0.3em;
112
+ box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.2);
113
+ }
114
+
115
+ .sg-label {
116
+ display: block;
117
+ line-height: 1;
118
+ font-family: monospace;
119
+ font-size: 80%;
120
+ }
121
+
122
+ .sg-grid-example .col {
123
+ height: 150px;
124
+ border: 1px solid #eee;
125
+ margin-bottom: 20px;
126
+ text-align: center;
127
+ padding: 20px;
128
+ font-size: .75em;
129
+ }
130
+
131
+ .sg-icons {
132
+ list-style-type: none;
133
+ padding-left: 0;
134
+ }
135
+
136
+ .sg-icons li {
137
+ text-align: center;
138
+ }
139
+
140
+ .sg-icons li .icon {
141
+ display: inline-block;
142
+ margin: 0 auto;
143
+ }
144
+
145
+ .sg-icons li .icon:before {
146
+ position: relative;
147
+ top: -10px;
148
+ left: 3px;
149
+ }
150
+
151
+ .sg-icons li .codes {
152
+ position: relative;
153
+ font-family: monospace;
154
+ border-radius: 2px;
155
+ height: 30px;
156
+ line-height: 30px;
157
+ color: rgba(0, 0, 0, 0.3);
158
+ font-size: 80%;
159
+ }
160
+
161
+ .sg-icons li .codes:nth-child(odd) {
162
+ margin-top: -15px;
163
+ }
164
+
165
+ .sg-icons .bit-4 {
166
+ width: 17%;
167
+ float: left;
168
+ margin: 0 1.5%;
169
+ margin-bottom: 40px;
170
+ }