From 309f2bfa5f85e80e94d6ee177496c5a095201943 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 12 Apr 2012 09:17:35 +0200 Subject: [PATCH] quattro: icons for "Mark all sys notifs read" and "See all notifs" as icons in a toolbar in notifications menu --- view/theme/quattro/dark/style.css | 23 +++++++++++++++++ view/theme/quattro/green/style.css | 23 +++++++++++++++++ view/theme/quattro/icons.less | 1 + view/theme/quattro/nav.tpl | 40 +----------------------------- view/theme/quattro/quattro.less | 6 +++++ 5 files changed, 54 insertions(+), 39 deletions(-) diff --git a/view/theme/quattro/dark/style.css b/view/theme/quattro/dark/style.css index 1d951aba84..16c786d201 100644 --- a/view/theme/quattro/dark/style.css +++ b/view/theme/quattro/dark/style.css @@ -48,6 +48,9 @@ .icon.s10.unlock { background-image: url("../../../images/icons/10/unlock.png"); } +.icon.s10.plugin { + background-image: url("../../../images/icons/10/plugin.png"); +} .icon.s10.type-unkn { background-image: url("../../../images/icons/10/zip.png"); } @@ -100,6 +103,9 @@ .icon.s16.unlock { background-image: url("../../../images/icons/16/unlock.png"); } +.icon.s16.plugin { + background-image: url("../../../images/icons/16/plugin.png"); +} .icon.s16.type-unkn { background-image: url("../../../images/icons/16/zip.png"); } @@ -152,6 +158,9 @@ .icon.s22.unlock { background-image: url("../../../images/icons/22/unlock.png"); } +.icon.s22.plugin { + background-image: url("../../../images/icons/22/plugin.png"); +} .icon.s22.type-unkn { background-image: url("../../../images/icons/22/zip.png"); } @@ -204,6 +213,9 @@ .icon.s48.unlock { background-image: url("../../../images/icons/48/unlock.png"); } +.icon.s48.plugin { + background-image: url("../../../images/icons/48/plugin.png"); +} .icon.s48.type-unkn { background-image: url("../../../images/icons/48/zip.png"); } @@ -501,6 +513,17 @@ ul.menu-popup .empty { text-align: center; color: #9eabb0; } +ul.menu-popup .toolbar { + background-color: #9eabb0; + height: auto; + overflow: auto; +} +ul.menu-popup .toolbar a { + float: right; +} +ul.menu-popup .toolbar a:hover { + background-color: #ffffff; +} /* autocomplete popup */ .acpopup { max-height: 150px; diff --git a/view/theme/quattro/green/style.css b/view/theme/quattro/green/style.css index e7cc549d07..df43aa152f 100644 --- a/view/theme/quattro/green/style.css +++ b/view/theme/quattro/green/style.css @@ -48,6 +48,9 @@ .icon.s10.unlock { background-image: url("../../../images/icons/10/unlock.png"); } +.icon.s10.plugin { + background-image: url("../../../images/icons/10/plugin.png"); +} .icon.s10.type-unkn { background-image: url("../../../images/icons/10/zip.png"); } @@ -100,6 +103,9 @@ .icon.s16.unlock { background-image: url("../../../images/icons/16/unlock.png"); } +.icon.s16.plugin { + background-image: url("../../../images/icons/16/plugin.png"); +} .icon.s16.type-unkn { background-image: url("../../../images/icons/16/zip.png"); } @@ -152,6 +158,9 @@ .icon.s22.unlock { background-image: url("../../../images/icons/22/unlock.png"); } +.icon.s22.plugin { + background-image: url("../../../images/icons/22/plugin.png"); +} .icon.s22.type-unkn { background-image: url("../../../images/icons/22/zip.png"); } @@ -204,6 +213,9 @@ .icon.s48.unlock { background-image: url("../../../images/icons/48/unlock.png"); } +.icon.s48.plugin { + background-image: url("../../../images/icons/48/plugin.png"); +} .icon.s48.type-unkn { background-image: url("../../../images/icons/48/zip.png"); } @@ -501,6 +513,17 @@ ul.menu-popup .empty { text-align: center; color: #9eabb0; } +ul.menu-popup .toolbar { + background-color: #9eabb0; + height: auto; + overflow: auto; +} +ul.menu-popup .toolbar a { + float: right; +} +ul.menu-popup .toolbar a:hover { + background-color: #ffffff; +} /* autocomplete popup */ .acpopup { max-height: 150px; diff --git a/view/theme/quattro/icons.less b/view/theme/quattro/icons.less index e314fba1fd..3688ae0213 100644 --- a/view/theme/quattro/icons.less +++ b/view/theme/quattro/icons.less @@ -13,6 +13,7 @@ &.link { background-image: url("../../../images/icons/@{size}/link.png"); } &.lock { background-image: url("../../../images/icons/@{size}/lock.png"); } &.unlock { background-image: url("../../../images/icons/@{size}/unlock.png"); } + &.plugin { background-image: url("../../../images/icons/@{size}/plugin.png"); } &.type-unkn { background-image: url("../../../images/icons/@{size}/zip.png"); } &.type-audio{ background-image: url("../../../images/icons/@{size}/audio.png"); } &.type-video{ background-image: url("../../../images/icons/@{size}/video.png"); } diff --git a/view/theme/quattro/nav.tpl b/view/theme/quattro/nav.tpl index 8c872864c2..26f04f134c 100644 --- a/view/theme/quattro/nav.tpl +++ b/view/theme/quattro/nav.tpl @@ -43,8 +43,7 @@ @@ -92,40 +91,3 @@
  • {2} {3}
  • -{# - -{{ if $nav.logout }}$nav.logout.1 {{ endif }} -{{ if $nav.login }}$nav.login.1 {{ endif }} - - - -{{ if $nav.register }}$nav.register.1{{ endif }} - -$nav.help.1 - -{{ if $nav.apps }}$nav.apps.1{{ endif }} - -$nav.search.1 -$nav.directory.1 - -{{ if $nav.admin }}$nav.admin.1{{ endif }} - -{{ if $nav.notifications }} -$nav.notifications.1 - -{{ endif }} -{{ if $nav.messages }} -$nav.messages.1 - -{{ endif }} - -{{ if $nav.manage }}$nav.manage.1{{ endif }} - -{{ if $nav.settings }}$nav.settings.1{{ endif }} -{{ if $nav.profiles }}$nav.profiles.1{{ endif }} - - - - - -#} diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index c6352cfe99..0660a3ad76 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -227,6 +227,12 @@ ul.menu-popup { text-align: center; color: @MenuEmpty; } + .toolbar { + background-color: @MenuEmpty; + height: auto; overflow: auto; + a { float: right; } + a:hover { background-color: @MenuBg; } + } } -- 2.39.5