From e07b61c2c8e66c848dcd3431268765b8f577f0d5 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Fri, 14 Nov 2014 11:13:14 +0100 Subject: [PATCH] combine auth provider icons and add mail --- app/assets/images/facebook.svg | 1 - app/assets/images/google.svg | 1 - app/assets/images/provider.svg | 31 ++++++++++++++++++++++++++ app/assets/images/twitter.svg | 1 - app/assets/stylesheets/zammad.css.scss | 17 +++++++++----- 5 files changed, 42 insertions(+), 9 deletions(-) delete mode 100644 app/assets/images/facebook.svg delete mode 100644 app/assets/images/google.svg create mode 100644 app/assets/images/provider.svg delete mode 100644 app/assets/images/twitter.svg diff --git a/app/assets/images/facebook.svg b/app/assets/images/facebook.svg deleted file mode 100644 index 8169576b4..000000000 --- a/app/assets/images/facebook.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/assets/images/google.svg b/app/assets/images/google.svg deleted file mode 100644 index fd0188ca2..000000000 --- a/app/assets/images/google.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/assets/images/provider.svg b/app/assets/images/provider.svg new file mode 100644 index 000000000..3e3bd0313 --- /dev/null +++ b/app/assets/images/provider.svg @@ -0,0 +1,31 @@ + + + provider + Created with Sketch (http://www.bohemiancoding.com/sketch) + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/assets/images/twitter.svg b/app/assets/images/twitter.svg deleted file mode 100644 index 3c466d6cb..000000000 --- a/app/assets/images/twitter.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/assets/stylesheets/zammad.css.scss b/app/assets/stylesheets/zammad.css.scss index f311fe747..4cdb79efd 100644 --- a/app/assets/stylesheets/zammad.css.scss +++ b/app/assets/stylesheets/zammad.css.scss @@ -840,18 +840,23 @@ ol.tabs li { .provider_icon { width: 29px; height: 22px; + background: image_url("provider.svg") no-repeat; } - .facebook .provider_icon { - background-image: image_url("facebook.svg"); + .facebook.provider_icon { + background-position: 0 0; } - .google .provider_icon { - background-image: image_url("google.svg"); + .google.provider_icon { + background-position: -30px 0; } - .twitter .provider_icon { - background-image: image_url("twitter.svg"); + .twitter.provider_icon { + background-position: -60px 0; + } + + .email.provider_icon { + background-position: -90px 0; } .icon {