From d97715f71c04c22a8803472dd48a9e9ef2a1f53b Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Thu, 8 Jun 2017 14:30:15 +0200 Subject: make attachment delegate slimmer and give it a save icon --- framework/qml/AttachmentDelegate.qml | 4 +++- framework/qml/Icons.qml | 1 + .../breeze/icons/actions/16/document-save-inverted.svg | 13 +++++++++++++ icons/breeze/icons/actions/16/document-save.svg | 13 +++++++++++++ .../breeze/icons/actions/22/document-save-inverted.svg | 14 ++++++++++++++ icons/breeze/icons/actions/22/document-save.svg | 14 ++++++++++++++ .../breeze/icons/actions/24/document-save-inverted.svg | 15 +++++++++++++++ icons/breeze/icons/actions/24/document-save.svg | 15 +++++++++++++++ .../breeze/icons/actions/32/document-save-inverted.svg | 18 ++++++++++++++++++ icons/breeze/icons/actions/32/document-save.svg | 18 ++++++++++++++++++ icons/copybreeze.sh | 1 + 11 files changed, 125 insertions(+), 1 deletion(-) create mode 100644 icons/breeze/icons/actions/16/document-save-inverted.svg create mode 100644 icons/breeze/icons/actions/16/document-save.svg create mode 100644 icons/breeze/icons/actions/22/document-save-inverted.svg create mode 100644 icons/breeze/icons/actions/22/document-save.svg create mode 100644 icons/breeze/icons/actions/24/document-save-inverted.svg create mode 100644 icons/breeze/icons/actions/24/document-save.svg create mode 100644 icons/breeze/icons/actions/32/document-save-inverted.svg create mode 100644 icons/breeze/icons/actions/32/document-save.svg 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 { color: Kube.Colors.backgroundColor } Kube.IconButton { - iconName: Kube.Icons.goDown_inverted + height: Kube.Units.gridUnit + width: height + iconName: Kube.Icons.save_inverted onClicked: root.download() } } 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 { property string addNew: "list-add-new" property string folder: "folder" + property string save_inverted: "document-save-inverted" } 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 @@ + + + + + + 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 @@ + + + + + + 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 @@ + + + + + + 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 @@ + + + + + + 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 @@ + + + + + + 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 @@ + + + + + + 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 @@ + + + + + + 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 @@ + + + + + + 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 = [ "document-decrypt.svg", "document-edit.svg", "document-encrypt.svg", + "document-save.svg", "edit-delete.svg", "edit-find.svg", "edit-undo.svg", -- cgit v1.2.3