From 3b9c134926a163c7d891ee8462bbf8aa5d4280a3 Mon Sep 17 00:00:00 2001 From: raghunayyar Date: Wed, 1 May 2013 20:28:23 +0530 Subject: [PATCH 1/4] [News] : Removes the large + button. --- css/addnew.css | 4 +-- css/feeds.css | 4 ++- img/add.svg | 71 --------------------------------------- templates/part.addnew.php | 5 +-- 4 files changed, 5 insertions(+), 79 deletions(-) delete mode 100644 img/add.svg diff --git a/css/addnew.css b/css/addnew.css index 5fd76ba5e..4737492b0 100644 --- a/css/addnew.css +++ b/css/addnew.css @@ -19,9 +19,7 @@ * */ -.add-new > a { - background-image: url('%appswebroot%/news/img/add.svg'); -} + .add-new:hover a.opened { background-color: transparent !important; diff --git a/css/feeds.css b/css/feeds.css index 2f2462709..5a3898f9f 100644 --- a/css/feeds.css +++ b/css/feeds.css @@ -66,7 +66,9 @@ font-weight: bold; } - +#app-navigation .with-icon .list-title { + padding-left:10px; +} #app-navigation .unread > a { padding-right: 32px; diff --git a/img/add.svg b/img/add.svg deleted file mode 100644 index 282b7b92a..000000000 --- a/img/add.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/templates/part.addnew.php b/templates/part.addnew.php index 0d171484c..44614d59a 100644 --- a/templates/part.addnew.php +++ b/templates/part.addnew.php @@ -8,10 +8,7 @@ href="#" oc-click-focus="{ selector: '.add-new-popup input[ng-model=feedUrl]' - }"> - t('Add Website'))?> - - + }">+

From 57065ae48c34bc122d82975d2a8ba82fed8eba1d Mon Sep 17 00:00:00 2001 From: raghunayyar Date: Wed, 1 May 2013 23:11:30 +0530 Subject: [PATCH 2/4] Adds Add Website span on hover and active. --- css/feeds.css | 12 ++++++++++++ templates/part.addnew.php | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/css/feeds.css b/css/feeds.css index 5a3898f9f..e6b6853fb 100644 --- a/css/feeds.css +++ b/css/feeds.css @@ -70,6 +70,18 @@ padding-left:10px; } +#app-navigation .with-icon .list-title span { + display:none; +} + +#app-navigation .with-icon .list-title:hover span { + display:inline; +} + +#app-navigation .with-icon .opened span { + display:inline; +} + #app-navigation .unread > a { padding-right: 32px; } diff --git a/templates/part.addnew.php b/templates/part.addnew.php index 44614d59a..f86fa9030 100644 --- a/templates/part.addnew.php +++ b/templates/part.addnew.php @@ -8,7 +8,7 @@ href="#" oc-click-focus="{ selector: '.add-new-popup input[ng-model=feedUrl]' - }">+ + }">+ t('Add Website'))?>

From 1c90d308d0dbe825fca2ca47c0dd4d4c85b43d1c Mon Sep 17 00:00:00 2001 From: raghunayyar Date: Thu, 2 May 2013 22:43:35 +0530 Subject: [PATCH 3/4] Aligns the + and Add Website as per remaining elements. --- css/feeds.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/css/feeds.css b/css/feeds.css index e6b6853fb..f037382e6 100644 --- a/css/feeds.css +++ b/css/feeds.css @@ -67,11 +67,12 @@ } #app-navigation .with-icon .list-title { - padding-left:10px; + padding-left:16px; } #app-navigation .with-icon .list-title span { display:none; + margin-left:6px; } #app-navigation .with-icon .list-title:hover span { From 7996e7fdedfc39a9532e24fccd08069768ab8a8d Mon Sep 17 00:00:00 2001 From: raghunayyar Date: Thu, 2 May 2013 22:51:12 +0530 Subject: [PATCH 4/4] Adding the + image for input element. --- img/add.svg | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 img/add.svg diff --git a/img/add.svg b/img/add.svg new file mode 100644 index 000000000..282b7b92a --- /dev/null +++ b/img/add.svg @@ -0,0 +1,71 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + +