ably-ui 4.2.0.dev.1a5533f

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +8 -0
  3. data/Gemfile.lock +34 -0
  4. data/LICENSE +13 -0
  5. data/README.md +419 -0
  6. data/ably-ui.gemspec +22 -0
  7. data/lib/ably_ui/core/code/code.html.erb +3 -0
  8. data/lib/ably_ui/core/code/code.rb +11 -0
  9. data/lib/ably_ui/core/code/component.css +70 -0
  10. data/lib/ably_ui/core/code/component.js +1 -0
  11. data/lib/ably_ui/core/connect_state_wrapper/component.js +1 -0
  12. data/lib/ably_ui/core/contact_footer/component.css +12 -0
  13. data/lib/ably_ui/core/contact_footer/component.js +1 -0
  14. data/lib/ably_ui/core/contact_footer/contact_footer.html.erb +32 -0
  15. data/lib/ably_ui/core/contact_footer/contact_footer.rb +13 -0
  16. data/lib/ably_ui/core/cookie_message/component.css +14 -0
  17. data/lib/ably_ui/core/cookie_message/component.js +1 -0
  18. data/lib/ably_ui/core/core.rb +65 -0
  19. data/lib/ably_ui/core/feature_footer/component.css +13 -0
  20. data/lib/ably_ui/core/feature_footer/component.js +1 -0
  21. data/lib/ably_ui/core/feature_footer/feature_footer.html.erb +54 -0
  22. data/lib/ably_ui/core/feature_footer/feature_footer.rb +30 -0
  23. data/lib/ably_ui/core/featured_link/component.css +17 -0
  24. data/lib/ably_ui/core/featured_link/component.js +1 -0
  25. data/lib/ably_ui/core/featured_link/featured_link.html.erb +6 -0
  26. data/lib/ably_ui/core/featured_link/featured_link.rb +17 -0
  27. data/lib/ably_ui/core/flash/component.css +30 -0
  28. data/lib/ably_ui/core/flash/component.js +1 -0
  29. data/lib/ably_ui/core/fonts/NEXT-Book-Light-Italic.eot +0 -0
  30. data/lib/ably_ui/core/fonts/NEXT-Book-Light-Italic.otf +0 -0
  31. data/lib/ably_ui/core/fonts/NEXT-Book-Light-Italic.woff +0 -0
  32. data/lib/ably_ui/core/fonts/NEXT-Book-Light-Italic.woff2 +0 -0
  33. data/lib/ably_ui/core/fonts/NEXT-Book-Light.eot +0 -0
  34. data/lib/ably_ui/core/fonts/NEXT-Book-Light.otf +0 -0
  35. data/lib/ably_ui/core/fonts/NEXT-Book-Light.woff +0 -0
  36. data/lib/ably_ui/core/fonts/NEXT-Book-Light.woff2 +0 -0
  37. data/lib/ably_ui/core/fonts/NEXT-Book-Medium-Italic.eot +0 -0
  38. data/lib/ably_ui/core/fonts/NEXT-Book-Medium-Italic.otf +0 -0
  39. data/lib/ably_ui/core/fonts/NEXT-Book-Medium-Italic.woff +0 -0
  40. data/lib/ably_ui/core/fonts/NEXT-Book-Medium-Italic.woff2 +0 -0
  41. data/lib/ably_ui/core/fonts/NEXT-Book-Medium.eot +0 -0
  42. data/lib/ably_ui/core/fonts/NEXT-Book-Medium.otf +0 -0
  43. data/lib/ably_ui/core/fonts/NEXT-Book-Medium.woff +0 -0
  44. data/lib/ably_ui/core/fonts/NEXT-Book-Medium.woff2 +0 -0
  45. data/lib/ably_ui/core/fonts/next.css +59 -0
  46. data/lib/ably_ui/core/footer/component.css +14 -0
  47. data/lib/ably_ui/core/footer/component.js +1 -0
  48. data/lib/ably_ui/core/footer/footer.html.erb +190 -0
  49. data/lib/ably_ui/core/footer/footer.rb +14 -0
  50. data/lib/ably_ui/core/icon/component.css +1 -0
  51. data/lib/ably_ui/core/icon/component.js +1 -0
  52. data/lib/ably_ui/core/icon/icon.html.erb +3 -0
  53. data/lib/ably_ui/core/icon/icon.rb +25 -0
  54. data/lib/ably_ui/core/images/ably-logo.svg +15 -0
  55. data/lib/ably_ui/core/images/ably-stack.svg +14 -0
  56. data/lib/ably_ui/core/images/blog-thumb1.jpg +0 -0
  57. data/lib/ably_ui/core/images/blog-thumb2.jpg +0 -0
  58. data/lib/ably_ui/core/images/blog-thumb3.jpg +0 -0
  59. data/lib/ably_ui/core/images/cust-logo-ao-col-pos.png +0 -0
  60. data/lib/ably_ui/core/images/cust-logo-ao-col-pos@2x.png +0 -0
  61. data/lib/ably_ui/core/images/cust-logo-ausopen-col-pos.png +0 -0
  62. data/lib/ably_ui/core/images/cust-logo-ausopen-col-pos@2x.png +0 -0
  63. data/lib/ably_ui/core/images/cust-logo-hubspot-col-pos.png +0 -0
  64. data/lib/ably_ui/core/images/cust-logo-hubspot-col-pos@2x.png +0 -0
  65. data/lib/ably_ui/core/images/cust-logo-lightspeed-col-pos.png +0 -0
  66. data/lib/ably_ui/core/images/cust-logo-lightspeed-col-pos@2x.png +0 -0
  67. data/lib/ably_ui/core/images/cust-logo-lightspeed-syst-col-pos.png +0 -0
  68. data/lib/ably_ui/core/images/cust-logo-lightspeed-syst-col-pos@2x.png +0 -0
  69. data/lib/ably_ui/core/images/cust-logo-split-col-pos.png +0 -0
  70. data/lib/ably_ui/core/images/cust-logo-split-col-pos@2x.png +0 -0
  71. data/lib/ably_ui/core/images/cust-logo-vitac-col-pos.png +0 -0
  72. data/lib/ably_ui/core/images/cust-logo-vitac-col-pos@2x.png +0 -0
  73. data/lib/ably_ui/core/images/cust-photo-hubspot-max-freiert.jpg +0 -0
  74. data/lib/ably_ui/core/images/cust-photo-split-pato-echague.jpg +0 -0
  75. data/lib/ably_ui/core/images/cust-photo-vitac-joe-antonio.jpg +0 -0
  76. data/lib/ably_ui/core/images/flexible-companies.png +0 -0
  77. data/lib/ably_ui/core/images/rocket-list-2021.png +0 -0
  78. data/lib/ably_ui/core/images/scale-motif-open-empathetic.svg +1 -0
  79. data/lib/ably_ui/core/images/technical-support-01-800x533.jpg +0 -0
  80. data/lib/ably_ui/core/logo/component.js +1 -0
  81. data/lib/ably_ui/core/logo/logo.html.erb +28 -0
  82. data/lib/ably_ui/core/logo/logo.rb +19 -0
  83. data/lib/ably_ui/core/meganav/component.css +103 -0
  84. data/lib/ably_ui/core/meganav/component.js +1 -0
  85. data/lib/ably_ui/core/meganav/component.json +37 -0
  86. data/lib/ably_ui/core/meganav/meganav.html.erb +26 -0
  87. data/lib/ably_ui/core/meganav/meganav.rb +53 -0
  88. data/lib/ably_ui/core/meganav_blog_posts_list/component.js +1 -0
  89. data/lib/ably_ui/core/meganav_blog_posts_list/meganav_blog_posts_list.html.erb +5 -0
  90. data/lib/ably_ui/core/meganav_blog_posts_list/meganav_blog_posts_list.rb +13 -0
  91. data/lib/ably_ui/core/meganav_content_developers/component.js +1 -0
  92. data/lib/ably_ui/core/meganav_content_developers/meganav_content_developers.html.erb +77 -0
  93. data/lib/ably_ui/core/meganav_content_developers/meganav_content_developers.rb +13 -0
  94. data/lib/ably_ui/core/meganav_content_platform/component.js +1 -0
  95. data/lib/ably_ui/core/meganav_content_platform/meganav_content_platform.html.erb +91 -0
  96. data/lib/ably_ui/core/meganav_content_platform/meganav_content_platform.rb +14 -0
  97. data/lib/ably_ui/core/meganav_content_use_cases/component.js +1 -0
  98. data/lib/ably_ui/core/meganav_content_use_cases/meganav_content_use_cases.html.erb +72 -0
  99. data/lib/ably_ui/core/meganav_content_use_cases/meganav_content_use_cases.rb +13 -0
  100. data/lib/ably_ui/core/meganav_content_why_ably/component.js +1 -0
  101. data/lib/ably_ui/core/meganav_content_why_ably/meganav_content_why_ably.html.erb +70 -0
  102. data/lib/ably_ui/core/meganav_content_why_ably/meganav_content_why_ably.rb +13 -0
  103. data/lib/ably_ui/core/meganav_control/component.js +1 -0
  104. data/lib/ably_ui/core/meganav_control/meganav_control.html.erb +6 -0
  105. data/lib/ably_ui/core/meganav_control/meganav_control.rb +12 -0
  106. data/lib/ably_ui/core/meganav_control_mobile_dropdown/component.js +1 -0
  107. data/lib/ably_ui/core/meganav_control_mobile_dropdown/meganav_control_mobile_dropdown.html.erb +7 -0
  108. data/lib/ably_ui/core/meganav_control_mobile_dropdown/meganav_control_mobile_dropdown.rb +11 -0
  109. data/lib/ably_ui/core/meganav_control_mobile_panel_close/component.js +1 -0
  110. data/lib/ably_ui/core/meganav_control_mobile_panel_close/meganav_control_mobile_panel_close.html.erb +10 -0
  111. data/lib/ably_ui/core/meganav_control_mobile_panel_close/meganav_control_mobile_panel_close.rb +9 -0
  112. data/lib/ably_ui/core/meganav_control_mobile_panel_open/component.js +1 -0
  113. data/lib/ably_ui/core/meganav_control_mobile_panel_open/meganav_control_mobile_panel_open.html.erb +7 -0
  114. data/lib/ably_ui/core/meganav_control_mobile_panel_open/meganav_control_mobile_panel_open.rb +9 -0
  115. data/lib/ably_ui/core/meganav_items_desktop/component.js +1 -0
  116. data/lib/ably_ui/core/meganav_items_desktop/meganav_items_desktop.html.erb +16 -0
  117. data/lib/ably_ui/core/meganav_items_desktop/meganav_items_desktop.rb +15 -0
  118. data/lib/ably_ui/core/meganav_items_mobile/component.js +1 -0
  119. data/lib/ably_ui/core/meganav_items_mobile/meganav_items_mobile.html.erb +47 -0
  120. data/lib/ably_ui/core/meganav_items_mobile/meganav_items_mobile.rb +17 -0
  121. data/lib/ably_ui/core/meganav_items_signed_in/component.js +1 -0
  122. data/lib/ably_ui/core/meganav_items_signed_in/meganav_items_signed_in.html.erb +49 -0
  123. data/lib/ably_ui/core/meganav_items_signed_in/meganav_items_signed_in.rb +33 -0
  124. data/lib/ably_ui/core/notice/component.css +8 -0
  125. data/lib/ably_ui/core/notice/component.js +2 -0
  126. data/lib/ably_ui/core/notice/notice.html.erb +16 -0
  127. data/lib/ably_ui/core/notice/notice.rb +29 -0
  128. data/lib/ably_ui/core/scripts.js +1 -0
  129. data/lib/ably_ui/core/showcase/component.css +31 -0
  130. data/lib/ably_ui/core/showcase/component.js +1 -0
  131. data/lib/ably_ui/core/showcase/showcase.html.erb +76 -0
  132. data/lib/ably_ui/core/showcase/showcase.rb +190 -0
  133. data/lib/ably_ui/core/sign_out_link/component.js +1 -0
  134. data/lib/ably_ui/core/sign_out_link/sign_out_link.html.erb +1 -0
  135. data/lib/ably_ui/core/sign_out_link/sign_out_link.rb +17 -0
  136. data/lib/ably_ui/core/slider/component.css +9 -0
  137. data/lib/ably_ui/core/slider/component.js +1 -0
  138. data/lib/ably_ui/core/slider/slider.html.erb +28 -0
  139. data/lib/ably_ui/core/slider/slider.rb +38 -0
  140. data/lib/ably_ui/core/sprites.svg +113 -0
  141. data/lib/ably_ui/core/styles.css +332 -0
  142. data/lib/ably_ui/core/uptime/component.css +129 -0
  143. data/lib/ably_ui/core/uptime/component.js +1 -0
  144. data/lib/ably_ui/core/uptime/uptime.html.erb +0 -0
  145. data/lib/ably_ui/core/uptime/uptime.rb +7 -0
  146. data/lib/ably_ui/reset/scripts.js +1 -0
  147. data/lib/ably_ui/reset/styles.css +487 -0
  148. data/lib/ably_ui/version.rb +3 -0
  149. data/lib/ably_ui.rb +27 -0
  150. metadata +210 -0
@@ -0,0 +1,487 @@
1
+ @layer base {
2
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
3
+
4
+ /* Document
5
+ ========================================================================== */
6
+
7
+ /**
8
+ * 1. Correct the line height in all browsers.
9
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
10
+ */
11
+
12
+ html {
13
+ line-height: 1.15; /* 1 */
14
+ -webkit-text-size-adjust: 100%; /* 2 */
15
+ }
16
+
17
+ /* Sections
18
+ ========================================================================== */
19
+
20
+ /**
21
+ * Remove the margin in all browsers.
22
+ */
23
+
24
+ body {
25
+ margin: 0;
26
+ }
27
+
28
+ /**
29
+ * Render the `main` element consistently in IE.
30
+ */
31
+
32
+ main {
33
+ display: block;
34
+ }
35
+
36
+ /**
37
+ * Correct the font size and margin on `h1` elements within `section` and
38
+ * `article` contexts in Chrome, Firefox, and Safari.
39
+ */
40
+
41
+ h1 {
42
+ font-size: 2em;
43
+ margin: 0.67em 0;
44
+ }
45
+
46
+ /* Grouping content
47
+ ========================================================================== */
48
+
49
+ /**
50
+ * 1. Add the correct box sizing in Firefox.
51
+ * 2. Show the overflow in Edge and IE.
52
+ */
53
+
54
+ hr {
55
+ box-sizing: content-box; /* 1 */
56
+ height: 0; /* 1 */
57
+ overflow: visible; /* 2 */
58
+ }
59
+
60
+ /**
61
+ * 1. Correct the inheritance and scaling of font size in all browsers.
62
+ * 2. Correct the odd `em` font sizing in all browsers.
63
+ */
64
+
65
+ pre {
66
+ font-family: monospace, monospace; /* 1 */
67
+ font-size: 1em; /* 2 */
68
+ }
69
+
70
+ /* Text-level semantics
71
+ ========================================================================== */
72
+
73
+ /**
74
+ * Remove the gray background on active links in IE 10.
75
+ */
76
+
77
+ a {
78
+ background-color: transparent;
79
+ }
80
+
81
+ /**
82
+ * 1. Remove the bottom border in Chrome 57-
83
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
84
+ */
85
+
86
+ abbr[title] {
87
+ border-bottom: none; /* 1 */
88
+ text-decoration: underline; /* 2 */
89
+ -webkit-text-decoration: underline dotted;
90
+ text-decoration: underline dotted; /* 2 */
91
+ }
92
+
93
+ /**
94
+ * Add the correct font weight in Chrome, Edge, and Safari.
95
+ */
96
+
97
+ b,
98
+ strong {
99
+ font-weight: bolder;
100
+ }
101
+
102
+ /**
103
+ * 1. Correct the inheritance and scaling of font size in all browsers.
104
+ * 2. Correct the odd `em` font sizing in all browsers.
105
+ */
106
+
107
+ code,
108
+ kbd,
109
+ samp {
110
+ font-family: monospace, monospace; /* 1 */
111
+ font-size: 1em; /* 2 */
112
+ }
113
+
114
+ /**
115
+ * Add the correct font size in all browsers.
116
+ */
117
+
118
+ small {
119
+ font-size: 80%;
120
+ }
121
+
122
+ /**
123
+ * Prevent `sub` and `sup` elements from affecting the line height in
124
+ * all browsers.
125
+ */
126
+
127
+ sub,
128
+ sup {
129
+ font-size: 75%;
130
+ line-height: 0;
131
+ position: relative;
132
+ vertical-align: baseline;
133
+ }
134
+
135
+ sub {
136
+ bottom: -0.25em;
137
+ }
138
+
139
+ sup {
140
+ top: -0.5em;
141
+ }
142
+
143
+ /* Embedded content
144
+ ========================================================================== */
145
+
146
+ /**
147
+ * Remove the border on images inside links in IE 10.
148
+ */
149
+
150
+ img {
151
+ border-style: none;
152
+ }
153
+
154
+ /* Forms
155
+ ========================================================================== */
156
+
157
+ /**
158
+ * 1. Change the font styles in all browsers.
159
+ * 2. Remove the margin in Firefox and Safari.
160
+ */
161
+
162
+ button,
163
+ input,
164
+ optgroup,
165
+ select,
166
+ textarea {
167
+ font-family: inherit; /* 1 */
168
+ font-size: 100%; /* 1 */
169
+ line-height: 1.15; /* 1 */
170
+ margin: 0; /* 2 */
171
+ }
172
+
173
+ /**
174
+ * Show the overflow in IE.
175
+ * 1. Show the overflow in Edge.
176
+ */
177
+
178
+ button,
179
+ input {
180
+ /* 1 */
181
+ overflow: visible;
182
+ }
183
+
184
+ /**
185
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
186
+ * 1. Remove the inheritance of text transform in Firefox.
187
+ */
188
+
189
+ button,
190
+ select {
191
+ /* 1 */
192
+ text-transform: none;
193
+ }
194
+
195
+ /**
196
+ * Correct the inability to style clickable types in iOS and Safari.
197
+ */
198
+
199
+ button,
200
+ [type="button"],
201
+ [type="reset"],
202
+ [type="submit"] {
203
+ -webkit-appearance: button;
204
+ }
205
+
206
+ /**
207
+ * Remove the inner border and padding in Firefox.
208
+ */
209
+
210
+ button::-moz-focus-inner,
211
+ [type="button"]::-moz-focus-inner,
212
+ [type="reset"]::-moz-focus-inner,
213
+ [type="submit"]::-moz-focus-inner {
214
+ border-style: none;
215
+ padding: 0;
216
+ }
217
+
218
+ /**
219
+ * Restore the focus styles unset by the previous rule.
220
+ */
221
+
222
+ button:-moz-focusring,
223
+ [type="button"]:-moz-focusring,
224
+ [type="reset"]:-moz-focusring,
225
+ [type="submit"]:-moz-focusring {
226
+ outline: 1px dotted ButtonText;
227
+ }
228
+
229
+ /**
230
+ * Correct the padding in Firefox.
231
+ */
232
+
233
+ fieldset {
234
+ padding: 0.35em 0.75em 0.625em;
235
+ }
236
+
237
+ /**
238
+ * 1. Correct the text wrapping in Edge and IE.
239
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
240
+ * 3. Remove the padding so developers are not caught out when they zero out
241
+ * `fieldset` elements in all browsers.
242
+ */
243
+
244
+ legend {
245
+ box-sizing: border-box; /* 1 */
246
+ color: inherit; /* 2 */
247
+ display: table; /* 1 */
248
+ max-width: 100%; /* 1 */
249
+ padding: 0; /* 3 */
250
+ white-space: normal; /* 1 */
251
+ }
252
+
253
+ /**
254
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
255
+ */
256
+
257
+ progress {
258
+ vertical-align: baseline;
259
+ }
260
+
261
+ /**
262
+ * Remove the default vertical scrollbar in IE 10+.
263
+ */
264
+
265
+ textarea {
266
+ overflow: auto;
267
+ }
268
+
269
+ /**
270
+ * 1. Add the correct box sizing in IE 10.
271
+ * 2. Remove the padding in IE 10.
272
+ */
273
+
274
+ [type="checkbox"],
275
+ [type="radio"] {
276
+ box-sizing: border-box; /* 1 */
277
+ padding: 0; /* 2 */
278
+ }
279
+
280
+ /**
281
+ * Correct the cursor style of increment and decrement buttons in Chrome.
282
+ */
283
+
284
+ [type="number"]::-webkit-inner-spin-button,
285
+ [type="number"]::-webkit-outer-spin-button {
286
+ height: auto;
287
+ }
288
+
289
+ /**
290
+ * 1. Correct the odd appearance in Chrome and Safari.
291
+ * 2. Correct the outline style in Safari.
292
+ */
293
+
294
+ [type="search"] {
295
+ -webkit-appearance: textfield; /* 1 */
296
+ outline-offset: -2px; /* 2 */
297
+ }
298
+
299
+ /**
300
+ * Remove the inner padding in Chrome and Safari on macOS.
301
+ */
302
+
303
+ [type="search"]::-webkit-search-decoration {
304
+ -webkit-appearance: none;
305
+ }
306
+
307
+ /**
308
+ * 1. Correct the inability to style clickable types in iOS and Safari.
309
+ * 2. Change font properties to `inherit` in Safari.
310
+ */
311
+
312
+ ::-webkit-file-upload-button {
313
+ -webkit-appearance: button; /* 1 */
314
+ font: inherit; /* 2 */
315
+ }
316
+
317
+ /* Interactive
318
+ ========================================================================== */
319
+
320
+ /*
321
+ * Add the correct display in Edge, IE 10+, and Firefox.
322
+ */
323
+
324
+ details {
325
+ display: block;
326
+ }
327
+
328
+ /*
329
+ * Add the correct display in all browsers.
330
+ */
331
+
332
+ summary {
333
+ display: list-item;
334
+ }
335
+
336
+ /* Misc
337
+ ========================================================================== */
338
+
339
+ /**
340
+ * Add the correct display in IE 10+.
341
+ */
342
+
343
+ template {
344
+ display: none;
345
+ }
346
+
347
+ /**
348
+ * Add the correct display in IE 10.
349
+ */
350
+
351
+ [hidden] {
352
+ display: none;
353
+ }
354
+ }
355
+ /* Reset based on https://unpkg.com/tailwindcss@1.9.6/dist/base.css */
356
+ @layer base {
357
+ html {
358
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
359
+ Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
360
+ "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
361
+ "Noto Color Emoji";
362
+ line-height: 1.5;
363
+ }
364
+
365
+ blockquote,
366
+ dl,
367
+ dd,
368
+ h1,
369
+ h2,
370
+ h3,
371
+ h4,
372
+ h5,
373
+ h6,
374
+ figure,
375
+ p,
376
+ pre {
377
+ margin: 0;
378
+ }
379
+
380
+ h1,
381
+ h2,
382
+ h3,
383
+ h4,
384
+ h5,
385
+ h6 {
386
+ font-size: inherit;
387
+ font-weight: inherit;
388
+ }
389
+
390
+ fieldset {
391
+ margin: 0;
392
+ padding: 0;
393
+ }
394
+
395
+ ol,
396
+ ul {
397
+ list-style: none;
398
+ margin: 0;
399
+ padding: 0;
400
+ }
401
+
402
+ pre,
403
+ code,
404
+ kbd,
405
+ samp {
406
+ font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
407
+ monospace;
408
+ }
409
+
410
+ button {
411
+ background-color: transparent;
412
+ background-image: none;
413
+ }
414
+
415
+ button:focus {
416
+ outline: 1px dotted;
417
+ outline: 5px auto -webkit-focus-ring-color;
418
+ }
419
+
420
+ img,
421
+ video {
422
+ max-width: 100%;
423
+ height: auto;
424
+ }
425
+
426
+ *,
427
+ ::before,
428
+ ::after {
429
+ box-sizing: border-box;
430
+ border-width: 0;
431
+ border-style: solid;
432
+ border-color: #e2e8f0;
433
+ }
434
+
435
+ hr {
436
+ border-top-width: 1px;
437
+ }
438
+
439
+ img {
440
+ border-style: solid;
441
+ }
442
+
443
+ textarea {
444
+ resize: vertical;
445
+ }
446
+
447
+ input:-ms-input-placeholder,
448
+ textarea:-ms-input-placeholder {
449
+ color: #a0aec0;
450
+ }
451
+
452
+ input::-moz-placeholder, textarea::-moz-placeholder {
453
+ color: #a0aec0;
454
+ }
455
+
456
+ input:-ms-input-placeholder, textarea:-ms-input-placeholder {
457
+ color: #a0aec0;
458
+ }
459
+
460
+ input::placeholder,
461
+ textarea::placeholder {
462
+ color: #a0aec0;
463
+ }
464
+
465
+ input::-webkit-search-cancel-button {
466
+ display: none;
467
+ }
468
+
469
+ button,
470
+ [role="button"] {
471
+ cursor: pointer;
472
+ }
473
+
474
+ table {
475
+ border-collapse: collapse;
476
+ }
477
+
478
+ a {
479
+ color: inherit;
480
+ text-decoration: inherit;
481
+ }
482
+
483
+ svg {
484
+ fill: currentColor;
485
+ }
486
+ }
487
+
@@ -0,0 +1,3 @@
1
+ module AblyUi
2
+ VERSION = '4.2.0.dev.1a5533f'
3
+ end
data/lib/ably_ui.rb ADDED
@@ -0,0 +1,27 @@
1
+ require "ably_ui/version"
2
+
3
+ module AblyUi
4
+ module Integration
5
+ class << self
6
+ def asset_paths
7
+ File.expand_path("../lib", File.dirname(__FILE__))
8
+ end
9
+
10
+ def precompile_images_paths
11
+ ["*.svg", "*.png", "*.jpg", "*.jpeg"].map do |ext|
12
+ Dir[File.join(File.dirname(__FILE__), 'ably_ui', '**', 'images' , ext)]
13
+ end.flatten
14
+ end
15
+
16
+ def icon_sprites_paths
17
+ Dir[File.join(File.dirname(__FILE__), 'ably_ui', '**' , "sprites.svg")]
18
+ end
19
+ end
20
+ end
21
+ end
22
+
23
+ # Module shared code
24
+ require File.join(File.dirname(__FILE__), 'ably_ui', 'core', 'core.rb')
25
+
26
+ # Components; can be loaded in any order as they don't depend on each other at require time
27
+ Dir[File.join(File.dirname(__FILE__), 'ably_ui', '**' , '*.rb')].each {|file| require file }