diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-06-08 14:30:15 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-06-08 14:30:15 +0200 |
commit | d97715f71c04c22a8803472dd48a9e9ef2a1f53b (patch) | |
tree | 4a58b8b34e17b65b2061fcbe5e0bbe793e59556c | |
parent | 55d17efe983ed3720f3e6f2e1ab04b6dedd28191 (diff) | |
download | kube-d97715f71c04c22a8803472dd48a9e9ef2a1f53b.tar.gz kube-d97715f71c04c22a8803472dd48a9e9ef2a1f53b.zip |
make attachment delegate slimmer and give it a save icon
-rw-r--r-- | framework/qml/AttachmentDelegate.qml | 4 | ||||
-rw-r--r-- | framework/qml/Icons.qml | 1 | ||||
-rw-r--r-- | icons/breeze/icons/actions/16/document-save-inverted.svg | 13 | ||||
-rw-r--r-- | icons/breeze/icons/actions/16/document-save.svg | 13 | ||||
-rw-r--r-- | icons/breeze/icons/actions/22/document-save-inverted.svg | 14 | ||||
-rw-r--r-- | icons/breeze/icons/actions/22/document-save.svg | 14 | ||||
-rw-r--r-- | icons/breeze/icons/actions/24/document-save-inverted.svg | 15 | ||||
-rw-r--r-- | icons/breeze/icons/actions/24/document-save.svg | 15 | ||||
-rw-r--r-- | icons/breeze/icons/actions/32/document-save-inverted.svg | 18 | ||||
-rw-r--r-- | icons/breeze/icons/actions/32/document-save.svg | 18 | ||||
-rwxr-xr-x | icons/copybreeze.sh | 1 |
11 files changed, 125 insertions, 1 deletions
diff --git a/framework/qml/AttachmentDelegate.qml b/framework/qml/AttachmentDelegate.qml index 508c6aa8..d4e025dc 100644 --- a/framework/qml/AttachmentDelegate.qml +++ b/framework/qml/AttachmentDelegate.qml | |||
@@ -59,7 +59,9 @@ Item { | |||
59 | color: Kube.Colors.backgroundColor | 59 | color: Kube.Colors.backgroundColor |
60 | } | 60 | } |
61 | Kube.IconButton { | 61 | Kube.IconButton { |
62 | iconName: Kube.Icons.goDown_inverted | 62 | height: Kube.Units.gridUnit |
63 | width: height | ||
64 | iconName: Kube.Icons.save_inverted | ||
63 | onClicked: root.download() | 65 | onClicked: root.download() |
64 | } | 66 | } |
65 | } | 67 | } |
diff --git a/framework/qml/Icons.qml b/framework/qml/Icons.qml index 74627457..67362cf3 100644 --- a/framework/qml/Icons.qml +++ b/framework/qml/Icons.qml | |||
@@ -55,6 +55,7 @@ Item { | |||
55 | 55 | ||
56 | property string addNew: "list-add-new" | 56 | property string addNew: "list-add-new" |
57 | property string folder: "folder" | 57 | property string folder: "folder" |
58 | property string save_inverted: "document-save-inverted" | ||
58 | 59 | ||
59 | } | 60 | } |
60 | 61 | ||
diff --git a/icons/breeze/icons/actions/16/document-save-inverted.svg b/icons/breeze/icons/actions/16/document-save-inverted.svg new file mode 100644 index 00000000..71c17fb2 --- /dev/null +++ b/icons/breeze/icons/actions/16/document-save-inverted.svg | |||
@@ -0,0 +1,13 @@ | |||
1 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> | ||
2 | <defs id="defs3051"> | ||
3 | <style type="text/css" id="current-color-scheme"> | ||
4 | .ColorScheme-Text { | ||
5 | color:#f2f2f2; | ||
6 | } | ||
7 | </style> | ||
8 | </defs> | ||
9 | <path style="fill:currentColor;fill-opacity:1;stroke:none" | ||
10 | d="M 2 2 L 2 14 L 3 14 L 4 14 L 10 14 L 11 14 L 12 14 L 14 14 L 14 4.28125 L 11.71875 2 L 11.6875 2 L 11 2 L 4 2 L 3 2 L 2 2 z M 3 3 L 4 3 L 5 3 L 5 6 L 5 7 L 11 7 L 11 6 L 11 3 L 11.28125 3 L 13 4.71875 L 13 5 L 13 13 L 12 13 L 12 9 L 11 9 L 5 9 L 3.96875 9 L 3.96875 13 L 3 13 L 3 3 z M 6 3 L 7.90625 3 L 7.90625 6 L 6 6 L 6 3 z M 5 10 L 6 10 L 10 10 L 11 10 L 11 13 L 10 13 L 6 13 L 5 13 L 5 10 z " | ||
11 | class="ColorScheme-Text" | ||
12 | /> | ||
13 | </svg> | ||
diff --git a/icons/breeze/icons/actions/16/document-save.svg b/icons/breeze/icons/actions/16/document-save.svg new file mode 100644 index 00000000..7d45c393 --- /dev/null +++ b/icons/breeze/icons/actions/16/document-save.svg | |||
@@ -0,0 +1,13 @@ | |||
1 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> | ||
2 | <defs id="defs3051"> | ||
3 | <style type="text/css" id="current-color-scheme"> | ||
4 | .ColorScheme-Text { | ||
5 | color:#4d4d4d; | ||
6 | } | ||
7 | </style> | ||
8 | </defs> | ||
9 | <path style="fill:currentColor;fill-opacity:1;stroke:none" | ||
10 | d="M 2 2 L 2 14 L 3 14 L 4 14 L 10 14 L 11 14 L 12 14 L 14 14 L 14 4.28125 L 11.71875 2 L 11.6875 2 L 11 2 L 4 2 L 3 2 L 2 2 z M 3 3 L 4 3 L 5 3 L 5 6 L 5 7 L 11 7 L 11 6 L 11 3 L 11.28125 3 L 13 4.71875 L 13 5 L 13 13 L 12 13 L 12 9 L 11 9 L 5 9 L 3.96875 9 L 3.96875 13 L 3 13 L 3 3 z M 6 3 L 7.90625 3 L 7.90625 6 L 6 6 L 6 3 z M 5 10 L 6 10 L 10 10 L 11 10 L 11 13 L 10 13 L 6 13 L 5 13 L 5 10 z " | ||
11 | class="ColorScheme-Text" | ||
12 | /> | ||
13 | </svg> | ||
diff --git a/icons/breeze/icons/actions/22/document-save-inverted.svg b/icons/breeze/icons/actions/22/document-save-inverted.svg new file mode 100644 index 00000000..3df75d57 --- /dev/null +++ b/icons/breeze/icons/actions/22/document-save-inverted.svg | |||
@@ -0,0 +1,14 @@ | |||
1 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"> | ||
2 | <defs id="defs3051"> | ||
3 | <style type="text/css" id="current-color-scheme"> | ||
4 | .ColorScheme-Text { | ||
5 | color:#f2f2f2; | ||
6 | } | ||
7 | </style> | ||
8 | </defs> | ||
9 | <path | ||
10 | style="fill:currentColor;fill-opacity:1;stroke:none" | ||
11 | d="M 3 2.9980469 L 3 3 L 3 4 L 3 19 L 4 19 L 19 19 L 19 18 L 19 7 L 19 6.3007812 L 18.992188 6.3007812 L 19 6.2910156 L 15.707031 2.9980469 L 15.699219 3.0078125 L 15.699219 2.9980469 L 15 2.9980469 L 3 2.9980469 z M 4 4 L 7 4 L 7 8 L 7 9 L 15 9 L 15 8 L 15 4 L 15.292969 4 L 18 6.7070312 L 18 7 L 18 18 L 16 18 L 16 11 L 15 11 L 7 11 L 6 11 L 6 18 L 4 18 L 4 4 z M 8 4 L 11.900391 4 L 11.900391 8 L 8 8 L 8 4 z M 7 12 L 15 12 L 15 18 L 7 18 L 7 12 z " | ||
12 | class="ColorScheme-Text" | ||
13 | /> | ||
14 | </svg> | ||
diff --git a/icons/breeze/icons/actions/22/document-save.svg b/icons/breeze/icons/actions/22/document-save.svg new file mode 100644 index 00000000..79c96ef2 --- /dev/null +++ b/icons/breeze/icons/actions/22/document-save.svg | |||
@@ -0,0 +1,14 @@ | |||
1 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"> | ||
2 | <defs id="defs3051"> | ||
3 | <style type="text/css" id="current-color-scheme"> | ||
4 | .ColorScheme-Text { | ||
5 | color:#4d4d4d; | ||
6 | } | ||
7 | </style> | ||
8 | </defs> | ||
9 | <path | ||
10 | style="fill:currentColor;fill-opacity:1;stroke:none" | ||
11 | d="M 3 2.9980469 L 3 3 L 3 4 L 3 19 L 4 19 L 19 19 L 19 18 L 19 7 L 19 6.3007812 L 18.992188 6.3007812 L 19 6.2910156 L 15.707031 2.9980469 L 15.699219 3.0078125 L 15.699219 2.9980469 L 15 2.9980469 L 3 2.9980469 z M 4 4 L 7 4 L 7 8 L 7 9 L 15 9 L 15 8 L 15 4 L 15.292969 4 L 18 6.7070312 L 18 7 L 18 18 L 16 18 L 16 11 L 15 11 L 7 11 L 6 11 L 6 18 L 4 18 L 4 4 z M 8 4 L 11.900391 4 L 11.900391 8 L 8 8 L 8 4 z M 7 12 L 15 12 L 15 18 L 7 18 L 7 12 z " | ||
12 | class="ColorScheme-Text" | ||
13 | /> | ||
14 | </svg> | ||
diff --git a/icons/breeze/icons/actions/24/document-save-inverted.svg b/icons/breeze/icons/actions/24/document-save-inverted.svg new file mode 100644 index 00000000..b8bad6cc --- /dev/null +++ b/icons/breeze/icons/actions/24/document-save-inverted.svg | |||
@@ -0,0 +1,15 @@ | |||
1 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> | ||
2 | <defs id="defs3051"> | ||
3 | <style type="text/css" id="current-color-scheme"> | ||
4 | .ColorScheme-Text { | ||
5 | color:#f2f2f2; | ||
6 | } | ||
7 | </style> | ||
8 | </defs> | ||
9 | <path | ||
10 | style="fill:currentColor;fill-opacity:1;stroke:none" | ||
11 | d="M 3 2.9980469 L 3 3 L 3 4 L 3 19 L 4 19 L 19 19 L 19 18 L 19 7 L 19 6.3007812 L 18.992188 6.3007812 L 19 6.2910156 L 15.707031 2.9980469 L 15.699219 3.0078125 L 15.699219 2.9980469 L 15 2.9980469 L 3 2.9980469 z M 4 4 L 7 4 L 7 8 L 7 9 L 15 9 L 15 8 L 15 4 L 15.292969 4 L 18 6.7070312 L 18 7 L 18 18 L 16 18 L 16 11 L 15 11 L 7 11 L 6 11 L 6 18 L 4 18 L 4 4 z M 8 4 L 11.900391 4 L 11.900391 8 L 8 8 L 8 4 z M 7 12 L 15 12 L 15 18 L 7 18 L 7 12 z " | ||
12 | class="ColorScheme-Text" | ||
13 | transform="translate(1,1)" | ||
14 | /> | ||
15 | </svg> | ||
diff --git a/icons/breeze/icons/actions/24/document-save.svg b/icons/breeze/icons/actions/24/document-save.svg new file mode 100644 index 00000000..daca541d --- /dev/null +++ b/icons/breeze/icons/actions/24/document-save.svg | |||
@@ -0,0 +1,15 @@ | |||
1 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> | ||
2 | <defs id="defs3051"> | ||
3 | <style type="text/css" id="current-color-scheme"> | ||
4 | .ColorScheme-Text { | ||
5 | color:#4d4d4d; | ||
6 | } | ||
7 | </style> | ||
8 | </defs> | ||
9 | <path | ||
10 | style="fill:currentColor;fill-opacity:1;stroke:none" | ||
11 | d="M 3 2.9980469 L 3 3 L 3 4 L 3 19 L 4 19 L 19 19 L 19 18 L 19 7 L 19 6.3007812 L 18.992188 6.3007812 L 19 6.2910156 L 15.707031 2.9980469 L 15.699219 3.0078125 L 15.699219 2.9980469 L 15 2.9980469 L 3 2.9980469 z M 4 4 L 7 4 L 7 8 L 7 9 L 15 9 L 15 8 L 15 4 L 15.292969 4 L 18 6.7070312 L 18 7 L 18 18 L 16 18 L 16 11 L 15 11 L 7 11 L 6 11 L 6 18 L 4 18 L 4 4 z M 8 4 L 11.900391 4 L 11.900391 8 L 8 8 L 8 4 z M 7 12 L 15 12 L 15 18 L 7 18 L 7 12 z " | ||
12 | class="ColorScheme-Text" | ||
13 | transform="translate(1,1)" | ||
14 | /> | ||
15 | </svg> | ||
diff --git a/icons/breeze/icons/actions/32/document-save-inverted.svg b/icons/breeze/icons/actions/32/document-save-inverted.svg new file mode 100644 index 00000000..31b71ec1 --- /dev/null +++ b/icons/breeze/icons/actions/32/document-save-inverted.svg | |||
@@ -0,0 +1,18 @@ | |||
1 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"> | ||
2 | <defs | ||
3 | id="defs3051"> | ||
4 | <style | ||
5 | type="text/css" | ||
6 | id="current-color-scheme"> | ||
7 | .ColorScheme-Text { | ||
8 | color:#f2f2f2; | ||
9 | } | ||
10 | </style> | ||
11 | </defs> | ||
12 | <path | ||
13 | style="fill:currentColor;fill-opacity:1;stroke:none" | ||
14 | d="M 4 4 L 4 28 L 9 28 L 23 28 L 28 28 L 28 10 L 27 9 L 23 5 L 22 4 L 21 4 L 10 4 L 4 4 z M 5 5 L 10 5 L 10 13 L 21 13 L 21 5 L 21.585938 5 L 27 10.414062 L 27 27 L 23 27 L 23 19 L 9 19 L 9 27 L 5 27 L 5 5 z M 11 5 L 17 5 L 17 12 L 11 12 L 11 5 z M 10 20 L 22 20 L 22 27 L 10 27 L 10 20 z " | ||
15 | id="path60" | ||
16 | class="ColorScheme-Text" | ||
17 | /> | ||
18 | </svg> | ||
diff --git a/icons/breeze/icons/actions/32/document-save.svg b/icons/breeze/icons/actions/32/document-save.svg new file mode 100644 index 00000000..21914cf7 --- /dev/null +++ b/icons/breeze/icons/actions/32/document-save.svg | |||
@@ -0,0 +1,18 @@ | |||
1 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"> | ||
2 | <defs | ||
3 | id="defs3051"> | ||
4 | <style | ||
5 | type="text/css" | ||
6 | id="current-color-scheme"> | ||
7 | .ColorScheme-Text { | ||
8 | color:#4d4d4d; | ||
9 | } | ||
10 | </style> | ||
11 | </defs> | ||
12 | <path | ||
13 | style="fill:currentColor;fill-opacity:1;stroke:none" | ||
14 | d="M 4 4 L 4 28 L 9 28 L 23 28 L 28 28 L 28 10 L 27 9 L 23 5 L 22 4 L 21 4 L 10 4 L 4 4 z M 5 5 L 10 5 L 10 13 L 21 13 L 21 5 L 21.585938 5 L 27 10.414062 L 27 27 L 23 27 L 23 19 L 9 19 L 9 27 L 5 27 L 5 5 z M 11 5 L 17 5 L 17 12 L 11 12 L 11 5 z M 10 20 L 22 20 L 22 27 L 10 27 L 10 20 z " | ||
15 | id="path60" | ||
16 | class="ColorScheme-Text" | ||
17 | /> | ||
18 | </svg> | ||
diff --git a/icons/copybreeze.sh b/icons/copybreeze.sh index 2d13c1f6..1b4bbafc 100755 --- a/icons/copybreeze.sh +++ b/icons/copybreeze.sh | |||
@@ -13,6 +13,7 @@ wantedIcons = [ | |||
13 | "document-decrypt.svg", | 13 | "document-decrypt.svg", |
14 | "document-edit.svg", | 14 | "document-edit.svg", |
15 | "document-encrypt.svg", | 15 | "document-encrypt.svg", |
16 | "document-save.svg", | ||
16 | "edit-delete.svg", | 17 | "edit-delete.svg", |
17 | "edit-find.svg", | 18 | "edit-find.svg", |
18 | "edit-undo.svg", | 19 | "edit-undo.svg", |