From 922740baa3335f55540f789eb68739baa9e6c4d6 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 15 Sep 2014 23:58:54 +0200 Subject: [PATCH] add switchView and white close icon --- app/assets/images/sprite.svg | 7 ++++- app/assets/stylesheets/zzz.css.erb | 50 +++++++++++------------------- 2 files changed, 24 insertions(+), 33 deletions(-) diff --git a/app/assets/images/sprite.svg b/app/assets/images/sprite.svg index 1eafc1df0..e075ec9e7 100644 --- a/app/assets/images/sprite.svg +++ b/app/assets/images/sprite.svg @@ -13,7 +13,7 @@ - + @@ -192,5 +192,10 @@ + + + + + \ No newline at end of file diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index aa852d953..bfa7295e6 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -107,6 +107,12 @@ small { background: hsla(50,100%,50%,.13); } +.close, +.close:hover { + float: none; + opacity: 1; +} + #app > nav { position: relative; z-index: 1; @@ -814,6 +820,12 @@ ol.tabs li { background-position: 0 -96px; } + .switchView.icon { + width: 19px; + height: 18px; + background-position: -15px -96px; + } + .priority.icon { background: none; border-radius: 100%; @@ -853,43 +865,11 @@ ol.tabs li { @-ms-keyframes fade { from { opacity: 0 } to { opacity: 1 } } @keyframes fade { from { opacity: 0 } to { opacity: 1 } } - .close.icon { - position: relative; - background: none; - opacity: 1 !important; - } - .close-task.icon { background: #2c2d36; border-radius: 100%; } - .close.icon:before, - .close.icon:after { - content: ""; - position: absolute; - left: 50%; - margin-left: -1px; - top: 10%; - height: 80%; - width: 2px; - background: #85888a; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); - } - - .close.icon:after { - -webkit-transform: rotate(-45deg); - transform: rotate(-45deg); - } - - .close-task.icon:before, - .close-task.icon:after { - top: 20%; - height: 60%; - background: #586066; - } - .organisation.icon { height: 13px; width: 14px; @@ -1246,6 +1226,12 @@ ol.tabs li { background-position: -54px -339px; } + .white.close.icon { + width: 13px; + height: 13px; + background-position: -70px -338px; + } + /* * removed margin of forms to not break the layout with submit buttons within
area e. g. for modal dialogs