From 2dc7e53435ffcc6dc7e450c15c7b2518b27ec2e5 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 28 May 2012 19:17:06 -0700 Subject: [PATCH] more theme cleanup --- mod/settings.php | 1 + view/generic_links_widget.tpl | 2 +- view/theme/duepuntozero/style.css | 18 +++++++++++++++++- view/theme/slackr/style.css | 5 +++++ 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/mod/settings.php b/mod/settings.php index e6eb4011fa..5d85b0c2c6 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -87,6 +87,7 @@ EOT; $tabtpl = get_markup_template("generic_links_widget.tpl"); $a->page['aside'] = replace_macros($tabtpl, array( '$title' => t('Settings'), + '$class' => 'settings-widget', '$items' => $tabs, )); diff --git a/view/generic_links_widget.tpl b/view/generic_links_widget.tpl index 45813b876a..f3404f783f 100644 --- a/view/generic_links_widget.tpl +++ b/view/generic_links_widget.tpl @@ -1,4 +1,4 @@ -
+
{{if $title}}

$title

{{endif}} {{if $desc}}
$desc
{{endif}} diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 0abf128a3f..07eba1edb0 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -338,6 +338,15 @@ div.wall-item-content-wrapper.shiny { font-weight: bold; } +.settings-widget .selected { + padding: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + border: 1px solid #CCCCCC; + background: #F8F8F8; + font-weight: bold; +} + .fakelink:hover { color: #3465a4; text-decoration: underline; @@ -809,8 +818,15 @@ input#dfrn-url { clear: both; } +.settings-widget ul { + list-style-type: none; + padding: 0px; +} - +.settings-widget li { + margin-left: 24px; + margin-bottom: 8px; +} #gender-select, #marital-select, #sexual-select { diff --git a/view/theme/slackr/style.css b/view/theme/slackr/style.css index 40391e17c5..39da7bb6c3 100644 --- a/view/theme/slackr/style.css +++ b/view/theme/slackr/style.css @@ -80,6 +80,11 @@ nav #site-location { -moz-border-radius: 3px; box-shadow: 4px 4px 3px 0 #444444; } +.settings-widget .selected { + border-radius: 3px; + -moz-border-radius: 3px; + box-shadow: 4px 4px 3px 0 #444444; +} .photo { border: 1px solid #AAAAAA;