themepile-abstractio 1.0.4 → 4.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +8 -8
  2. data/.gitignore +1 -0
  3. data/CONTRIBUTING.md +7 -7
  4. data/Gemfile.lock +19 -0
  5. data/Gruntfile.js +27 -0
  6. data/README.md +38 -38
  7. data/abstractio.gemspec +20 -18
  8. data/docs/CHANGELOG.md +275 -0
  9. data/docs/Capfile +4 -0
  10. data/docs/Gemfile +13 -0
  11. data/docs/Gemfile.lock +45 -0
  12. data/docs/Procfile +2 -0
  13. data/docs/README.md +1 -0
  14. data/docs/_sidebar-components.html.erb +115 -0
  15. data/docs/_sidebar.html.erb +115 -0
  16. data/docs/changelog.html.erb +33 -0
  17. data/docs/compile.rb +34 -0
  18. data/docs/components/alert-boxes.html.erb +204 -0
  19. data/docs/components/block-grid.html.erb +132 -0
  20. data/docs/components/breadcrumbs.html.erb +156 -0
  21. data/docs/components/button-groups.html.erb +230 -0
  22. data/docs/components/buttons.html.erb +222 -0
  23. data/docs/components/clearing.html.erb +152 -0
  24. data/docs/components/custom-forms.html.erb +309 -0
  25. data/docs/components/dropdown-buttons.html.erb +235 -0
  26. data/docs/components/dropdown.html.erb +188 -0
  27. data/docs/components/flex-video.html.erb +95 -0
  28. data/docs/components/forms.html.erb +477 -0
  29. data/docs/components/global.html.erb +92 -0
  30. data/docs/components/grid.html.erb +366 -0
  31. data/docs/components/inline-lists.html.erb +91 -0
  32. data/docs/components/joyride.html.erb +183 -0
  33. data/docs/components/keystrokes.html.erb +76 -0
  34. data/docs/components/kitchen-sink.html.erb +870 -0
  35. data/docs/components/labels.html.erb +102 -0
  36. data/docs/components/magellan.html.erb +86 -0
  37. data/docs/components/orbit.html.erb +276 -0
  38. data/docs/components/pagination.html.erb +183 -0
  39. data/docs/components/panels.html.erb +123 -0
  40. data/docs/components/pricing-tables.html.erb +156 -0
  41. data/docs/components/progress-bars.html.erb +123 -0
  42. data/docs/components/reveal.html.erb +162 -0
  43. data/docs/components/section.html.erb +1023 -0
  44. data/docs/components/side-nav.html.erb +124 -0
  45. data/docs/components/split-buttons.html.erb +220 -0
  46. data/docs/components/sub-nav.html.erb +122 -0
  47. data/docs/components/switch.html.erb +290 -0
  48. data/docs/components/tables.html.erb +125 -0
  49. data/docs/components/thumbnails.html.erb +89 -0
  50. data/docs/components/tooltips.html.erb +76 -0
  51. data/docs/components/top-bar.html.erb +300 -0
  52. data/docs/components/type.html.erb +396 -0
  53. data/docs/components/visibility.html.erb +110 -0
  54. data/docs/config.ru +12 -0
  55. data/docs/config/deploy.rb +36 -0
  56. data/docs/controller.rb +49 -0
  57. data/docs/css/_coderay.scss +116 -0
  58. data/docs/css/_settings.scss +1 -0
  59. data/docs/css/docs.scss +239 -0
  60. data/docs/css/normalize.scss +396 -0
  61. data/docs/css/qunit-composite.css +13 -0
  62. data/docs/css/qunit.css +235 -0
  63. data/docs/faq.html.erb +63 -0
  64. data/docs/img/demos/demo1-th.jpg +0 -0
  65. data/docs/img/demos/demo1.jpg +0 -0
  66. data/docs/img/demos/demo2-th.jpg +0 -0
  67. data/docs/img/demos/demo2.jpg +0 -0
  68. data/docs/img/demos/demo3-th.jpg +0 -0
  69. data/docs/img/demos/demo3.jpg +0 -0
  70. data/docs/img/demos/demo4-th.jpg +0 -0
  71. data/docs/img/demos/demo4.jpg +0 -0
  72. data/docs/img/demos/demo5-th.jpg +0 -0
  73. data/docs/img/demos/demo5.jpg +0 -0
  74. data/docs/index.html.erb +298 -0
  75. data/docs/javascript.html.erb +138 -0
  76. data/docs/js/docs.js +3 -0
  77. data/docs/js/qunit-composite.js +105 -0
  78. data/docs/js/qunit.js +1977 -0
  79. data/docs/js/tests/tabs/simple_tabs.html +57 -0
  80. data/docs/js/tests/tabs/simple_tabs.js +54 -0
  81. data/docs/js/tests/tooltips/tooltips.html +39 -0
  82. data/docs/js/tests/tooltips/tooltips.js +11 -0
  83. data/docs/layout.html.erb +128 -0
  84. data/docs/media-queries.html.erb +96 -0
  85. data/docs/rails.html.erb +76 -0
  86. data/docs/rtl.html.erb +53 -0
  87. data/docs/sass.html.erb +1297 -0
  88. data/docs/support.html.erb +143 -0
  89. data/js/{foundation/foundation.alerts.js → abstractio/abstractio.alerts.js} +2 -2
  90. data/js/{foundation/foundation.clearing.js → abstractio/abstractio.clearing.js} +6 -6
  91. data/js/{foundation/foundation.cookie.js → abstractio/abstractio.cookie.js} +1 -1
  92. data/js/{foundation/foundation.dropdown.js → abstractio/abstractio.dropdown.js} +5 -5
  93. data/js/{foundation/foundation.forms.js → abstractio/abstractio.forms.js} +7 -7
  94. data/js/{foundation/foundation.joyride.js → abstractio/abstractio.joyride.js} +5 -5
  95. data/js/{foundation/foundation.js → abstractio/abstractio.js} +13 -13
  96. data/js/{foundation/foundation.magellan.js → abstractio/abstractio.magellan.js} +3 -3
  97. data/js/{foundation/foundation.orbit.js → abstractio/abstractio.orbit.js} +6 -6
  98. data/js/{foundation/foundation.placeholder.js → abstractio/abstractio.placeholder.js} +1 -1
  99. data/js/{foundation/foundation.reveal.js → abstractio/abstractio.reveal.js} +3 -3
  100. data/js/{foundation/foundation.section.js → abstractio/abstractio.section.js} +5 -5
  101. data/js/{foundation/foundation.tooltips.js → abstractio/abstractio.tooltips.js} +6 -6
  102. data/js/{foundation/foundation.topbar.js → abstractio/abstractio.topbar.js} +3 -3
  103. data/js/abstractio/index.js +16 -0
  104. data/js/vendor/jquery.js +3 -3
  105. data/lib/abstractio/generators/USAGE +1 -1
  106. data/lib/abstractio/version.rb +1 -1
  107. data/package.json +15 -0
  108. data/scss/abstractio.scss +37 -37
  109. data/scss/abstractio/_variables.scss +1 -1
  110. data/scss/abstractio/components/_alert-boxes.scss +1 -1
  111. data/scss/abstractio/components/_block-grid.scss +2 -2
  112. data/scss/abstractio/components/_dropdown.scss +1 -1
  113. data/scss/abstractio/components/_global.scss +2 -2
  114. data/scss/abstractio/components/_joyride.scss +1 -1
  115. data/scss/abstractio/components/_pagination.scss +1 -1
  116. data/scss/abstractio/components/_switch.scss +1 -1
  117. data/scss/abstractio/components/_visibility.scss +2 -2
  118. data/templates/project/.gitignore +1 -1
  119. data/templates/project/MIT-LICENSE.txt +1 -1
  120. data/templates/project/config.rb +1 -1
  121. data/templates/project/humans.txt +2 -2
  122. data/templates/project/index.html +11 -11
  123. data/templates/project/manifest.rb +1 -1
  124. data/templates/project/scss/app.scss +38 -38
  125. data/templates/upgrade/manifest.rb +2 -2
  126. metadata +104 -22
  127. data/Gemfile +0 -4
  128. data/Rakefile +0 -2
  129. data/js/foundation/index.js +0 -16
  130. data/lib/abstractio.rb +0 -17
@@ -0,0 +1,110 @@
1
+ <% @side_nav = "using" %>
2
+
3
+ <div class="row">
4
+ <div class="large-9 push-3 columns">
5
+
6
+ <% @page_title = "Visibility Classes" %>
7
+ <div class="row">
8
+ <div class="large-12 columns">
9
+ <h2><%= @page_title %></h2>
10
+ <h4 class="subheader">Abstractio allows you to easily turn elements on and off based on certain device criteria, like screen size, touch or orientation.</h4>
11
+ </div>
12
+ </div>
13
+
14
+ <div class="row">
15
+ <div class="large-12 columns">
16
+ <h5>Screen Size Visibility Control (Show)</h5>
17
+ <p>The following text should describe the screen size you're using:</p>
18
+ <p class="panel">
19
+ <strong class="show-for-small">You are on a small screen.</strong>
20
+ <strong class="show-for-medium">You are on a medium screen.</strong>
21
+ <strong class="show-for-medium-up">You are on a medium, large or xlarge screen.</strong>
22
+ <strong class="show-for-medium-down">You are on a medium or small screen.</strong>
23
+ <strong class="show-for-large">You are on a large screen.</strong>
24
+ <strong class="show-for-large-up">You are on a large or xlarge screen.</strong>
25
+ <strong class="show-for-large-down">You are on a large, medium or small screen.</strong>
26
+ <strong class="show-for-xlarge">You are on a xlarge screen.</strong>
27
+ </p>
28
+
29
+ <h5>Screen Size Visibility Control (Hide)</h5>
30
+ <p>The following text should describe the screen size you aren't using:</p>
31
+ <p class="panel">
32
+ <strong class="hide-for-small">You are <em>not</em> on a small screen.</strong>
33
+ <strong class="hide-for-medium">You are <em>not</em> on a medium screen.</strong>
34
+ <strong class="hide-for-medium-up">You are <em>not</em> on a medium, large or xlarge screen.</strong>
35
+ <strong class="hide-for-medium-down">You are <em>not</em> on a medium or small screen.</strong>
36
+ <strong class="hide-for-large">You are <em>not</em> on a large screen.</strong>
37
+ <strong class="hide-for-large-up">You are <em>not</em> on a large or xlarge screen.</strong>
38
+ <strong class="hide-for-large-down">You are <em>not</em> on a large, medium or small screen.</strong>
39
+ <strong class="hide-for-xlarge">You are <em>not</em> on a xlarge screen.</strong>
40
+ </p>
41
+
42
+ <h5>Orientation Detection</h5>
43
+ <p>The following text should describe the device orientation you're using:</p>
44
+ <p class="panel">
45
+ <strong class="show-for-landscape">You are in landscape orientation.</strong>
46
+ <strong class="show-for-portrait">You are in portrait orientation.</strong>
47
+ </p>
48
+
49
+ <h5>Touch Detection</h5>
50
+ <p>The following text should describe if you're using a touch device:</p>
51
+ <p class="panel">
52
+ <strong class="show-for-touch">You are on a touch-enabled device.</strong>
53
+ <strong class="hide-for-touch">You are not on a touch-enabled device.</strong>
54
+ </p>
55
+
56
+ <hr>
57
+
58
+ <h3>Using our HTML Classes With CSS</h3>
59
+ <p>The standard way of working with the Abstractio visibility control is to use the predefined HTML classes. Yes, this adds classes to your markup, but they are semantic to the function they provide rather than from a presentational point of view.</p>
60
+
61
+ <%= code_example '
62
+ /* The show classes */
63
+ .show-for-small /* Visible up to 768px */
64
+ .show-for-medium-down /* Visible from 768px down */
65
+ .show-for-medium /* Visible between 768px and 1280px */
66
+ .show-for-medium-up /* Visible from 768px up */
67
+ .show-for-large-down /* Visible from 1280px down */
68
+ .show-for-large /* Visible between 1280px and 1440px */
69
+ .show-for-large-up /* Visible from 1280px up */
70
+ .show-for-xlarge /* Visible above 1440px only */
71
+
72
+ /* The hide classes */
73
+ .hide-for-small /* Hidden up to 768px */
74
+ .hide-for-medium-down /* Hidden from 768px down */
75
+ .hide-for-medium /* Hidden between 768px and 1280px */
76
+ .hide-for-medium-up /* Hidden from 768px up */
77
+ .hide-for-large-down /* Hidden from 1280px down */
78
+ .hide-for-large /* Hidden between 1280px and 1440px */
79
+ .hide-for-large-up /* Hidden from 1280px up */
80
+ .hide-for-xlarge /* Hidden above 1440px only */
81
+
82
+ /* The orientation classes */
83
+ .show-for-landscape /* Visible for landscape orientation */
84
+ .show-for-portrait /* Visible for portrait orientation */
85
+ .hide-for-landscape /* Hidden for landscape orientation */
86
+ .hide-for-portrait /* Hidden for portrait orientation */
87
+
88
+ /* The touch detection classes */
89
+ .show-for-touch /* Visible for touch enabled devices */
90
+ .hide-for-touch /* Hidden for touch enabled devices */
91
+ ', :css %>
92
+
93
+ <p><strong>Note:</strong> We've also included specific table hide/show visibility classes that follow the same structure, just prepended with table, thead, th, tbody, tr or td. The display property will go from 'none' to whatever its default display should be.</p>
94
+
95
+ <hr>
96
+
97
+ <h3>Using SCSS?</h3>
98
+ <p>So, you hate the idea of including these classes in your markup? Well, we thought of that too! You can easily <code>@extend</code> these classes to whatever element you want. Extending a visibility class looks like this:</p>
99
+
100
+ <%= code_example '
101
+ .your-class-name { @extend .hide-for-small; }
102
+ ', :css %>
103
+
104
+ </div>
105
+ </div>
106
+ </div>
107
+ <div class="large-3 pull-9 columns">
108
+ <%= render "_sidebar-components.html.erb" %>
109
+ </div>
110
+ </div>
@@ -0,0 +1,12 @@
1
+ require 'sprockets'
2
+ require 'sass'
3
+
4
+ map '/assets' do
5
+ environment = Sprockets::Environment.new
6
+ environment.append_path File.expand_path('../../scss', __FILE__)
7
+ environment.append_path File.expand_path('../css', __FILE__)
8
+ environment.append_path File.expand_path('../../test/js', __FILE__)
9
+ environment.append_path File.expand_path('../../js', __FILE__)
10
+ environment.append_path File.expand_path('../js', __FILE__)
11
+ run environment
12
+ end
@@ -0,0 +1,36 @@
1
+ # use local key for authentication
2
+ ssh_options[:forward_agent] = true
3
+ default_run_options[:pty] = true
4
+
5
+ set :application, "abstractio"
6
+ set :repository, "git@github.com:themepile/#{application}.git"
7
+ set :user, application
8
+ set :deploy_to, "/var/www/abstractio-docs"
9
+ set :deploy_via, :remote_cache
10
+ set :use_sudo, false
11
+ set :branch, "master"
12
+ set :bundle_gemfile, "docs/Gemfile"
13
+
14
+ set :scm, :git
15
+
16
+ abstractio1_ip = '166.78.3.108'
17
+ abstractio2_ip = '166.78.18.29'
18
+
19
+ role :web, abstractio1_ip, abstractio2_ip
20
+
21
+ after "deploy:update_code", "deploy:generate_static_site"
22
+ set :keep_releases, 3
23
+ after "deploy:update", "deploy:cleanup"
24
+
25
+ namespace :deploy do
26
+ task :default do
27
+ update
28
+ end
29
+
30
+ task :generate_static_site do
31
+ run "cd #{release_path}/docs && bundle exec ruby #{release_path}/docs/compile.rb"
32
+ end
33
+
34
+ end
35
+
36
+ require "bundler/capistrano"
@@ -0,0 +1,49 @@
1
+ require 'socket'
2
+ layout 'layout.html.erb'
3
+
4
+ ignore /css\//
5
+ ignore /js\//
6
+ ignore /.+.md/
7
+ ignore /Gemfile.*/
8
+ ignore /Procfile/
9
+ ignore /compile.rb/
10
+
11
+ helpers do
12
+ def asset_path
13
+ if @_stasis.options[:asset_path]
14
+ @_stasis.options[:asset_path]
15
+ elsif Socket.gethostname == "abstractio"
16
+ "http://abstractio.themepile.co.uk/docs/assets"
17
+ else
18
+ "http://#{Socket.ip_address_list.detect{|intf| intf.ipv4_private?}.getnameinfo[0]}:4001/assets"
19
+ end
20
+ end
21
+
22
+ def code_example(code, lang=:ruby)
23
+ "<div class='#{lang}'>" + CodeRay.scan(code, lang).div(:css => :class) + "</div>"
24
+ end
25
+
26
+ def abstractio_home_path
27
+ '/'
28
+ end
29
+
30
+ def features_path
31
+ '/grid.php'
32
+ end
33
+
34
+ def training_path
35
+ '/training.php'
36
+ end
37
+
38
+ def add_ons_path
39
+ '/templates.php'
40
+ end
41
+
42
+ def case_studies_path
43
+ '/case-jacquelinewest.php'
44
+ end
45
+
46
+ def docs_path
47
+ '/docs/'
48
+ end
49
+ end
@@ -0,0 +1,116 @@
1
+
2
+ /* CodeRay Syntax Highlighting Styles to match Github */
3
+ .CodeRay {
4
+ background-color: #eee;
5
+ border: 1px solid #CCC;
6
+ font-family: 'Consolas', 'Liberation Mono', Courier, monospace;
7
+ color: #000;
8
+ padding: .8em 0 .8em .8em;
9
+ margin-bottom: 1.3em;
10
+ overflow: auto;
11
+ }
12
+
13
+ .CodeRay pre {
14
+ margin: 0px;
15
+ font-size: .9em;
16
+ line-height: 1.4em;
17
+ white-space: pre;
18
+ }
19
+
20
+ table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
21
+ table.CodeRay td {
22
+ padding: 1em 0.5em;
23
+ vertical-align: top;
24
+ }
25
+
26
+ .CodeRay .code { width: 100% }
27
+
28
+ .CodeRay .debug { color:white !important; background:blue !important; }
29
+
30
+ .CodeRay .annotation { color:#007 }
31
+ .CodeRay .attribute-name { color:#f08 }
32
+ .CodeRay .attribute-value { color:#700 }
33
+ .CodeRay .binary { color:#509; }
34
+ .CodeRay .comment { color:#998; font-style: italic;}
35
+ .CodeRay .char { color:#04D }
36
+ .CodeRay .char .content { color:#04D }
37
+ .CodeRay .char .delimiter { color:#039 }
38
+ .CodeRay .class { color:#458; }
39
+ .CodeRay .complex { color:#A08; }
40
+ .CodeRay .constant { color:teal; }
41
+ .CodeRay .color { color:#0A0 }
42
+ .CodeRay .class-variable { color:#369 }
43
+ .CodeRay .decorator { color:#B0B; }
44
+ .CodeRay .definition { color:#099; }
45
+ .CodeRay .directive { color:#088; }
46
+ .CodeRay .delimiter { color:black }
47
+ .CodeRay .doc { color:#970 }
48
+ .CodeRay .doctype { color:#34b }
49
+ .CodeRay .doc-string { color:#D42; }
50
+ .CodeRay .escape { color:#666; }
51
+ .CodeRay .entity { color:#800; }
52
+ .CodeRay .error { color: #808; }
53
+ .CodeRay .exception { color:#C00; }
54
+ .CodeRay .filename { color:#099; }
55
+ .CodeRay .function { color:#900; }
56
+ .CodeRay .global-variable { color:teal; }
57
+ .CodeRay .hex { color:#058; }
58
+ .CodeRay .integer { color:#099; }
59
+ .CodeRay .include { color:#B44; }
60
+ .CodeRay .inline { color: black }
61
+ .CodeRay .inline .inline { background: #ccc }
62
+ .CodeRay .inline .inline .inline { background: #bbb }
63
+ .CodeRay .inline .inline-delimiter { color: #D14; }
64
+ .CodeRay .inline-delimiter { color: #D14; }
65
+ .CodeRay .important { color:#f00; }
66
+ .CodeRay .interpreted { color:#B2B; }
67
+ .CodeRay .instance-variable { color:teal }
68
+ .CodeRay .label { color:#970; }
69
+ .CodeRay .local-variable { color:#963 }
70
+ .CodeRay .octal { color:#40E; }
71
+ .CodeRay .predefined { color:#369; }
72
+ .CodeRay .preprocessor { color:#579; }
73
+ .CodeRay .pseudo-class { color:#00C; }
74
+ .CodeRay .predefined-type { color:#074; }
75
+ .CodeRay .reserved, .keyword { color:#000; }
76
+
77
+ .CodeRay .key { color: #808; }
78
+ .CodeRay .key .delimiter { color: #606; }
79
+ .CodeRay .key .char { color: #80f; }
80
+ .CodeRay .value { color: #088; }
81
+
82
+ .CodeRay .regexp { background-color:#fff0ff }
83
+ .CodeRay .regexp .content { color:#808 }
84
+ .CodeRay .regexp .delimiter { color:#404 }
85
+ .CodeRay .regexp .modifier { color:#C2C }
86
+ .CodeRay .regexp .function { color:#404; font-weight: bold }
87
+
88
+ .CodeRay .string { color: #D20; }
89
+ .CodeRay .string .string { }
90
+ .CodeRay .string .string .string { background-color:#ffd0d0 }
91
+ .CodeRay .string .content { color: #D14; }
92
+ .CodeRay .string .char { color: #D14; }
93
+ .CodeRay .string .delimiter { color: #D14; }
94
+
95
+ .CodeRay .shell { color:#D14 }
96
+ .CodeRay .shell .content { }
97
+ .CodeRay .shell .delimiter { color:#D14 }
98
+
99
+ .CodeRay .symbol { color:#990073 }
100
+ .CodeRay .symbol .content { color:#A60 }
101
+ .CodeRay .symbol .delimiter { color:#630 }
102
+
103
+ .CodeRay .tag, .CodeRay .attribute-name { color:#070 }
104
+ .CodeRay .tag-special { color:#D70; }
105
+ .CodeRay .type { color:#339; }
106
+ .CodeRay .variable { color:#036 }
107
+
108
+ .CodeRay .insert { background: #afa; }
109
+ .CodeRay .delete { background: #faa; }
110
+ .CodeRay .change { color: #aaf; background: #007; }
111
+ .CodeRay .head { color: #f8f; background: #505 }
112
+
113
+ .CodeRay .insert .insert { color: #080; }
114
+ .CodeRay .delete .delete { color: #800; }
115
+ .CodeRay .change .change { color: #66f; }
116
+ .CodeRay .head .head { color: #f4f; }
@@ -0,0 +1 @@
1
+ $row-width: 70em;
@@ -0,0 +1,239 @@
1
+ @import "settings";
2
+ @import "abstractio";
3
+ @import "coderay";
4
+
5
+ /* Documentation Overrides */
6
+
7
+ /* Coderay styles */
8
+ .html, .css, .scss, .js { position: relative; }
9
+
10
+ ul, ol, dl { list-style-position: inside; }
11
+
12
+ .CodeRay:before {
13
+ position: absolute;
14
+ top: 6px;
15
+ right: 6px;
16
+ display: block;
17
+ color: #ccc;
18
+ font-size: .75em;
19
+ }
20
+ .html > .CodeRay:before { content: "HTML"; }
21
+ .css > .CodeRay:before { content: "SCSS"; }
22
+ .js > .CodeRay:before { content: "JS"; }
23
+
24
+ /* Docs Footer Styles */
25
+ .row.full-width {
26
+ max-width: 100%;
27
+ }
28
+ footer.row.full-width {
29
+ padding-top: 30px;
30
+ border-top: solid 1px #ddd;
31
+ font-size: 14px;
32
+ }
33
+
34
+ #copyright {
35
+ background: #3f3f3f;
36
+ color: #fff;
37
+ padding: 11px 0;
38
+ margin-top: 30px;
39
+
40
+ a {
41
+ color: #fff;
42
+ font-size: 14px;
43
+ }
44
+
45
+ p,
46
+ ul { margin-bottom: 0; }
47
+ }
48
+
49
+ .docs.header { margin-bottom: 10px; }
50
+ .docs.subheader {
51
+ float: $default-float;
52
+ }
53
+
54
+ .docs.section-container a.active { font-weight: bold; }
55
+
56
+
57
+ /* Alert Docs */
58
+ .alert-base {
59
+ @include alert-base;
60
+
61
+ &.bg { @include alert-style; }
62
+ &.custom-bg { @include alert-style(#ff6c3c); }
63
+ &.radius { @include radius; }
64
+ .close { @include alert-close; }
65
+ }
66
+
67
+ /* Breadcrumb Docs */
68
+ .crumb-container {
69
+ @include crumb-container;
70
+ &.radius { @include radius; }
71
+ &.crumbs li { @include crumbs; }
72
+ }
73
+
74
+ /* Button Docs */
75
+ .buttony.custom { @include button(1.1em, #FF94CB, 20px); }
76
+
77
+ .button-base {
78
+ @include button-base;
79
+ &.size { @include button-size; }
80
+ &.style { @include button-style; }
81
+ &.shine { @include single-transition(background-color); @include radius; @include inset-shadow(); }
82
+ }
83
+
84
+ /* Button Group Docs */
85
+ .button-group-docs {
86
+ @include button-group-container;
87
+ .button-class { @include button; }
88
+ &.list li { @include button-group-style; }
89
+ &.extras {
90
+ li { @include button-group-style(true); }
91
+ .button-class { @include inset-shadow; @include single-transition(background-color); }
92
+ }
93
+ }
94
+
95
+ /* Forms Docs */
96
+ .attached-label {
97
+ @include prefix-postfix-base;
98
+ @include grid-column($columns:3,$float:left);
99
+ &.style { @include prefix; }
100
+ &.custom { @include prefix(orange); }
101
+ }
102
+
103
+ input[type="text"].attached-input {
104
+ @include grid-column($columns:9);
105
+ }
106
+
107
+ /* Dropdown Buttons Docs */
108
+ .customized-dropdown-docs {
109
+ @include button;
110
+ @include dropdown-button;
111
+ @include radius;
112
+ @include single-transition;
113
+ @include inset-shadow;
114
+ }
115
+
116
+ /* Keystroke Docs */
117
+ .custom-keystroke kbd { @include keystroke(orange);}
118
+
119
+ /* Label Docs */
120
+ .label-custom {
121
+ @include label(0 10px,11px,pink,6px);
122
+ }
123
+
124
+ /* Panels Docs */
125
+ .panel-custom { @include panel(pink,40px); }
126
+
127
+ /* Progress Bar Docs */
128
+ .progress-custom {
129
+ @include progress-container;
130
+ @include radius(6px);
131
+ & > span {
132
+ @include progress-meter(pink);
133
+ @include radius(5px);
134
+ }
135
+ }
136
+
137
+ /* Side Nav Docs */
138
+ .side-nav-custom { @include side-nav(darken(orange, 20%),16px,orange); }
139
+
140
+ /* Sub Nav Docs */
141
+ .sub-nav-custom { @include sub-nav(orange,11px,orange); }
142
+
143
+ /* Thumbs Docs */
144
+ .th-custom {
145
+ @include thumb(10px,0 0 0 2px black, 0 0 10px 2px rgba(orange,0.5));
146
+ @include radius(6);
147
+ @include single-transition(all,400ms,ease-in);
148
+ }
149
+
150
+ /* Grid Docs */
151
+ #masthead { @include grid-row; @include panel;
152
+ & > hgroup { @include grid-column(4, $float:$default-float); }
153
+ & > section { @include grid-column(8, $float:$default-float); }
154
+ }
155
+
156
+ /* Switch Docs */
157
+ .switch-custom { @include switch(700ms, ease-in-out, 50px, 18px, 2.6em, #888, lighten(yellow, 30%), lighten(red, 40%)); }
158
+ .switch-custom-base { @include switch-base;
159
+ &.size { @include switch-size; }
160
+ &.style { @include switch-style; }
161
+ }
162
+
163
+ /* ZURBjobs */
164
+ .jobs {
165
+ border: 1px solid #eee;
166
+ padding: 10px 20px 20px;
167
+ font-size: 14px;
168
+ line-height: 1.1;
169
+ ul { list-style: none;
170
+ li { margin-bottom: 10px; }
171
+ }
172
+ .location {
173
+ display: block;
174
+ color: #555;
175
+ }
176
+ }
177
+
178
+ /* Section Docs */
179
+ .section-auto-sample {
180
+ @include section-container($section-type:accordion);
181
+ & > section { @include section($section-type:accordion, $title-selector:".title-sample", $content-selector:".content-sample"); }
182
+
183
+ @media #{$small} {
184
+ @include section-container(false,$section-type:tabs);
185
+ & > section { @include section($section-type:tabs, $title-selector:".title-sample", $content-selector:".content-sample"); }
186
+ }
187
+ }
188
+
189
+ .section-auto-sample-accordion {
190
+ @include section-container($section-type:accordion);
191
+ & > section { @include section($section-type:accordion, $title-selector:".title-sample", $content-selector:".content-sample"); }
192
+ }
193
+
194
+ .section-auto-sample-tabs {
195
+ @include section-container($section-type:tabs);
196
+ & > section { @include section($section-type:tabs, $title-selector:".title-sample", $content-selector:".content-sample"); }
197
+ }
198
+
199
+ .section-auto-sample-vtabs,
200
+ .section-auto-sample-vnav,
201
+ .section-auto-sample-hnav {
202
+ @include section-container($section-type:accordion);
203
+ & > section { @include section($section-type:accordion, $title-selector:".title-sample", $content-selector:".content-sample"); }
204
+ }
205
+
206
+ @media #{$small} {
207
+ .section-auto-sample-vtabs {
208
+ @include section-container($section-type:vertical-tabs);
209
+ & > section { @include section($section-type:vertical-tabs, $title-selector:".title-sample", $content-selector:".content-sample"); }
210
+ }
211
+
212
+ .nav-container { @include grid-row($behavior:nest);
213
+ > nav { @include grid-column($columns:4); }
214
+ }
215
+
216
+ .section-auto-sample-vnav {
217
+ @include section-container($section-type:vertical-nav);
218
+ & > section { @include section($section-type:vertical-nav, $title-selector:".title-sample", $content-selector:".content-sample"); }
219
+ }
220
+
221
+ .section-auto-sample-hnav {
222
+ @include section-container($section-type:horizontal-nav);
223
+ & > section { @include section($section-type:horizontal-nav, $title-selector:".title-sample", $content-selector:".content-sample"); }
224
+ }
225
+
226
+ }
227
+ .section-auto-sample-custom {
228
+ @include section-container($section-type:tabs);
229
+ & > section { @include section($section-type:tabs, $title-selector:".title-sample", $content-selector:".content-sample", $title-padding: 10px 50px, $title-color:#000, $title-bg:pink, $title-bg-hover:darken(pink,5%), $title-bg-active: #fff, $title-color-active: darken(pink,10%)); }
230
+ }
231
+
232
+ @media only screen and (min-width: 800px) {
233
+ .docs.header { float: $default-float; }
234
+
235
+ .docs.subheader {
236
+ margin-top: 38px;
237
+ float: $opposite-direction;
238
+ }
239
+ }