jekyll-theme-chaos 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +51 -0
  4. data/_includes/accordion.html +14 -0
  5. data/_includes/block.html +22 -0
  6. data/_includes/blog-list.html +122 -0
  7. data/_includes/counter.html +1 -0
  8. data/_includes/demands.html +11 -0
  9. data/_includes/desktop-header.html +21 -0
  10. data/_includes/events-gallery.html +91 -0
  11. data/_includes/footer.html +41 -0
  12. data/_includes/google-analytics.html +8 -0
  13. data/_includes/head.html +30 -0
  14. data/_includes/header.html +17 -0
  15. data/_includes/image.html +4 -0
  16. data/_includes/logo-facebook +4 -0
  17. data/_includes/logo-instagram +9 -0
  18. data/_includes/logo-share.svg +4 -0
  19. data/_includes/logo-twitter +4 -0
  20. data/_includes/logo-whatsapp.svg +8 -0
  21. data/_includes/map.html +15 -0
  22. data/_includes/mobile-header.html +41 -0
  23. data/_includes/partner-list.html +14 -0
  24. data/_includes/resources.html +8 -0
  25. data/_includes/share-links.html +26 -0
  26. data/_includes/signup-form.html +295 -0
  27. data/_includes/single-accordion.html +33 -0
  28. data/_includes/site-title.html +10 -0
  29. data/_includes/social-links.html +17 -0
  30. data/_includes/trainings_this_week +17 -0
  31. data/_includes/tweets.html +26 -0
  32. data/_layouts/an-event.html +69 -0
  33. data/_layouts/default.html +114 -0
  34. data/_layouts/event.html +30 -0
  35. data/_layouts/home.html +5 -0
  36. data/_layouts/landing.html +70 -0
  37. data/_layouts/page.html +12 -0
  38. data/_layouts/post.html +16 -0
  39. data/_layouts/redirect.html +24 -0
  40. data/_sass/an-form.scss +65 -0
  41. data/_sass/chaos/base.scss +273 -0
  42. data/_sass/chaos/block.scss +77 -0
  43. data/_sass/chaos/content.scss +546 -0
  44. data/_sass/chaos/desktop-header.scss +87 -0
  45. data/_sass/chaos/footer.scss +87 -0
  46. data/_sass/chaos/form.scss +96 -0
  47. data/_sass/chaos/header.scss +118 -0
  48. data/_sass/chaos/map.scss +54 -0
  49. data/_sass/chaos/mobile-header.scss +228 -0
  50. data/_sass/chaos/print.scss +21 -0
  51. data/_sass/chaos.scss +43 -0
  52. data/_sass/custom.scss +1 -0
  53. data/_templates/an-event.md +23 -0
  54. data/assets/css/MarkerCluster.Default.css +60 -0
  55. data/assets/css/MarkerCluster.css +14 -0
  56. data/assets/css/chaos-style.scss +173 -0
  57. data/assets/css/style.scss +2 -0
  58. data/assets/fonts/DrukCond-Super.ttf +0 -0
  59. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Bold.eot +0 -0
  60. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Bold.ttf +0 -0
  61. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Bold.woff +0 -0
  62. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Bold.woff2 +0 -0
  63. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-BoldItalic.eot +0 -0
  64. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-BoldItalic.ttf +0 -0
  65. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-BoldItalic.woff +0 -0
  66. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-BoldItalic.woff2 +0 -0
  67. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Italic.eot +0 -0
  68. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Italic.ttf +0 -0
  69. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Italic.woff +0 -0
  70. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Italic.woff2 +0 -0
  71. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Light.eot +0 -0
  72. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Light.ttf +0 -0
  73. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Light.woff +0 -0
  74. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Light.woff2 +0 -0
  75. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-LightItalic.eot +0 -0
  76. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-LightItalic.ttf +0 -0
  77. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-LightItalic.woff +0 -0
  78. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-LightItalic.woff2 +0 -0
  79. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Medium.eot +0 -0
  80. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Medium.ttf +0 -0
  81. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Medium.woff +0 -0
  82. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Medium.woff2 +0 -0
  83. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-MediumItalic.eot +0 -0
  84. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-MediumItalic.ttf +0 -0
  85. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-MediumItalic.woff +0 -0
  86. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-MediumItalic.woff2 +0 -0
  87. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Regular.eot +0 -0
  88. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Regular.ttf +0 -0
  89. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Regular.woff +0 -0
  90. data/assets/fonts/aktiv-grotesk/AktivGroteskCorp-Regular.woff2 +0 -0
  91. data/assets/fonts/aktiv-grotesk/stylesheet.css +96 -0
  92. data/assets/fonts/druk/DrukCondensed-Super.woff +0 -0
  93. data/assets/fonts/druk/DrukCondensed-Super.woff2 +0 -0
  94. data/assets/fonts/druk/DrukText-Medium.woff +0 -0
  95. data/assets/fonts/druk/DrukText-Medium.woff2 +0 -0
  96. data/assets/fonts/druk/DrukText-Super-Web.woff +0 -0
  97. data/assets/fonts/druk/DrukText-Super-Web.woff2 +0 -0
  98. data/assets/js/actions-map.js +175 -0
  99. data/assets/js/an-event-page.js +31 -0
  100. data/assets/js/jquery.js +2 -0
  101. data/assets/js/leaflet.markercluster-src.js +2690 -0
  102. data/assets/js/mailing-list.js +57 -0
  103. data/assets/js.js +112 -0
  104. data/assets/link.svg +8 -0
  105. metadata +231 -0
@@ -0,0 +1,96 @@
1
+ // @import "/assets/css/Chaos-style.scss";
2
+
3
+ .target:target{
4
+ display: block;
5
+
6
+ }
7
+ .target{
8
+ display: none;
9
+ color: $accent-color;
10
+ }
11
+ button.Chaos-Button{
12
+ border: 0;
13
+ padding-top: $spacing-unit * 0.7;
14
+ padding-bottom: $spacing-unit * 0.5;
15
+ }
16
+ input[type="submit"], button{
17
+ all: none;
18
+ border: 0;
19
+ }
20
+ .Chaos-Form{
21
+ font-size: $base-font-size * 0.8;
22
+ input,select{
23
+ border-style:solid;
24
+ border-width: 0;
25
+ border-radius: 0;
26
+ width: 100%;
27
+ border-color: $accent-color;
28
+ font-size: $base-font-size;
29
+ font-family: $base-font-stack;
30
+ background-color: $background-color;
31
+ // background-color: rgba(0,0,0,0);
32
+ }
33
+ div.input.text{
34
+ margin: $spacing-unit*1.5 $spacing-unit * 1.4;
35
+ display: flex;
36
+ flex-direction: column-reverse;
37
+ }
38
+ input[required], textarea[required], select[required] {
39
+ & + label::after{
40
+ content: " *";
41
+ color: $brand-color;
42
+ }
43
+ }
44
+ input[type="checkbox"]{
45
+ width: auto;
46
+ }
47
+ select {
48
+ // -webkit-appearance: none;
49
+ // -moz-appearance: none;
50
+ // appearance: none; /* Remove default arrow */
51
+ // background-image: url(...); /* Add custom arrow */
52
+ border-width: 2px;
53
+ padding: $spacing-unit;
54
+ border-radius: $rounding;
55
+ }
56
+ input[type="email"], input[type="text"], input[type="tel"], textarea{
57
+ border-width: 2px;
58
+ padding: $spacing-unit;
59
+ border-radius: $rounding;
60
+ &:focus{
61
+ border-color: $brand-color;
62
+ border-width: 3px;
63
+ outline-color: $brand-color;
64
+ }
65
+ }
66
+ textarea{
67
+ max-width: 100%;
68
+ &.expand:focus{
69
+ height: 40vh;
70
+ }
71
+ }
72
+ fieldset{
73
+ border: 0;
74
+ padding:0;
75
+ &.pair{
76
+ @media screen and (min-width: $content-width-narrow) {
77
+ display: flex;
78
+ .input {
79
+ max-width: 50%;
80
+ }
81
+
82
+ }
83
+ display: block;
84
+ .input{
85
+ max-width: 100%;
86
+ }
87
+
88
+ }
89
+ }
90
+ .form-submit-message:target{
91
+ display: block;
92
+ }
93
+ .form-submit-message{
94
+ display: none;
95
+ }
96
+ }
@@ -0,0 +1,118 @@
1
+
2
+ .nav-hide {
3
+ top: -$action-bar-height-mobile;
4
+ @media screen and (min-width: $on-small) {
5
+ top: -$action-bar-height;
6
+ }
7
+ }
8
+
9
+ .nav-visible {
10
+ top: 0;
11
+ }
12
+
13
+ .Chaos-Header {
14
+ transition: top 0.2s ease-in-out;
15
+ box-shadow: 0 1px 10px $shadow-color;
16
+ position: fixed;
17
+ left: 0;
18
+ right: 0;
19
+ z-index: 10;
20
+ color: $brand-color;
21
+ text-transform: uppercase;
22
+ a {
23
+ font-weight: normal;
24
+ }
25
+
26
+ .edgePadding {
27
+ flex-basis: 40px;
28
+ flex-shrink: 10000;
29
+ flex-grow: 0;
30
+ min-width: 5px;
31
+ }
32
+
33
+ .centralPadding {
34
+ flex-basis: 40px;
35
+ flex-shrink: 10000;
36
+ flex-grow: 10000;
37
+ min-width: 20px;
38
+ }
39
+
40
+ .social-links {
41
+ a {
42
+ text-decoration: none;
43
+
44
+ svg {
45
+ transition: 0.2s;
46
+ fill: $brand-text-color;
47
+ height: 38px;
48
+
49
+ &:hover{ fill: invert($brand-text-color);
50
+ path, .st0 {
51
+ fill: $brand-text-color;
52
+ }
53
+ }
54
+
55
+ path, .st0 { fill: invert($brand-text-color); }
56
+ }
57
+ }
58
+
59
+ }
60
+
61
+ .site-title {
62
+ font-family: $header-font-stack;
63
+ font-size: $base-font-size * 1.625;
64
+ &, &:visited { color: $text-color; }
65
+ transition: 0.1s;
66
+ &:hover {
67
+ text-decoration: none;
68
+ border-bottom: 3px solid $accent-color;
69
+ color: $background-color;
70
+ }
71
+
72
+ height: 100%;
73
+ display: flex;
74
+ flex-direction: column;
75
+ justify-content: center;
76
+
77
+ line-height: 1.2;
78
+ }
79
+
80
+ .site-title img {
81
+ max-height: $action-bar-height-mobile;
82
+
83
+
84
+ @media screen and (min-width: $on-small) {
85
+ max-height: $action-bar-height;
86
+ }
87
+
88
+ box-sizing: border-box;
89
+ padding: 10px 0;
90
+ }
91
+
92
+ .site-title .logo-square
93
+ {
94
+ display: none;
95
+ max-width: $action-bar-height-mobile;
96
+ max-height: $action-bar-height-mobile;
97
+
98
+ @media screen and (min-width: $on-small) {
99
+ max-width: $action-bar-height-mobile;
100
+ max-height: $action-bar-height;
101
+ }
102
+ }
103
+
104
+ @media screen and (max-width: 250px) {
105
+ .site-title .main-logo { display: none; }
106
+ .site-title .logo-square { display: block; }
107
+ .centralPadding { min-width: 0;}
108
+ .site-title span { display: none; }
109
+ }
110
+ @media screen and (max-width: 140px) {
111
+ .site-title .logo-square { display: none; }
112
+ }
113
+
114
+ @import
115
+ "chaos/desktop-header",
116
+ "chaos/mobile-header"
117
+ ;
118
+ }
@@ -0,0 +1,54 @@
1
+ .Chaos-Map-Container{
2
+ display: flex;
3
+ #Chaos-Map{
4
+ position: absolute;
5
+ width: 100vw;
6
+ height: 100vh;
7
+ top: 0;
8
+ left: 0;
9
+ z-index: 1;
10
+ }
11
+ .Chaos-Map-Overlay{
12
+ @media screen and (min-width: 900px){
13
+ left:auto;
14
+ right: 0;
15
+ }
16
+ position: absolute;
17
+ max-width: 100vw;
18
+ max-height: 100vh;
19
+ z-index: 2;
20
+ top:0;
21
+ left: 0;
22
+ .Action-List{
23
+ display: flex;
24
+ @media screen and (min-width: 900px){
25
+ flex-direction: column;
26
+ max-width: 30vw;
27
+ overflow-y: scroll;
28
+ overflow-x: auto;
29
+ }
30
+ max-height: 100vh;
31
+ overflow-x: scroll;
32
+ .Action{
33
+ &.first{
34
+ box-shadow: 0 5px 10px $brand-color;
35
+ order: -2;
36
+ }
37
+ @media screen and (min-width: 900px){
38
+ flex-basis: auto;
39
+ }
40
+ flex: 0 0 200px;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ #map{
46
+ height: 80vh;
47
+ width: 100%;
48
+ border: none;
49
+ padding: 0;
50
+ margin: 0;
51
+ }
52
+ #national-climate-justice-memorial{
53
+ order: -1;
54
+ }
@@ -0,0 +1,228 @@
1
+ .mobile {
2
+ background-color: $background-color;
3
+ display: flex;
4
+ flex-direction: row;
5
+ flex-wrap: nowrap;
6
+ justify-items: space-between;
7
+ align-items: center;
8
+ min-height: $action-bar-height-mobile;
9
+ height: 100%;
10
+
11
+ @media screen and (min-width: $on-small) {
12
+ min-height: $action-bar-height;
13
+ }
14
+
15
+ .nav-trigger { display: none; }
16
+
17
+ .site-title {
18
+ order: 2
19
+ }
20
+
21
+ > .Chaos-Button {
22
+ position: relative;
23
+ top: -1px;
24
+ order: 4;
25
+ margin-right: 16px;
26
+ font-size: 15px;
27
+ line-height: 1;
28
+ height: 42px;
29
+ padding: 13px 16px;
30
+ box-sizing: border-box;
31
+ display: none;
32
+
33
+ @media screen and (min-width: $on-small) {
34
+ & { display: inline-block;}
35
+ }
36
+ }
37
+
38
+ .menu-icon {
39
+ line-height: 0;
40
+ width: 18px;
41
+ height: 15px;
42
+ position: relative;
43
+ left: 0;
44
+ top:0;
45
+ transition: 0.3s;
46
+ padding: 14px;
47
+ border-radius: 50%;
48
+ background-color: $accent-color;
49
+
50
+ &:hover {
51
+ background-color: $accent-color-dark;
52
+ }
53
+
54
+ > svg path { fill: $accent-text-color; }
55
+ }
56
+
57
+ .close-menu, .open-menu {
58
+ width: 46px;
59
+ height: 46px;
60
+ align-self: center;
61
+ cursor: pointer;
62
+ order: 4
63
+ }
64
+
65
+ .centralPadding { order: 3}
66
+
67
+ .edgePadding {
68
+ order: 6;
69
+ max-width: 16px;
70
+
71
+ &:first-of-type { order: 1; }
72
+ }
73
+
74
+ input { order: 5}
75
+
76
+ .menu-icon { display: block; }
77
+
78
+ .desktop-nav { display: none; }
79
+
80
+ .social-links {
81
+ margin: 5px 20px 20px 0;
82
+ text-align: right;
83
+ align-items: center;
84
+
85
+ svg {
86
+ width: 42px;
87
+ height: 42px;
88
+ transition: 0.2s;
89
+ }
90
+ }
91
+
92
+ .close-menu {
93
+ display: none;
94
+ z-index: 2;
95
+ position: fixed;
96
+ top: 6px;
97
+ right: 16px;
98
+
99
+ @media screen and (min-width: $on-small) {
100
+ top: 14px;
101
+ }
102
+
103
+ .menu-icon {
104
+ width: 18px;
105
+ height: 18px;
106
+ padding: 12px 14px;
107
+ }
108
+ }
109
+
110
+ input ~ .mobile-drawer-container {
111
+ right: -100%;
112
+
113
+ @media screen and (min-width: $on-medium) {
114
+ & { display: none; }
115
+ }
116
+ }
117
+
118
+ input:checked ~ .close-menu { display: block; }
119
+
120
+ .mobile-drawer-container {
121
+ transition: right 0.3s ease-in-out;
122
+ box-shadow: -1px 0 10px $shadow-color;
123
+ position: fixed;
124
+ display: flex;
125
+ top: 0;
126
+ bottom: 0;
127
+ right: 0;
128
+ z-index: 1;
129
+ min-width: 240px;
130
+ max-width: 400px;
131
+ width:85%;
132
+
133
+ @media screen and (max-width: $on-tiny) {
134
+ & { min-width: unset; width: 100%;}
135
+ }
136
+
137
+ .mobile-drawer
138
+ {
139
+ background-color: $brand-color;
140
+
141
+ width: 100%;
142
+ position: relative;
143
+ padding-top: $action-bar-height-mobile;
144
+
145
+ @media screen and (min-width: $on-small) {
146
+ padding-top: $action-bar-height;
147
+ }
148
+
149
+
150
+ display: flex;
151
+ flex-direction: column;
152
+ flex-wrap: nowrap;
153
+ justify-content: space-between;
154
+ align-items: stretch;
155
+ align-content: space-around;
156
+
157
+ > a {
158
+ align-self: center;
159
+ }
160
+
161
+ .mobile-nav {
162
+ display: flex;
163
+ flex-direction: column;
164
+ flex-wrap: nowrap;
165
+ justify-content: flex-start;
166
+ align-items: stretch;
167
+ align-content: space-around;
168
+
169
+ .page-link {
170
+ border-top: 1px solid $text-color;
171
+ color: $brand-text-color;
172
+ line-height: $base-line-height;
173
+ font-family: $header-font-stack;
174
+ font-size: $base-font-size * 1.5;
175
+
176
+ &:hover {
177
+ text-decoration: none;
178
+ border-bottom: 1px solid $accent-color;
179
+ color: $background-color;
180
+ }
181
+ padding: 0.5rem;
182
+ padding-left: 1.5rem;
183
+ }
184
+
185
+ .page-link:hover + .page-link {
186
+ border-top: none;
187
+ }
188
+
189
+ }
190
+ }
191
+ }
192
+
193
+ input:checked ~ .mobile-drawer-container {
194
+ right: 0;
195
+
196
+ @media screen and (min-width: $on-medium) {
197
+ & { display: none;}
198
+ }
199
+ }
200
+
201
+ .scrim {
202
+ position: fixed;
203
+ top:0;
204
+ left:0;
205
+ right:0;
206
+ bottom: 0;
207
+ background-color: black;
208
+ opacity: 0;
209
+ z-index: 0;
210
+ cursor: pointer;
211
+ display: block;
212
+ transition: opacity 0.3s ease-in-out;
213
+ pointer-events:none;
214
+ }
215
+
216
+ input:checked ~ .scrim {
217
+ pointer-events:initial;
218
+ opacity: 0.5;
219
+ }
220
+
221
+ @media screen and (min-width: $on-medium) {
222
+ .open-menu { display: none; }
223
+ }
224
+
225
+ @media screen and (min-width: $on-medium) {
226
+ & { display: none; }
227
+ }
228
+ }
@@ -0,0 +1,21 @@
1
+ @media print
2
+ {
3
+ body {
4
+ font-size: 12pt;
5
+ }
6
+ .Chaos-Header, .Chaos-Footer, .Chaos-Big-Picture, .Chaos-Half-Picture{
7
+ display: none;
8
+ }
9
+ .Chaos-Wrapper-Wide, .Chaos-Wrapper-Narrow {
10
+ padding-left: 0;
11
+ padding-right: 0;
12
+ max-width: none;
13
+
14
+ }
15
+ .Chaos-Section {
16
+ padding: 3em 0;
17
+ }
18
+ body {
19
+ display: block;
20
+ }
21
+ }
data/_sass/chaos.scss ADDED
@@ -0,0 +1,43 @@
1
+ // Define defaults for each variable.
2
+ // @font-face{
3
+ // font-family:"FucXed";
4
+ // font-style:normal;
5
+ // font-weight:normal;
6
+ // src:url("../fucxedcaps-v2-webfont.woff2") format("woff2"),url("../assets/fucxedcaps-v2-webfont.woff") format("woff");
7
+ // font-display:swap
8
+ // }
9
+
10
+
11
+
12
+ $table-text-align: left !default;
13
+
14
+ // Width of the content area
15
+ $content-width-narrow: 400px !default;
16
+ $content-width-wide: 600px !default;
17
+ $half-width: 500px !default;
18
+
19
+ $on-small: 400px !default;
20
+ $on-medium: 800px !default;
21
+ $on-large: 1300px !default;
22
+
23
+ $spacing-unit: 10px !default;
24
+ $action-bar-height: 72px !default;
25
+ $action-bar-height-mobile: 56px !default;
26
+ $rounding: 5px;
27
+
28
+ // Blocks
29
+ $block-height: calc(max(min( 50vw, 60vh ), 400px));
30
+
31
+ // Import partials.
32
+ @import
33
+ "chaos/base",
34
+ "chaos/header",
35
+ "chaos/footer",
36
+ "chaos/content",
37
+ "chaos/print",
38
+ "chaos/form",
39
+ "chaos/block",
40
+ "chaos/map",
41
+ "custom",
42
+ "an-form"
43
+ ;
data/_sass/custom.scss ADDED
@@ -0,0 +1 @@
1
+ // Nothing... placeholder for custom styling
@@ -0,0 +1,23 @@
1
+ ---
2
+ title: Action Network Event
3
+ slug: an-event
4
+
5
+ ---
6
+ # {{ title }}
7
+
8
+ {{ share_buttons }}
9
+ {{ image }}
10
+ {{ date }}
11
+
12
+ ## RSVP
13
+
14
+ {{form}}
15
+
16
+ ## What
17
+
18
+ {{ content }}
19
+
20
+ ## Where
21
+
22
+ {{ address }}
23
+ {{map}}
@@ -0,0 +1,60 @@
1
+ .marker-cluster-small {
2
+ background-color: rgba(181, 226, 140, 0.6);
3
+ }
4
+ .marker-cluster-small div {
5
+ background-color: rgba(110, 204, 57, 0.6);
6
+ }
7
+
8
+ .marker-cluster-medium {
9
+ background-color: rgba(241, 211, 87, 0.6);
10
+ }
11
+ .marker-cluster-medium div {
12
+ background-color: rgba(240, 194, 12, 0.6);
13
+ }
14
+
15
+ .marker-cluster-large {
16
+ background-color: rgba(253, 156, 115, 0.6);
17
+ }
18
+ .marker-cluster-large div {
19
+ background-color: rgba(241, 128, 23, 0.6);
20
+ }
21
+
22
+ /* IE 6-8 fallback colors */
23
+ .leaflet-oldie .marker-cluster-small {
24
+ background-color: rgb(181, 226, 140);
25
+ }
26
+ .leaflet-oldie .marker-cluster-small div {
27
+ background-color: rgb(110, 204, 57);
28
+ }
29
+
30
+ .leaflet-oldie .marker-cluster-medium {
31
+ background-color: rgb(241, 211, 87);
32
+ }
33
+ .leaflet-oldie .marker-cluster-medium div {
34
+ background-color: rgb(240, 194, 12);
35
+ }
36
+
37
+ .leaflet-oldie .marker-cluster-large {
38
+ background-color: rgb(253, 156, 115);
39
+ }
40
+ .leaflet-oldie .marker-cluster-large div {
41
+ background-color: rgb(241, 128, 23);
42
+ }
43
+
44
+ .marker-cluster {
45
+ background-clip: padding-box;
46
+ border-radius: 20px;
47
+ }
48
+ .marker-cluster div {
49
+ width: 30px;
50
+ height: 30px;
51
+ margin-left: 5px;
52
+ margin-top: 5px;
53
+
54
+ text-align: center;
55
+ border-radius: 15px;
56
+ font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
57
+ }
58
+ .marker-cluster span {
59
+ line-height: 30px;
60
+ }
@@ -0,0 +1,14 @@
1
+ .leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
2
+ -webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
3
+ -moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
4
+ -o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
5
+ transition: transform 0.3s ease-out, opacity 0.3s ease-in;
6
+ }
7
+
8
+ .leaflet-cluster-spider-leg {
9
+ /* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
10
+ -webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
11
+ -moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
12
+ -o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
13
+ transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
14
+ }