+
-
+
+
+
+
+
+ <% location.getProperty('hours').forEach(function(interval) { %>
+ <%
+ var dates = moment.range(interval).toDate();
+ var startDate = moment(dates[0]);
+ var endDate = moment(dates[1]);
+ %>
+ -
+ <%if ( startDate.isSame(new Date(), 'days') ) { %>
+
+ <% } %>
+ <%= startDate.format('MMM Do, h:mma') %> - <%= endDate.format('h:mma') %>
+ <%if ( startDate.isSame(new Date(), 'days') ) { %>
+
+ <% } %>
+
+ <% }) %>
+
+
-
- <% location.getProperty('hours').forEach(function(interval) { %>
- <%
- var dates = moment.range(interval).toDate();
- var startDate = moment(dates[0]);
- var endDate = moment(dates[1]);
- %>
- -
- <%if ( startDate.isSame(new Date(), 'days') ) { %>
-
- <% } %>
- <%= startDate.format('MMM Do, h:mma') %> - <%= endDate.format('h:mma') %>
- <%if ( startDate.isSame(new Date(), 'days') ) { %>
-
- <% } %>
-
- <% }) %>
-
+
+
diff --git a/app/styles/_navbar.scss b/app/styles/_navbar.scss
index 4b0b359..d91f50a 100644
--- a/app/styles/_navbar.scss
+++ b/app/styles/_navbar.scss
@@ -28,6 +28,6 @@ main {
}
}
-.voting-result {
+.navigation-result {
display: none;
}
diff --git a/app/styles/_tabs.scss b/app/styles/_tabs.scss
index 28c9e83..bf7c552 100644
--- a/app/styles/_tabs.scss
+++ b/app/styles/_tabs.scss
@@ -31,6 +31,11 @@
padding-bottom: 3rem;
}
+.early-voting-location-details .cambridge-tabs {
+ padding: 0;
+ text-align: center;
+}
+
// The :target pseudo selector in CSS matches when the hash in the URL and the id of an element are the same.
#election-day, #early-voting {
display: none;
diff --git a/app/styles/main.scss b/app/styles/main.scss
index 7cc9441..0da1d1d 100644
--- a/app/styles/main.scss
+++ b/app/styles/main.scss
@@ -53,11 +53,11 @@ main > .row {
}
}
-#directions-link, #view_directions{
+#directions-link, #view-directions{
// display:inline-block;
font-size: 1em;
}
-#view_directions {
+#view-directions {
margin-right: 8px;
}
@@ -226,7 +226,7 @@ main > .row {
@media (min-width: $screen-sm) {
#streetview { display: none; }
- #view_directions{ display: none; }
+ #view-directions{ display: none; }
}
@media (max-width: $screen-xs) {