aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-28 19:17:06 -0700
committerfriendica <info@friendica.com>2012-05-28 19:17:06 -0700
commit2dc7e53435ffcc6dc7e450c15c7b2518b27ec2e5 (patch)
treea7123237f8f3f5192e32981d064116d3ae6e6f90
parent10a057b97959d5915c9eab1947bea7b039d3218b (diff)
downloadvolse-hubzilla-2dc7e53435ffcc6dc7e450c15c7b2518b27ec2e5.tar.gz
volse-hubzilla-2dc7e53435ffcc6dc7e450c15c7b2518b27ec2e5.tar.bz2
volse-hubzilla-2dc7e53435ffcc6dc7e450c15c7b2518b27ec2e5.zip
more theme cleanup
-rw-r--r--mod/settings.php1
-rw-r--r--view/generic_links_widget.tpl2
-rw-r--r--view/theme/duepuntozero/style.css18
-rw-r--r--view/theme/slackr/style.css5
4 files changed, 24 insertions, 2 deletions
diff --git a/mod/settings.php b/mod/settings.php
index e6eb4011f..5d85b0c2c 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 45813b876..f3404f783 100644
--- a/view/generic_links_widget.tpl
+++ b/view/generic_links_widget.tpl
@@ -1,4 +1,4 @@
-<div class="widget">
+<div class="widget{{ if $class }} $class{{ endif }}">
{{if $title}}<h3>$title</h3>{{endif}}
{{if $desc}}<div class="desc">$desc</div>{{endif}}
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 0abf128a3..07eba1edb 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 40391e17c..39da7bb6c 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;