From 95abc1600bd8bea80a6307bb1375ed343f9b839b Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 12 Aug 2013 01:01:28 -0700 Subject: theme personal menus so they look more or less like widgets --- view/theme/redbasic/css/style.css | 10 +++++++++- view/tpl/usermenu.tpl | 4 +++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'view') 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 @@
-
{{$menu.menu_desc}}
+{{if $menu.menu_desc}} +

{{$menu.menu_desc}}

+{{/if}} {{if $items }}