guides_style_18f 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 248853b675ee3576d3db1ae85b80735a388eee24
4
- data.tar.gz: 1b6e7b6b83a74a56319ba22da50d82df0373f0b0
3
+ metadata.gz: 6109c598e9fbec11157823f69d28180406e0040c
4
+ data.tar.gz: a31b047bc890e7c14259e48ea17b27d268bfedb8
5
5
  SHA512:
6
- metadata.gz: 4616a3aad89f83b5c377ab8268a3368b70bbf7af7e3282573c9a2b19f6d6a4a0c5502d45e4b0a7905c8f66f49b59cd54416b67bfc464a265438570167a6294b9
7
- data.tar.gz: e00c37a7450347550c6e99215dffa9b8d574cbd9dc580a5bb6cb21888713d6092b92f41b3d0dfdd14a14f5c43b6c332ca8bc9375b2cb83482f7b427a6cd1e4ff
6
+ metadata.gz: 4c6583f0d4503eaa1b66a42981a30ccf5a3d84c96bd34cbe8427ca9d563bcd12a25a836d55ca87ad275fbf4c53f870f36b45eb3b0fd148b3f4efe89f16ddffda
7
+ data.tar.gz: b2433ce14e148f39bbafe75a737395932512b7af751d6a57ad487955ca1bfd08b72ac58758284d4516b508749415e1df38f48934969c875ffe0fa90b0957334e
@@ -10,9 +10,16 @@ $(function() {
10
10
  'https://docs.google.com',
11
11
  'https://drive.google.com',
12
12
  'https://github.com/18F/Accessibility_Reviews',
13
+ 'https://github.com/18F/blog-drafts',
14
+ 'https://github.com/18F/codereviews',
13
15
  'https://github.com/18F/DevOps',
14
16
  'https://github.com/18F/handbook',
15
- 'https://github.com/18F/writing-lab'
17
+ 'https://github.com/18F/Infrastructure',
18
+ 'https://github.com/18F/staffing-and-resources',
19
+ 'https://github.com/18F/team-api.18f.gov',
20
+ 'https://github.com/18F/writing-lab',
21
+ 'https://gsa.my.salesforce.com',
22
+ 'https://insite.gsa.gov'
16
23
  ]
17
24
  });
18
25
  });
@@ -0,0 +1,24 @@
1
+ // https://github.com/18F/private-eye
2
+ (function() {
3
+ 'use strict';
4
+
5
+ var PrivateEye = function(opts) {
6
+ var styles = document.createElement('style');
7
+ styles.innerHTML = 'a.private-link::after { content: "\\1F512"; font-size: 0.75em; vertical-align: top; }';
8
+ document.body.appendChild(styles);
9
+
10
+ opts.ignoreUrls.forEach(function(url) {
11
+ var anchors = document.querySelectorAll('a[href*="' + url + '"]');
12
+ Array.prototype.forEach.call(anchors, function(anchor) {
13
+ anchor.className += ' private-link';
14
+ anchor.title = "This is a link to a private site, which may or may not be accessible to you.";
15
+ });
16
+ });
17
+ };
18
+
19
+ if (typeof module === 'object' && typeof module.exports === 'object') {
20
+ module.exports = PrivateEye;
21
+ } else {
22
+ window.PrivateEye = PrivateEye;
23
+ }
24
+ })();
@@ -3,6 +3,7 @@
3
3
  <meta charset="utf-8">
4
4
  <title>{{ page.title }} - {{ site.name }}</title>
5
5
  <meta name="viewport" content="width=device-width">
6
+ <!-- If any of the file paths after guides_style_18f_asset_root change, the old ones need to stay in place. See https://github.com/18F/pages-server/issues/55 for more information. -->
6
7
  <link rel="shortcut icon" type="image/ico" href="{% guides_style_18f_asset_root %}/assets/favicons/favicon.ico" />
7
8
  <link rel="icon" type="image/png" href="{% guides_style_18f_asset_root %}/assets/favicons/favicon.png" />
8
9
  <link rel="apple-touch-icon-precomposed" href="{% guides_style_18f_asset_root %}/assets/favicons/18f-center-57.png" />
@@ -1,3 +1,4 @@
1
+ <!-- If any of the file paths after guides_style_18f_asset_root change, the old ones need to stay in place. See https://github.com/18F/pages-server/issues/55 for more information. -->
1
2
  <script src="{% guides_style_18f_asset_root %}/assets/js/vendor/jquery-1.11.2.min.js"></script>
2
3
  <script src="{% guides_style_18f_asset_root %}/assets/js/accordion.js"></script>
3
4
  <script src="{% guides_style_18f_asset_root %}/assets/js/vendor/private-eye-1.1.0.js"></script>
@@ -1,5 +1,5 @@
1
1
  # @author Mike Bland (michael.bland@gsa.gov)
2
2
 
3
3
  module GuidesStyle18F
4
- VERSION = '0.4.4'
4
+ VERSION = '0.4.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guides_style_18f
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Bland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-31 00:00:00.000000000 Z
11
+ date: 2016-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -207,6 +207,7 @@ files:
207
207
  - assets/js/respond.js
208
208
  - assets/js/vendor/anchor.min.js
209
209
  - assets/js/vendor/jquery-1.11.2.min.js
210
+ - assets/js/vendor/private-eye-1.0.0.js
210
211
  - assets/js/vendor/private-eye-1.1.0.js
211
212
  - lib/guides_style_18f.rb
212
213
  - lib/guides_style_18f/assets.rb