summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoockinho <foockinho@lorea.org>2012-08-23 22:10:11 +0200
committerfoockinho <foockinho@lorea.org>2012-08-23 22:10:11 +0200
commit0ded21c3ad58cda7f815ef4f582eb83a8d7f15d7 (patch)
treef797cf7ffbe2669f80d93073b92f15f832c6f20e
parent6b433f614634ec03bd78e96eee583664fd1521f0 (diff)
downloadsaravea_theme-0ded21c3ad58cda7f815ef4f582eb83a8d7f15d7.tar.gz
saravea_theme-0ded21c3ad58cda7f815ef4f582eb83a8d7f15d7.tar.bz2
changed fieldset legend style
-rw-r--r--start.php3
-rw-r--r--views/default/css/elements/components.php8
-rw-r--r--views/default/css/elements/forms.php26
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;