va_common 0.3.3 → 0.3.4

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: 24b5e3e5cf54c3312067db5876f88cb87cda3717
4
- data.tar.gz: 7f22c91152fca0ad4a0cd63bd192633444cdcfee
3
+ metadata.gz: 654e8b4611a707770dd20198e72aa2717e02f1aa
4
+ data.tar.gz: 0e014a8a96f7e34f31c2758e119f1796bb359a10
5
5
  SHA512:
6
- metadata.gz: dfb414d373c47225cd8ea9c652000047f233d894395a9537641acaf148d0d4d67889632f354d576977ae8aad36b189e1f0b3d9cc91fd2360928097ddaa5f1657
7
- data.tar.gz: 6c3fb535be3b9e914e874064394b7dd7ceacf55399953671cc43ce50d462dba22721f23f4154ff69e1435dbf63cb645559ad968e24013a7dead4dc1aefad5327
6
+ metadata.gz: 443d8b94e831c7fa0dfdec69bf81bf159ab33c93dcd5e579892dd52ea1f8a643bb357daba66c0d49feca9c732516b206952e8bf9e3c4370457083f5c881343a1
7
+ data.tar.gz: def8a6dccb467326a01a7dfaa980d6d6bca0a544cb9dd21a3eda3ef061297b77b9fd4b71368831fc8507929f693e31591d1f3a7f5d6c4a50d8fe4ae3da120860
@@ -1,6 +1,6 @@
1
1
  ;(function ($, window, document, undefined) {
2
2
  'use strict';
3
-
3
+
4
4
  Foundation.libs.reveal = {
5
5
  name : 'reveal',
6
6
 
@@ -49,45 +49,44 @@ body, body.home {
49
49
  ul li:before {
50
50
  content:none;
51
51
  }
52
-
53
52
  #content ul.breadcrumbs li.active {
54
53
  margin: 0em;
55
54
  }
56
55
 
57
-
58
- // Search
59
-
60
- .overlay {
56
+ #mobile-menu.overlay {
61
57
  z-index: 10000;
62
58
  }
63
59
 
60
+ #mobile-menu.reveal-modal {
61
+ padding: 0;
62
+ }
63
+
64
64
  .reveal-modal #search_form {
65
65
  margin-bottom: 1em;
66
- }
66
+ }
67
67
 
68
- .reveal-modal .close-reveal-modal {
68
+ #trigger-overlay-button button {
69
69
  font-size: 1em;
70
- clear: both;
71
- text-decoration: none;
72
- color: $color-gray-dark;
73
- text-align: center;
74
- margin: 1em 0;
75
- position: relative;
76
- top: auto;
77
- display: block;
78
- padding: 1em 0;
79
- right: auto;
80
- width: 100%;
81
- bottom: auto;
70
+ padding: .5em;
71
+ }
72
+
73
+ button#overlay-close-button {
74
+ border-radius: 0;
75
+ display: block;
76
+ width: 100% !important;
77
+ margin: 0;
78
+ width: auto;
79
+ background: #0071bc;
80
+ color: #fff;
82
81
  }
83
82
 
84
83
  #search_form input[type="submit"] {
85
84
  font-size: 1em;
86
85
  max-height: 2.65em;
87
86
  }
88
-
89
87
  // end gem specific
90
88
 
89
+
91
90
  // row
92
91
  body .row.full {
93
92
  width: 100%;
@@ -143,7 +143,9 @@ UserVoice.push(['autoprompt', {}]);
143
143
 
144
144
  </script>
145
145
 
146
-
146
+ <script>
147
+ $(document).foundation();
148
+ </script>
147
149
  <!--
148
150
  "To care for him who shall have borne the battle and for his widow, and his orphan."
149
151
  - Abraham Lincoln
@@ -15,13 +15,10 @@
15
15
  new WOW().init();
16
16
  </script>
17
17
 
18
-
19
18
  <!--[if lt IE 9]>
20
19
  <%= javascript_include_tag 'html5shiv' %>
21
20
  <![endif]-->
22
21
 
23
-
24
-
25
22
  <!-- Icons -->
26
23
  <link href="/assets/images/design/icons/apple-touch-icon.png" rel="apple-touch-icon-precomposed" />
27
24
  <link href="/assets/images/design/icons/apple-touch-icon-72x72.png" rel="apple-touch-icon-precomposed" sizes="72x72" />
@@ -42,10 +39,7 @@
42
39
  <script src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=VA" id="_fed_an_ua_tag"></script>
43
40
 
44
41
  </head>
45
- <body class="{{ page.body_class }}">
46
-
47
- <a class="show-on-focus" href="#content">Skip to Content</a>
48
-
42
+ <body>
49
43
 
50
44
  <div class="header">
51
45
  <div data-alert class="alert-box notice">
@@ -63,30 +57,47 @@
63
57
  </div>
64
58
 
65
59
  <!-- Mobile search button -->
66
- <div class="hide-for-medium-up search-button">
67
- <button id="trigger-overlay" type="button" class="usa-button usa-button-outline-inverse" aria-controls="mobile-menu" aria-flowto="mobile-menu">Search</button>
60
+ <div class="hide-for-medium-up search-button" id="trigger-overlay-button">
61
+ <button type="button" data-reveal-id="mobile-menu" class="usa-button usa-button-outline-inverse" aria-hidden="true">Search</button>
68
62
  </div>
69
63
 
70
- <div id="mobile-menu" class="overlay overlay-fullscreen" role="dialog">
71
- <div class="medium-5 medium-offset-3 text-right columns">
72
- <button type="button" class="overlay-close" aria-label="close search form - mobile only">Close</button>
73
- <div class="menu">
74
- <form accept-charset="UTF-8" action="https://search.usa.gov/search" id="search_form" method="get">
75
- <div style="margin:0;padding:0;display:inline">
76
- <input name="utf8" type="hidden" value="&#x2713;" /></div>
77
- <input id="affiliate" name="affiliate" type="hidden" value="vets.gov_staging" />
78
- <label for="mobile-query">Search:</label>
79
- <div class="row collapse">
80
- <div class="small-9 columns">
81
- <input autocomplete="off" class="usagov-search-autocomplete" id="mobile-query" name="query" type="text" />
82
- </div>
83
- <div class="small-3 columns">
84
- <input name="commit" type="submit" value="Search" />
85
- </div>
64
+ <div id="mobile-menu" class="reveal-modal overlay overlay-fullscreen" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog" data-options="close_on_background_click:false">
65
+ <button type="usa-button" id="overlay-close-button" class="overlay-close close-reveal-modal" aria-label="Close">Close</button>
66
+
67
+ <div class="menu">
68
+ <form accept-charset="UTF-8" action="https://search.usa.gov/search" id="search_form" method="get">
69
+ <div style="margin:0;padding:0;display:inline">
70
+ <input name="utf8" type="hidden" value="&#x2713;" /></div>
71
+ <input id="affiliate" name="affiliate" type="hidden" value="vets.gov_staging" />
72
+ <label for="mobile-query">Search:</label>
73
+ <div class="row collapse">
74
+ <div class="small-9 columns">
75
+ <input autocomplete="off" class="usagov-search-autocomplete" id="mobile-query" name="query" type="text" />
86
76
  </div>
87
- </form>
88
- </div>
77
+ <div class="small-3 columns">
78
+ <input name="commit" type="submit" value="Search" />
79
+ </div>
80
+ </div>
81
+ </form>
89
82
  </div>
90
83
  </div>
84
+
85
+ <div class="medium-5 medium-offset-3 text-right columns show-for-medium-up">
86
+ <form accept-charset="UTF-8" action="https://search.usa.gov/search" id="search_form" method="get">
87
+ <div style="margin:0;padding:0;display:inline">
88
+ <input name="utf8" type="hidden" value="&#x2713;" />
89
+ </div>
90
+ <input id="affiliate" name="affiliate" type="hidden" value="vets.gov_staging" />
91
+ <label for="query">Search:</label>
92
+ <div class="row collapse">
93
+ <div class="small-9 columns">
94
+ <input autocomplete="off" class="usagov-search-autocomplete" id="query" name="query" type="text" />
95
+ </div>
96
+ <div class="small-3 columns">
97
+ <input name="commit" type="submit" value="Search" />
98
+ </div>
99
+ </div>
100
+ </form>
101
+ </div>
91
102
  </div>
92
- </div>
103
+ </div>
@@ -1,3 +1,3 @@
1
1
  module VaCommon
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: va_common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emily Wright-Moore