diff options
author | friendica <info@friendica.com> | 2013-08-12 01:01:28 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-12 01:01:28 -0700 |
commit | 95abc1600bd8bea80a6307bb1375ed343f9b839b (patch) | |
tree | a95cf8be105fdcc51207174b2d3d78f6ad3bcd37 | |
parent | 98c5bce56a1732e964fb2b3b39f89b1d3eadc696 (diff) | |
download | volse-hubzilla-95abc1600bd8bea80a6307bb1375ed343f9b839b.tar.gz volse-hubzilla-95abc1600bd8bea80a6307bb1375ed343f9b839b.tar.bz2 volse-hubzilla-95abc1600bd8bea80a6307bb1375ed343f9b839b.zip |
theme personal menus so they look more or less like widgets
-rw-r--r-- | version.inc | 2 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 10 | ||||
-rw-r--r-- | view/tpl/usermenu.tpl | 4 |
3 files changed, 13 insertions, 3 deletions
diff --git a/version.inc b/version.inc index 208912a37..d95786ab1 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2013-08-11.402 +2013-08-12.403 diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 8d33913c4..9687443df 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2065,7 +2065,7 @@ aside input[type='text'] { width: 174px; } -.widget { +.widget, .pmenu { border-bottom: 1px solid #eec; padding: 8px; margin-top: 5px; @@ -3586,3 +3586,11 @@ margin-right: auto; div.page-list-item { margin: 20px; } + +.pmenu ul { + list-style-type: none; +} + +.pmenu li { + margin-left: -20px; +}
\ No newline at end of file diff --git a/view/tpl/usermenu.tpl b/view/tpl/usermenu.tpl index 1eb3f9127..771ae4b2a 100644 --- a/view/tpl/usermenu.tpl +++ b/view/tpl/usermenu.tpl @@ -1,5 +1,7 @@ <div class="pmenu"> - <div class="pmenu-title">{{$menu.menu_desc}}</div> +{{if $menu.menu_desc}} + <h3 class="pmenu-title">{{$menu.menu_desc}}</h3> +{{/if}} {{if $items }} <ul class="pmenu-body"> {{foreach $items as $mitem }} |