trusty-festivity-extension 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +33 -0
- data/README.md +2 -0
- data/Rakefile +110 -0
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/images/pct-black.png +0 -0
- data/app/assets/images/skins/pghkids/footer.png +0 -0
- data/app/assets/images/skins/pghkids/footer_mobile.png +0 -0
- data/app/assets/images/skins/pghkids/frog.png +0 -0
- data/app/assets/images/skins/pghkids/frog_mobile.png +0 -0
- data/app/assets/images/skins/pghkids/header.png +0 -0
- data/app/assets/images/skins/pghkids/header_mobile.png +0 -0
- data/app/assets/images/skins/pghkids/seafoam.jpg +0 -0
- data/app/assets/javascripts/admin/festivity_admin.js +22 -0
- data/app/assets/javascripts/admin/pages/ajax_image_uploader.js +29 -0
- data/app/assets/javascripts/admin/pages/page_bindings.js +94 -0
- data/app/assets/javascripts/admin/pages/performances.js +59 -0
- data/app/assets/javascripts/admin/sites/categories.js +74 -0
- data/app/assets/javascripts/admin/sites/category_types.js +63 -0
- data/app/assets/javascripts/admin/sites/site_bindings.js +4 -0
- data/app/assets/javascripts/ajaxupload.js +1 -0
- data/app/assets/javascripts/bootstrap-sprockets.js +12 -0
- data/app/assets/javascripts/bootstrap.js +2306 -0
- data/app/assets/javascripts/bootstrap.min.js +7 -0
- data/app/assets/javascripts/bootstrap/affix.js +162 -0
- data/app/assets/javascripts/bootstrap/alert.js +94 -0
- data/app/assets/javascripts/bootstrap/button.js +116 -0
- data/app/assets/javascripts/bootstrap/carousel.js +237 -0
- data/app/assets/javascripts/bootstrap/collapse.js +211 -0
- data/app/assets/javascripts/bootstrap/dropdown.js +161 -0
- data/app/assets/javascripts/bootstrap/modal.js +324 -0
- data/app/assets/javascripts/bootstrap/popover.js +113 -0
- data/app/assets/javascripts/bootstrap/scrollspy.js +175 -0
- data/app/assets/javascripts/bootstrap/tab.js +153 -0
- data/app/assets/javascripts/bootstrap/tooltip.js +472 -0
- data/app/assets/javascripts/bootstrap/transition.js +59 -0
- data/app/assets/javascripts/events/event_list_bindings.js +3 -0
- data/app/assets/javascripts/events/filters.js +100 -0
- data/app/assets/javascripts/festivity.js +1 -0
- data/app/assets/javascripts/festivity_app.js +13 -0
- data/app/assets/javascripts/jasny-bootstrap.js +1024 -0
- data/app/assets/javascripts/jquery-migrate.js +521 -0
- data/app/assets/javascripts/jquery.collapse.js +176 -0
- data/app/assets/javascripts/jquery.collapse_cookie_storage.js +37 -0
- data/app/assets/javascripts/jquery.collapse_storage.js +56 -0
- data/app/assets/javascripts/jquery.inputmask.bundle.min.js +10 -0
- data/app/assets/javascripts/lodash.min.js +88 -0
- data/app/assets/javascripts/readmore.min.js +11 -0
- data/app/assets/javascripts/script.js +22 -0
- data/app/assets/javascripts/underscore.js +1545 -0
- data/app/assets/stylesheets/_bootstrap-compass.scss +9 -0
- data/app/assets/stylesheets/_bootstrap-mincer.scss +19 -0
- data/app/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
- data/app/assets/stylesheets/_bootstrap.scss +50 -0
- data/app/assets/stylesheets/_defaults.scss +6 -0
- data/app/assets/stylesheets/_event_filter_bar.scss +78 -0
- data/app/assets/stylesheets/_faq.scss +48 -0
- data/app/assets/stylesheets/_filter-bar-mobile.scss +32 -0
- data/app/assets/stylesheets/_footer.scss +18 -0
- data/app/assets/stylesheets/_global.scss +30 -0
- data/app/assets/stylesheets/_header.scss +95 -0
- data/app/assets/stylesheets/_landing_page.scss +62 -0
- data/app/assets/stylesheets/_locations.scss +17 -0
- data/app/assets/stylesheets/_media-queries.scss +9 -0
- data/app/assets/stylesheets/_mixins.scss +17 -0
- data/app/assets/stylesheets/_nav.scss +128 -0
- data/app/assets/stylesheets/_normalize.scss +375 -0
- data/app/assets/stylesheets/_overrides.scss +11 -0
- data/app/assets/stylesheets/_page-template.scss +124 -0
- data/app/assets/stylesheets/_related_events.scss +20 -0
- data/app/assets/stylesheets/_search-results.scss +20 -0
- data/app/assets/stylesheets/_utils.scss +8 -0
- data/app/assets/stylesheets/admin/festivity_admin.scss +28 -0
- data/app/assets/stylesheets/admin/modules/_category_styles.scss +23 -0
- data/app/assets/stylesheets/admin/modules/_form_styles.scss +40 -0
- data/app/assets/stylesheets/admin/modules/_list_styles.scss +30 -0
- data/app/assets/stylesheets/admin/modules/_variables.scss +3 -0
- data/app/assets/stylesheets/bootstrap/_alerts.scss +73 -0
- data/app/assets/stylesheets/bootstrap/_badges.scss +67 -0
- data/app/assets/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
- data/app/assets/stylesheets/bootstrap/_button-groups.scss +243 -0
- data/app/assets/stylesheets/bootstrap/_buttons.scss +160 -0
- data/app/assets/stylesheets/bootstrap/_carousel.scss +269 -0
- data/app/assets/stylesheets/bootstrap/_close.scss +36 -0
- data/app/assets/stylesheets/bootstrap/_code.scss +69 -0
- data/app/assets/stylesheets/bootstrap/_component-animations.scss +38 -0
- data/app/assets/stylesheets/bootstrap/_dropdowns.scss +214 -0
- data/app/assets/stylesheets/bootstrap/_forms.scss +570 -0
- data/app/assets/stylesheets/bootstrap/_glyphicons.scss +301 -0
- data/app/assets/stylesheets/bootstrap/_grid.scss +84 -0
- data/app/assets/stylesheets/bootstrap/_input-groups.scss +166 -0
- data/app/assets/stylesheets/bootstrap/_jumbotron.scss +50 -0
- data/app/assets/stylesheets/bootstrap/_labels.scss +66 -0
- data/app/assets/stylesheets/bootstrap/_list-group.scss +124 -0
- data/app/assets/stylesheets/bootstrap/_media.scss +61 -0
- data/app/assets/stylesheets/bootstrap/_mixins.scss +39 -0
- data/app/assets/stylesheets/bootstrap/_modals.scss +148 -0
- data/app/assets/stylesheets/bootstrap/_navbar.scss +663 -0
- data/app/assets/stylesheets/bootstrap/_navs.scss +244 -0
- data/app/assets/stylesheets/bootstrap/_normalize.scss +427 -0
- data/app/assets/stylesheets/bootstrap/_pager.scss +54 -0
- data/app/assets/stylesheets/bootstrap/_pagination.scss +88 -0
- data/app/assets/stylesheets/bootstrap/_panels.scss +265 -0
- data/app/assets/stylesheets/bootstrap/_popovers.scss +135 -0
- data/app/assets/stylesheets/bootstrap/_print.scss +107 -0
- data/app/assets/stylesheets/bootstrap/_progress-bars.scss +87 -0
- data/app/assets/stylesheets/bootstrap/_responsive-embed.scss +35 -0
- data/app/assets/stylesheets/bootstrap/_responsive-utilities.scss +177 -0
- data/app/assets/stylesheets/bootstrap/_scaffolding.scss +150 -0
- data/app/assets/stylesheets/bootstrap/_tables.scss +234 -0
- data/app/assets/stylesheets/bootstrap/_theme.scss +273 -0
- data/app/assets/stylesheets/bootstrap/_thumbnails.scss +38 -0
- data/app/assets/stylesheets/bootstrap/_tooltip.scss +103 -0
- data/app/assets/stylesheets/bootstrap/_type.scss +298 -0
- data/app/assets/stylesheets/bootstrap/_utilities.scss +56 -0
- data/app/assets/stylesheets/bootstrap/_variables.scss +862 -0
- data/app/assets/stylesheets/bootstrap/_wells.scss +29 -0
- data/app/assets/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
- data/app/assets/stylesheets/bootstrap/mixins/_background-variant.scss +11 -0
- data/app/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
- data/app/assets/stylesheets/bootstrap/mixins/_buttons.scss +52 -0
- data/app/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
- data/app/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
- data/app/assets/stylesheets/bootstrap/mixins/_forms.scss +88 -0
- data/app/assets/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
- data/app/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
- data/app/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
- data/app/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
- data/app/assets/stylesheets/bootstrap/mixins/_image.scss +33 -0
- data/app/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
- data/app/assets/stylesheets/bootstrap/mixins/_list-group.scss +31 -0
- data/app/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
- data/app/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/app/assets/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
- data/app/assets/stylesheets/bootstrap/mixins/_pagination.scss +23 -0
- data/app/assets/stylesheets/bootstrap/mixins/_panels.scss +24 -0
- data/app/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
- data/app/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
- data/app/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
- data/app/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/app/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
- data/app/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
- data/app/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
- data/app/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +11 -0
- data/app/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
- data/app/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/app/assets/stylesheets/events/_event-list-item.scss +85 -0
- data/app/assets/stylesheets/events/_event_template.scss +66 -0
- data/app/assets/stylesheets/events/_filter-bar.scss +5 -0
- data/app/assets/stylesheets/festivity.scss +35 -0
- data/app/assets/stylesheets/skins/pghkids/_events.scss +17 -0
- data/app/assets/stylesheets/skins/pghkids/_footer.scss +22 -0
- data/app/assets/stylesheets/skins/pghkids/_global.scss +42 -0
- data/app/assets/stylesheets/skins/pghkids/_header.scss +27 -0
- data/app/assets/stylesheets/skins/pghkids/_home.scss +113 -0
- data/app/assets/stylesheets/skins/pghkids/skin.scss +8 -0
- data/app/assets/stylesheets/vars/_vars_color.scss +6 -0
- data/app/assets/stylesheets/vars/_vars_media-queries.scss +5 -0
- data/app/assets/stylesheets/vars/_vars_type.scss +1 -0
- data/app/controllers/admin/festivity_categories_controller.rb +31 -0
- data/app/controllers/admin/festivity_category_types_controller.rb +31 -0
- data/app/controllers/admin/festivity_performances_controller.rb +21 -0
- data/app/controllers/festivity_events_controller.rb +71 -0
- data/app/controllers/festivity_location_areas_controller.rb +17 -0
- data/app/controllers/festivity_locations_controller.rb +19 -0
- data/app/controllers/search_controller.rb +17 -0
- data/app/helpers/admin/festivity_performances_helper.rb +3 -0
- data/app/helpers/admin/snippets_helper.rb +3 -0
- data/app/helpers/festivity_events_helper.rb +12 -0
- data/app/helpers/festivity_locations_helper.rb +4 -0
- data/app/models/festivity_base_page.rb +23 -0
- data/app/models/festivity_category.rb +17 -0
- data/app/models/festivity_category_type.rb +14 -0
- data/app/models/festivity_event_list.rb +90 -0
- data/app/models/festivity_event_list/festivity_event.rb +40 -0
- data/app/models/festivity_event_list/festivity_event_performance.rb +10 -0
- data/app/models/festivity_event_list/festivity_location.rb +15 -0
- data/app/models/festivity_event_page.rb +55 -0
- data/app/models/festivity_location_area_page.rb +5 -0
- data/app/models/festivity_location_page.rb +3 -0
- data/app/models/festivity_market_page.rb +3 -0
- data/app/models/festivity_page_category.rb +4 -0
- data/app/models/festivity_performance.rb +29 -0
- data/app/views/admin/pages/_festivity_base_fields.html.haml +75 -0
- data/app/views/admin/pages/_festivity_featured_image_fields.html.haml +3 -0
- data/app/views/admin/pages/_festivity_includes.html.haml +2 -0
- data/app/views/admin/pages/_festivity_location_fields.html.haml +26 -0
- data/app/views/admin/pages/partials/_categories.html.haml +18 -0
- data/app/views/admin/pages/partials/_category.html.haml +4 -0
- data/app/views/admin/pages/partials/_featured_image.html.haml +18 -0
- data/app/views/admin/pages/partials/_performance.html.haml +13 -0
- data/app/views/admin/pages/partials/_performances.html.haml +11 -0
- data/app/views/admin/pages/partials/_performances_table.html.haml +15 -0
- data/app/views/admin/sites/_festivity_site_fields.html.haml +26 -0
- data/app/views/admin/sites/partials/_category.html.haml +7 -0
- data/app/views/admin/sites/partials/_category_popup.html.haml +19 -0
- data/app/views/admin/sites/partials/_category_popups.haml +27 -0
- data/app/views/admin/sites/partials/_category_section.html.haml +7 -0
- data/app/views/admin/sites/partials/_category_types.html.haml +23 -0
- data/app/views/admin/sites/partials/_filters.html.haml +25 -0
- data/app/views/admin/sites/partials/_new_category.html.haml +3 -0
- data/app/views/admin/sites/partials/_new_category_type.html.haml +3 -0
- data/app/views/festivity_events/_event_filters.html.haml +39 -0
- data/app/views/festivity_events/_event_list.html.haml +62 -0
- data/app/views/festivity_events/_filter_bar_mobile.html.haml +22 -0
- data/app/views/festivity_events/index.html.haml +34 -0
- data/app/views/festivity_events/show.html.haml +152 -0
- data/app/views/festivity_location_areas/show.html.haml +29 -0
- data/app/views/festivity_locations/show.html.haml +66 -0
- data/app/views/header/_meta_tags.html.haml +8 -0
- data/app/views/navigation/_subnav_one_column.html.haml +15 -0
- data/app/views/navigation/_subnav_three_column.html.haml +7 -0
- data/app/views/navigation/_three_column_item.html.haml +11 -0
- data/app/views/search/_page.html.haml +1 -0
- data/app/views/search/_pagination_links.html.haml +7 -0
- data/app/views/search/_result_item.html.haml +6 -0
- data/app/views/search/show.html.haml +19 -0
- data/config/initializers/pluralizations.rb +0 -0
- data/config/initializers/radiant_config.rb +1 -0
- data/config/locales/en.yml +16 -0
- data/config/routes.rb +14 -0
- data/config/trustygems.yml +2 -0
- data/db/content/layouts/base.html +174 -0
- data/db/content/layouts/normal.html +5 -0
- data/db/fixtures/home_pages.yml +40 -0
- data/db/fixtures/layouts.yml +2 -0
- data/db/fixtures/pages.yml +23 -0
- data/db/fixtures/sites.yml +57 -0
- data/db/fixtures/users.yml +8 -0
- data/db/migrate/200150325136087799_add_event_performances_view.rb +27 -0
- data/db/migrate/200150425136087799_update_event_performances_view_with_site.rb +27 -0
- data/db/migrate/20150123175758_add_site_fields.rb +15 -0
- data/db/migrate/20150127090858995_add_base_event_fields.rb +24 -0
- data/db/migrate/20150127091005232_add_market_and_event_fields.rb +29 -0
- data/db/migrate/20150204113325731_add_category_types_table.rb +15 -0
- data/db/migrate/20150204113427832_add_categories_table.rb +15 -0
- data/db/migrate/20150204113510326_add_page_categories_table.rb +12 -0
- data/db/migrate/20150226131727777_add_location_page_fields.rb +19 -0
- data/db/migrate/20150302135485569_add_performances_table.rb +19 -0
- data/db/migrate/20150324135487799_add_indexes.rb +21 -0
- data/festivity_extension.rb +25 -0
- data/lib/festivity/admin/assets_helper.rb +17 -0
- data/lib/festivity/engine.rb +9 -0
- data/lib/festivity/extensions/page_extensions.rb +61 -0
- data/lib/festivity/extensions/pages_helper_extensions.rb +11 -0
- data/lib/festivity/extensions/paperclipped_extensions.rb +22 -0
- data/lib/festivity/extensions/site_extensions.rb +40 -0
- data/lib/festivity/mixins/not_found.rb +10 -0
- data/lib/tags/header_tags.rb +41 -0
- data/lib/tags/navigation_tags.rb +55 -0
- data/lib/tasks/active_record_utils.rb +35 -0
- data/lib/tasks/festivity_extension_tasks.rake +7 -0
- data/lib/tasks/setup.rake +101 -0
- data/lib/trusty-festivity-extension.rb +8 -0
- data/trusty-festivity-extension.gemspec +37 -0
- metadata +442 -0
@@ -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,50 @@
|
|
1
|
+
// Core variables and mixins
|
2
|
+
@import "bootstrap/variables";
|
3
|
+
@import "bootstrap/mixins";
|
4
|
+
|
5
|
+
// Reset and dependencies
|
6
|
+
@import "bootstrap/normalize";
|
7
|
+
@import "bootstrap/print";
|
8
|
+
@import "bootstrap/glyphicons";
|
9
|
+
|
10
|
+
// Core CSS
|
11
|
+
@import "bootstrap/scaffolding";
|
12
|
+
@import "bootstrap/type";
|
13
|
+
@import "bootstrap/code";
|
14
|
+
@import "bootstrap/grid";
|
15
|
+
@import "bootstrap/tables";
|
16
|
+
@import "bootstrap/forms";
|
17
|
+
@import "bootstrap/buttons";
|
18
|
+
|
19
|
+
// Components
|
20
|
+
@import "bootstrap/component-animations";
|
21
|
+
@import "bootstrap/dropdowns";
|
22
|
+
@import "bootstrap/button-groups";
|
23
|
+
@import "bootstrap/input-groups";
|
24
|
+
@import "bootstrap/navs";
|
25
|
+
@import "bootstrap/navbar";
|
26
|
+
@import "bootstrap/breadcrumbs";
|
27
|
+
@import "bootstrap/pagination";
|
28
|
+
@import "bootstrap/pager";
|
29
|
+
@import "bootstrap/labels";
|
30
|
+
@import "bootstrap/badges";
|
31
|
+
@import "bootstrap/jumbotron";
|
32
|
+
@import "bootstrap/thumbnails";
|
33
|
+
@import "bootstrap/alerts";
|
34
|
+
@import "bootstrap/progress-bars";
|
35
|
+
@import "bootstrap/media";
|
36
|
+
@import "bootstrap/list-group";
|
37
|
+
@import "bootstrap/panels";
|
38
|
+
@import "bootstrap/responsive-embed";
|
39
|
+
@import "bootstrap/wells";
|
40
|
+
@import "bootstrap/close";
|
41
|
+
|
42
|
+
// Components w/ JavaScript
|
43
|
+
@import "bootstrap/modals";
|
44
|
+
@import "bootstrap/tooltip";
|
45
|
+
@import "bootstrap/popovers";
|
46
|
+
@import "bootstrap/carousel";
|
47
|
+
|
48
|
+
// Utility classes
|
49
|
+
@import "bootstrap/utilities";
|
50
|
+
@import "bootstrap/responsive-utilities";
|
@@ -0,0 +1,78 @@
|
|
1
|
+
.event-filter-bar {
|
2
|
+
padding: 0 3rem 3rem 3rem;
|
3
|
+
.events-filter-bar__wrapper {
|
4
|
+
overflow: hidden;
|
5
|
+
.event-filter-bar__header {
|
6
|
+
font-size: 1.25em;
|
7
|
+
font-weight: 600;
|
8
|
+
background-color: $ghost-gray;
|
9
|
+
padding: 1rem;
|
10
|
+
}
|
11
|
+
form {
|
12
|
+
h3 {
|
13
|
+
font-weight: 600;
|
14
|
+
font-size: 1.5em;
|
15
|
+
margin-top: 3rem;
|
16
|
+
padding-top: 3rem;
|
17
|
+
padding-bottom: 1rem;
|
18
|
+
border-top: 1px solid $ghost-gray;
|
19
|
+
&:first-child {
|
20
|
+
border-top: none;
|
21
|
+
margin-top: 2rem;
|
22
|
+
padding-top: 1rem;
|
23
|
+
}
|
24
|
+
a {
|
25
|
+
color: $dark-gray;
|
26
|
+
display: block;
|
27
|
+
width: 100%;
|
28
|
+
position: relative;
|
29
|
+
&:after {
|
30
|
+
content: "\f107";
|
31
|
+
position: absolute;
|
32
|
+
right: 0;
|
33
|
+
font-family: FontAwesome;
|
34
|
+
font-weight: normal;
|
35
|
+
font-style: normal;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
&.open a:after {
|
39
|
+
content: "\f106";
|
40
|
+
position: absolute;
|
41
|
+
right: 0;
|
42
|
+
font-family: FontAwesome;
|
43
|
+
font-weight: normal;
|
44
|
+
font-style: normal;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
ul {
|
48
|
+
list-style-type: none;
|
49
|
+
margin: 0;
|
50
|
+
padding: 0;
|
51
|
+
li {
|
52
|
+
padding: 0;
|
53
|
+
margin: 0;
|
54
|
+
.checkbox {
|
55
|
+
label {
|
56
|
+
font-color: lighten($middle-gray, 30);
|
57
|
+
font-weight: 400;
|
58
|
+
font-size: 1em;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
// indent with these data attributes
|
68
|
+
|
69
|
+
.checkbox {
|
70
|
+
&.child {
|
71
|
+
padding-left: 3rem;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
|
76
|
+
.hidden-event {
|
77
|
+
display: none;
|
78
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
.faq-header {
|
2
|
+
padding-bottom: 1rem;
|
3
|
+
}
|
4
|
+
.q {
|
5
|
+
padding-top: 4rem;
|
6
|
+
}
|
7
|
+
|
8
|
+
.q:first-child {
|
9
|
+
padding-top: 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
nav.faq-navigation {
|
13
|
+
width: 300px;
|
14
|
+
}
|
15
|
+
|
16
|
+
// stuff for the affixed side menu
|
17
|
+
|
18
|
+
.affix-top,.affix{
|
19
|
+
position: static;
|
20
|
+
}
|
21
|
+
|
22
|
+
.affix-bottom {
|
23
|
+
position: fixed;
|
24
|
+
}
|
25
|
+
|
26
|
+
.affix {
|
27
|
+
position: fixed;
|
28
|
+
width: 300px;
|
29
|
+
top: 60px;
|
30
|
+
}
|
31
|
+
|
32
|
+
#totop {
|
33
|
+
a {
|
34
|
+
position: fixed;
|
35
|
+
right: 15px;
|
36
|
+
bottom: 20px;
|
37
|
+
text-align: center;
|
38
|
+
z-index: 1000;
|
39
|
+
background-color: $middle-gray;
|
40
|
+
padding: 10px;
|
41
|
+
text-decoration: none;
|
42
|
+
color: white;
|
43
|
+
display: block;
|
44
|
+
@media #{$medium-up} {
|
45
|
+
display: none;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
.filter-bar-mobile {
|
2
|
+
width: 100%;
|
3
|
+
position: fixed;
|
4
|
+
background-color: $ghost-gray;
|
5
|
+
height: 60px;
|
6
|
+
top: 60px;
|
7
|
+
z-index: 200;
|
8
|
+
.filter-button {
|
9
|
+
display: block;
|
10
|
+
cursor: pointer;
|
11
|
+
margin-top: 10px;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.sort-bar-mobile {
|
16
|
+
padding-top: 10px;
|
17
|
+
line-height: 2;
|
18
|
+
}
|
19
|
+
|
20
|
+
.container .sort {
|
21
|
+
display: none;
|
22
|
+
@media #{$small-up} {
|
23
|
+
display: block;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.current-filters {
|
28
|
+
padding-top: 50px;
|
29
|
+
@media #{$medium-up} {
|
30
|
+
padding-top: 0;
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
footer {
|
2
|
+
margin-top: 7.5rem;
|
3
|
+
padding: 7.5rem 0;
|
4
|
+
background-color: lighten($middle-gray, 38);
|
5
|
+
.footer-navigation-header {
|
6
|
+
font-weight: 700;
|
7
|
+
}
|
8
|
+
li {
|
9
|
+
padding: 1rem 0 1rem 0;
|
10
|
+
border-bottom: 1px solid darken($ghost-gray, 5);
|
11
|
+
}
|
12
|
+
.copyright {
|
13
|
+
padding-top: 3rem;
|
14
|
+
text-align: center;
|
15
|
+
font-size: .75em;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
body {
|
2
|
+
// these will be some default type setups
|
3
|
+
font-family: $default-font-family;
|
4
|
+
font-weight: $default-font-weight;
|
5
|
+
// this is for the mobile menu to work properly
|
6
|
+
position: relative;
|
7
|
+
height: 100%;
|
8
|
+
font-size: 16px;
|
9
|
+
line-height: 1.6;
|
10
|
+
}
|
11
|
+
|
12
|
+
/* need to offset fixed headers on mobile */
|
13
|
+
.main {
|
14
|
+
padding-top: 80px;
|
15
|
+
@media #{$medium-up} {
|
16
|
+
padding: 0;
|
17
|
+
margin: 0;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.large {
|
22
|
+
font-size: 1.25em;
|
23
|
+
}
|
24
|
+
|
25
|
+
.strong {
|
26
|
+
font-weight: 600;
|
27
|
+
}
|
28
|
+
|
29
|
+
|
30
|
+
// html { overflow-y: scroll; } // this is to prevent weird shifting with offcanvas menus
|
@@ -0,0 +1,95 @@
|
|
1
|
+
header.site-header {
|
2
|
+
position: fixed;
|
3
|
+
width: 100%;
|
4
|
+
background-color: black;
|
5
|
+
z-index: 500;
|
6
|
+
@media #{$medium-up} {
|
7
|
+
position: relative;
|
8
|
+
background-color: $ghost-gray;
|
9
|
+
margin-bottom: 3rem;
|
10
|
+
}
|
11
|
+
h1.logo {
|
12
|
+
background: url(image-path('traf-logo.svg'));
|
13
|
+
background-position: center center;
|
14
|
+
background-repeat: no-repeat;
|
15
|
+
-webkit-background-size: contain;
|
16
|
+
-o-background-size: contain;
|
17
|
+
background-size: contain;
|
18
|
+
text-indent: -100000px;
|
19
|
+
width: auto;
|
20
|
+
height: 30px;
|
21
|
+
@media #{$medium-up} {
|
22
|
+
width: 125px;
|
23
|
+
height: 155px;
|
24
|
+
}
|
25
|
+
> a {
|
26
|
+
display: block;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.secondary-navigation {
|
31
|
+
@extend %nopadding;
|
32
|
+
float: right;
|
33
|
+
> div {
|
34
|
+
display: inline-block;
|
35
|
+
float: left;
|
36
|
+
&.utils {
|
37
|
+
width: 300px;
|
38
|
+
}
|
39
|
+
&.search-form {
|
40
|
+
width: 225px;
|
41
|
+
}
|
42
|
+
&.social {
|
43
|
+
padding-left: 20px;
|
44
|
+
font-size: 1.25em;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
li {
|
48
|
+
font-size: 1em;
|
49
|
+
@media #{$medium-up} {
|
50
|
+
padding: 5px 5px;
|
51
|
+
line-height: 40px;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
.social-icons {
|
55
|
+
float: right;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.main-nav {
|
60
|
+
font-size: 24px;
|
61
|
+
font-weight: 700;
|
62
|
+
display: block;
|
63
|
+
padding-top: 90px;
|
64
|
+
@include transition-all();
|
65
|
+
@media #{$medium-up} {
|
66
|
+
font-size: 18px;
|
67
|
+
float: right;
|
68
|
+
> ul {
|
69
|
+
float: right;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
@media #{$large-up} {
|
73
|
+
font-size: 24px;
|
74
|
+
float: right;
|
75
|
+
}
|
76
|
+
ul > li {
|
77
|
+
padding: 0 0 20px 20px;
|
78
|
+
@media #{$large-up} {
|
79
|
+
padding: 0 0 20px 40px;
|
80
|
+
}
|
81
|
+
a {
|
82
|
+
@media #{$medium-up} {
|
83
|
+
color: black;
|
84
|
+
}
|
85
|
+
color: white;
|
86
|
+
&:hover {
|
87
|
+
text-decoration: none;
|
88
|
+
color: lighten(black, 40);
|
89
|
+
@include transition-all();
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
@@ -0,0 +1,62 @@
|
|
1
|
+
.landing-page-header {
|
2
|
+
background-color: lighten($middle-gray, 30);
|
3
|
+
width: 100%;
|
4
|
+
height: 300px;
|
5
|
+
position: relative;
|
6
|
+
.landing-page-header__title {
|
7
|
+
position: absolute;
|
8
|
+
bottom: 25px;
|
9
|
+
left: 25px;
|
10
|
+
font-weight: 700;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
.landing-page-intro {
|
15
|
+
line-height: 1.5;
|
16
|
+
padding: 5rem 0;
|
17
|
+
font-weight: 300;
|
18
|
+
font-size: 1.25em;
|
19
|
+
@media #{$small-up} {
|
20
|
+
line-height: 1.5;
|
21
|
+
padding: 5rem 0;
|
22
|
+
font-weight: 300;
|
23
|
+
font-size: 2em;
|
24
|
+
}
|
25
|
+
|
26
|
+
}
|
27
|
+
|
28
|
+
.landing-page-divider {
|
29
|
+
padding-bottom: 4em;
|
30
|
+
}
|
31
|
+
|
32
|
+
.landing-page-plug {
|
33
|
+
padding-bottom: 4em;
|
34
|
+
h3 {
|
35
|
+
line-height: 1.4;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
// small map thumbnails
|
39
|
+
.map-thumb {
|
40
|
+
position: relative;
|
41
|
+
overflow: hidden;
|
42
|
+
background-color: $ghost-gray;
|
43
|
+
width: 100%;
|
44
|
+
height: 125px;
|
45
|
+
margin-bottom: 2em;
|
46
|
+
.map-label {
|
47
|
+
position: absolute;
|
48
|
+
bottom: 5px;
|
49
|
+
left: 10px;
|
50
|
+
}
|
51
|
+
img {
|
52
|
+
width: 100%;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.icon {
|
57
|
+
background-color: $ghost-gray;
|
58
|
+
width: 100px;
|
59
|
+
height: 100px;
|
60
|
+
border-radius: 50%;
|
61
|
+
margin: 0 auto 3em auto;
|
62
|
+
}
|