mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f44ed2598 | ||
|
|
5c0cfdcf38 | ||
|
|
2de5378208 | ||
|
|
a2aca89550 |
@@ -28,7 +28,16 @@ module.exports = function(progressRatio, indefinite = false) {
|
|||||||
cy="${oRadius}"
|
cy="${oRadius}"
|
||||||
fill="transparent"/>
|
fill="transparent"/>
|
||||||
<circle
|
<circle
|
||||||
class="${indefinite ? 'progress__indefinite' : 'progress__bar'}"
|
class="progress__indefinite ${indefinite ? '' : 'progress--invisible'}"
|
||||||
|
r="${radius}"
|
||||||
|
cx="${oRadius}"
|
||||||
|
cy="${oRadius}"
|
||||||
|
fill="transparent"
|
||||||
|
transform="rotate(-90 ${oRadius} ${oRadius})"
|
||||||
|
stroke-dasharray="${circumference}"
|
||||||
|
stroke-dashoffset="${dashOffset}"/>
|
||||||
|
<circle
|
||||||
|
class="progress__bar ${indefinite ? 'progress--invisible' : ''}"
|
||||||
r="${radius}"
|
r="${radius}"
|
||||||
cx="${oRadius}"
|
cx="${oRadius}"
|
||||||
cy="${oRadius}"
|
cy="${oRadius}"
|
||||||
|
|||||||
@@ -37,3 +37,7 @@
|
|||||||
line-height: 58px;
|
line-height: 58px;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.progress--invisible {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "firefox-send",
|
"name": "firefox-send",
|
||||||
"version": "2.4.0",
|
"version": "2.4.1",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "firefox-send",
|
"name": "firefox-send",
|
||||||
"description": "File Sharing Experiment",
|
"description": "File Sharing Experiment",
|
||||||
"version": "2.4.0",
|
"version": "2.4.1",
|
||||||
"author": "Mozilla (https://mozilla.org)",
|
"author": "Mozilla (https://mozilla.org)",
|
||||||
"repository": "mozilla/send",
|
"repository": "mozilla/send",
|
||||||
"homepage": "https://github.com/mozilla/send/",
|
"homepage": "https://github.com/mozilla/send/",
|
||||||
|
|||||||
@@ -107,7 +107,11 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
loader: 'svgo-loader',
|
loader: 'svgo-loader',
|
||||||
options: {
|
options: {
|
||||||
plugins: [{ convertStyleToAttrs: true }, { removeTitle: true }]
|
plugins: [
|
||||||
|
{ removeViewBox: false },
|
||||||
|
{ convertStyleToAttrs: true },
|
||||||
|
{ removeTitle: true }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user