trusty-festivity-extension 2.5.3 → 2.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/app/assets/images/skins/crawl/crawl-after-dark-bg.png +0 -0
  4. data/app/assets/images/skins/crawl/crawl-instagram-bg.svg +1 -0
  5. data/app/assets/images/skins/crawl/crawl-intro-bg.png +0 -0
  6. data/app/assets/images/skins/crawl/crawl-map.png +0 -0
  7. data/app/assets/images/skins/crawl/crawl-twitter-bg.svg +1 -0
  8. data/app/assets/images/skins/crawl/crawl-up-next-bg.png +0 -0
  9. data/app/assets/images/skins/crawl/fn-instagram-bg.svg +1 -0
  10. data/app/assets/images/skins/crawl/fn-twitter-bg.svg +1 -0
  11. data/app/assets/images/{gallery-crawl-logo-sm.svg → skins/crawl/gallery-crawl-logo-sm.svg} +0 -0
  12. data/app/assets/images/{gallery-crawl-logo-v2.svg → skins/crawl/gallery-crawl-logo-v2.svg} +0 -0
  13. data/app/assets/images/{gallery-crawl-logo.svg → skins/crawl/gallery-crawl-logo.svg} +0 -0
  14. data/app/assets/images/{gc-header-bg.svg → skins/crawl/gc-header-bg.svg} +0 -0
  15. data/app/assets/images/{header-bg.svg → skins/crawl/header-bg.svg} +0 -0
  16. data/app/assets/images/{page-bg.svg → skins/crawl/page-bg.svg} +0 -0
  17. data/app/assets/images/{fn-button.svg → skins/first-night/fn-button.svg} +0 -0
  18. data/app/assets/images/{fn-enjoyevents.jpg → skins/first-night/fn-enjoyevents.jpg} +0 -0
  19. data/app/assets/images/{fn-enjoyevents.svg → skins/first-night/fn-enjoyevents.svg} +0 -0
  20. data/app/assets/images/{fn-featured-bg.svg → skins/first-night/fn-featured-bg.svg} +0 -0
  21. data/app/assets/images/{fn-friends.svg → skins/first-night/fn-friends.svg} +0 -0
  22. data/app/assets/images/{fn-header-background.jpg → skins/first-night/fn-header-background.jpg} +0 -0
  23. data/app/assets/images/{fn-homepage-feature.jpg → skins/first-night/fn-homepage-feature.jpg} +0 -0
  24. data/app/assets/images/{fn-homepage-howitworks-bg-sm.jpg → skins/first-night/fn-homepage-howitworks-bg-sm.jpg} +0 -0
  25. data/app/assets/images/{fn-homepage-howitworks-bg.jpg → skins/first-night/fn-homepage-howitworks-bg.jpg} +0 -0
  26. data/app/assets/images/{fn-homepage-howitworks-topbg.svg → skins/first-night/fn-homepage-howitworks-topbg.svg} +0 -0
  27. data/app/assets/images/{fn-insta-mockupimage1.jpg → skins/first-night/fn-insta-mockupimage1.jpg} +0 -0
  28. data/app/assets/images/{fn-insta-mockupimage2.jpg → skins/first-night/fn-insta-mockupimage2.jpg} +0 -0
  29. data/app/assets/images/{fn-insta-mockupimage3.jpg → skins/first-night/fn-insta-mockupimage3.jpg} +0 -0
  30. data/app/assets/images/{fn-insta-mockupimage4.jpg → skins/first-night/fn-insta-mockupimage4.jpg} +0 -0
  31. data/app/assets/images/{fn-instagram-bg.svg → skins/first-night/fn-instagram-bg.svg} +0 -0
  32. data/app/assets/images/{fn-logo-sm.svg → skins/first-night/fn-logo-sm.svg} +0 -0
  33. data/app/assets/images/{fn-logo.svg → skins/first-night/fn-logo.svg} +0 -0
  34. data/app/assets/images/{fn-planvisit.jpg → skins/first-night/fn-planvisit.jpg} +0 -0
  35. data/app/assets/images/{fn-planvisit.svg → skins/first-night/fn-planvisit.svg} +0 -0
  36. data/app/assets/images/{fn-twitter-bg.svg → skins/first-night/fn-twitter-bg.svg} +0 -0
  37. data/app/assets/images/{fn-watchballdrop.svg → skins/first-night/fn-watchballdrop.svg} +0 -0
  38. data/app/assets/images/{fn-watchballrise.jpg → skins/first-night/fn-watchballrise.jpg} +0 -0
  39. data/app/assets/images/{fn-watchballrise.svg → skins/first-night/fn-watchballrise.svg} +0 -0
  40. data/app/assets/images/skins/pghkids/footer.png +0 -0
  41. data/app/assets/images/skins/pghkids/footer_mobile.png +0 -0
  42. data/app/assets/images/skins/pghkids/frog.png +0 -0
  43. data/app/assets/images/skins/pghkids/frog_mobile.png +0 -0
  44. data/app/assets/images/skins/pghkids/seafoam.jpg +0 -0
  45. data/app/assets/images/skins/traf/traf-background.png +0 -0
  46. data/app/assets/images/skins/traf/traf-bottom-wave.png +0 -0
  47. data/app/assets/images/skins/traf/traf-bridge.png +0 -0
  48. data/app/assets/images/skins/traf/traf-bubbles.png +0 -0
  49. data/app/assets/images/skins/traf/traf-thin-wave.png +0 -0
  50. data/app/assets/javascripts/skins/crawl/AppMeasurement.js +63 -0
  51. data/app/assets/javascripts/skins/first-night/AppMeasurement.js +137 -0
  52. data/app/assets/javascripts/skins/pghkids/AppMeasurement.js +137 -0
  53. data/app/assets/javascripts/skins/traf/AppMeasurement.js +137 -0
  54. data/app/assets/stylesheets/contexts/_events-list.scss +1 -1
  55. data/app/assets/stylesheets/contexts/_site-header.scss +1 -2
  56. data/app/assets/stylesheets/contexts/_social-posts.scss +57 -0
  57. data/app/assets/stylesheets/crawl.scss +37 -0
  58. data/app/assets/stylesheets/{first-night.scss → firstnight.scss} +5 -4
  59. data/app/assets/stylesheets/globals/_general.scss +20 -0
  60. data/app/assets/stylesheets/modules/_event.scss +1 -1
  61. data/app/assets/stylesheets/skins/crawl/contexts/_crawl.scss +189 -0
  62. data/app/assets/stylesheets/skins/crawl/contexts/_site-header.scss +3 -0
  63. data/app/assets/stylesheets/skins/crawl/library/_general-mixins.scss +15 -0
  64. data/app/assets/stylesheets/skins/crawl/library/_typographic-mixins.scss +16 -0
  65. data/app/assets/stylesheets/skins/crawl/skin.scss +34 -0
  66. data/app/assets/stylesheets/{first-night-stylesheets → skins/first-night}/contexts/_first-night.scss +33 -75
  67. data/app/assets/stylesheets/{first-night-stylesheets → skins/first-night}/library/_general-mixins.scss +0 -0
  68. data/app/assets/stylesheets/{first-night-stylesheets → skins/first-night}/library/_icons.scss +0 -0
  69. data/app/assets/stylesheets/{first-night-stylesheets → skins/first-night}/library/_variables.scss +0 -0
  70. data/app/assets/stylesheets/skins/first-night/skin.scss +43 -0
  71. data/app/assets/stylesheets/skins/pghkids/contexts/_faq.scss +21 -8
  72. data/app/assets/stylesheets/skins/traf/contexts/_homepage.scss +21 -11
  73. data/app/assets/stylesheets/skins/traf/contexts/_social_feed.scss +30 -26
  74. data/app/assets/stylesheets/skins/traf/skin.scss +2 -1
  75. data/app/assets/stylesheets/traf.scss +1 -0
  76. data/app/controllers/errors_controller.rb +1 -1
  77. data/app/controllers/festivity_events_controller.rb +1 -1
  78. data/app/controllers/festivity_location_areas_controller.rb +1 -0
  79. data/app/controllers/festivity_locations_controller.rb +1 -0
  80. data/app/controllers/festivity_markets_controller.rb +1 -0
  81. data/app/controllers/search_controller.rb +1 -0
  82. data/app/helpers/festivity_events_helper.rb +1 -6
  83. data/app/models/festivity_event_list.rb +14 -0
  84. data/app/models/festivity_market_page.rb +4 -0
  85. data/app/models/festivity_performance.rb +10 -0
  86. data/app/views/admin/sites/_festivity_site_fields.html.haml +4 -0
  87. data/app/views/festivity_events/_hourly.html.haml +35 -0
  88. data/app/views/festivity_events/show.html.haml +22 -1
  89. data/app/views/festivity_markets/_market.html.haml +2 -0
  90. data/app/views/festivity_markets/show.html.haml +2 -0
  91. data/db/content/layouts/Crawl/base.html +221 -0
  92. data/db/content/layouts/Crawl/cms_home.html +67 -0
  93. data/db/content/layouts/Crawl/normal.html +5 -0
  94. data/db/content/layouts/FirstNighPGH/base.html +2 -2
  95. data/db/migrate/201604261638542263_add_social_media_tags_to_sites.rb +5 -0
  96. data/lib/festivity/engine.rb +3 -3
  97. data/lib/tags/filter_and_menu_tags.rb +4 -1
  98. data/lib/trusty-festivity-extension.rb +1 -1
  99. data/trusty-festivity-extension.gemspec +1 -1
  100. metadata +64 -101
  101. data/app/assets/images/9EBFA19B4026F15A.jpg +0 -0
  102. data/app/assets/images/9EBFA19B4026F15A.png +0 -0
  103. data/app/assets/images/9EBFA19B4026F15B.jpg +0 -0
  104. data/app/assets/images/9EBFA19B4026F15B.png +0 -0
  105. data/app/assets/images/9EBFA19B4026F15C.jpg +0 -0
  106. data/app/assets/images/9EBFA19B4026F15C.png +0 -0
  107. data/app/assets/images/9EBFA19B4026F15D.jpg +0 -0
  108. data/app/assets/images/9EBFA19B4026F15E.jpg +0 -0
  109. data/app/assets/images/9EBFA19B4026F15F.jpg +0 -0
  110. data/app/assets/images/9EBFA19B4026F164.jpg +0 -0
  111. data/app/assets/images/9EBFA19B4026F165.jpg +0 -0
  112. data/app/assets/images/9EBFA19B4026F166.jpg +0 -0
  113. data/app/assets/images/9EBFA19B4026F167.jpg +0 -0
  114. data/app/assets/images/9EBFA19B4026F168.jpg +0 -0
  115. data/app/assets/images/9EBFA19B4026F169.jpg +0 -0
  116. data/app/assets/images/9EBFA19B4026F16A.jpg +0 -0
  117. data/app/assets/images/9EBFA19B4026F16B.jpg +0 -0
  118. data/app/assets/images/9EBFA19B4026F16C.jpg +0 -0
  119. data/app/assets/images/9EBFA19B4026F16D.jpg +0 -0
  120. data/app/assets/images/9EBFA19B4026F16E.jpg +0 -0
  121. data/app/assets/images/9EBFA19B4026F16F.jpg +0 -0
  122. data/app/assets/images/9EBFA19B4026F173.jpg +0 -0
  123. data/app/assets/images/9EBFA19B4026F174.jpg +0 -0
  124. data/app/assets/images/9EBFA19B4026F175.jpg +0 -0
  125. data/app/assets/images/F1B25B7045A0E2AA.jpg +0 -0
  126. data/app/assets/images/F1B25B7045A0E2AB.jpg +0 -0
  127. data/app/assets/images/F1B25B7045A0E2AD.jpg +0 -0
  128. data/app/assets/images/image-lg.jpg +0 -0
  129. data/app/assets/images/image-sm.jpg +0 -0
  130. data/app/assets/images/image-sq.jpg +0 -0
  131. data/app/assets/images/image-vid.jpg +0 -0
  132. data/app/assets/images/jeff-tweedy.png +0 -0
  133. data/app/assets/images/no-limits.jpg +0 -0
  134. data/app/assets/images/pct-black.png +0 -0
  135. data/app/assets/images/pso.png +0 -0
  136. data/app/assets/images/sam-bush.png +0 -0
  137. data/app/assets/stylesheets/_bootstrap-compass.scss +0 -9
  138. data/app/assets/stylesheets/_bootstrap-mincer.scss +0 -19
  139. data/app/assets/stylesheets/_bootstrap-sprockets.scss +0 -9
  140. data/app/assets/stylesheets/_bootstrap.scss +0 -50
  141. data/app/assets/stylesheets/_defaults.scss +0 -6
  142. data/app/assets/stylesheets/_event_filter_bar.scss +0 -78
  143. data/app/assets/stylesheets/_faq.scss +0 -48
  144. data/app/assets/stylesheets/_filter-bar-mobile.scss +0 -32
  145. data/app/assets/stylesheets/_footer.scss +0 -18
  146. data/app/assets/stylesheets/_global.scss +0 -30
  147. data/app/assets/stylesheets/_header.scss +0 -95
  148. data/app/assets/stylesheets/_landing_page.scss +0 -62
  149. data/app/assets/stylesheets/_locations.scss +0 -17
  150. data/app/assets/stylesheets/_media-queries.scss +0 -9
  151. data/app/assets/stylesheets/_mixins.scss +0 -17
  152. data/app/assets/stylesheets/_nav.scss +0 -128
  153. data/app/assets/stylesheets/_normalize.scss +0 -375
  154. data/app/assets/stylesheets/_overrides.scss +0 -11
  155. data/app/assets/stylesheets/_page-template.scss +0 -124
  156. data/app/assets/stylesheets/_related_events.scss +0 -20
  157. data/app/assets/stylesheets/_search-results.scss +0 -20
  158. data/app/assets/stylesheets/_utils.scss +0 -8
  159. data/app/assets/stylesheets/festivity.scss +0 -35
  160. data/app/assets/stylesheets/vars/_vars_color.scss +0 -6
  161. data/app/assets/stylesheets/vars/_vars_media-queries.scss +0 -5
  162. data/app/assets/stylesheets/vars/_vars_type.scss +0 -1
@@ -1,62 +0,0 @@
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
- }
@@ -1,17 +0,0 @@
1
- .location-landing-page-header {
2
- background-color: $ghost-gray;
3
- width: 100%;
4
- height: 300px;
5
- position: relative;
6
- margin-bottom: 4em;
7
- padding: 30px;
8
- background-size: contain;
9
- background-repeat: no-repeat;
10
- background-position: center right;
11
- }
12
-
13
- .location-landing-page-header {
14
- @media #{$small-down} {
15
- background-image: none !important;
16
- }
17
- }
@@ -1,9 +0,0 @@
1
- // some media queries to fix up a few details here and there
2
-
3
- // between small and extra small, the events-lists are just a little too wide
4
-
5
- @media (max-width: 47.9375em) and (min-width: 33.500em) {
6
- .event-list-item {
7
- padding: 0 5em;
8
- }
9
- }
@@ -1,17 +0,0 @@
1
- @mixin border-radius($radius) {
2
- -webkit-border-radius: $radius;
3
- border-radius: $radius;
4
- }
5
-
6
- @mixin button() {
7
- background-color: #E6E7E8;
8
- color: $dark-grey;
9
- }
10
-
11
- @mixin transition-all() {
12
- -webkit-transition: all .5s;
13
- -moz-transition: all .5s;
14
- -ms-transition: all .5s;
15
- -o-transition: all .5s;
16
- transition: all .5s;
17
- }
@@ -1,128 +0,0 @@
1
- // TODO: This needs testing across mobile browsers
2
- // TODO: Fix animations
3
-
4
- .mobile-navigation {
5
- transition: all 0.25s ease-in .1s;
6
- display: none;
7
- right: -20em;
8
- .main-nav ul > li {
9
- display: block;
10
- padding: 10px 20px;
11
- a {
12
- font-size: .75em !important;
13
- }
14
- }
15
- .secondary-nav {
16
- a {
17
- font-size: 1em !important;
18
- padding: 10px 20px;
19
- display: block;
20
- color: lighten($middle-gray, 25) !important;
21
- }
22
- }
23
- &.active {
24
- @media all and (max-width: 990px) {
25
- display: block;
26
- position: fixed;
27
- top: 0;
28
- right: 0;
29
- height: 100%;
30
- background-color: $dark-gray;
31
- color: white;
32
- z-index: 1000;
33
- width: 20em;
34
- overflow-x: scroll;
35
- a {
36
- color: white;
37
- }
38
- }
39
- }
40
- .form-group {
41
- padding: 0 2em 0 1em;
42
- }
43
- .social-icons {
44
- padding-left: 1.25em;
45
- }
46
- }
47
-
48
- .navigation {
49
- .form-group {
50
- margin-top: 10px;
51
- }
52
- }
53
-
54
- // .navigation {
55
- // ul {
56
- // display: inline-block;
57
- // float: right;
58
- // }
59
- // }
60
-
61
- .social-icons {
62
- li {
63
- font-size: 1.25em;
64
- padding: 5px;
65
- color: lighten($middle-gray, 10);
66
- }
67
- }
68
-
69
- /* some local variables for the menu */
70
- $slice-height: 5px;
71
- $bar-color: white;
72
-
73
- @mixin trans() {
74
- -moz-transition: .25s;
75
- -o-transition: .25s;
76
- -webkit-transition: .25s;
77
- transition: .25s;
78
- }
79
-
80
- .mobile-menu-button {
81
- text-indent: -10000px;
82
- position: absolute;
83
- right: 10px;
84
- top: 30px;
85
- display: block;
86
- z-index: 100000;
87
- /* make sure the hit area is big enough for mobile */
88
- height: 45px;
89
- width: 45px;
90
- cursor: pointer;
91
- .menu-icon {
92
- display: block;
93
- height: $slice-height;
94
- width: 30px;
95
- background-color: $bar-color;
96
- position: relative;
97
- @include border-radius(5px);
98
- @include trans();
99
- &:after, &:before {
100
- content: '';
101
- display: block;
102
- height: $slice-height;
103
- height: 5px;
104
- width: 30px;
105
- background-color: $bar-color;
106
- position: absolute;
107
- @include border-radius(5px);
108
- @include trans();
109
- }
110
- &:after {
111
- top: -10px
112
- }
113
- &:before {
114
- top: 10px
115
- }
116
- }
117
- .menu-icon-active {
118
- background:transparent;
119
- &:before {
120
- -webkit-transform:rotate(45deg);
121
- top:0;
122
- }
123
- &:after {
124
- -webkit-transform:rotate(-45deg);
125
- top:0;
126
- }
127
- }
128
- }
@@ -1,375 +0,0 @@
1
- /*! normalize.css v2.0.1 | MIT License | git.io/normalize */
2
-
3
- /* ==========================================================================
4
- HTML5 display definitions
5
- ========================================================================== */
6
-
7
- /*
8
- * Corrects `block` display not defined in IE 8/9.
9
- */
10
-
11
- article,
12
- aside,
13
- details,
14
- figcaption,
15
- figure,
16
- footer,
17
- header,
18
- hgroup,
19
- nav,
20
- section,
21
- summary {
22
- display: block;
23
- }
24
-
25
- /*
26
- * Corrects `inline-block` display not defined in IE 8/9.
27
- */
28
-
29
- audio,
30
- canvas,
31
- video {
32
- display: inline-block;
33
- }
34
-
35
- /*
36
- * Prevents modern browsers from displaying `audio` without controls.
37
- * Remove excess height in iOS 5 devices.
38
- */
39
-
40
- audio:not([controls]) {
41
- display: none;
42
- height: 0;
43
- }
44
-
45
- /*
46
- * Addresses styling for `hidden` attribute not present in IE 8/9.
47
- */
48
-
49
- [hidden] {
50
- display: none;
51
- }
52
-
53
- /* ==========================================================================
54
- Base
55
- ========================================================================== */
56
-
57
- /*
58
- * 1. Sets default font family to sans-serif.
59
- * 2. Prevents iOS text size adjust after orientation change, without disabling
60
- * user zoom.
61
- */
62
-
63
- html {
64
- font-family: sans-serif; /* 1 */
65
- -webkit-text-size-adjust: 100%; /* 2 */
66
- -ms-text-size-adjust: 100%; /* 2 */
67
- }
68
-
69
- /*
70
- * Removes default margin.
71
- */
72
-
73
- body {
74
- margin: 0;
75
- }
76
-
77
- /* ==========================================================================
78
- Links
79
- ========================================================================== */
80
-
81
- /*
82
- * Addresses `outline` inconsistency between Chrome and other browsers.
83
- */
84
-
85
- a:focus {
86
- outline: thin dotted;
87
- }
88
-
89
- /*
90
- * Improves readability when focused and also mouse hovered in all browsers.
91
- */
92
-
93
- a:active,
94
- a:hover {
95
- outline: 0;
96
- }
97
-
98
- /* ==========================================================================
99
- Typography
100
- ========================================================================== */
101
-
102
- /*
103
- * Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
104
- * Safari 5, and Chrome.
105
- */
106
-
107
- h1 {
108
- font-size: 2em;
109
- }
110
-
111
- /*
112
- * Addresses styling not present in IE 8/9, Safari 5, and Chrome.
113
- */
114
-
115
- abbr[title] {
116
- border-bottom: 1px dotted;
117
- }
118
-
119
- /*
120
- * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
121
- */
122
-
123
- b,
124
- strong {
125
- font-weight: bold;
126
- }
127
-
128
- /*
129
- * Addresses styling not present in Safari 5 and Chrome.
130
- */
131
-
132
- dfn {
133
- font-style: italic;
134
- }
135
-
136
- /*
137
- * Addresses styling not present in IE 8/9.
138
- */
139
-
140
- mark {
141
- background: #ff0;
142
- color: #000;
143
- }
144
-
145
-
146
- /*
147
- * Corrects font family set oddly in Safari 5 and Chrome.
148
- */
149
-
150
- code,
151
- kbd,
152
- pre,
153
- samp {
154
- font-family: monospace, serif;
155
- font-size: 1em;
156
- }
157
-
158
- /*
159
- * Improves readability of pre-formatted text in all browsers.
160
- */
161
-
162
- pre {
163
- white-space: pre;
164
- white-space: pre-wrap;
165
- word-wrap: break-word;
166
- }
167
-
168
- /*
169
- * Sets consistent quote types.
170
- */
171
-
172
- q {
173
- quotes: "\201C" "\201D" "\2018" "\2019";
174
- }
175
-
176
- /*
177
- * Addresses inconsistent and variable font size in all browsers.
178
- */
179
-
180
- small {
181
- font-size: 80%;
182
- }
183
-
184
- /*
185
- * Prevents `sub` and `sup` affecting `line-height` in all browsers.
186
- */
187
-
188
- sub,
189
- sup {
190
- font-size: 75%;
191
- line-height: 0;
192
- position: relative;
193
- vertical-align: baseline;
194
- }
195
-
196
- sup {
197
- top: -0.5em;
198
- }
199
-
200
- sub {
201
- bottom: -0.25em;
202
- }
203
-
204
- /* ==========================================================================
205
- Embedded content
206
- ========================================================================== */
207
-
208
- /*
209
- * Removes border when inside `a` element in IE 8/9.
210
- */
211
-
212
- img {
213
- border: 0;
214
- }
215
-
216
- /*
217
- * Corrects overflow displayed oddly in IE 9.
218
- */
219
-
220
- svg:not(:root) {
221
- overflow: hidden;
222
- }
223
-
224
- /* ==========================================================================
225
- Figures
226
- ========================================================================== */
227
-
228
- /*
229
- * Addresses margin not present in IE 8/9 and Safari 5.
230
- */
231
-
232
- figure {
233
- margin: 0;
234
- }
235
-
236
- /* ==========================================================================
237
- Forms
238
- ========================================================================== */
239
-
240
- /*
241
- * Define consistent border, margin, and padding.
242
- */
243
-
244
- fieldset {
245
- border: 1px solid #c0c0c0;
246
- margin: 0 2px;
247
- padding: 0.35em 0.625em 0.75em;
248
- }
249
-
250
- /*
251
- * 1. Corrects color not being inherited in IE 8/9.
252
- * 2. Remove padding so people aren't caught out if they zero out fieldsets.
253
- */
254
-
255
- legend {
256
- border: 0; /* 1 */
257
- padding: 0; /* 2 */
258
- }
259
-
260
- /*
261
- * 1. Corrects font family not being inherited in all browsers.
262
- * 2. Corrects font size not being inherited in all browsers.
263
- * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
264
- */
265
-
266
- button,
267
- input,
268
- select,
269
- textarea {
270
- font-family: inherit; /* 1 */
271
- font-size: 100%; /* 2 */
272
- margin: 0; /* 3 */
273
- }
274
-
275
- /*
276
- * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
277
- * the UA stylesheet.
278
- */
279
-
280
- button,
281
- input {
282
- line-height: normal;
283
- }
284
-
285
- /*
286
- * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
287
- * and `video` controls.
288
- * 2. Corrects inability to style clickable `input` types in iOS.
289
- * 3. Improves usability and consistency of cursor style between image-type
290
- * `input` and others.
291
- */
292
-
293
- button,
294
- html input[type="button"], /* 1 */
295
- input[type="reset"],
296
- input[type="submit"] {
297
- -webkit-appearance: button; /* 2 */
298
- cursor: pointer; /* 3 */
299
- }
300
-
301
- /*
302
- * Re-set default cursor for disabled elements.
303
- */
304
-
305
- button[disabled],
306
- input[disabled] {
307
- cursor: default;
308
- }
309
-
310
- /*
311
- * 1. Addresses box sizing set to `content-box` in IE 8/9.
312
- * 2. Removes excess padding in IE 8/9.
313
- */
314
-
315
- input[type="checkbox"],
316
- input[type="radio"] {
317
- box-sizing: border-box; /* 1 */
318
- padding: 0; /* 2 */
319
- }
320
-
321
- /*
322
- * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
323
- * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
324
- * (include `-moz` to future-proof).
325
- */
326
-
327
- input[type="search"] {
328
- -webkit-appearance: textfield; /* 1 */
329
- -moz-box-sizing: content-box;
330
- -webkit-box-sizing: content-box; /* 2 */
331
- box-sizing: content-box;
332
- }
333
-
334
- /*
335
- * Removes inner padding and search cancel button in Safari 5 and Chrome
336
- * on OS X.
337
- */
338
-
339
- input[type="search"]::-webkit-search-cancel-button,
340
- input[type="search"]::-webkit-search-decoration {
341
- -webkit-appearance: none;
342
- }
343
-
344
- /*
345
- * Removes inner padding and border in Firefox 4+.
346
- */
347
-
348
- button::-moz-focus-inner,
349
- input::-moz-focus-inner {
350
- border: 0;
351
- padding: 0;
352
- }
353
-
354
- /*
355
- * 1. Removes default vertical scrollbar in IE 8/9.
356
- * 2. Improves readability and alignment in all browsers.
357
- */
358
-
359
- textarea {
360
- overflow: auto; /* 1 */
361
- vertical-align: top; /* 2 */
362
- }
363
-
364
- /* ==========================================================================
365
- Tables
366
- ========================================================================== */
367
-
368
- /*
369
- * Remove most spacing between table cells.
370
- */
371
-
372
- table {
373
- border-collapse: collapse;
374
- border-spacing: 0;
375
- }