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,87 @@
1
+ // ==========================================================================
2
+ // Variables
3
+ // ==========================================================================
4
+
5
+ $asset-pipeline: false;
6
+ $image-path: '/images';
7
+
8
+ //- Spacing
9
+ $space: 30px;
10
+ $pad-xl: $space;
11
+ $pad-lg: 20px;
12
+ $pad: ceil($space/3);
13
+ $pad-sm: ceil($space/6);
14
+
15
+ //- Typography
16
+ $font-base: 14px;
17
+ $font-xxl: 24px;
18
+ $font-xl: 18px;
19
+ $font-lg: 16px;
20
+ $font-sm: 13px;
21
+ $font-xs: 10px;
22
+
23
+ $font-h1: 36px;
24
+ $font-h2: 30px;
25
+ $font-h3: 24px;
26
+ $font-h4: 20px;
27
+ $font-h5: 16px;
28
+ $font-h6: 14px;
29
+
30
+ $line-height-base: 1.5;
31
+ $line-height-sm: 1.2;
32
+
33
+ //- Fonts
34
+ $font-main: "BentonSans", "Helvetica Neue", sans-serif;
35
+ $font-mono: "Inconsolata", monospace;
36
+
37
+ //- Font Weights
38
+ $font-light: 100;
39
+ $font-normal: normal;
40
+ $font-bold: bold;
41
+
42
+ //- Layout
43
+ $grid-full: 100%;
44
+ $grid-large-screen: 1200px;
45
+ $grid-desktop: 95%;
46
+ $grid-tablet: 95%;
47
+ $grid-mobile: 95%;
48
+
49
+ //- Wrapper sizes
50
+ $wrapper-sm: 800px;
51
+ $wrapper-md: 960px;
52
+ $wrapper-lg: 1080px;
53
+
54
+ //- Z-index
55
+ $z-foreground: 200;
56
+ $z-middleground: 100;
57
+ $z-default: 0;
58
+ $z-background: -100;
59
+
60
+ //- Borders
61
+ $border-color: #d3d3d3;
62
+ $border: 1px solid $border-color;
63
+
64
+ $border-radius: 3px;
65
+ $border-radius-sm: $border-radius - 2;
66
+ $border-radius-lg: $border-radius + 2;
67
+ $border-radius-circle: 50%;
68
+
69
+ $box-shadow: 0 2px 4px 0 fade-out($black, .88);
70
+
71
+ //- Breakpoints
72
+ $bp-xs: 480px;
73
+ $bp-sm: 600px;
74
+ $bp-med: 768px;
75
+ $bp-lg: 1100px;
76
+ $bp-xl: 1400px;
77
+
78
+ $tablet: $bp-med;
79
+
80
+ //-Aniamtion
81
+ $transition: .1s linear;
82
+
83
+ //- Icon Sizing
84
+ $brand-icon: 48px;
85
+ $brand-icon-xs: 24px;
86
+ $brand-icon-sm: 36px;
87
+ $brand-icon-lg: 64px;
@@ -0,0 +1,13 @@
1
+ // ==========================================================================
2
+ // Grid settings for Neat
3
+ // ==========================================================================
4
+
5
+ @import "neat-helpers";
6
+
7
+ $default-feature: max-width;
8
+
9
+ $mobile-sm: new-breakpoint($bp-xs);
10
+ $mobile: new-breakpoint($bp-sm);
11
+ $tablet: new-breakpoint($bp-med);
12
+ $desktop: new-breakpoint($bp-lg);
13
+ $large-screen: new-breakpoint($bp-xl);
@@ -0,0 +1,95 @@
1
+ // ==========================================================================
2
+ // Layout
3
+ // ==========================================================================
4
+
5
+ //- Container
6
+
7
+ .wrapper {
8
+ @include outer-container($grid-large-screen);
9
+ @include clearfix();
10
+ padding-left: $pad-lg;
11
+ padding-right: $pad-lg;
12
+
13
+ &.wrapper-full {
14
+ max-width: $grid-full;
15
+ padding-left: $pad-lg;
16
+ padding-right: $pad-lg;
17
+ }
18
+
19
+ &.wrapper-sm {
20
+ max-width: $wrapper-sm;
21
+ }
22
+
23
+ &.wrapper-md {
24
+ max-width: $wrapper-md;
25
+ }
26
+
27
+ &.wrapper-lg {
28
+ max-width: $wrapper-lg;
29
+ }
30
+
31
+ @include media($desktop) {
32
+ max-width: $grid-desktop;
33
+ }
34
+
35
+ @include media($tablet) {
36
+ max-width: $grid-tablet;
37
+ }
38
+
39
+ @include media($mobile) {
40
+ max-width: $grid-mobile;
41
+ }
42
+ }
43
+
44
+ .row {
45
+ @include row();
46
+ }
47
+
48
+ .two-up,
49
+ .three-up,
50
+ .four-up {
51
+ @include row();
52
+ }
53
+
54
+ //- Two up
55
+ .two-up .col {
56
+ @include span-columns(6);
57
+ @include omega(3n);
58
+
59
+ @include media($mobile) {
60
+ @include span-columns(12);
61
+ }
62
+ }
63
+
64
+ //- Three up
65
+ .three-up .col {
66
+ @include span-columns(4);
67
+ @include omega(4n);
68
+
69
+ @include media($mobile) {
70
+ @include span-columns(12);
71
+ }
72
+ }
73
+
74
+ //- Four up
75
+ .four-up .col {
76
+ @include span-columns(3);
77
+ @include omega(6n);
78
+
79
+ @include media($mobile) {
80
+ @include span-columns(12);
81
+ }
82
+ }
83
+
84
+ //- Tools
85
+ .cf {
86
+ @include clearfix();
87
+ }
88
+
89
+ .pull-left {
90
+ float: left !important;
91
+ }
92
+
93
+ .pull-right {
94
+ float: right !important
95
+ }
@@ -0,0 +1,3 @@
1
+ // ==========================================================================
2
+ // Headers
3
+ // ==========================================================================
@@ -0,0 +1,254 @@
1
+ // ==========================================================================
2
+ // Navigation
3
+ // ==========================================================================
4
+
5
+ //- Base nav styling to make uls inline and unstyled
6
+ nav {
7
+
8
+ ul {
9
+ @extend %list-unstyled;
10
+ }
11
+
12
+ &.nav-inline ul {
13
+ @extend %list-inline;
14
+ }
15
+ }
16
+
17
+ //- Horizontal ribbon subnav for page
18
+ .page-subnav {
19
+ position: relative;
20
+ background-color: $gray-lighter;
21
+ @include clearfix();
22
+
23
+ nav > ul {
24
+ float: left;
25
+
26
+ li {
27
+ font-size: $font-lg;
28
+ display: inline-block;
29
+ }
30
+
31
+ a {
32
+ display: block;
33
+ padding: $pad*1.5;
34
+ margin-top: 3px; // adjust for bottom border
35
+ text-decoration: none;
36
+ color: fade-out($purple, .5);
37
+ border-bottom: 3px solid fade-out($purple, 1);
38
+ @include transition(all $transition);
39
+
40
+ [class^="icon-"] {
41
+ opacity: .5;
42
+ margin-bottom: -7px;
43
+ margin-right: 3px;
44
+ top: -2px;
45
+ }
46
+
47
+ &.active {
48
+ color: $purple;
49
+ border-color: $purple;
50
+
51
+ [class^="icon-"] {
52
+ opacity: 1;
53
+ }
54
+ }
55
+
56
+ &:hover {
57
+ color: fade-out($purple, .1);
58
+
59
+ [class^="icon-"] {
60
+ opacity: 1;
61
+ }
62
+ }
63
+
64
+ &:active,
65
+ &:focus {
66
+ outline: none;
67
+ }
68
+ }
69
+ }
70
+
71
+ .btn {
72
+ margin: ($pad-lg - 1) 0;
73
+
74
+ @include media($tablet) {
75
+ display: none;
76
+ }
77
+ }
78
+ }
79
+
80
+ //- List nav
81
+ .list-nav {
82
+
83
+ ul {
84
+ list-style-type: none;
85
+ padding: 0;
86
+ }
87
+
88
+ li {
89
+ margin-bottom: $pad-sm;
90
+
91
+ a {
92
+ text-decoration: none;
93
+ padding-left: 0;
94
+ color: $text-color-light;
95
+ @include transition(.2s $ease-out-expo);
96
+
97
+ &:hover {
98
+ color: $text-color;
99
+ padding-left: $pad;
100
+ }
101
+ }
102
+
103
+ &.active a {
104
+ padding-left: $pad;
105
+ color: $purple;
106
+ }
107
+ }
108
+
109
+ &-sm {
110
+ font-size: $font-sm;
111
+
112
+ h5 {
113
+ margin-bottom: $pad;
114
+ }
115
+ }
116
+ }
117
+
118
+ //- Breadcrumbs
119
+ .breadcrumbs {
120
+ padding: $pad-lg 0;
121
+ font-size: $font-base;
122
+ font-weight: $font-bold;
123
+ background: $off-white;
124
+ color: fade-out($text-color-light, .5);
125
+ @include clearfix();
126
+
127
+ &.breadcrumbs-sm {
128
+ font-size: $font-xs;
129
+ }
130
+
131
+ nav {
132
+ float: left;
133
+ }
134
+
135
+ ul {
136
+ @extend %list-unstyled;
137
+ @extend %list-inline;
138
+ }
139
+
140
+ li:last-child a {
141
+ color: $text-color;
142
+ font-weight: $font-bold;
143
+ }
144
+
145
+ a {
146
+ text-decoration: none;
147
+ font-weight: $font-normal;
148
+ color: $text-color-light;
149
+
150
+ &:hover {
151
+ color: $purple;
152
+ }
153
+ }
154
+ }
155
+
156
+ //-Tabs
157
+ .tabs {
158
+ @include clearfix();
159
+
160
+ .tab {
161
+ display: inline;
162
+ }
163
+
164
+ [type="radio"] {
165
+ clip: rect(0 0 0 0);
166
+ height: 1px;
167
+ opacity: 0;
168
+ position: fixed;
169
+ width: 1px;
170
+ z-index: $z-background;
171
+
172
+ &:checked + .tab-label {
173
+ font-weight: bold;
174
+ color: $purple;
175
+ z-index: 1;
176
+ }
177
+
178
+ &:checked ~ .tab-panel {
179
+ display: inline;
180
+ }
181
+ }
182
+
183
+ .tab-label {
184
+ display: inline-block;
185
+ font-size: $font-sm;
186
+ position: relative;
187
+ vertical-align: bottom;
188
+ cursor: pointer;
189
+ }
190
+
191
+ .tab-panel {
192
+ display: inline;
193
+ display: inline-block;
194
+ overflow: hidden;
195
+ position: relative;
196
+ height: 0;
197
+ width: 0;
198
+ }
199
+
200
+ .tab-content {
201
+ display: block;
202
+ float: left;
203
+ font-size: 1em;
204
+ width: 100%;
205
+ }
206
+ }
207
+
208
+ //- Tabs themes
209
+
210
+ .tabs {
211
+
212
+ //- Basic
213
+ &.tabs-basic {
214
+
215
+ .tab-label {
216
+ border: $border;
217
+ padding: $pad $pad-lg;
218
+ margin: $pad-lg 0;
219
+ }
220
+ }
221
+
222
+ //- Terminal style
223
+ &.tabs-terminal {
224
+ background: darken($purple, 20%);
225
+
226
+ .tab-label-active {
227
+ background: #EAE9F1;
228
+ color: #222;
229
+ font-weight: normal;
230
+ border-right: 0;
231
+ border-radius: 0 0 $border-radius $border-radius;
232
+ border-top: 1px solid fade-out(black, .8);
233
+ }
234
+
235
+ .tab-label {
236
+ padding: 8px 13px;
237
+ border-right: 1px solid fade-out($black, .8);
238
+ font-weight: normal;
239
+ font-size: 16px;
240
+ color: $white;
241
+ color: fade-out($white, .2);
242
+
243
+ &.active {
244
+ @extend .tab-label-active;
245
+ }
246
+ }
247
+
248
+ [type="radio"]:checked {
249
+ + .tab-label {
250
+ @extend .tab-label-active;
251
+ }
252
+ }
253
+ }
254
+ }
@@ -0,0 +1,66 @@
1
+ // ==========================================================================
2
+ // Sections
3
+ // ==========================================================================
4
+ section {
5
+ margin-bottom: $space;
6
+
7
+ &.section-lg {
8
+ margin-bottom: $space*1.5;
9
+ }
10
+
11
+ &.section-xl {
12
+ margin-bottom: $space*2;
13
+ }
14
+
15
+ &:after {
16
+ content: "";
17
+ display: table;
18
+ clear: both;
19
+ }
20
+ }
21
+
22
+ .section {
23
+ // Purple Gradient
24
+ &-purple {
25
+ @include grad-purple();
26
+ }
27
+
28
+ // Dark Purple Gradient
29
+ &-purple-dark {
30
+ @include grad-purple-dark();
31
+ }
32
+
33
+ // Light gray to white
34
+ &-gray-light {
35
+ @include grad-gray-light();
36
+ }
37
+
38
+ //- Type changes
39
+ &-purple,
40
+ &-purple-dark {
41
+ h1, h2, h3, h4, h5, h6, p {
42
+ color: $white;
43
+ }
44
+
45
+ h6 {
46
+ color: fade-out($white, .15);
47
+ }
48
+
49
+ p {
50
+ color: fade-out($white, .25);
51
+
52
+
53
+ a {
54
+ color: fade-out($white, .15);
55
+
56
+ &:hover {
57
+ color: $white;
58
+ }
59
+ }
60
+ }
61
+
62
+ blockquote {
63
+ border-color: fade-out($white, .6);
64
+ }
65
+ }
66
+ }
@@ -0,0 +1,34 @@
1
+ .sidebar {
2
+ @include span-columns(2.5);
3
+
4
+ &-sm {
5
+ @include span-columns(2);
6
+ }
7
+ &-xs {
8
+ @include span-columns(1);
9
+ }
10
+
11
+ &-title {
12
+ font-size: $font-base;
13
+ font-weight: bold;
14
+ margin-bottom: $pad;
15
+ }
16
+
17
+ &-title-sm {
18
+ font-size: $font-sm;
19
+ font-weight: bold;
20
+ margin-bottom: $pad;
21
+ }
22
+ }
23
+
24
+ .content-with-sidebar {
25
+ @include span-columns(9.5);
26
+
27
+ &-sm {
28
+ @include span-columns(10);
29
+ }
30
+
31
+ &-xs {
32
+ @include span-columns(11);
33
+ }
34
+ }
@@ -0,0 +1,63 @@
1
+ // ==========================================================================
2
+ // Heroku
3
+ // ==========================================================================
4
+
5
+ @import 'bourbon';
6
+
7
+ //- Globals
8
+ @import "scss/globals/colors";
9
+ @import "scss/globals/variables";
10
+ @import "scss/globals/mixins";
11
+
12
+ //- Layout
13
+ @import "scss/layout/grid-settings";
14
+ @import 'neat';
15
+ @import "scss/layout/layout";
16
+
17
+ //- Base
18
+ @import "scss/base/normalize";
19
+ @import "scss/base/base";
20
+ @import "scss/base/utilities";
21
+ @import "scss/base/fonts";
22
+ @import "scss/base/type";
23
+
24
+ //- Page Elements
25
+ @import "scss/page-elements/headers";
26
+ @import "scss/page-elements/sections";
27
+ @import "scss/page-elements/navigation";
28
+ @import "scss/page-elements/sidebar";
29
+
30
+ //- Ecosystem/Elements Marketplace
31
+ @import "scss/ecosystem/elements";
32
+ @import "scss/ecosystem/cards";
33
+ @import "scss/ecosystem/addons-card";
34
+ @import "scss/ecosystem/elements-brand";
35
+
36
+ //- Components
37
+ @import "scss/components/animate";
38
+ @import "scss/components/hero";
39
+ @import "scss/components/sr-only";
40
+ @import "scss/components/masonary";
41
+ @import "scss/components/lists";
42
+ @import "scss/components/buttons";
43
+ @import "scss/components/forms";
44
+ @import "scss/components/quote";
45
+ @import "scss/components/code";
46
+ @import "scss/components/pill-box";
47
+ @import "scss/components/tables";
48
+ @import "scss/components/animation";
49
+ @import "scss/components/tooltips";
50
+ @import "scss/components/readmore";
51
+ @import "scss/components/spinner";
52
+ @import "scss/components/slider";
53
+ @import "scss/components/alert";
54
+ @import "scss/components/modal";
55
+ @import "scss/components/panel";
56
+ @import "scss/components/users";
57
+ @import "scss/components/logos";
58
+ @import "scss/components/icons";
59
+ @import "scss/components/video";
60
+ @import "scss/components/hr";
61
+ @import "scss/components/sprites";
62
+ @import "scss/components/vertical-tabs";
63
+ @import "scss/components/owlCarousel";