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 /view | |
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
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/css/style.css | 10 | ||||
-rw-r--r-- | view/tpl/usermenu.tpl | 4 |
2 files changed, 12 insertions, 2 deletions
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 }} |