j1-template 2021.2.5 → 2021.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +2 -1
- data/_layouts/default.html +0 -1
- data/assets/data/iso-639-language-codes-flags.json +224 -0
- data/assets/data/{translator_languages.json → iso-639-language-codes.json} +111 -142
- data/assets/data/translator.html +23 -19
- data/assets/themes/j1/adapter/js/translator.1.js +525 -0
- data/assets/themes/j1/adapter/js/translator.js +107 -168
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +27 -12
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +27 -12
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +59 -22
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/modules/translator/js/translator.js +217 -242
- data/assets/themes/j1/modules/translator/js/translator.min.js +2 -2
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/j1_config.yml +2 -22
- data/lib/starter_web/_data/modules/defaults/translator.yml +77 -64
- data/lib/starter_web/_data/modules/translator.yml +1 -0
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +3 -3
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +5 -4
- data/assets/data/msdropdown.json +0 -155
@@ -66,7 +66,7 @@
|
|
66
66
|
// -----------------------------------------------------------------------------
|
67
67
|
*/
|
68
68
|
/*!
|
69
|
-
* Bootstrap v4.6.
|
69
|
+
* Bootstrap v4.6.1 (https://getbootstrap.com/)
|
70
70
|
* Copyright 2011-2021 The Bootstrap Authors
|
71
71
|
* Copyright 2011-2021 Twitter, Inc.
|
72
72
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
@@ -1467,9 +1467,6 @@ pre {
|
|
1467
1467
|
.form-control::-ms-expand {
|
1468
1468
|
background-color: transparent;
|
1469
1469
|
border: 0; }
|
1470
|
-
.form-control:-moz-focusring {
|
1471
|
-
color: transparent;
|
1472
|
-
text-shadow: 0 0 0 #616161; }
|
1473
1470
|
.form-control:focus {
|
1474
1471
|
color: #616161;
|
1475
1472
|
background-color: #fff;
|
@@ -1489,6 +1486,10 @@ input[type="datetime-local"].form-control,
|
|
1489
1486
|
input[type="month"].form-control {
|
1490
1487
|
appearance: none; }
|
1491
1488
|
|
1489
|
+
select.form-control:-moz-focusring {
|
1490
|
+
color: transparent;
|
1491
|
+
text-shadow: 0 0 0 #616161; }
|
1492
|
+
|
1492
1493
|
select.form-control:focus::-ms-value {
|
1493
1494
|
color: #616161;
|
1494
1495
|
background-color: #fff; }
|
@@ -1629,7 +1630,7 @@ textarea.form-control {
|
|
1629
1630
|
|
1630
1631
|
.was-validated .form-control:valid, .form-control.is-valid {
|
1631
1632
|
border-color: #4caf50;
|
1632
|
-
padding-right: calc(1.5em + 1.5rem);
|
1633
|
+
padding-right: calc(1.5em + 1.5rem) !important;
|
1633
1634
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%234caf50' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
|
1634
1635
|
background-repeat: no-repeat;
|
1635
1636
|
background-position: right calc(0.375em + 0.375rem) center;
|
@@ -1638,13 +1639,17 @@ textarea.form-control {
|
|
1638
1639
|
border-color: #4caf50;
|
1639
1640
|
box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25); }
|
1640
1641
|
|
1642
|
+
.was-validated select.form-control:valid, select.form-control.is-valid {
|
1643
|
+
padding-right: 4rem !important;
|
1644
|
+
background-position: right 2rem center; }
|
1645
|
+
|
1641
1646
|
.was-validated textarea.form-control:valid, textarea.form-control.is-valid {
|
1642
1647
|
padding-right: calc(1.5em + 1.5rem);
|
1643
1648
|
background-position: top calc(0.375em + 0.375rem) right calc(0.375em + 0.375rem); }
|
1644
1649
|
|
1645
1650
|
.was-validated .custom-select:valid, .custom-select.is-valid {
|
1646
1651
|
border-color: #4caf50;
|
1647
|
-
padding-right: calc(0.75em + 3.125rem);
|
1652
|
+
padding-right: calc(0.75em + 3.125rem) !important;
|
1648
1653
|
background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23424242' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 1rem center/8px 10px no-repeat, #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%234caf50' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") center right 2rem/calc(0.75em + 0.75rem) calc(0.75em + 0.75rem) no-repeat; }
|
1649
1654
|
.was-validated .custom-select:valid:focus, .custom-select.is-valid:focus {
|
1650
1655
|
border-color: #4caf50;
|
@@ -1713,7 +1718,7 @@ textarea.form-control {
|
|
1713
1718
|
|
1714
1719
|
.was-validated .form-control:invalid, .form-control.is-invalid {
|
1715
1720
|
border-color: #f44336;
|
1716
|
-
padding-right: calc(1.5em + 1.5rem);
|
1721
|
+
padding-right: calc(1.5em + 1.5rem) !important;
|
1717
1722
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23f44336' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f44336' stroke='none'/%3e%3c/svg%3e");
|
1718
1723
|
background-repeat: no-repeat;
|
1719
1724
|
background-position: right calc(0.375em + 0.375rem) center;
|
@@ -1722,13 +1727,17 @@ textarea.form-control {
|
|
1722
1727
|
border-color: #f44336;
|
1723
1728
|
box-shadow: 0 0 0 0.2rem rgba(244, 67, 54, 0.25); }
|
1724
1729
|
|
1730
|
+
.was-validated select.form-control:invalid, select.form-control.is-invalid {
|
1731
|
+
padding-right: 4rem !important;
|
1732
|
+
background-position: right 2rem center; }
|
1733
|
+
|
1725
1734
|
.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {
|
1726
1735
|
padding-right: calc(1.5em + 1.5rem);
|
1727
1736
|
background-position: top calc(0.375em + 0.375rem) right calc(0.375em + 0.375rem); }
|
1728
1737
|
|
1729
1738
|
.was-validated .custom-select:invalid, .custom-select.is-invalid {
|
1730
1739
|
border-color: #f44336;
|
1731
|
-
padding-right: calc(0.75em + 3.125rem);
|
1740
|
+
padding-right: calc(0.75em + 3.125rem) !important;
|
1732
1741
|
background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23424242' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 1rem center/8px 10px no-repeat, #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23f44336' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f44336' stroke='none'/%3e%3c/svg%3e") center right 2rem/calc(0.75em + 0.75rem) calc(0.75em + 0.75rem) no-repeat; }
|
1733
1742
|
.was-validated .custom-select:invalid:focus, .custom-select.is-invalid:focus {
|
1734
1743
|
border-color: #f44336;
|
@@ -2604,16 +2613,21 @@ input[type="button"].btn-block {
|
|
2604
2613
|
display: flex;
|
2605
2614
|
align-items: center; }
|
2606
2615
|
.input-group > .custom-file:not(:last-child) .custom-file-label,
|
2616
|
+
.input-group > .custom-file:not(:last-child) .custom-file-label::after {
|
2617
|
+
border-top-right-radius: 0;
|
2618
|
+
border-bottom-right-radius: 0; }
|
2607
2619
|
.input-group > .custom-file:not(:first-child) .custom-file-label {
|
2608
2620
|
border-top-left-radius: 0;
|
2609
2621
|
border-bottom-left-radius: 0; }
|
2610
2622
|
.input-group:not(.has-validation) > .form-control:not(:last-child),
|
2611
2623
|
.input-group:not(.has-validation) > .custom-select:not(:last-child),
|
2624
|
+
.input-group:not(.has-validation) > .custom-file:not(:last-child) .custom-file-label,
|
2612
2625
|
.input-group:not(.has-validation) > .custom-file:not(:last-child) .custom-file-label::after {
|
2613
2626
|
border-top-right-radius: 0;
|
2614
2627
|
border-bottom-right-radius: 0; }
|
2615
2628
|
.input-group.has-validation > .form-control:nth-last-child(n + 3),
|
2616
2629
|
.input-group.has-validation > .custom-select:nth-last-child(n + 3),
|
2630
|
+
.input-group.has-validation > .custom-file:nth-last-child(n + 3) .custom-file-label,
|
2617
2631
|
.input-group.has-validation > .custom-file:nth-last-child(n + 3) .custom-file-label::after {
|
2618
2632
|
border-top-right-radius: 0;
|
2619
2633
|
border-bottom-right-radius: 0; }
|
@@ -4634,8 +4648,11 @@ a.close.disabled {
|
|
4634
4648
|
align-items: center;
|
4635
4649
|
justify-content: center;
|
4636
4650
|
width: 15%;
|
4651
|
+
padding: 0;
|
4637
4652
|
color: #fff;
|
4638
4653
|
text-align: center;
|
4654
|
+
background: none;
|
4655
|
+
border: 0;
|
4639
4656
|
opacity: 0.5;
|
4640
4657
|
transition: opacity 0.15s ease; }
|
4641
4658
|
@media (prefers-reduced-motion: reduce) {
|
@@ -4721,7 +4738,7 @@ a.close.disabled {
|
|
4721
4738
|
display: inline-block;
|
4722
4739
|
width: 2rem;
|
4723
4740
|
height: 2rem;
|
4724
|
-
vertical-align:
|
4741
|
+
vertical-align: -0.125em;
|
4725
4742
|
border: 0.25em solid currentColor;
|
4726
4743
|
border-right-color: transparent;
|
4727
4744
|
border-radius: 50%;
|
@@ -4743,7 +4760,7 @@ a.close.disabled {
|
|
4743
4760
|
display: inline-block;
|
4744
4761
|
width: 2rem;
|
4745
4762
|
height: 2rem;
|
4746
|
-
vertical-align:
|
4763
|
+
vertical-align: -0.125em;
|
4747
4764
|
background-color: currentColor;
|
4748
4765
|
border-radius: 50%;
|
4749
4766
|
opacity: 0;
|
@@ -7211,8 +7228,6 @@ a.text-dark:hover, a.text-dark:focus {
|
|
7211
7228
|
blockquote {
|
7212
7229
|
border: 1px solid #9e9e9e;
|
7213
7230
|
page-break-inside: avoid; }
|
7214
|
-
thead {
|
7215
|
-
display: table-header-group; }
|
7216
7231
|
tr,
|
7217
7232
|
img {
|
7218
7233
|
page-break-inside: avoid; }
|