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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ac621993bd2aab5bdb2d32f91b59195d88b905b
|
4
|
+
data.tar.gz: b3df1eb68cdf3e05b6b7fbd5c03f3f7cc7c6ed3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23a677786c1d18b4ce22ed5beb543012f027e6c16eb191bcb7458f844bbc59ba0308ca62bbf315ca6865cb309a6413952766b62f1c03a81177ff6e0fb5f78b2b
|
7
|
+
data.tar.gz: 2129c87363a5741e4e9f48cdadfca3809aba688d4d66308a922ca7815ea70acdcc8a664a60f6ad8861c2990774473a41b4a47bd93e25f5fcdccb9221d23e5d0f
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
function embed() {
|
4
4
|
if (!document.querySelector('#esvg-svg-icons')) {
|
5
|
-
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
|
5
|
+
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>')
|
6
6
|
}
|
7
7
|
}
|
8
8
|
|
@@ -29,3 +29,13 @@ toolbox.event.change(function(){
|
|
29
29
|
toolbox.event.on(document, 'keyup toggler:show', 'textarea', function(event){
|
30
30
|
autoSizeTextarea(event.currentTarget)
|
31
31
|
})
|
32
|
+
|
33
|
+
|
34
|
+
toolbox.event.change(function(){
|
35
|
+
Array.prototype.forEach.call(document.querySelectorAll('[data-match-url]'), function(node){
|
36
|
+
var matcher = node.getAttribute('data-match-url')
|
37
|
+
if (matcher && new RegExp(node.dataset.matchUrl, "i").test(location.pathname)) {
|
38
|
+
node.classList.add('here')
|
39
|
+
}
|
40
|
+
})
|
41
|
+
})
|
@@ -0,0 +1,44 @@
|
|
1
|
+
.application-banner {
|
2
|
+
background-color: $gray-10;
|
3
|
+
color: $white;
|
4
|
+
display: flex;
|
5
|
+
align-items: center;
|
6
|
+
padding: $content-padding * .5 $content-padding;
|
7
|
+
|
8
|
+
.svg-deployment, .svg-cluster {
|
9
|
+
margin-right: 20px;
|
10
|
+
}
|
11
|
+
.deployment-icon-hex {
|
12
|
+
fill: rgba(#000, .05);
|
13
|
+
}
|
14
|
+
|
15
|
+
a {
|
16
|
+
transition: $duration;
|
17
|
+
text-decoration: none;
|
18
|
+
padding: .4em .6em;
|
19
|
+
border-radius: $radius;
|
20
|
+
+ a {
|
21
|
+
margin-left: 2px;
|
22
|
+
}
|
23
|
+
|
24
|
+
&,
|
25
|
+
&:visited {
|
26
|
+
color: inherit;
|
27
|
+
background: transparent;
|
28
|
+
}
|
29
|
+
|
30
|
+
&:hover,
|
31
|
+
&:focus,
|
32
|
+
&:active {
|
33
|
+
color: inherit;
|
34
|
+
background: rgba($white, .1);
|
35
|
+
text-shadow: 0 1px 1px rgba(#000, .1);
|
36
|
+
}
|
37
|
+
|
38
|
+
&.here {
|
39
|
+
background: rgba($white, .1);
|
40
|
+
box-shadow: 0 0 0 1px rgba($white, .3) inset;
|
41
|
+
text-shadow: 0 1px 1px rgba(#000, .15);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
@@ -49,47 +49,6 @@ textarea {
|
|
49
49
|
* Application
|
50
50
|
* ------------------------------------- */
|
51
51
|
|
52
|
-
.application-banner {
|
53
|
-
background: $gray-10;
|
54
|
-
color: $white;
|
55
|
-
display: flex;
|
56
|
-
align-items: center;
|
57
|
-
padding: $content-padding * .5 $content-padding;
|
58
|
-
|
59
|
-
.svg-deployment {
|
60
|
-
margin-right: 20px;
|
61
|
-
}
|
62
|
-
|
63
|
-
@each $name, $colors in $gradients {
|
64
|
-
$start: nth($colors, 1);
|
65
|
-
$end: nth($colors, 2);
|
66
|
-
|
67
|
-
&.#{$name}-gradient-bg {
|
68
|
-
background: linear-gradient(135deg, #{$start}, #{$end}) left top/100% 100% no-repeat;
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
a {
|
73
|
-
transition: $duration;
|
74
|
-
text-decoration: none;
|
75
|
-
padding: .3em .6em;
|
76
|
-
border-radius: $radius;
|
77
|
-
|
78
|
-
&,
|
79
|
-
&:visited {
|
80
|
-
color: inherit;
|
81
|
-
background: transparent;
|
82
|
-
}
|
83
|
-
|
84
|
-
&:hover,
|
85
|
-
&:focus,
|
86
|
-
&:active {
|
87
|
-
color: inherit;
|
88
|
-
background: rgba($white, .2);
|
89
|
-
}
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
52
|
.application-content {
|
94
53
|
padding: $content-padding;
|
95
54
|
}
|
@@ -1,26 +1,27 @@
|
|
1
1
|
.copy-input {
|
2
2
|
position: relative;
|
3
|
+
display: block;
|
3
4
|
|
4
5
|
.copy-button {
|
5
6
|
right: 1px;
|
6
|
-
top:
|
7
|
+
top: 8px;
|
7
8
|
z-index: 2;
|
8
|
-
padding: 4px 10px;
|
9
|
+
padding: 4px 10px 4px 15px;
|
9
10
|
|
10
11
|
&, &:hover, &:active, &:focus {
|
11
12
|
transform: translate3d(0,0,0);
|
12
13
|
position: absolute;
|
13
14
|
border: none;
|
14
15
|
box-shadow: none;
|
15
|
-
background: linear-gradient(
|
16
|
+
background: linear-gradient( 60deg, rgba(#fff, 0), #fff 30%)
|
16
17
|
}
|
17
18
|
}
|
18
19
|
}
|
19
20
|
|
20
21
|
.copy-button {
|
21
22
|
svg {
|
22
|
-
opacity: .5;
|
23
23
|
transition: opacity ease .2s;
|
24
|
+
opacity: .5;
|
24
25
|
}
|
25
26
|
&:hover, &:focus {
|
26
27
|
svg { opacity: 1; }
|
@@ -1,7 +1,7 @@
|
|
1
1
|
@mixin label-placeholder {
|
2
2
|
// Scoped variables
|
3
3
|
$padding-x: .8em;
|
4
|
-
$padding-y: 1.
|
4
|
+
$padding-y: 1.6em;
|
5
5
|
$distance-y: .6em;
|
6
6
|
$font-size: 1em;
|
7
7
|
$distance-x: 0;
|
@@ -38,8 +38,8 @@
|
|
38
38
|
|
39
39
|
// Move labels out of the way on focus and empty
|
40
40
|
&:focus, &:not(.empty) {
|
41
|
-
padding-top: $padding-y - ($distance-y /
|
42
|
-
padding-bottom: ($distance-y /
|
41
|
+
padding-top: $padding-y - ($distance-y / 2);
|
42
|
+
padding-bottom: ($distance-y / 2);
|
43
43
|
|
44
44
|
+ .placeholder-label-text, {
|
45
45
|
z-index: 2;
|
@@ -67,7 +67,7 @@
|
|
67
67
|
pointer-events: none;
|
68
68
|
font-size: inherit;
|
69
69
|
position: absolute;
|
70
|
-
top: ($padding-y / 2)
|
70
|
+
top: ($padding-y / 2);
|
71
71
|
left: $padding-x;
|
72
72
|
padding: 1px 0 0 1px;
|
73
73
|
transform-origin: left top 0;
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><g id="Layer1"><path d="M256,510.897c-0.898,-0.003 -1.795,-0.027 -2.692,-0.081c-1.795,-0.107 -3.583,-0.321 -5.352,-0.642c-5.29,-0.958 -10.398,-2.872 -15.01,-5.635c-2.092,-1.254 -4.081,-2.68 -5.942,-4.258c-0.879,-0.744 -1.725,-1.524 -2.547,-2.331c-70.358,-69.913 -140.494,-140.049 -210.407,-210.407c-1.206,-1.228 -2.348,-2.515 -3.41,-3.869c-2.008,-2.559 -3.736,-5.337 -5.141,-8.271c-1.413,-2.949 -2.499,-6.054 -3.237,-9.24c-0.77,-3.329 -1.159,-6.746 -1.159,-10.163c0,-3.417 0.389,-6.834 1.159,-10.163c0.738,-3.186 1.824,-6.291 3.237,-9.24c1.405,-2.934 3.133,-5.712 5.141,-8.271c1.062,-1.354 2.204,-2.641 3.41,-3.869c69.913,-70.358 140.049,-140.494 210.407,-210.407c1.228,-1.206 2.515,-2.348 3.869,-3.41c2.559,-2.008 5.337,-3.736 8.271,-5.141c2.949,-1.413 6.054,-2.499 9.24,-3.237c3.329,-0.77 6.746,-1.159 10.163,-1.159c3.417,0 6.834,0.389 10.163,1.159c3.186,0.738 6.291,1.824 9.24,3.237c2.934,1.405 5.712,3.133 8.271,5.141c1.354,1.062 2.641,2.204 3.869,3.41c70.358,69.913 140.494,140.049 210.407,210.407c1.206,1.228 2.348,2.515 3.41,3.869c2.008,2.559 3.736,5.337 5.141,8.271c1.413,2.949 2.499,6.054 3.237,9.24c0.77,3.329 1.159,6.746 1.159,10.163c0,3.417 -0.389,6.834 -1.159,10.163c-0.738,3.186 -1.824,6.291 -3.237,9.24c-1.405,2.934 -3.133,5.712 -5.141,8.271c-1.062,1.354 -2.204,2.641 -3.41,3.869c-69.913,70.358 -140.049,140.494 -210.407,210.407c-0.822,0.807 -1.668,1.587 -2.547,2.331c-1.861,1.578 -3.85,3.004 -5.942,4.258c-4.38,2.624 -9.207,4.483 -14.213,5.483c-1.764,0.353 -3.549,0.6 -5.343,0.739c-0.806,0.063 -1.613,0.101 -2.421,0.123c-0.359,0.007 -0.718,0.012 -1.077,0.013ZM256,480.896c0.874,-0.002 1.746,-0.075 2.608,-0.226c1.711,-0.299 3.368,-0.899 4.87,-1.773c1.089,-0.635 2.087,-1.411 2.986,-2.294c70.289,-69.85 140.81,-139.476 210.209,-210.21c0.426,-0.439 0.828,-0.9 1.199,-1.386c0.665,-0.869 1.233,-1.813 1.688,-2.809c0.809,-1.774 1.257,-3.707 1.327,-5.655c0.082,-2.31 -0.367,-4.637 -1.327,-6.741c-0.455,-0.996 -1.023,-1.939 -1.688,-2.809c-0.371,-0.486 -0.773,-0.947 -1.199,-1.386c-69.422,-70.758 -139.524,-140.856 -210.28,-210.28c-0.439,-0.426 -0.9,-0.828 -1.386,-1.199c-0.869,-0.665 -1.813,-1.233 -2.809,-1.687c-1.774,-0.81 -3.707,-1.258 -5.655,-1.328c-2.311,-0.082 -4.637,0.367 -6.741,1.328c-0.968,0.441 -1.885,0.989 -2.734,1.63c-0.514,0.387 -0.999,0.808 -1.461,1.256c-70.756,69.424 -140.856,139.524 -210.28,210.28c-0.448,0.462 -0.869,0.947 -1.256,1.461c-0.641,0.849 -1.189,1.766 -1.63,2.734c-0.961,2.104 -1.41,4.43 -1.328,6.741c0.07,1.948 0.518,3.881 1.328,5.655c0.454,0.996 1.022,1.94 1.687,2.809c0.371,0.486 0.773,0.947 1.199,1.386c69.424,70.756 139.522,140.858 210.28,210.28c0.881,0.854 1.854,1.606 2.915,2.224c1.397,0.813 2.929,1.39 4.515,1.707c0.887,0.177 1.787,0.271 2.69,0.29c0.091,0.001 0.182,0.002 0.273,0.002Z" style="fill:#000;fill-rule:nonzero;"/><path d="M279.612,430.108l-13.5,13.5c-2.682,2.682 -6.319,4.188 -10.112,4.188c-3.793,0 -7.43,-1.506 -10.112,-4.188c-33.939,-33.939 -143.557,-143.557 -177.496,-177.496c-2.682,-2.682 -4.188,-6.319 -4.188,-10.112c0,-3.793 1.506,-7.43 4.188,-10.112c33.939,-33.939 143.557,-143.557 177.496,-177.496c2.682,-2.682 6.319,-4.188 10.112,-4.188c3.793,0 7.43,1.506 10.112,4.188l64.505,64.506l0,86.943c-1.64,0.453 -3.249,1.019 -4.812,1.692c-4.292,1.847 -8.226,4.504 -11.549,7.788c-3.159,3.121 -5.758,6.801 -7.638,10.824c-1.637,3.502 -2.723,7.256 -3.211,11.09c-0.501,3.938 -0.377,7.956 0.371,11.854c0.651,3.398 1.778,6.701 3.337,9.789c1.965,3.893 4.613,7.434 7.787,10.425c3.071,2.893 6.629,5.265 10.484,6.981c3.178,1.415 6.553,2.381 9.999,2.864c1.734,0.243 3.481,0.358 5.232,0.363c0.322,-0.001 0.643,-0.005 0.964,-0.012c1.743,-0.05 3.48,-0.208 5.201,-0.494c3.422,-0.568 6.762,-1.615 9.896,-3.102c3.875,-1.84 7.427,-4.349 10.46,-7.382c3.033,-3.034 5.542,-6.585 7.382,-10.461c1.521,-3.204 2.582,-6.625 3.14,-10.128c0.613,-3.844 0.625,-7.784 0.036,-11.632c-0.582,-3.81 -1.759,-7.525 -3.475,-10.976c-1.976,-3.972 -4.66,-7.585 -7.889,-10.627c-3.405,-3.208 -7.406,-5.772 -11.747,-7.516c-1.296,-0.521 -2.622,-0.968 -3.968,-1.34l0,-66.943l92.991,92.99c2.682,2.682 4.188,6.319 4.188,10.112c0,3.793 -1.506,7.43 -4.188,10.112l-105.768,105.768l-71.84,-71.84l0,-103.693c2.08,-0.575 4.11,-1.33 6.06,-2.256c3.876,-1.839 7.427,-4.348 10.461,-7.382c2.979,-2.979 5.454,-6.459 7.284,-10.255c1.539,-3.193 2.62,-6.604 3.2,-10.101c0.65,-3.917 0.675,-7.939 0.074,-11.864c-0.583,-3.81 -1.759,-7.525 -3.475,-10.976c-1.975,-3.972 -4.66,-7.585 -7.889,-10.627c-3.405,-3.208 -7.407,-5.773 -11.748,-7.517c-2.293,-0.921 -4.678,-1.613 -7.109,-2.064c-2.418,-0.448 -4.881,-0.656 -7.34,-0.625c-2.373,0.03 -4.742,0.284 -7.067,0.76c-2.49,0.51 -4.928,1.276 -7.263,2.281c-4.292,1.848 -8.226,4.505 -11.55,7.789c-3.158,3.121 -5.758,6.801 -7.638,10.824c-1.636,3.502 -2.722,7.256 -3.21,11.09c-0.501,3.937 -0.378,7.955 0.37,11.854c0.652,3.397 1.779,6.701 3.338,9.789c1.931,3.826 4.522,7.313 7.624,10.27c3.108,2.963 6.723,5.389 10.647,7.135c1.694,0.755 3.444,1.381 5.231,1.875l0,107.835c0.034,0.774 0.017,0.972 0.152,1.736c0.253,1.434 0.822,2.807 1.656,4c0.446,0.636 0.598,0.764 1.121,1.335l74.769,74.769l-29.944,29.944l-110.905,-110.906l0,-12.901c2.08,-0.575 4.11,-1.331 6.06,-2.256c3.876,-1.84 7.427,-4.349 10.461,-7.382c3.033,-3.034 5.542,-6.585 7.382,-10.461c1.521,-3.204 2.581,-6.625 3.14,-10.128c0.612,-3.844 0.625,-7.783 0.036,-11.631c-0.583,-3.81 -1.759,-7.525 -3.475,-10.976c-1.975,-3.973 -4.66,-7.586 -7.889,-10.628c-3.405,-3.208 -7.407,-5.772 -11.748,-7.516c-2.293,-0.921 -4.678,-1.614 -7.109,-2.064c-2.418,-0.448 -4.881,-0.657 -7.34,-0.625c-2.451,0.031 -4.898,0.3 -7.296,0.807c-2.411,0.51 -4.771,1.259 -7.035,2.234c-4.291,1.847 -8.226,4.504 -11.549,7.788c-3.158,3.121 -5.758,6.801 -7.638,10.825c-1.636,3.502 -2.722,7.255 -3.21,11.089c-0.502,3.938 -0.378,7.955 0.37,11.854c0.68,3.546 1.878,6.99 3.545,10.194c1.977,3.801 4.608,7.255 7.744,10.174c3.033,2.824 6.533,5.142 10.319,6.827c1.695,0.754 3.445,1.381 5.232,1.875l0,17.043c0.022,0.634 0.011,0.795 0.102,1.424c0.203,1.414 0.713,2.781 1.485,3.983c0.258,0.4 0.543,0.782 0.855,1.142c0.156,0.18 0.325,0.348 0.487,0.522l113.834,113.835ZM172.849,273.511c0.895,-0.002 1.789,-0.066 2.675,-0.202c1.524,-0.233 3.015,-0.67 4.424,-1.297c1.641,-0.731 3.167,-1.717 4.511,-2.91c1.448,-1.285 2.683,-2.807 3.638,-4.491c0.825,-1.453 1.439,-3.024 1.815,-4.652c0.468,-2.026 0.57,-4.136 0.307,-6.198c-0.222,-1.745 -0.711,-3.454 -1.446,-5.053c-0.883,-1.921 -2.117,-3.676 -3.621,-5.161c-1.553,-1.536 -3.392,-2.78 -5.399,-3.644c-2.105,-0.906 -4.384,-1.384 -6.675,-1.413c-2.303,-0.029 -4.604,0.391 -6.741,1.249c-1.996,0.802 -3.837,1.977 -5.411,3.443c-1.547,1.439 -2.832,3.156 -3.773,5.048c-0.78,1.569 -1.32,3.256 -1.596,4.987c-0.328,2.054 -0.29,4.17 0.115,6.211c0.319,1.609 0.868,3.17 1.625,4.625c0.845,1.624 1.946,3.113 3.248,4.4c1.378,1.361 2.979,2.495 4.724,3.336c1.416,0.683 2.924,1.172 4.472,1.448c0.876,0.157 1.763,0.243 2.652,0.269c0.152,0.003 0.304,0.005 0.456,0.005ZM340.617,273.511c0.896,-0.002 1.79,-0.066 2.675,-0.202c1.524,-0.233 3.016,-0.67 4.424,-1.297c1.706,-0.759 3.287,-1.795 4.669,-3.051c1.38,-1.255 2.561,-2.728 3.481,-4.35c0.807,-1.422 1.412,-2.957 1.79,-4.547c0.489,-2.058 0.598,-4.206 0.331,-6.304c-0.222,-1.745 -0.71,-3.454 -1.445,-5.052c-0.883,-1.921 -2.118,-3.676 -3.621,-5.161c-1.554,-1.536 -3.393,-2.78 -5.399,-3.644c-2.106,-0.906 -4.385,-1.384 -6.676,-1.413c-2.302,-0.029 -4.603,0.391 -6.74,1.25c-1.996,0.801 -3.838,1.976 -5.412,3.442c-1.546,1.439 -2.832,3.156 -3.772,5.048c-0.781,1.569 -1.321,3.256 -1.597,4.987c-0.327,2.054 -0.289,4.17 0.115,6.211c0.333,1.678 0.917,3.305 1.724,4.813c0.898,1.675 2.07,3.202 3.454,4.505c1.307,1.232 2.802,2.263 4.419,3.043c1.417,0.683 2.925,1.172 4.473,1.448c0.876,0.157 1.762,0.243 2.652,0.269c0.152,0.003 0.303,0.005 0.455,0.005ZM256,177.7c0.896,-0.003 1.79,-0.067 2.676,-0.202c1.523,-0.233 3.015,-0.671 4.423,-1.297c1.642,-0.731 3.168,-1.718 4.512,-2.91c1.447,-1.285 2.683,-2.808 3.638,-4.491c0.806,-1.422 1.411,-2.957 1.789,-4.548c0.489,-2.057 0.599,-4.205 0.332,-6.303c-0.222,-1.745 -0.711,-3.454 -1.445,-5.053c-0.883,-1.92 -2.118,-3.675 -3.621,-5.16c-1.554,-1.536 -3.392,-2.781 -5.4,-3.644c-2.105,-0.907 -4.384,-1.384 -6.676,-1.413c-2.302,-0.03 -4.603,0.391 -6.74,1.249c-1.996,0.802 -3.837,1.977 -5.411,3.443c-1.546,1.439 -2.832,3.155 -3.773,5.047c-0.78,1.57 -1.32,3.256 -1.596,4.987c-0.328,2.055 -0.29,4.171 0.115,6.212c0.333,1.678 0.916,3.304 1.724,4.812c0.914,1.707 2.113,3.259 3.53,4.578c1.289,1.2 2.757,2.206 4.343,2.971c1.45,0.698 2.995,1.194 4.581,1.467c0.841,0.145 1.691,0.225 2.543,0.249c0.152,0.003 0.304,0.005 0.456,0.006Z" style="fill:#000;"/></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 204 252" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><path d="M149.406,251.232l-95.604,0c-29.694,0 -53.802,-24.108 -53.802,-53.802l0,-107.604c0,-25.191 17.35,-46.362 40.743,-52.204l0,24.25c0,6.798 4.992,11.093 11.143,11.093l99.436,0c6.151,0 11.143,-4.295 11.143,-11.093l0,-24.25c23.393,5.842 40.743,27.013 40.743,52.204l0,107.604c0,29.694 -24.107,53.801 -53.802,53.802Zm-2.748,-154.255l-90.108,0c-16.058,0.001 -29.094,13.037 -29.094,29.094l0,70.188c0,16.057 13.037,29.094 29.094,29.094l90.108,0c16.057,0 29.094,-13.037 29.094,-29.094l0,-70.188c0,-16.057 -13.036,-29.093 -29.094,-29.094Z" style="fill-opacity:0.752941;"/><path d="M64.252,57.763l74.704,0c4.676,0 8.471,-2.964 8.471,-7.657l0,-7.411c0,-9.877 -4.591,-17.754 -16.941,-17.754l-12.941,0c0,-16.941 -6.573,-24.941 -15.941,-24.941c-9.368,0 -15.941,8 -15.941,24.941l-12.94,0c-10.944,0 -16.941,7.877 -16.941,17.754l0,7.411c0,4.693 3.794,7.657 8.47,7.657"/><path d="M97.719,142.456l0,-28.105c0,-7.106 4.268,-9.291 9.428,-4.829l52.211,41.772c2.598,2.231 2.586,5.824 -0.011,8.055l-52.222,40.962c-5.138,4.439 -9.406,2.265 -9.406,-4.84l0,-26.276l-5.098,0c-17.434,2.183 -33.967,11.9 -39.676,31.502c-0.885,3.037 -2.895,2.94 -3.707,-0.115c-1.476,-5.56 -2.383,-11.385 -2.289,-17.414c0.366,-23.442 22.556,-40.877 50.77,-40.712" style="fill-rule:nonzero;"/></svg>
|
data/lib/tungsten/version.rb
CHANGED
Binary file
|
File without changes
|