From 0ded21c3ad58cda7f815ef4f582eb83a8d7f15d7 Mon Sep 17 00:00:00 2001 From: foockinho Date: Thu, 23 Aug 2012 22:10:11 +0200 Subject: changed fieldset legend style --- start.php | 3 ++- views/default/css/elements/components.php | 8 ++++---- views/default/css/elements/forms.php | 26 ++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/start.php b/start.php index 1fcc7f8..21d4b91 100644 --- a/start.php +++ b/start.php @@ -14,6 +14,7 @@ function n1_theme_init() { elgg_register_css('n1:landing_page', elgg_get_simplecache_url('css', 'n1_theme/landing')); elgg_extend_view('css/elgg', 'n1_theme/css'); + elgg_extend_view('js/elgg', 'n1_theme/js'); if (elgg_is_active_plugin('pages')) { // pages icon url override @@ -52,4 +53,4 @@ function n1_theme_pages_icon_url_override($hook, $type, $returnvalue, $params) { break; } } -} \ No newline at end of file +} diff --git a/views/default/css/elements/components.php b/views/default/css/elements/components.php index ffb60ff..171de21 100644 --- a/views/default/css/elements/components.php +++ b/views/default/css/elements/components.php @@ -122,12 +122,12 @@ -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45); - -webkit-border-radius: 8px; - -moz-border-radius: 8px; - border-radius: 8px; + -webkit-border-radius: 3px; + -moz-border-radius: 3x; + border-radius: 3px; } .elgg-state-success { - background-color: #5175B0; + background-color: #219C8B; color: white; } .elgg-state-error { diff --git a/views/default/css/elements/forms.php b/views/default/css/elements/forms.php index c1f3374..8d10ecd 100644 --- a/views/default/css/elements/forms.php +++ b/views/default/css/elements/forms.php @@ -10,8 +10,34 @@ /* *************************************** Form Elements *************************************** */ +fieldset.elgg-fieldset { + border: 1px solid #ccc; + padding: 10px; + margin-top: 10px; + background-color: #dedede; + + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +fieldset.elgg-fieldset legend { + font-weight: bold; + font-size: 110%; + padding: 3px 8px; + background-color: #EEE; + border: 1px solid #BBB; + + box-shadow: 1px 1px 2px #bbb; + + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + fieldset > div { margin-bottom: 15px; + } fieldset > div:last-child { margin-bottom: 0; -- cgit v1.2.3