tungsten 0.1.20 → 0.1.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/tungsten/_icons.js +1 -1
- data/app/assets/javascripts/tungsten/enhancements/text-helpers.js +10 -0
- data/app/assets/stylesheets/tungsten/_colors.yml +1 -0
- data/app/assets/stylesheets/tungsten/components/_toggle-nav.scss +1 -0
- data/app/assets/stylesheets/tungsten/core/_banner.scss +44 -0
- data/app/assets/stylesheets/tungsten/core/_index.scss +2 -1
- data/app/assets/stylesheets/tungsten/core/_layout.scss +0 -41
- data/app/assets/stylesheets/tungsten/form/_base.scss +1 -1
- data/app/assets/stylesheets/tungsten/form/_copy-input.scss +5 -4
- data/app/assets/stylesheets/tungsten/form/_label-placeholder.scss +4 -4
- data/app/assets/svgs/tungsten/cluster.svg +1 -0
- data/app/assets/svgs/tungsten/copy.svg +1 -1
- data/app/helpers/tungsten/button_helper.rb +1 -1
- data/app/helpers/tungsten/form_helper.rb +1 -1
- data/app/views/layouts/tungsten/default.html.slim +1 -4
- data/lib/tungsten/version.rb +1 -1
- data/public/{code-0.1.20.js → code-0.1.21.js} +1 -1
- data/public/{code-0.1.20.js.gz → code-0.1.21.js.gz} +0 -0
- data/public/{code-0.1.20.map.json → code-0.1.21.map.json} +0 -0
- data/public/{tungsten-0.1.20.css → tungsten-0.1.21.css} +142 -161
- data/public/tungsten-0.1.21.css.gz +0 -0
- data/public/{tungsten-0.1.20.js → tungsten-0.1.21.js} +3 -3
- data/public/tungsten-0.1.21.js.gz +0 -0
- data/public/tungsten-0.1.21.map.json +1 -0
- metadata +12 -10
- data/public/tungsten-0.1.20.css.gz +0 -0
- data/public/tungsten-0.1.20.js.gz +0 -0
- data/public/tungsten-0.1.20.map.json +0 -1
@@ -223,6 +223,10 @@
|
|
223
223
|
background: -webkit-linear-gradient(315deg, #0FA7DB, #0094fd) left top/100% 100% no-repeat;
|
224
224
|
background: linear-gradient(135deg, #0FA7DB, #0094fd) left top/100% 100% no-repeat; }
|
225
225
|
|
226
|
+
.enterprise-gradient-bg {
|
227
|
+
background: -webkit-linear-gradient(315deg, #3f7b9b, #13435d) left top/100% 100% no-repeat;
|
228
|
+
background: linear-gradient(135deg, #3f7b9b, #13435d) left top/100% 100% no-repeat; }
|
229
|
+
|
226
230
|
/* ========================================================================== *
|
227
231
|
* Globals module
|
228
232
|
* -------------------------------------------------------------------------- */
|
@@ -244,6 +248,96 @@
|
|
244
248
|
/* ===================================== *
|
245
249
|
* Context
|
246
250
|
* ------------------------------------- */
|
251
|
+
@-webkit-keyframes fade-in {
|
252
|
+
0% {
|
253
|
+
opacity: 0; }
|
254
|
+
100% {
|
255
|
+
opacity: 1; } }
|
256
|
+
@keyframes fade-in {
|
257
|
+
0% {
|
258
|
+
opacity: 0; }
|
259
|
+
100% {
|
260
|
+
opacity: 1; } }
|
261
|
+
@-webkit-keyframes fade-out {
|
262
|
+
0% {
|
263
|
+
opacity: 1; }
|
264
|
+
100% {
|
265
|
+
opacity: 0; } }
|
266
|
+
@keyframes fade-out {
|
267
|
+
0% {
|
268
|
+
opacity: 1; }
|
269
|
+
100% {
|
270
|
+
opacity: 0; } }
|
271
|
+
@-webkit-keyframes slide-down {
|
272
|
+
0% {
|
273
|
+
-webkit-transform: translateY(-100%);
|
274
|
+
transform: translateY(-100%); }
|
275
|
+
100% {
|
276
|
+
-webkit-transform: translateY(0);
|
277
|
+
transform: translateY(0); } }
|
278
|
+
@keyframes slide-down {
|
279
|
+
0% {
|
280
|
+
-webkit-transform: translateY(-100%);
|
281
|
+
transform: translateY(-100%); }
|
282
|
+
100% {
|
283
|
+
-webkit-transform: translateY(0);
|
284
|
+
transform: translateY(0); } }
|
285
|
+
@-webkit-keyframes slide-up {
|
286
|
+
0% {
|
287
|
+
-webkit-transform: translateY(0);
|
288
|
+
transform: translateY(0); }
|
289
|
+
100% {
|
290
|
+
-webkit-transform: translateY(-100%);
|
291
|
+
transform: translateY(-100%); } }
|
292
|
+
@keyframes slide-up {
|
293
|
+
0% {
|
294
|
+
-webkit-transform: translateY(0);
|
295
|
+
transform: translateY(0); }
|
296
|
+
100% {
|
297
|
+
-webkit-transform: translateY(-100%);
|
298
|
+
transform: translateY(-100%); } }
|
299
|
+
@-webkit-keyframes spin {
|
300
|
+
0% {
|
301
|
+
-webkit-transform: rotate(0deg);
|
302
|
+
transform: rotate(0deg); }
|
303
|
+
100% {
|
304
|
+
-webkit-transform: rotate(360deg);
|
305
|
+
transform: rotate(360deg); } }
|
306
|
+
@keyframes spin {
|
307
|
+
0% {
|
308
|
+
-webkit-transform: rotate(0deg);
|
309
|
+
transform: rotate(0deg); }
|
310
|
+
100% {
|
311
|
+
-webkit-transform: rotate(360deg);
|
312
|
+
transform: rotate(360deg); } }
|
313
|
+
@-webkit-keyframes half-spin {
|
314
|
+
0% {
|
315
|
+
-webkit-transform: rotate(-180deg);
|
316
|
+
transform: rotate(-180deg); }
|
317
|
+
100% {
|
318
|
+
-webkit-transform: rotate(0deg);
|
319
|
+
transform: rotate(0deg); } }
|
320
|
+
@keyframes half-spin {
|
321
|
+
0% {
|
322
|
+
-webkit-transform: rotate(-180deg);
|
323
|
+
transform: rotate(-180deg); }
|
324
|
+
100% {
|
325
|
+
-webkit-transform: rotate(0deg);
|
326
|
+
transform: rotate(0deg); } }
|
327
|
+
@-webkit-keyframes zoom-in {
|
328
|
+
0% {
|
329
|
+
-webkit-transform: scale(0.8, 0.8);
|
330
|
+
transform: scale(0.8, 0.8); }
|
331
|
+
100% {
|
332
|
+
-webkit-transform: scale(1, 1);
|
333
|
+
transform: scale(1, 1); } }
|
334
|
+
@keyframes zoom-in {
|
335
|
+
0% {
|
336
|
+
-webkit-transform: scale(0.8, 0.8);
|
337
|
+
transform: scale(0.8, 0.8); }
|
338
|
+
100% {
|
339
|
+
-webkit-transform: scale(1, 1);
|
340
|
+
transform: scale(1, 1); } }
|
247
341
|
/* ========================================================================== *
|
248
342
|
* Grid module
|
249
343
|
* -------------------------------------------------------------------------- */
|
@@ -579,64 +673,6 @@ p:first-child, ul:first-child, ol:first-child, h1:first-child, h2:first-child, h
|
|
579
673
|
/* ===================================== *
|
580
674
|
* Application
|
581
675
|
* ------------------------------------- */
|
582
|
-
.application-banner {
|
583
|
-
background: #152934;
|
584
|
-
color: #fff;
|
585
|
-
display: -webkit-box;
|
586
|
-
display: -ms-flexbox;
|
587
|
-
display: flex;
|
588
|
-
-webkit-box-align: center;
|
589
|
-
-ms-flex-align: center;
|
590
|
-
align-items: center;
|
591
|
-
padding: 15px 30px; }
|
592
|
-
.application-banner .svg-deployment {
|
593
|
-
margin-right: 20px; }
|
594
|
-
.application-banner.postgresql-gradient-bg {
|
595
|
-
background: -webkit-linear-gradient(315deg, #0094fd, #625ff9) left top/100% 100% no-repeat;
|
596
|
-
background: linear-gradient(135deg, #0094fd, #625ff9) left top/100% 100% no-repeat; }
|
597
|
-
.application-banner.elasticsearch-gradient-bg {
|
598
|
-
background: -webkit-linear-gradient(315deg, #625ff9, #8f52ea) left top/100% 100% no-repeat;
|
599
|
-
background: linear-gradient(135deg, #625ff9, #8f52ea) left top/100% 100% no-repeat; }
|
600
|
-
.application-banner.rethinkdb-gradient-bg {
|
601
|
-
background: -webkit-linear-gradient(315deg, #0094fd, #25c894) left top/100% 100% no-repeat;
|
602
|
-
background: linear-gradient(135deg, #0094fd, #25c894) left top/100% 100% no-repeat; }
|
603
|
-
.application-banner.mysql-gradient-bg {
|
604
|
-
background: -webkit-linear-gradient(315deg, #0094fd, #8f52ea) left top/100% 100% no-repeat;
|
605
|
-
background: linear-gradient(135deg, #0094fd, #8f52ea) left top/100% 100% no-repeat; }
|
606
|
-
.application-banner.rabbitmq-gradient-bg {
|
607
|
-
background: -webkit-linear-gradient(315deg, #f69523, #f96623) left top/100% 100% no-repeat;
|
608
|
-
background: linear-gradient(135deg, #f69523, #f96623) left top/100% 100% no-repeat; }
|
609
|
-
.application-banner.redis-gradient-bg {
|
610
|
-
background: -webkit-linear-gradient(315deg, #f96623, #dd2f41) left top/100% 100% no-repeat;
|
611
|
-
background: linear-gradient(135deg, #f96623, #dd2f41) left top/100% 100% no-repeat; }
|
612
|
-
.application-banner.etcd-gradient-bg {
|
613
|
-
background: -webkit-linear-gradient(315deg, #c60ca5, #dd2f41) left top/100% 100% no-repeat;
|
614
|
-
background: linear-gradient(135deg, #c60ca5, #dd2f41) left top/100% 100% no-repeat; }
|
615
|
-
.application-banner.scylladb-gradient-bg {
|
616
|
-
background: -webkit-linear-gradient(315deg, #c60ca5, #8f52ea) left top/100% 100% no-repeat;
|
617
|
-
background: linear-gradient(135deg, #c60ca5, #8f52ea) left top/100% 100% no-repeat; }
|
618
|
-
.application-banner.mongodb-gradient-bg {
|
619
|
-
background: -webkit-linear-gradient(315deg, #25c894, #2ac84f) left top/100% 100% no-repeat;
|
620
|
-
background: linear-gradient(135deg, #25c894, #2ac84f) left top/100% 100% no-repeat; }
|
621
|
-
.application-banner.janusgraph-gradient-bg {
|
622
|
-
background: -webkit-linear-gradient(315deg, #869ebc, #25c894) left top/100% 100% no-repeat;
|
623
|
-
background: linear-gradient(135deg, #869ebc, #25c894) left top/100% 100% no-repeat; }
|
624
|
-
.application-banner.compose-gradient-bg {
|
625
|
-
background: -webkit-linear-gradient(315deg, #0FA7DB, #0094fd) left top/100% 100% no-repeat;
|
626
|
-
background: linear-gradient(135deg, #0FA7DB, #0094fd) left top/100% 100% no-repeat; }
|
627
|
-
.application-banner a {
|
628
|
-
-webkit-transition: 0.25s;
|
629
|
-
transition: 0.25s;
|
630
|
-
text-decoration: none;
|
631
|
-
padding: .3em .6em;
|
632
|
-
border-radius: 3px; }
|
633
|
-
.application-banner a, .application-banner a:visited {
|
634
|
-
color: inherit;
|
635
|
-
background: transparent; }
|
636
|
-
.application-banner a:hover, .application-banner a:focus, .application-banner a:active {
|
637
|
-
color: inherit;
|
638
|
-
background: rgba(255, 255, 255, 0.2); }
|
639
|
-
|
640
676
|
.application-content {
|
641
677
|
padding: 30px; }
|
642
678
|
|
@@ -864,97 +900,40 @@ pre {
|
|
864
900
|
color: #0094fd;
|
865
901
|
background: rgba(0, 148, 253, 0.1); }
|
866
902
|
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
903
|
+
.application-banner {
|
904
|
+
background-color: #152934;
|
905
|
+
color: #fff;
|
906
|
+
display: -webkit-box;
|
907
|
+
display: -ms-flexbox;
|
908
|
+
display: flex;
|
909
|
+
-webkit-box-align: center;
|
910
|
+
-ms-flex-align: center;
|
911
|
+
align-items: center;
|
912
|
+
padding: 15px 30px; }
|
913
|
+
.application-banner .svg-deployment, .application-banner .svg-cluster {
|
914
|
+
margin-right: 20px; }
|
915
|
+
.application-banner .deployment-icon-hex {
|
916
|
+
fill: rgba(0, 0, 0, 0.05); }
|
917
|
+
.application-banner a {
|
918
|
+
-webkit-transition: 0.25s;
|
919
|
+
transition: 0.25s;
|
920
|
+
text-decoration: none;
|
921
|
+
padding: .4em .6em;
|
922
|
+
border-radius: 3px; }
|
923
|
+
.application-banner a + a {
|
924
|
+
margin-left: 2px; }
|
925
|
+
.application-banner a, .application-banner a:visited {
|
926
|
+
color: inherit;
|
927
|
+
background: transparent; }
|
928
|
+
.application-banner a:hover, .application-banner a:focus, .application-banner a:active {
|
929
|
+
color: inherit;
|
930
|
+
background: rgba(255, 255, 255, 0.1);
|
931
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }
|
932
|
+
.application-banner a.here {
|
933
|
+
background: rgba(255, 255, 255, 0.1);
|
934
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
|
935
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15); }
|
872
936
|
|
873
|
-
@keyframes fade-in {
|
874
|
-
0% {
|
875
|
-
opacity: 0; }
|
876
|
-
100% {
|
877
|
-
opacity: 1; } }
|
878
|
-
@-webkit-keyframes fade-out {
|
879
|
-
0% {
|
880
|
-
opacity: 1; }
|
881
|
-
100% {
|
882
|
-
opacity: 0; } }
|
883
|
-
@keyframes fade-out {
|
884
|
-
0% {
|
885
|
-
opacity: 1; }
|
886
|
-
100% {
|
887
|
-
opacity: 0; } }
|
888
|
-
@-webkit-keyframes slide-down {
|
889
|
-
0% {
|
890
|
-
-webkit-transform: translateY(-100%);
|
891
|
-
transform: translateY(-100%); }
|
892
|
-
100% {
|
893
|
-
-webkit-transform: translateY(0);
|
894
|
-
transform: translateY(0); } }
|
895
|
-
@keyframes slide-down {
|
896
|
-
0% {
|
897
|
-
-webkit-transform: translateY(-100%);
|
898
|
-
transform: translateY(-100%); }
|
899
|
-
100% {
|
900
|
-
-webkit-transform: translateY(0);
|
901
|
-
transform: translateY(0); } }
|
902
|
-
@-webkit-keyframes slide-up {
|
903
|
-
0% {
|
904
|
-
-webkit-transform: translateY(0);
|
905
|
-
transform: translateY(0); }
|
906
|
-
100% {
|
907
|
-
-webkit-transform: translateY(-100%);
|
908
|
-
transform: translateY(-100%); } }
|
909
|
-
@keyframes slide-up {
|
910
|
-
0% {
|
911
|
-
-webkit-transform: translateY(0);
|
912
|
-
transform: translateY(0); }
|
913
|
-
100% {
|
914
|
-
-webkit-transform: translateY(-100%);
|
915
|
-
transform: translateY(-100%); } }
|
916
|
-
@-webkit-keyframes spin {
|
917
|
-
0% {
|
918
|
-
-webkit-transform: rotate(0deg);
|
919
|
-
transform: rotate(0deg); }
|
920
|
-
100% {
|
921
|
-
-webkit-transform: rotate(360deg);
|
922
|
-
transform: rotate(360deg); } }
|
923
|
-
@keyframes spin {
|
924
|
-
0% {
|
925
|
-
-webkit-transform: rotate(0deg);
|
926
|
-
transform: rotate(0deg); }
|
927
|
-
100% {
|
928
|
-
-webkit-transform: rotate(360deg);
|
929
|
-
transform: rotate(360deg); } }
|
930
|
-
@-webkit-keyframes half-spin {
|
931
|
-
0% {
|
932
|
-
-webkit-transform: rotate(-180deg);
|
933
|
-
transform: rotate(-180deg); }
|
934
|
-
100% {
|
935
|
-
-webkit-transform: rotate(0deg);
|
936
|
-
transform: rotate(0deg); } }
|
937
|
-
@keyframes half-spin {
|
938
|
-
0% {
|
939
|
-
-webkit-transform: rotate(-180deg);
|
940
|
-
transform: rotate(-180deg); }
|
941
|
-
100% {
|
942
|
-
-webkit-transform: rotate(0deg);
|
943
|
-
transform: rotate(0deg); } }
|
944
|
-
@-webkit-keyframes zoom-in {
|
945
|
-
0% {
|
946
|
-
-webkit-transform: scale(0.8, 0.8);
|
947
|
-
transform: scale(0.8, 0.8); }
|
948
|
-
100% {
|
949
|
-
-webkit-transform: scale(1, 1);
|
950
|
-
transform: scale(1, 1); } }
|
951
|
-
@keyframes zoom-in {
|
952
|
-
0% {
|
953
|
-
-webkit-transform: scale(0.8, 0.8);
|
954
|
-
transform: scale(0.8, 0.8); }
|
955
|
-
100% {
|
956
|
-
-webkit-transform: scale(1, 1);
|
957
|
-
transform: scale(1, 1); } }
|
958
937
|
.cm-s-default .cm-keyword {
|
959
938
|
color: #268bd2; }
|
960
939
|
.cm-s-default .cm-atom {
|
@@ -1849,7 +1828,7 @@ select, textarea, textarea, input[type=url], input[type=tel], input[type=text],
|
|
1849
1828
|
border-radius: 3px;
|
1850
1829
|
-webkit-transition: box-shadow 0.25s;
|
1851
1830
|
transition: box-shadow 0.25s;
|
1852
|
-
line-height:
|
1831
|
+
line-height: 1.8em;
|
1853
1832
|
box-shadow: 0 0 0 1px rgba(15, 33, 46, 0.2) inset, 0 0 0 transparent; }
|
1854
1833
|
select:hover, select:focus, select:active, textarea:hover, textarea:focus, textarea:active, textarea:hover, textarea:focus, textarea:active, input[type=url]:hover, input[type=url]:focus, input[type=url]:active, input[type=tel]:hover, input[type=tel]:focus, input[type=tel]:active, input[type=text]:hover, input[type=text]:focus, input[type=text]:active, input[type=email]:hover, input[type=email]:focus, input[type=email]:active, input[type=number]:hover, input[type=number]:focus, input[type=number]:active, input[type=password]:hover, input[type=password]:focus, input[type=password]:active, input[type=search]:hover, input[type=search]:focus, input[type=search]:active {
|
1855
1834
|
box-shadow: 0 0 0 1px rgba(15, 33, 46, 0.3) inset, 0 1px 3px rgba(15, 33, 46, 0.3); }
|
@@ -1940,10 +1919,10 @@ form.button_to {
|
|
1940
1919
|
z-index: 1;
|
1941
1920
|
margin: 0;
|
1942
1921
|
font-size: inherit;
|
1943
|
-
padding: 0.
|
1922
|
+
padding: 0.8em 0.8em; }
|
1944
1923
|
.placeholder-label input:focus, .placeholder-label input:not(.empty) {
|
1945
|
-
padding-top: 1.
|
1946
|
-
padding-bottom: 0.
|
1924
|
+
padding-top: 1.3em;
|
1925
|
+
padding-bottom: 0.3em; }
|
1947
1926
|
.placeholder-label input:focus + .placeholder-label-text, .placeholder-label input:not(.empty) + .placeholder-label-text {
|
1948
1927
|
z-index: 2;
|
1949
1928
|
-webkit-transform: translate3d(0, -0.6em, 0) scale(0.8);
|
@@ -1976,7 +1955,7 @@ form.button_to {
|
|
1976
1955
|
transition-property: color, transform;
|
1977
1956
|
transition-property: color, transform, -webkit-transform; }
|
1978
1957
|
.label-text ~ .placeholder-label-text {
|
1979
|
-
top: 2.
|
1958
|
+
top: 2.1em; }
|
1980
1959
|
|
1981
1960
|
label.tick-box {
|
1982
1961
|
-webkit-box-orient: horizontal;
|
@@ -2600,25 +2579,26 @@ input::-moz-focus-inner {
|
|
2600
2579
|
box-shadow: #1f8bf8 0 0 0 1px; }
|
2601
2580
|
|
2602
2581
|
.copy-input {
|
2603
|
-
position: relative;
|
2582
|
+
position: relative;
|
2583
|
+
display: block; }
|
2604
2584
|
.copy-input .copy-button {
|
2605
2585
|
right: 1px;
|
2606
|
-
top:
|
2586
|
+
top: 8px;
|
2607
2587
|
z-index: 2;
|
2608
|
-
padding: 4px 10px; }
|
2588
|
+
padding: 4px 10px 4px 15px; }
|
2609
2589
|
.copy-input .copy-button, .copy-input .copy-button:hover, .copy-input .copy-button:active, .copy-input .copy-button:focus {
|
2610
2590
|
-webkit-transform: translate3d(0, 0, 0);
|
2611
2591
|
transform: translate3d(0, 0, 0);
|
2612
2592
|
position: absolute;
|
2613
2593
|
border: none;
|
2614
2594
|
box-shadow: none;
|
2615
|
-
background: -webkit-linear-gradient(
|
2616
|
-
background: linear-gradient(
|
2595
|
+
background: -webkit-linear-gradient(30deg, rgba(255, 255, 255, 0), #fff 30%);
|
2596
|
+
background: linear-gradient(60deg, rgba(255, 255, 255, 0), #fff 30%); }
|
2617
2597
|
|
2618
2598
|
.copy-button svg {
|
2619
|
-
opacity: .5;
|
2620
2599
|
-webkit-transition: opacity ease .2s;
|
2621
|
-
transition: opacity ease .2s;
|
2600
|
+
transition: opacity ease .2s;
|
2601
|
+
opacity: .5; }
|
2622
2602
|
.copy-button:hover svg, .copy-button:focus svg {
|
2623
2603
|
opacity: 1; }
|
2624
2604
|
.copy-button.copied svg {
|
@@ -3097,7 +3077,8 @@ table.card {
|
|
3097
3077
|
justify-content: center;
|
3098
3078
|
position: relative;
|
3099
3079
|
z-index: 1;
|
3100
|
-
margin-bottom: -35px;
|
3080
|
+
margin-bottom: -35px;
|
3081
|
+
margin-top: 20px; }
|
3101
3082
|
.toggle-nav-label {
|
3102
3083
|
box-shadow: 0 0 0 1px rgba(15, 33, 46, 0.2) inset, 0 0 0 transparent;
|
3103
3084
|
-webkit-box-flex: 0;
|
Binary file
|
@@ -1,7 +1,7 @@
|
|
1
1
|
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.tungsten = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
2
2
|
"use strict";function syncValue(t){t=t.target||t,t.classList.toggle("empty",!t.value.trim().length)}var toolbox=require("compose-toolbox"),Event=toolbox.event,textSelectors="textarea, input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=hidden]):not([type=submit]):not([type=image]):not([type=reset])";Event.change(function(){toolbox.each(document.querySelectorAll(textSelectors),syncValue)}),Event.on(document,"input",textSelectors,syncValue);
|
3
3
|
},{"compose-toolbox":31}],2:[function(require,module,exports){
|
4
|
-
"use strict";!function(){function e(){document.querySelector("#esvg-svg-icons")||document.querySelector("body").insertAdjacentHTML("afterbegin",'<svg id="esvg-svg-icons" data-symbol-class="svg-symbol" data-prefix="svg" version="1.1" style="height:0;position:absolute"><symbol id="svg-deployment" data-name="deployment" viewBox="0 0 176 201" width="176" height="201" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M88 5.985l82.272 47.5v95L88 195.985l-82.272-47.5v-95L88 5.985z"/></symbol><symbol id="svg-copy" data-name="copy" viewBox="0 0 294 294" width="294" height="294" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M0 136.96c0-28.877 23.444-52.32 52.32-52.32v89.854c0 37.036 30.07 67.105 67.105 67.105h89.854c0 28.875-23.445 52.32-52.32 52.32H52.32C23.444 293.92 0 270.474 0 241.6V136.96z" fill-opacity=".529"/><path d="M136.96 0c-28.877 0-52.32 23.444-52.32 52.32v104.64c0 28.875 23.443 52.32 52.32 52.32H241.6c28.875 0 52.32-23.445 52.32-52.32V52.32C293.92 23.444 270.474 0 241.6 0H136.96z"/></symbol><symbol id="svg-logo" data-name="logo" viewBox="0 0 256 256" width="256" height="256" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M152.89 179.214l-49.78 28.74-53.332-30.792L0 148.42V86.838l53.333-30.792 49.777 28.74 49.777-28.74 53.333 30.792 49.78 28.74v61.584l-53.333 30.792-49.778-28.74zm3.137-6.374v-49.052l42.975 24.635.01 49.27-42.985-24.853zm-99.14.217v-49.27l43.126 24.77.01 49.566-43.135-25.066zM7.11 144.317v-49.27l42.668 24.635.002 49.27-42.67-24.635zm96-51.32l42.67 24.634-42.67 24.636-42.67-24.634 42.67-24.634zm99.557 0l42.668 24.634-42.668 24.636-42.67-24.634 42.67-24.634zM53.333 64.257l42.67 24.633-42.67 24.635-42.67-24.634 42.67-24.633zm99.554 0l42.67 24.633-42.67 24.635-42.67-24.634 42.67-24.633z"/><path d="M6.82 144.547l.023-50 93.295 53.877.04 50.06L6.82 144.547zm148.916 28.477l.14-49.667 43.428 24.894-.045 50.235-43.525-25.46z" fill-opacity=".349"/></symbol></svg>')}"interactive"==document.readyState&&e(),window.Turbolinks&&document.addEventListener("turbolinks:load",function(o){e()}),document.addEventListener("DOMContentLoaded",function(o){e()})}();
|
4
|
+
"use strict";!function(){function e(){document.querySelector("#esvg-svg-icons")||document.querySelector("body").insertAdjacentHTML("afterbegin",'<svg id="esvg-svg-icons" data-symbol-class="svg-symbol" data-prefix="svg" version="1.1" style="height:0;position:absolute"><symbol id="svg-deployment" data-name="deployment" viewBox="0 0 176 201" width="176" height="201" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M88 5.985l82.272 47.5v95L88 195.985l-82.272-47.5v-95L88 5.985z"/></symbol><symbol id="svg-copy" data-name="copy" viewBox="0 0 204 252" width="204" height="252" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M149.406 251.232H53.802C24.108 251.232 0 227.124 0 197.43V89.826c0-25.19 17.35-46.362 40.743-52.204v24.25c0 6.798 4.992 11.093 11.143 11.093h99.436c6.15 0 11.143-4.295 11.143-11.093v-24.25c23.393 5.842 40.743 27.013 40.743 52.204V197.43c0 29.694-24.107 53.8-53.802 53.802zm-2.748-154.255H56.55c-16.058 0-29.094 13.037-29.094 29.094v70.19c0 16.056 13.037 29.093 29.094 29.093h90.108c16.057 0 29.094-13.037 29.094-29.094v-70.19c0-16.056-13.036-29.092-29.094-29.093z" fill-opacity=".753"/><path d="M64.252 57.763h74.704c4.676 0 8.47-2.964 8.47-7.657v-7.41c0-9.878-4.59-17.755-16.94-17.755h-12.94C117.545 8 110.97 0 101.603 0s-15.94 8-15.94 24.94h-12.94c-10.945 0-16.942 7.878-16.942 17.755v7.41c0 4.694 3.794 7.658 8.47 7.658"/><path d="M97.72 142.456V114.35c0-7.105 4.267-9.29 9.427-4.828l52.21 41.772c2.6 2.23 2.587 5.824-.01 8.055l-52.222 40.96c-5.138 4.44-9.406 2.266-9.406-4.84v-26.275h-5.1c-17.433 2.183-33.966 11.9-39.675 31.502-.885 3.037-2.895 2.94-3.707-.115-1.476-5.56-2.383-11.385-2.29-17.414.367-23.442 22.557-40.877 50.77-40.712" fill-rule="nonzero"/></symbol><symbol id="svg-logo" data-name="logo" viewBox="0 0 256 256" width="256" height="256" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M152.89 179.214l-49.78 28.74-53.332-30.792L0 148.42V86.838l53.333-30.792 49.777 28.74 49.777-28.74 53.333 30.792 49.78 28.74v61.584l-53.333 30.792-49.778-28.74zm3.137-6.374v-49.052l42.975 24.635.01 49.27-42.985-24.853zm-99.14.217v-49.27l43.126 24.77.01 49.566-43.135-25.066zM7.11 144.317v-49.27l42.668 24.635.002 49.27-42.67-24.635zm96-51.32l42.67 24.634-42.67 24.636-42.67-24.634 42.67-24.634zm99.557 0l42.668 24.634-42.668 24.636-42.67-24.634 42.67-24.634zM53.333 64.257l42.67 24.633-42.67 24.635-42.67-24.634 42.67-24.633zm99.554 0l42.67 24.633-42.67 24.635-42.67-24.634 42.67-24.633z"/><path d="M6.82 144.547l.023-50 93.295 53.877.04 50.06L6.82 144.547zm148.916 28.477l.14-49.667 43.428 24.894-.045 50.235-43.525-25.46z" fill-opacity=".349"/></symbol><symbol id="svg-cluster" data-name="cluster" viewBox="0 0 512 512" width="512" height="512" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M256 510.897c-.898-.003-1.795-.027-2.692-.08-1.795-.108-3.583-.322-5.352-.643-5.29-.958-10.398-2.872-15.01-5.635-2.092-1.255-4.08-2.68-5.942-4.26-.88-.743-1.725-1.523-2.547-2.33C154.1 428.037 83.963 357.9 14.05 287.543c-1.206-1.228-2.348-2.515-3.41-3.87-2.008-2.558-3.736-5.336-5.14-8.27-1.414-2.95-2.5-6.054-3.238-9.24-.77-3.33-1.16-6.746-1.16-10.163s.39-6.834 1.16-10.163c.738-3.186 1.824-6.29 3.237-9.24 1.404-2.934 3.132-5.712 5.14-8.27 1.062-1.355 2.204-2.642 3.41-3.87C83.963 154.1 154.1 83.963 224.457 14.05c1.228-1.206 2.515-2.348 3.87-3.41 2.558-2.008 5.336-3.736 8.27-5.14 2.95-1.414 6.054-2.5 9.24-3.238 3.33-.77 6.746-1.16 10.163-1.16s6.834.39 10.163 1.16c3.186.738 6.29 1.824 9.24 3.237 2.934 1.404 5.712 3.132 8.27 5.14 1.355 1.062 2.642 2.204 3.87 3.41C357.9 83.963 428.037 154.1 497.95 224.457c1.206 1.228 2.348 2.515 3.41 3.87 2.008 2.558 3.736 5.336 5.14 8.27 1.414 2.95 2.5 6.054 3.238 9.24.77 3.33 1.16 6.746 1.16 10.163s-.39 6.834-1.16 10.163c-.738 3.186-1.824 6.29-3.237 9.24-1.404 2.934-3.132 5.712-5.14 8.27-1.062 1.355-2.204 2.642-3.41 3.87C428.037 357.9 357.9 428.037 287.543 497.95c-.822.807-1.668 1.587-2.547 2.33-1.86 1.58-3.85 3.005-5.942 4.26-4.38 2.623-9.207 4.482-14.213 5.482-1.763.353-3.548.6-5.342.74-.806.062-1.613.1-2.42.122-.36.007-.72.012-1.078.013zm0-30c.874-.003 1.746-.076 2.608-.227 1.71-.3 3.368-.9 4.87-1.773 1.09-.635 2.087-1.41 2.986-2.294 70.29-69.85 140.81-139.476 210.21-210.21.425-.44.827-.9 1.198-1.386.665-.87 1.233-1.813 1.688-2.81.81-1.773 1.257-3.706 1.327-5.654.082-2.31-.367-4.637-1.327-6.74-.455-.997-1.023-1.94-1.688-2.81-.37-.486-.773-.947-1.2-1.386-69.42-70.758-139.523-140.856-210.28-210.28-.438-.426-.9-.828-1.385-1.2-.87-.664-1.813-1.232-2.81-1.686-1.773-.81-3.706-1.257-5.654-1.327-2.31-.082-4.637.367-6.74 1.328-.97.442-1.886.99-2.735 1.63-.514.388-1 .81-1.46 1.257C174.85 104.75 104.75 174.85 35.327 245.607c-.45.462-.87.947-1.257 1.46-.64.85-1.188 1.767-1.63 2.735-.96 2.104-1.41 4.43-1.327 6.74.07 1.95.518 3.882 1.328 5.656.455.996 1.023 1.94 1.688 2.81.37.485.773.946 1.2 1.385 69.423 70.756 139.52 140.858 210.28 210.28.88.854 1.853 1.606 2.914 2.224 1.397.813 2.93 1.39 4.515 1.707.887.177 1.787.27 2.69.29l.273.002z" fill-rule="nonzero"/><path d="M279.612 430.108l-13.5 13.5c-2.682 2.682-6.32 4.188-10.112 4.188-3.793 0-7.43-1.506-10.112-4.188L68.392 266.112c-2.682-2.682-4.188-6.32-4.188-10.112 0-3.793 1.506-7.43 4.188-10.112L245.888 68.392c2.682-2.682 6.32-4.188 10.112-4.188 3.793 0 7.43 1.506 10.112 4.188l64.505 64.506v86.943c-1.64.454-3.25 1.02-4.812 1.693-4.292 1.847-8.226 4.504-11.55 7.788-3.158 3.122-5.757 6.802-7.637 10.825-1.637 3.502-2.723 7.256-3.21 11.09-.502 3.938-.378 7.956.37 11.854.65 3.397 1.778 6.7 3.337 9.788 1.965 3.893 4.613 7.434 7.787 10.425 3.07 2.893 6.63 5.265 10.484 6.98 3.178 1.416 6.553 2.382 10 2.865 1.733.243 3.48.358 5.23.363.323 0 .644-.004.965-.01 1.744-.05 3.48-.21 5.202-.495 3.422-.568 6.762-1.615 9.896-3.102 3.875-1.84 7.427-4.35 10.46-7.382 3.033-3.033 5.542-6.584 7.382-10.46 1.52-3.204 2.582-6.625 3.14-10.128.613-3.844.625-7.784.036-11.632-.582-3.81-1.76-7.525-3.475-10.976-1.975-3.972-4.66-7.585-7.888-10.627-3.405-3.208-7.406-5.772-11.747-7.516-1.296-.52-2.622-.967-3.968-1.34V152.9l92.99 92.99c2.683 2.682 4.19 6.32 4.19 10.112 0 3.793-1.507 7.43-4.19 10.112L337.84 371.88 266 300.04V196.347c2.08-.575 4.11-1.33 6.06-2.256 3.876-1.838 7.427-4.347 10.46-7.38 2.98-2.98 5.455-6.46 7.285-10.256 1.54-3.193 2.62-6.604 3.2-10.1.65-3.918.675-7.94.074-11.865-.584-3.81-1.76-7.526-3.476-10.977-1.975-3.972-4.66-7.585-7.89-10.627-3.404-3.208-7.406-5.773-11.747-7.517-2.293-.922-4.678-1.614-7.11-2.065-2.417-.448-4.88-.656-7.34-.625-2.372.03-4.74.284-7.066.76-2.49.51-4.927 1.276-7.262 2.28-4.292 1.85-8.226 4.506-11.55 7.79-3.158 3.12-5.758 6.8-7.638 10.824-1.636 3.502-2.722 7.256-3.21 11.09-.5 3.937-.378 7.955.37 11.854.652 3.397 1.78 6.7 3.338 9.79 1.93 3.825 4.522 7.312 7.624 10.27 3.108 2.962 6.723 5.388 10.647 7.134 1.693.755 3.443 1.38 5.23 1.875v107.835c.034.774.017.972.152 1.736.253 1.434.822 2.807 1.656 4 .446.636.598.764 1.12 1.335l74.77 74.77-29.944 29.943L182.85 305.06v-12.9c2.08-.576 4.11-1.332 6.06-2.257 3.875-1.84 7.426-4.35 10.46-7.382 3.033-3.033 5.542-6.584 7.382-10.46 1.52-3.204 2.58-6.625 3.14-10.128.612-3.844.625-7.783.036-11.63-.583-3.81-1.76-7.526-3.475-10.977-1.975-3.973-4.66-7.586-7.89-10.628-3.404-3.208-7.406-5.772-11.747-7.516-2.293-.92-4.678-1.613-7.11-2.063-2.417-.448-4.88-.657-7.34-.625-2.45.03-4.897.3-7.295.807-2.41.51-4.77 1.258-7.034 2.233-4.29 1.847-8.226 4.504-11.55 7.788-3.157 3.122-5.757 6.802-7.637 10.826-1.637 3.502-2.723 7.255-3.21 11.09-.503 3.937-.38 7.954.37 11.853.68 3.545 1.877 6.99 3.544 10.193 1.977 3.8 4.608 7.255 7.744 10.174 3.033 2.824 6.533 5.142 10.32 6.827 1.694.754 3.444 1.38 5.23 1.875V309.2c.023.634.012.795.103 1.424.204 1.414.714 2.78 1.486 3.983.258.4.543.78.855 1.14.157.18.326.35.488.523l113.834 113.835zM172.85 273.51c.894 0 1.788-.065 2.674-.2 1.524-.234 3.015-.67 4.424-1.298 1.64-.73 3.167-1.717 4.51-2.91 1.45-1.285 2.684-2.807 3.64-4.49.824-1.454 1.438-3.025 1.814-4.653.468-2.027.57-4.137.307-6.2-.223-1.744-.712-3.453-1.447-5.052-.883-1.92-2.117-3.676-3.62-5.16-1.554-1.537-3.393-2.78-5.4-3.645-2.105-.906-4.384-1.384-6.675-1.413-2.303-.03-4.604.39-6.74 1.25-1.997.8-3.838 1.976-5.412 3.442-1.547 1.44-2.832 3.156-3.773 5.048-.78 1.57-1.32 3.256-1.596 4.987-.328 2.054-.29 4.17.115 6.21.32 1.61.868 3.17 1.625 4.626.845 1.624 1.946 3.113 3.248 4.4 1.378 1.36 2.98 2.495 4.724 3.336 1.415.682 2.923 1.17 4.47 1.447.877.157 1.764.243 2.653.27.152.002.304.004.456.004zm167.767 0c.896 0 1.79-.065 2.675-.2 1.524-.234 3.016-.67 4.424-1.298 1.706-.76 3.287-1.795 4.67-3.05 1.38-1.256 2.56-2.73 3.48-4.35.807-1.423 1.412-2.958 1.79-4.548.49-2.058.598-4.206.33-6.304-.22-1.745-.71-3.454-1.444-5.052-.883-1.92-2.118-3.676-3.62-5.16-1.555-1.537-3.394-2.78-5.4-3.645-2.106-.906-4.385-1.384-6.676-1.413-2.302-.03-4.603.39-6.74 1.25-1.996.8-3.838 1.976-5.412 3.442-1.546 1.44-2.832 3.156-3.772 5.048-.78 1.57-1.32 3.256-1.597 4.987-.327 2.054-.29 4.17.115 6.21.333 1.68.917 3.306 1.724 4.814.898 1.676 2.07 3.203 3.454 4.506 1.307 1.232 2.802 2.263 4.42 3.043 1.416.682 2.924 1.17 4.472 1.447.876.157 1.762.243 2.652.27.152.002.303.004.455.004zM256 177.7c.896-.003 1.79-.067 2.676-.202 1.523-.233 3.015-.67 4.423-1.297 1.64-.73 3.167-1.717 4.51-2.91 1.448-1.284 2.684-2.807 3.64-4.49.805-1.422 1.41-2.957 1.788-4.548.49-2.057.6-4.205.332-6.303-.222-1.746-.71-3.455-1.445-5.054-.883-1.92-2.118-3.675-3.62-5.16-1.555-1.536-3.393-2.78-5.4-3.644-2.106-.907-4.385-1.384-6.677-1.413-2.302-.03-4.603.39-6.74 1.248-1.996.802-3.837 1.977-5.41 3.443-1.547 1.44-2.833 3.156-3.774 5.048-.78 1.57-1.32 3.256-1.596 4.987-.328 2.055-.29 4.17.115 6.212.333 1.678.916 3.304 1.724 4.812.914 1.706 2.113 3.258 3.53 4.577 1.29 1.2 2.757 2.206 4.343 2.97 1.45.7 2.995 1.195 4.58 1.468.842.145 1.692.225 2.544.25l.456.005z"/></symbol></svg>')}"interactive"==document.readyState&&e(),window.Turbolinks&&document.addEventListener("turbolinks:load",function(l){e()}),document.addEventListener("DOMContentLoaded",function(l){e()})}();
|
5
5
|
},{}],3:[function(require,module,exports){
|
6
6
|
"use strict";var event=require("compose-toolbox").event,clipboard=function(){function e(e){console.log(e);var t=e.currentTarget,o=document.querySelector(t.dataset.copyTarget);if(e.preventDefault(),o&&o.select){o.select();try{document.execCommand("copy"),o.blur(),t.classList.add("copied"),setTimeout(function(){t.classList.remove("copied")},2e3)}catch(e){alert("please press Ctrl/Cmd+C to copy")}}}event.on(document,"click","[data-copy-target]",e)};module.exports=clipboard;
|
7
7
|
},{"compose-toolbox":31}],4:[function(require,module,exports){
|
@@ -9,7 +9,7 @@
|
|
9
9
|
},{"./notify":5,"compose-event":10}],5:[function(require,module,exports){
|
10
10
|
"use strict";function notify(s,e){return e||(e=s,s="normal"),show(s,e)}function show(s,e){if(clearTimeout(autoDismissTimeout),messageEl)return dismiss(function(){show(s,e)});if(document.body.insertAdjacentHTML("beforeend",template),messageEl=document.body.lastChild,messageEl.querySelector(".notification-message").innerHTML=e,s){messageEl.classList.add(s);var i=defaultsByType[s];i&&i.dismissAfter&&(autoDismissTimeout=window.setTimeout(dismiss,i.dismissAfter))}return messageEl=document.body.lastChild,Event.keyOne("esc",dismiss),Event.one(messageEl,"click",".notification-close",dismiss),{dismiss:dismiss}}function dismiss(s){clearTimeout(autoDismissTimeout);var e;e="function"==typeof s?function(){remove(),s()}:remove;var i=window.setTimeout(e,500);Event.one(messageEl,"animationstart",function(){clearTimeout(i),Event.afterAnimation(messageEl,e)}),messageEl.classList.add("dismiss")}function remove(){messageEl=document.querySelector("body > .notification"),messageEl&&messageEl.parentNode.removeChild(messageEl),messageEl=null}var Event=require("compose-event"),defaultsByType={normal:{dismissAfter:2500},success:{dismissAfter:2500}},autoDismissTimeout,messageEl,template='<div class="notification"> <div class="notification-content"> <div class="notification-message" role="alert"></div> <button class="notification-close" href="#" role="button" aria-label="close message"> <span class="close-icon" aria-hidden="true"></span> </button> </div></div>';module.exports=notify;
|
11
11
|
},{"compose-event":10}],6:[function(require,module,exports){
|
12
|
-
"use strict";function autoSizeTextarea(
|
12
|
+
"use strict";function autoSizeTextarea(t){var e=t.parentElement;if(""!=t.value&&e.classList.contains("input-wrapper")){e.style.height=t.style.height;var o=t.offsetHeight-t.clientHeight;t.style.height="auto";var a=t.scrollHeight+o,r=.95*window.innerHeight;t.style.height=a<r?a+"px":r+"px",e.style.height="auto"}}var toolbox=require("compose-toolbox");toolbox.event.change(function(){var t=document.querySelectorAll("textarea");toolbox.event.delay(function(){Array.prototype.forEach.call(t,autoSizeTextarea)})}),toolbox.event.on(document,"keyup toggler:show","textarea",function(t){autoSizeTextarea(t.currentTarget)}),toolbox.event.change(function(){Array.prototype.forEach.call(document.querySelectorAll("[data-match-url]"),function(t){t.getAttribute("data-match-url")&&new RegExp(t.dataset.matchUrl,"i").test(location.pathname)&&t.classList.add("here")})});
|
13
13
|
},{"compose-toolbox":31}],7:[function(require,module,exports){
|
14
14
|
"use strict";var toggler=require("compose-toggler"),formUp=require("compose-form-up"),toolbox=require("compose-toolbox"),ajax=require("superagent"),event=toolbox.event,clipboard=require("./enhancements/clipboard"),notify=require("./enhancements/notify");event.scroll.disablePointer(),clipboard(),require("compose-slider"),require("./_icons"),require("./_form-helpers"),require("./enhancements/flash-messages"),require("./enhancements/text-helpers"),window.Tungsten=module.exports=toolbox.merge({ajax:ajax,form:formUp,toggler:toggler,clipboard:clipboard,notify:notify},toolbox);
|
15
15
|
},{"./_form-helpers":1,"./_icons":2,"./enhancements/clipboard":3,"./enhancements/flash-messages":4,"./enhancements/notify":5,"./enhancements/text-helpers":6,"compose-form-up":25,"compose-slider":28,"compose-toggler":30,"compose-toolbox":31,"superagent":38}],8:[function(require,module,exports){
|
@@ -84,4 +84,4 @@ function request(e,n,t){return"function"==typeof t?new e("GET",n).end(t):2==argu
|
|
84
84
|
});
|
85
85
|
|
86
86
|
|
87
|
-
//# sourceMappingURL=/assets/tungsten/tungsten-0.1.
|
87
|
+
//# sourceMappingURL=/assets/tungsten/tungsten-0.1.21.map.json
|
Binary file
|