From b531f85f97c15249c12ca49f27d9170f0618b49e Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Tue, 29 Aug 2017 15:10:58 +0200 Subject: [PATCH] Add new icons for dossier action button --- app/assets/images/icons/accept.svg | 1 + app/assets/images/icons/close.svg | 1 + app/assets/images/icons/edit-folder-blue.svg | 1 + app/assets/images/icons/in-progress-blue.svg | 1 + .../images/icons/without-continuation.svg | 1 + app/assets/stylesheets/new_design/icons.scss | 20 +++++++++++++++++++ app/views/root/patron.html.haml | 5 +++++ 7 files changed, 30 insertions(+) create mode 100644 app/assets/images/icons/accept.svg create mode 100644 app/assets/images/icons/close.svg create mode 100644 app/assets/images/icons/edit-folder-blue.svg create mode 100644 app/assets/images/icons/in-progress-blue.svg create mode 100644 app/assets/images/icons/without-continuation.svg diff --git a/app/assets/images/icons/accept.svg b/app/assets/images/icons/accept.svg new file mode 100644 index 000000000..71fde1f5e --- /dev/null +++ b/app/assets/images/icons/accept.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/assets/images/icons/close.svg b/app/assets/images/icons/close.svg new file mode 100644 index 000000000..ddb477bd9 --- /dev/null +++ b/app/assets/images/icons/close.svg @@ -0,0 +1 @@ +ic_close_circle_white \ No newline at end of file diff --git a/app/assets/images/icons/edit-folder-blue.svg b/app/assets/images/icons/edit-folder-blue.svg new file mode 100644 index 000000000..1c4e0d187 --- /dev/null +++ b/app/assets/images/icons/edit-folder-blue.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/assets/images/icons/in-progress-blue.svg b/app/assets/images/icons/in-progress-blue.svg new file mode 100644 index 000000000..29d7b574e --- /dev/null +++ b/app/assets/images/icons/in-progress-blue.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/assets/images/icons/without-continuation.svg b/app/assets/images/icons/without-continuation.svg new file mode 100644 index 000000000..8c33fa2af --- /dev/null +++ b/app/assets/images/icons/without-continuation.svg @@ -0,0 +1 @@ +sans-suite \ No newline at end of file diff --git a/app/assets/stylesheets/new_design/icons.scss b/app/assets/stylesheets/new_design/icons.scss index 0f15821f4..924ce4961 100644 --- a/app/assets/stylesheets/new_design/icons.scss +++ b/app/assets/stylesheets/new_design/icons.scss @@ -24,4 +24,24 @@ i { &.folder { background-image: image-url("icons/folder.svg"); } + + &.accept { + background-image: image-url("icons/accept.svg"); + } + + &.close { + background-image: image-url("icons/close.svg"); + } + + &.without-continuation { + background-image: image-url("icons/without-continuation.svg"); + } + + &.edit { + background-image: image-url("icons/edit-folder-blue.svg"); + } + + &.in-progress { + background-image: image-url("icons/in-progress-blue.svg"); + } } diff --git a/app/views/root/patron.html.haml b/app/views/root/patron.html.haml index 91a8bb3d0..e13f0e31d 100644 --- a/app/views/root/patron.html.haml +++ b/app/views/root/patron.html.haml @@ -7,6 +7,11 @@ %i.archive %i.unarchive %i.folder + %i.accept + %i.close + %i.without-continuation + %i.edit + %i.in-progress %h1 Formulaires