valadocbr-theme 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +48 -0
  4. data/_includes/disqus_comments.html +20 -0
  5. data/_includes/footer.html +4 -0
  6. data/_includes/google-analytics.html +11 -0
  7. data/_includes/head.html +27 -0
  8. data/_includes/header.html +0 -0
  9. data/_includes/icon-github.html +1 -0
  10. data/_includes/icon-github.svg +1 -0
  11. data/_includes/icon-twitter.html +1 -0
  12. data/_includes/icon-twitter.svg +1 -0
  13. data/_layouts/default.html +20 -0
  14. data/_layouts/home.html +18 -0
  15. data/_layouts/page.html +14 -0
  16. data/_layouts/post.html +25 -0
  17. data/_sass/bootstrap/_bootstrap-compass.scss +9 -0
  18. data/_sass/bootstrap/_bootstrap-mincer.scss +19 -0
  19. data/_sass/bootstrap/_bootstrap-sprockets.scss +9 -0
  20. data/_sass/bootstrap/_bootstrap.scss +56 -0
  21. data/_sass/bootstrap/bootstrap/_alerts.scss +73 -0
  22. data/_sass/bootstrap/bootstrap/_badges.scss +68 -0
  23. data/_sass/bootstrap/bootstrap/_breadcrumbs.scss +28 -0
  24. data/_sass/bootstrap/bootstrap/_button-groups.scss +244 -0
  25. data/_sass/bootstrap/bootstrap/_buttons.scss +168 -0
  26. data/_sass/bootstrap/bootstrap/_carousel.scss +270 -0
  27. data/_sass/bootstrap/bootstrap/_close.scss +36 -0
  28. data/_sass/bootstrap/bootstrap/_code.scss +69 -0
  29. data/_sass/bootstrap/bootstrap/_component-animations.scss +37 -0
  30. data/_sass/bootstrap/bootstrap/_dropdowns.scss +216 -0
  31. data/_sass/bootstrap/bootstrap/_forms.scss +617 -0
  32. data/_sass/bootstrap/bootstrap/_glyphicons.scss +307 -0
  33. data/_sass/bootstrap/bootstrap/_grid.scss +84 -0
  34. data/_sass/bootstrap/bootstrap/_input-groups.scss +171 -0
  35. data/_sass/bootstrap/bootstrap/_jumbotron.scss +54 -0
  36. data/_sass/bootstrap/bootstrap/_labels.scss +66 -0
  37. data/_sass/bootstrap/bootstrap/_list-group.scss +130 -0
  38. data/_sass/bootstrap/bootstrap/_media.scss +66 -0
  39. data/_sass/bootstrap/bootstrap/_mixins.scss +40 -0
  40. data/_sass/bootstrap/bootstrap/_modals.scss +150 -0
  41. data/_sass/bootstrap/bootstrap/_navbar.scss +662 -0
  42. data/_sass/bootstrap/bootstrap/_navs.scss +242 -0
  43. data/_sass/bootstrap/bootstrap/_normalize.scss +424 -0
  44. data/_sass/bootstrap/bootstrap/_pager.scss +54 -0
  45. data/_sass/bootstrap/bootstrap/_pagination.scss +89 -0
  46. data/_sass/bootstrap/bootstrap/_panels.scss +271 -0
  47. data/_sass/bootstrap/bootstrap/_popovers.scss +131 -0
  48. data/_sass/bootstrap/bootstrap/_print.scss +101 -0
  49. data/_sass/bootstrap/bootstrap/_progress-bars.scss +87 -0
  50. data/_sass/bootstrap/bootstrap/_responsive-embed.scss +35 -0
  51. data/_sass/bootstrap/bootstrap/_responsive-utilities.scss +179 -0
  52. data/_sass/bootstrap/bootstrap/_scaffolding.scss +161 -0
  53. data/_sass/bootstrap/bootstrap/_tables.scss +234 -0
  54. data/_sass/bootstrap/bootstrap/_theme.scss +291 -0
  55. data/_sass/bootstrap/bootstrap/_thumbnails.scss +38 -0
  56. data/_sass/bootstrap/bootstrap/_tooltip.scss +101 -0
  57. data/_sass/bootstrap/bootstrap/_type.scss +298 -0
  58. data/_sass/bootstrap/bootstrap/_utilities.scss +55 -0
  59. data/_sass/bootstrap/bootstrap/_variables.scss +874 -0
  60. data/_sass/bootstrap/bootstrap/_wells.scss +29 -0
  61. data/_sass/bootstrap/bootstrap/mixins/_alerts.scss +14 -0
  62. data/_sass/bootstrap/bootstrap/mixins/_background-variant.scss +12 -0
  63. data/_sass/bootstrap/bootstrap/mixins/_border-radius.scss +18 -0
  64. data/_sass/bootstrap/bootstrap/mixins/_buttons.scss +65 -0
  65. data/_sass/bootstrap/bootstrap/mixins/_center-block.scss +7 -0
  66. data/_sass/bootstrap/bootstrap/mixins/_clearfix.scss +22 -0
  67. data/_sass/bootstrap/bootstrap/mixins/_forms.scss +88 -0
  68. data/_sass/bootstrap/bootstrap/mixins/_gradients.scss +58 -0
  69. data/_sass/bootstrap/bootstrap/mixins/_grid-framework.scss +81 -0
  70. data/_sass/bootstrap/bootstrap/mixins/_grid.scss +122 -0
  71. data/_sass/bootstrap/bootstrap/mixins/_hide-text.scss +21 -0
  72. data/_sass/bootstrap/bootstrap/mixins/_image.scss +33 -0
  73. data/_sass/bootstrap/bootstrap/mixins/_labels.scss +12 -0
  74. data/_sass/bootstrap/bootstrap/mixins/_list-group.scss +32 -0
  75. data/_sass/bootstrap/bootstrap/mixins/_nav-divider.scss +10 -0
  76. data/_sass/bootstrap/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  77. data/_sass/bootstrap/bootstrap/mixins/_opacity.scss +8 -0
  78. data/_sass/bootstrap/bootstrap/mixins/_pagination.scss +24 -0
  79. data/_sass/bootstrap/bootstrap/mixins/_panels.scss +24 -0
  80. data/_sass/bootstrap/bootstrap/mixins/_progress-bar.scss +10 -0
  81. data/_sass/bootstrap/bootstrap/mixins/_reset-filter.scss +8 -0
  82. data/_sass/bootstrap/bootstrap/mixins/_reset-text.scss +18 -0
  83. data/_sass/bootstrap/bootstrap/mixins/_resize.scss +6 -0
  84. data/_sass/bootstrap/bootstrap/mixins/_responsive-visibility.scss +21 -0
  85. data/_sass/bootstrap/bootstrap/mixins/_size.scss +10 -0
  86. data/_sass/bootstrap/bootstrap/mixins/_tab-focus.scss +9 -0
  87. data/_sass/bootstrap/bootstrap/mixins/_table-row.scss +28 -0
  88. data/_sass/bootstrap/bootstrap/mixins/_text-emphasis.scss +12 -0
  89. data/_sass/bootstrap/bootstrap/mixins/_text-overflow.scss +8 -0
  90. data/_sass/bootstrap/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  91. data/_sass/elementary.scss +82 -0
  92. data/_sass/font-awesome/_animated.scss +34 -0
  93. data/_sass/font-awesome/_bordered-pulled.scss +25 -0
  94. data/_sass/font-awesome/_core.scss +12 -0
  95. data/_sass/font-awesome/_fixed-width.scss +6 -0
  96. data/_sass/font-awesome/_icons.scss +789 -0
  97. data/_sass/font-awesome/_larger.scss +13 -0
  98. data/_sass/font-awesome/_list.scss +19 -0
  99. data/_sass/font-awesome/_mixins.scss +60 -0
  100. data/_sass/font-awesome/_path.scss +15 -0
  101. data/_sass/font-awesome/_rotated-flipped.scss +20 -0
  102. data/_sass/font-awesome/_screen-reader.scss +5 -0
  103. data/_sass/font-awesome/_stacked.scss +20 -0
  104. data/_sass/font-awesome/_variables.scss +800 -0
  105. data/_sass/font-awesome/font-awesome.scss +18 -0
  106. data/assets/css/main.scss +12 -0
  107. data/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  108. data/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
  109. data/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  110. data/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  111. data/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  112. data/assets/fonts/font-awesome/FontAwesome.otf +0 -0
  113. data/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
  114. data/assets/fonts/font-awesome/fontawesome-webfont.svg +2671 -0
  115. data/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
  116. data/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
  117. data/assets/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
  118. data/assets/js/bootstrap.min.js +7 -0
  119. data/assets/js/fontawesome.js +18 -0
  120. data/assets/js/jquery.min.js +4 -0
  121. data/assets/js/script.js +13 -0
  122. metadata +206 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 589ab4d68253054aa271a58b9d3a2d23a1e1f8d3
4
+ data.tar.gz: 6a82ec95e2f3fb8442677bb35cbd2198ae774644
5
+ SHA512:
6
+ metadata.gz: d96570c9357e75df8d297ad8c586d29e466e29de5b048c1c7ca0862134b8db84734146461c7f34be32c2e01d40dd79ab21de169a72a6f57e4316f31572702f8f
7
+ data.tar.gz: 252654704add0f870690f556aac483d9fc3238e5e13e94cd8e2d1809406dd296c3a5a6cbb2a2fd6426949dddafa3fb3d12214642ab0379f13e93709584e5841e
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Fernando da Silva Sousa
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # valadocbr-theme
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's `Gemfile`:
10
+
11
+ ```ruby
12
+ gem "valadocbr-theme"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: valadocbr-theme
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install valadocbr-theme
28
+
29
+ ## Usage
30
+
31
+ TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/valadoc-br/valadocbr-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## Development
38
+
39
+ To set up your environment to develop this theme, run `bundle install`.
40
+
41
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
42
+
43
+ When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
44
+
45
+ ## License
46
+
47
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
48
+
@@ -0,0 +1,20 @@
1
+ {% if page.comments != false and jekyll.environment == "production" %}
2
+
3
+ <div id="disqus_thread"></div>
4
+ <script>
5
+ var disqus_config = function () {
6
+ this.page.url = '{{ page.url | absolute_url }}';
7
+ this.page.identifier = '{{ page.url | absolute_url }}';
8
+ };
9
+
10
+ (function() {
11
+ var d = document, s = d.createElement('script');
12
+
13
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14
+
15
+ s.setAttribute('data-timestamp', +new Date());
16
+ (d.head || d.body).appendChild(s);
17
+ })();
18
+ </script>
19
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
+ {% endif %}
@@ -0,0 +1,4 @@
1
+ <footer class="navbar-fixed-bottom center">
2
+ Copyright © 2017 <a href="/" class="retirar-undeline">Valadoc Brasil</a> | Este site é mantido pela <a href="https://www.elementary-br.org" class="retirar-undeline">comunidade brasileira do elementary OS</a> | licença <a href="https://github.com/valadoc-br/valadoc-br.github.io/blob/master/LICENSE" target="_blank" class="retirar-undeline">GPL3</a> |
3
+ <a href="https://github.com/valadoc-br/valadoc-br.github.io/issues" target="_blank" class="retirar-undeline">Reportar Bug <i class="fa fa-bug"></i></a>
4
+ <br><span style="margin-top: -10;"></a>
@@ -0,0 +1,11 @@
1
+ <script>
2
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6
+
7
+ ga('create', '{{ site.google_analytics }}', 'auto');
8
+ ga('send', 'pageview');
9
+
10
+ </script>
11
+
@@ -0,0 +1,27 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7
+ <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
8
+ <link rel="shortcut icon" href="{{ "assets/img/favicon.ico" | relative_url }}">
9
+ <link rel="apple-touch-icon" href="{{ "assets/img/favicon.png" | relative_url }}">
10
+
11
+ <!-- Google Icons / Fonts -->
12
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400|Droid+Serif:400|Roboto+Mono:400,500,700,400italic">
13
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
14
+ <!-- Google Icons / Fonts -->
15
+
16
+ <!-- Jquery / Bootstrap -->
17
+ <script src="{{ "assets/js/jquery.min.js" | relative_url }} "></script>
18
+ <script src="{{ "assets/js/bootstrap.min.js" | relative_url }}"></script>
19
+
20
+ <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
21
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
22
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
23
+
24
+ {% if jekyll.environment == 'production' and site.google_analytics %}
25
+ {% include google-analytics.html %}
26
+ {% endif %}
27
+ </head>
File without changes
@@ -0,0 +1 @@
1
+ <a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
@@ -0,0 +1 @@
1
+ <a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {% include header.html %}
9
+
10
+ <main class="page-content" aria-label="Content">
11
+ <div class="wrapper">
12
+ {{ content }}
13
+ </div>
14
+ </main>
15
+
16
+ {% include footer.html %}
17
+
18
+ </body>
19
+
20
+ </html>
@@ -0,0 +1,18 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ <main class="page-content" aria-label="Content">
9
+ <div class="wrapper">
10
+ {{ content }}
11
+ </div>
12
+ </main>
13
+
14
+ {% include footer.html %}
15
+
16
+ </body>
17
+
18
+ </html>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title">{{ page.title | escape }}</h1>
8
+ </header>
9
+
10
+ <div class="post-content">
11
+ {{ content }}
12
+ </div>
13
+
14
+ </article>
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
8
+ <p class="post-meta">
9
+ <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
10
+ {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
11
+ {{ page.date | date: date_format }}
12
+ </time>
13
+ {% if page.author %}
14
+ • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
15
+ {% endif %}</p>
16
+ </header>
17
+
18
+ <div class="post-content" itemprop="articleBody">
19
+ {{ content }}
20
+ </div>
21
+
22
+ {% if site.disqus.shortname %}
23
+ {% include disqus_comments.html %}
24
+ {% endif %}
25
+ </article>
@@ -0,0 +1,9 @@
1
+ @function twbs-font-path($path) {
2
+ @return font-url($path, true);
3
+ }
4
+
5
+ @function twbs-image-path($path) {
6
+ @return image-url($path, true);
7
+ }
8
+
9
+ $bootstrap-sass-asset-helper: true;
@@ -0,0 +1,19 @@
1
+ // Mincer asset helper functions
2
+ //
3
+ // This must be imported into a .css.ejs.scss file.
4
+ // Then, <% %>-interpolations will be parsed as strings by Sass, and evaluated by EJS after Sass compilation.
5
+
6
+
7
+ @function twbs-font-path($path) {
8
+ // do something like following
9
+ // from "path/to/font.ext#suffix" to "<%- asset_path(path/to/font.ext)) + #suffix %>"
10
+ // from "path/to/font.ext?#suffix" to "<%- asset_path(path/to/font.ext)) + ?#suffix %>"
11
+ // or from "path/to/font.ext" just "<%- asset_path(path/to/font.ext)) %>"
12
+ @return "<%- asset_path("#{$path}".replace(/[#?].*$/, '')) + "#{$path}".replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>";
13
+ }
14
+
15
+ @function twbs-image-path($file) {
16
+ @return "<%- asset_path("#{$file}") %>";
17
+ }
18
+
19
+ $bootstrap-sass-asset-helper: true;
@@ -0,0 +1,9 @@
1
+ @function twbs-font-path($path) {
2
+ @return font-path($path);
3
+ }
4
+
5
+ @function twbs-image-path($path) {
6
+ @return image-path($path);
7
+ }
8
+
9
+ $bootstrap-sass-asset-helper: true;
@@ -0,0 +1,56 @@
1
+ /*!
2
+ * Bootstrap v3.3.7 (http://getbootstrap.com)
3
+ * Copyright 2011-2016 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
7
+ // Core variables and mixins
8
+ @import "bootstrap/variables";
9
+ @import "bootstrap/mixins";
10
+
11
+ // Reset and dependencies
12
+ @import "bootstrap/normalize";
13
+ @import "bootstrap/print";
14
+ @import "bootstrap/glyphicons";
15
+
16
+ // Core CSS
17
+ @import "bootstrap/scaffolding";
18
+ @import "bootstrap/type";
19
+ @import "bootstrap/code";
20
+ @import "bootstrap/grid";
21
+ @import "bootstrap/tables";
22
+ @import "bootstrap/forms";
23
+ @import "bootstrap/buttons";
24
+
25
+ // Components
26
+ @import "bootstrap/component-animations";
27
+ @import "bootstrap/dropdowns";
28
+ @import "bootstrap/button-groups";
29
+ @import "bootstrap/input-groups";
30
+ @import "bootstrap/navs";
31
+ @import "bootstrap/navbar";
32
+ @import "bootstrap/breadcrumbs";
33
+ @import "bootstrap/pagination";
34
+ @import "bootstrap/pager";
35
+ @import "bootstrap/labels";
36
+ @import "bootstrap/badges";
37
+ @import "bootstrap/jumbotron";
38
+ @import "bootstrap/thumbnails";
39
+ @import "bootstrap/alerts";
40
+ @import "bootstrap/progress-bars";
41
+ @import "bootstrap/media";
42
+ @import "bootstrap/list-group";
43
+ @import "bootstrap/panels";
44
+ @import "bootstrap/responsive-embed";
45
+ @import "bootstrap/wells";
46
+ @import "bootstrap/close";
47
+
48
+ // Components w/ JavaScript
49
+ @import "bootstrap/modals";
50
+ @import "bootstrap/tooltip";
51
+ @import "bootstrap/popovers";
52
+ @import "bootstrap/carousel";
53
+
54
+ // Utility classes
55
+ @import "bootstrap/utilities";
56
+ @import "bootstrap/responsive-utilities";
@@ -0,0 +1,73 @@
1
+ //
2
+ // Alerts
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base styles
7
+ // -------------------------
8
+
9
+ .alert {
10
+ padding: $alert-padding;
11
+ margin-bottom: $line-height-computed;
12
+ border: 1px solid transparent;
13
+ border-radius: $alert-border-radius;
14
+
15
+ // Headings for larger alerts
16
+ h4 {
17
+ margin-top: 0;
18
+ // Specified for the h4 to prevent conflicts of changing $headings-color
19
+ color: inherit;
20
+ }
21
+
22
+ // Provide class for links that match alerts
23
+ .alert-link {
24
+ font-weight: $alert-link-font-weight;
25
+ }
26
+
27
+ // Improve alignment and spacing of inner content
28
+ > p,
29
+ > ul {
30
+ margin-bottom: 0;
31
+ }
32
+
33
+ > p + p {
34
+ margin-top: 5px;
35
+ }
36
+ }
37
+
38
+ // Dismissible alerts
39
+ //
40
+ // Expand the right padding and account for the close button's positioning.
41
+
42
+ .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
43
+ .alert-dismissible {
44
+ padding-right: ($alert-padding + 20);
45
+
46
+ // Adjust close link position
47
+ .close {
48
+ position: relative;
49
+ top: -2px;
50
+ right: -21px;
51
+ color: inherit;
52
+ }
53
+ }
54
+
55
+ // Alternate styles
56
+ //
57
+ // Generate contextual modifier classes for colorizing the alert.
58
+
59
+ .alert-success {
60
+ @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
61
+ }
62
+
63
+ .alert-info {
64
+ @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
65
+ }
66
+
67
+ .alert-warning {
68
+ @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
69
+ }
70
+
71
+ .alert-danger {
72
+ @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
73
+ }
@@ -0,0 +1,68 @@
1
+ //
2
+ // Badges
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base class
7
+ .badge {
8
+ display: inline-block;
9
+ min-width: 10px;
10
+ padding: 3px 7px;
11
+ font-size: $font-size-small;
12
+ font-weight: $badge-font-weight;
13
+ color: $badge-color;
14
+ line-height: $badge-line-height;
15
+ vertical-align: middle;
16
+ white-space: nowrap;
17
+ text-align: center;
18
+ background-color: $badge-bg;
19
+ border-radius: $badge-border-radius;
20
+
21
+ // Empty badges collapse automatically (not available in IE8)
22
+ &:empty {
23
+ display: none;
24
+ }
25
+
26
+ // Quick fix for badges in buttons
27
+ .btn & {
28
+ position: relative;
29
+ top: -1px;
30
+ }
31
+
32
+ .btn-xs &,
33
+ .btn-group-xs > .btn & {
34
+ top: 0;
35
+ padding: 1px 5px;
36
+ }
37
+
38
+ // [converter] extracted a& to a.badge
39
+
40
+ // Account for badges in navs
41
+ .list-group-item.active > &,
42
+ .nav-pills > .active > a > & {
43
+ color: $badge-active-color;
44
+ background-color: $badge-active-bg;
45
+ }
46
+
47
+ .list-group-item > & {
48
+ float: right;
49
+ }
50
+
51
+ .list-group-item > & + & {
52
+ margin-right: 5px;
53
+ }
54
+
55
+ .nav-pills > li > a > & {
56
+ margin-left: 3px;
57
+ }
58
+ }
59
+
60
+ // Hover state, but only for links
61
+ a.badge {
62
+ &:hover,
63
+ &:focus {
64
+ color: $badge-link-hover-color;
65
+ text-decoration: none;
66
+ cursor: pointer;
67
+ }
68
+ }
@@ -0,0 +1,28 @@
1
+ //
2
+ // Breadcrumbs
3
+ // --------------------------------------------------
4
+
5
+
6
+ .breadcrumb {
7
+ padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal;
8
+ margin-bottom: $line-height-computed;
9
+ list-style: none;
10
+ background-color: $breadcrumb-bg;
11
+ border-radius: $border-radius-base;
12
+
13
+ > li {
14
+ display: inline-block;
15
+
16
+ + li:before {
17
+ // [converter] Workaround for https://github.com/sass/libsass/issues/1115
18
+ $nbsp: "\00a0";
19
+ content: "#{$breadcrumb-separator}#{$nbsp}"; // Unicode space added since inline-block means non-collapsing white-space
20
+ padding: 0 5px;
21
+ color: $breadcrumb-color;
22
+ }
23
+ }
24
+
25
+ > .active {
26
+ color: $breadcrumb-active-color;
27
+ }
28
+ }