Adds styles for comment as administrator

This commit is contained in:
Alberto Garcia Cabeza
2015-08-22 10:32:45 +02:00
committed by Juanjo Bazán
parent cfd25042b6
commit dffb8e8a5e
8 changed files with 29 additions and 10 deletions

View File

@@ -249,6 +249,7 @@
.panel {
border: 0;
border-radius: 0;
margin-bottom: 0;
min-height: rem-calc(192);
padding: 0 rem-calc(12) rem-calc(2) rem-calc(12);
@@ -568,10 +569,14 @@
padding: rem-calc(6) rem-calc(12);
}
&.is-moderator {
background: $comment-moderator;
&.is-admin {
background: $comment-admin;
padding: rem-calc(6) rem-calc(12);
}
&.is-moderator {
@extend .is-admin;
}
}
}

View File

@@ -692,7 +692,7 @@ form {
}
}
img.moderator-avatar {
img.admin-avatar, img.moderator-avatar {
border-radius: rem-calc(1000);
position: relative;
}

View File

@@ -78,7 +78,7 @@ $association: #C0392B;
$comment-author: rgba(45,144,248,.15);
$comment-level-5: rgba(255,241,204,1);
$comment-moderator: rgba(45,144,248,.15);
$comment-admin: rgba(45,144,248,.15);
$comment-official: rgba(70,219,145,.3);
// 06. Responsive