From 2755a6d3cfdd654657b00cf701af57c45ef05471 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Thu, 26 Nov 2009 20:38:06 +0000 Subject: [PATCH] Moved moderation styles out of UserFlag and put it into core. Updated icons. --- plugins/UserFlag/userflag.css | 51 ------------------ theme/base/css/display.css | 29 ++++++++++ theme/base/images/icons/icons-01.gif | Bin 2913 -> 3097 bytes .../base/images/icons/twotone/green/badge.gif | Bin .../images/icons/twotone/green/sandbox.gif | Bin .../images/icons/twotone/green/silence.gif | Bin .../base/images/icons/twotone/green/skull.gif | Bin theme/default/css/display.css | 31 +++++++++-- theme/identica/css/display.css | 31 +++++++++-- 9 files changed, 81 insertions(+), 61 deletions(-) rename plugins/UserFlag/icon_badge.gif => theme/base/images/icons/twotone/green/badge.gif (100%) rename plugins/UserFlag/icon_sandbox.gif => theme/base/images/icons/twotone/green/sandbox.gif (100%) rename plugins/UserFlag/icon_silence.gif => theme/base/images/icons/twotone/green/silence.gif (100%) rename plugins/UserFlag/icon_skull.gif => theme/base/images/icons/twotone/green/skull.gif (100%) diff --git a/plugins/UserFlag/userflag.css b/plugins/UserFlag/userflag.css index d69c2467f9..98da24cc94 100644 --- a/plugins/UserFlag/userflag.css +++ b/plugins/UserFlag/userflag.css @@ -2,54 +2,3 @@ .entity_flag p { background:url(icon_flag.gif) 5px 5px no-repeat; } -.entity_sandbox input.submit, -.entity_sandbox p { -background:url(icon_sandbox.gif) 5px 5px no-repeat; -} -.entity_silence input.submit, -.entity_silence p { -background:url(icon_silence.gif) 5px 5px no-repeat; -} -.entity_delete input.submit, -.entity_delete p { -background:url(icon_skull.gif) 5px 5px no-repeat; -} - -.entity_moderation { -position:relative; -} -.entity_moderation p { -background:transparent url(icon_badge.gif) 5px 5px no-repeat; -box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3); --moz-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3); --webkit-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.25); -border-radius:4px; --moz-border-radius:4px; --webkit-border-radius:4px; -font-weight:bold; -padding-bottom:2px; -margin-bottom:7px; - -color:#002FA7; -} -.entity_moderation ul { -display:none; -} -.entity_moderation:hover ul { -display:block; -background-color:#FFFFFF; -min-width:21%; -width:100%; -border:1px solid #DDDDDD; -padding:11px; -position:absolute; -top:-1px; -right:-1px; -z-index:1; -box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3); --moz-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3); --webkit-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.25); -border-radius:7px; --moz-border-radius:7px; --webkit-border-radius:7px; -} diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 33d5ba07e4..c9aa81cfb7 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -750,6 +750,35 @@ display:none; text-align:center; } +.entity_moderation { +position:relative; +} +.entity_moderation p { +border-radius:4px; +-moz-border-radius:4px; +-webkit-border-radius:4px; +font-weight:bold; +padding-bottom:2px; +margin-bottom:7px; +} +.entity_moderation ul { +display:none; +} +.entity_moderation:hover ul { +display:block; +min-width:21%; +width:100%; +padding:11px; +position:absolute; +top:-1px; +right:-1px; +z-index:1; +border-width:1px; +border-style:solid; +border-radius:7px; +-moz-border-radius:7px; +-webkit-border-radius:7px; +} .entity_tags ul { list-style-type:none; diff --git a/theme/base/images/icons/icons-01.gif b/theme/base/images/icons/icons-01.gif index f19d6a3f683217566ea2b7c5cd4a10e86d4da356..e910c86c002fb7f303963108ac2d6fe1163b736a 100644 GIT binary patch delta 266 zcmV+l0rmdj7MU0fM@dFFIbj+A`~~Meu?+qK6kn7OA^8LW3IP8AEC2ui02%=N1+y~) z`Ue62lP(J_f3EVP8~x}=*Y(I9&gC}$lGIUr^_%e>WhcM6#47e8i>cdEV$1s7_rCI{ z{q6K^?_B5&XLQon&i1yu-N8$j`Ok4%bv-MQ&z!`&TlHROzMIz1<>aas0q;{Q6Q1sj zgz}Tm?sIKpyR~nRyyPcOdB4Ve