From 203aa819e2309e3e776aa1eaedb26b08d8336288 Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Sun, 22 Apr 2012 01:22:29 -0400 Subject: [PATCH 2/8] fix tinymce theming Signed-off-by: Simon L'nu --- view/theme/dispy-dark/style.css | 26 +++++++++++++++----------- view/theme/dispy/style.css | 26 +++++++++++++++----------- 2 files changed, 30 insertions(+), 22 deletions(-) diff --git a/view/theme/dispy-dark/style.css b/view/theme/dispy-dark/style.css index 1c7bf8f406..05d544b0a6 100644 --- a/view/theme/dispy-dark/style.css +++ b/view/theme/dispy-dark/style.css @@ -910,22 +910,20 @@ width: 100%; padding: 2px 20px 5px 0; } #profile-jot-text_parent { - /*border-radius: 10px;*/ box-shadow: 5px 0 10px 0 #111; } #profile-jot-text_tbl { margin-bottom: 10px; - /*border-radius: 10px;*/ - background: #888; + background: #777; } #profile-jot-text_ifr { width:99.900002% !important; } #profile-jot-text_toolbargroup { - background: #888; + background: #777; } .mceCenter table tr { - background: #888; + background: #777; } [id$="jot-text_ifr"] { width: 99.900002% !important; @@ -936,14 +934,20 @@ width: 100%; color: #2e2f2e; background: #eec; } -.mceFirst tr { - background: #888; +.defaultSkin tr.mceFirst { + background: #777; } -.mceFirst td { - /*border-radius: 10px 10px 0px 0px;*/ +.defaultSkin td.mceFirst { + background-color: #eec; } -.mceLast td { - /*border-radius: 0 0 10px 10px;*/ +.defaultSkin td.mceLast { + background-color: #eec; +} +.defaultSkin span.mceIcon, .defaultSkin img.mceIcon { + background-color: #eec; +} +.defaultSkin .mceButtonDisabled .mceIcon { + background-color: #eec; } #profile-attach-wrapper, #profile-audio-wrapper, diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css index 8823bc81a5..cf3b83cfac 100644 --- a/view/theme/dispy/style.css +++ b/view/theme/dispy/style.css @@ -911,22 +911,20 @@ width: 100%; padding: 2px 20px 5px 0; } #profile-jot-text_parent { - /*border-radius: 10px;*/ box-shadow: 5px 0 10px 0 #111; } #profile-jot-text_tbl { margin-bottom: 10px; - /*border-radius: 10px;*/ - background: #888; + background: #777; } #profile-jot-text_ifr { width:99.900002% !important; } #profile-jot-text_toolbargroup { - background: #888; + background: #777; } .mceCenter table tr { - background: #888; + background: #777; } [id$="jot-text_ifr"] { width: 99.900002% !important; @@ -937,14 +935,20 @@ width: 100%; color: #2e2f2e; background: #eec; } -.mceFirst tr { - background: #888; +.defaultSkin tr.mceFirst { + background: #777; } -.mceFirst td { - /*border-radius: 10px 10px 0px 0px;*/ +.defaultSkin td.mceFirst { + background-color: #eec; } -.mceLast td { - /*border-radius: 0 0 10px 10px;*/ +.defaultSkin td.mceLast { + background-color: #eec; +} +.defaultSkin span.mceIcon, .defaultSkin img.mceIcon { + background-color: #eec; +} +.defaultSkin .mceButtonDisabled .mceIcon { + background-color: #eec; } #profile-attach-wrapper, #profile-audio-wrapper, From c0a377e0de2a71197152281b61d5e8518dab1356 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sun, 22 Apr 2012 12:59:00 +0200 Subject: [PATCH 3/8] diabook-themes: comment-bbcode-bugfix --- view/theme/diabook/comment_item.tpl | 16 ++++++++-------- view/theme/diabook/theme.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/view/theme/diabook/comment_item.tpl b/view/theme/diabook/comment_item.tpl index 6843f958c7..e10b868450 100644 --- a/view/theme/diabook/comment_item.tpl +++ b/view/theme/diabook/comment_item.tpl @@ -11,15 +11,15 @@ $mytitle
- + {{ if $qcomment }} - +

$h_pending

{{ if $pending }} diff --git a/view/theme/diabook/diabook-aerith/admin_users.tpl b/view/theme/diabook/diabook-aerith/admin_users.tpl index 40f94f5fef..8aabb51ec9 100644 --- a/view/theme/diabook/diabook-aerith/admin_users.tpl +++ b/view/theme/diabook/diabook-aerith/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-aerith/nav.tpl b/view/theme/diabook/diabook-aerith/nav.tpl index 5f316bcdd4..e3aabaa8b7 100644 --- a/view/theme/diabook/diabook-aerith/nav.tpl +++ b/view/theme/diabook/diabook-aerith/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/diabook-blue/admin_users.tpl b/view/theme/diabook/diabook-blue/admin_users.tpl index 40f94f5fef..8aabb51ec9 100644 --- a/view/theme/diabook/diabook-blue/admin_users.tpl +++ b/view/theme/diabook/diabook-blue/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
- - + +
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-blue/nav.tpl b/view/theme/diabook/diabook-blue/nav.tpl index 5f316bcdd4..e3aabaa8b7 100644 --- a/view/theme/diabook/diabook-blue/nav.tpl +++ b/view/theme/diabook/diabook-blue/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/diabook-dark/admin_users.tpl b/view/theme/diabook/diabook-dark/admin_users.tpl index 40f94f5fef..8aabb51ec9 100644 --- a/view/theme/diabook/diabook-dark/admin_users.tpl +++ b/view/theme/diabook/diabook-dark/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
- - + +
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-dark/nav.tpl b/view/theme/diabook/diabook-dark/nav.tpl index 5f316bcdd4..e3aabaa8b7 100644 --- a/view/theme/diabook/diabook-dark/nav.tpl +++ b/view/theme/diabook/diabook-dark/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/diabook-green/admin_users.tpl b/view/theme/diabook/diabook-green/admin_users.tpl index 40f94f5fef..8aabb51ec9 100644 --- a/view/theme/diabook/diabook-green/admin_users.tpl +++ b/view/theme/diabook/diabook-green/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
- - + +
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-green/nav.tpl b/view/theme/diabook/diabook-green/nav.tpl index 5f316bcdd4..e3aabaa8b7 100644 --- a/view/theme/diabook/diabook-green/nav.tpl +++ b/view/theme/diabook/diabook-green/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/diabook-pink/admin_users.tpl b/view/theme/diabook/diabook-pink/admin_users.tpl index 40f94f5fef..8aabb51ec9 100644 --- a/view/theme/diabook/diabook-pink/admin_users.tpl +++ b/view/theme/diabook/diabook-pink/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
- - + +
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-pink/nav.tpl b/view/theme/diabook/diabook-pink/nav.tpl index 5f316bcdd4..e3aabaa8b7 100644 --- a/view/theme/diabook/diabook-pink/nav.tpl +++ b/view/theme/diabook/diabook-pink/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/diabook-red/admin_users.tpl b/view/theme/diabook/diabook-red/admin_users.tpl index 40f94f5fef..8aabb51ec9 100644 --- a/view/theme/diabook/diabook-red/admin_users.tpl +++ b/view/theme/diabook/diabook-red/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
- - + +
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-red/nav.tpl b/view/theme/diabook/diabook-red/nav.tpl index 5f316bcdd4..e3aabaa8b7 100644 --- a/view/theme/diabook/diabook-red/nav.tpl +++ b/view/theme/diabook/diabook-red/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/nav.tpl b/view/theme/diabook/nav.tpl index 29a89527c5..e0ffa4f7b0 100644 --- a/view/theme/diabook/nav.tpl +++ b/view/theme/diabook/nav.tpl @@ -136,7 +136,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index dee9c28901..269015d0a3 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -357,6 +357,11 @@ $(document).ready(function() { } else $(this).attr("src",ifr_source+"?"+wmode); }); + + $("a[href=#top]").click(function() { + $("html, body").animate({scrollTop:0}, "slow"); + return false; + }); });
- - + +