Moved moderation styles out of UserFlag and put it into core. Updated

icons.
This commit is contained in:
Sarven Capadisli 2009-11-26 20:38:06 +00:00
parent 5f5a107991
commit 2755a6d3cf
9 changed files with 81 additions and 61 deletions

View File

@ -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;
}

View File

@ -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;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 105 B

After

Width:  |  Height:  |  Size: 105 B

View File

Before

Width:  |  Height:  |  Size: 104 B

After

Width:  |  Height:  |  Size: 104 B

View File

Before

Width:  |  Height:  |  Size: 103 B

After

Width:  |  Height:  |  Size: 103 B

View File

Before

Width:  |  Height:  |  Size: 85 B

After

Width:  |  Height:  |  Size: 85 B

View File

@ -40,7 +40,8 @@ box-shadow:3px 3px 7px rgba(194, 194, 194, 0.3);
.entity_send-a-message .form_notice,
.pagination .nav_prev a,
.pagination .nav_next a,
.form_settings fieldset fieldset {
.form_settings fieldset fieldset,
.entity_moderation:hover ul {
border-color:#DDDDDD;
}
@ -61,6 +62,7 @@ input.submit,
.entity_remote_subscribe,
.entity_actions a,
.entity_actions input,
.entity_moderation p,
button {
box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3);
-moz-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3);
@ -89,7 +91,8 @@ a,
.form_settings input.form_action-primary,
.notice-options input,
.entity_actions a,
.entity_actions input {
.entity_actions input,
.entity_moderation p {
color:#002FA7;
}
@ -144,7 +147,11 @@ button.close,
.form_user_unsubscribe input.submit,
.form_group_join input.submit,
.form_user_subscribe input.submit,
.entity_subscribe a {
.entity_subscribe a,
.entity_moderation p,
.entity_sandbox input.submit,
.entity_silence input.submit,
.entity_delete input.submit {
background-image:url(../../base/images/icons/icons-01.gif);
background-repeat:no-repeat;
background-color:transparent;
@ -169,7 +176,8 @@ border-color:transparent;
}
#content,
#site_nav_local_views .current a,
.entity_send-a-message .form_notice {
.entity_send-a-message .form_notice,
.entity_moderation:hover ul {
background-color:#FFFFFF;
}
@ -252,7 +260,8 @@ background-position: 5px -718px;
.entity_send-a-message a {
background-position: 5px -852px;
}
.entity_send-a-message .form_notice {
.entity_send-a-message .form_notice,
.entity_moderation:hover ul {
box-shadow:3px 7px 5px rgba(194, 194, 194, 0.7);
-moz-box-shadow:3px 7px 5px rgba(194, 194, 194, 0.7);
-webkit-box-shadow:3px 7px 5px rgba(194, 194, 194, 0.7);
@ -271,6 +280,18 @@ background-position: 5px -918px;
.form_make_admin input.submit {
background-position: 5px -983px;
}
.entity_moderation p {
background-position: 5px -1313px;
}
.form_user_sandbox input.submit {
background-position: 5px -1380px;
}
.form_user_silence input.submit {
background-position: 5px -1445px;
}
.form_user_deleteuser input.submit {
background-position: 5px -1511px;
}
/* NOTICES */
.notice .attachment {

View File

@ -40,7 +40,8 @@ box-shadow:3px 3px 7px rgba(194, 194, 194, 0.3);
.entity_send-a-message .form_notice,
.pagination .nav_prev a,
.pagination .nav_next a,
.form_settings fieldset fieldset {
.form_settings fieldset fieldset,
.entity_moderation:hover ul {
border-color:#DDDDDD;
}
@ -61,6 +62,7 @@ input.submit,
.entity_remote_subscribe,
.entity_actions a,
.entity_actions input,
.entity_moderation p,
button {
box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3);
-moz-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3);
@ -89,7 +91,8 @@ a,
.form_settings input.form_action-primary,
.notice-options input,
.entity_actions a,
.entity_actions input {
.entity_actions input,
.entity_moderation p {
color:#002FA7;
}
@ -144,7 +147,11 @@ button.close,
.form_user_unsubscribe input.submit,
.form_group_join input.submit,
.form_user_subscribe input.submit,
.entity_subscribe a {
.entity_subscribe a,
.entity_moderation p,
.entity_sandbox input.submit,
.entity_silence input.submit,
.entity_delete input.submit {
background-image:url(../../base/images/icons/icons-01.gif);
background-repeat:no-repeat;
background-color:transparent;
@ -169,7 +176,8 @@ border-color:transparent;
}
#content,
#site_nav_local_views .current a,
.entity_send-a-message .form_notice {
.entity_send-a-message .form_notice,
.entity_moderation:hover ul {
background-color:#FFFFFF;
}
@ -251,7 +259,8 @@ background-position: 5px -718px;
.entity_send-a-message a {
background-position: 5px -852px;
}
.entity_send-a-message .form_notice {
.entity_send-a-message .form_notice,
.entity_moderation:hover ul {
box-shadow:3px 7px 5px rgba(194, 194, 194, 0.7);
-moz-box-shadow:3px 7px 5px rgba(194, 194, 194, 0.7);
-webkit-box-shadow:3px 7px 5px rgba(194, 194, 194, 0.7);
@ -270,6 +279,18 @@ background-position: 5px -918px;
.form_make_admin input.submit {
background-position: 5px -983px;
}
.entity_moderation p {
background-position: 5px -1313px;
}
.form_user_sandbox input.submit {
background-position: 5px -1380px;
}
.form_user_silence input.submit {
background-position: 5px -1445px;
}
.form_user_deleteuser input.submit {
background-position: 5px -1511px;
}
/* NOTICES */
.notice .attachment {