From b621848c3bb8da50651a0f54b96d037d93c6f2c1 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Mon, 19 Nov 2012 18:02:41 +0800 Subject: [PATCH] MDL-36636 usability: Comment delete icon repositioned --- theme/base/style/core.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/theme/base/style/core.css b/theme/base/style/core.css index a7b16b40693..81c64beb999 100644 --- a/theme/base/style/core.css +++ b/theme/base/style/core.css @@ -365,16 +365,19 @@ table.mod_index {width:100%;} .comment-area textarea {width:100%;overflow:auto;} .comment-area .fd {text-align:right;} .comment-meta span {color:gray;} +.comment-link img { vertical-align: text-bottom; } .comment-list {font-size: 11px;overflow:auto;list-style:none;padding:0;margin:0;} -.comment-list li {margin: 2px;list-style:none;margin-bottom:5px;clear:both;} +.comment-list li {margin: 2px;list-style:none;margin-bottom:5px;clear:both;padding: .3em;position: relative;} .comment-list li.first {display:none} .comment-paging{text-align:center;} .comment-paging .pageno{padding:2px;} .comment-paging .curpage{border:1px solid #CCC;} .comment-message .picture {width: 20px;float:left;} +.dir-rtl .comment-message .picture {float:right;} .comment-message .text {margin:0;padding:0;} .comment-message .text p {padding:0;margin:0 18px 0 0;} -.comment-delete {float:right;text-align:right;} +.comment-delete {position: absolute; top: 0; right: 0;margin: .3em;} +.dir-rtl .comment-delete {position: absolute; left: 0; right: auto;margin: .3em;} .comment-delete-confirm {background: #eee; padding: 2px; width: 5em;text-align:center;} .comment-container {float:left;margin: 4px;} .comment-report-selectall{display:none}