Some minor UI consistency fixes.

This commit is contained in:
Matthias Mees 2013-06-19 15:36:01 +02:00
parent e1aac9cc13
commit 8a58c5eb1a
3 changed files with 21 additions and 2 deletions

@ -130,7 +130,7 @@
<li><a class="button_link" href="?serendipity[action]=admin&amp;serendipity[adminModule]=comments&amp;serendipity[adminAction]=pending&amp;serendipity[id]={$comment.id}&amp;{$urltoken}" title="{$CONST.SET_TO_MODERATED}"><span class="icon-lock"></span><span class="visuallyhidden"> {$CONST.SET_TO_MODERATED}</span></a></li>
{/if}
{if $comment.excerpt}
<li><a class="button_link toggle_comment_full" href="#c{$comment.id}_full" title="{$CONST.TOGGLE_ALL}">{$CONST.TOGGLE_ALL}</a></li>
<li><a class="button_link toggle_comment_full" href="#c{$comment.id}_full" title="{$CONST.TOGGLE_ALL}"><span class="icon-plus"></span><span class="visuallyhidden"> {$CONST.TOGGLE_ALL}</span></a></li>
{/if}
<li><a class="button_link" href="{$comment.entrylink}" title="{$CONST.VIEW}"><span class="icon-eye"></span><span class="visuallyhidden"> {$CONST.VIEW}</span></a></li>
<li><a class="button_link" href="?serendipity[action]=admin&amp;serendipity[adminModule]=comments&amp;serendipity[adminAction]=edit&amp;serendipity[id]={$comment.id}&amp;serendipity[entry_id]={$comment.entry_id}&amp;{$urltoken}" title="{$CONST.EDIT}"><span class="icon-edit"></span><span class="visuallyhidden"> {$CONST.EDIT}</span></a></li>

@ -899,9 +899,17 @@ function highlightComment(id, checkvalue) {
// Show extended comment
$('.toggle_comment_full').click(function(e) {
var $toggles = $($(this).attr('href'));
var $el = $(this);
var $toggles = $($el.attr('href'));
$toggles.toggleClass('additional_info');
$toggles.prev().toggleClass('additional_info');
var $toggleIcon = $el.find('> span');
var $toggleState = $toggleIcon.attr('class');
if($toggleState == 'icon-minus') {
$toggleIcon.removeClass('icon-minus').addClass('icon-plus');
} else {
$toggleIcon.removeClass('icon-plus').addClass('icon-minus');
}
e.preventDefault();
});

@ -1675,10 +1675,12 @@ form > .button_link:first-of-type {
-moz-box-sizing: border-box;
box-sizing: border-box;
color: #fcfcfc;
height: 100%;
padding: .5em 1em;
position: absolute;
top: 0;
left: 0;
text-shadow: 1px 1px 1px rgba(0,0,0,.8);
width: 100%;
}
@ -2012,6 +2014,11 @@ input[name="serendipity[filter][fileCategory]"] {
width: 85%;
}
.js #edit_entry_metadata select {
width: 89%;
}
#edit_entry_title input,
.no-js #edit_entry_metadata select {
width: 100%;
}
@ -2040,6 +2047,10 @@ input[name="serendipity[filter][fileCategory]"] {
.configuration_group .media_choose input {
max-width: 42.5%;
}
.js #edit_entry_metadata select {
width: 91%;
}
}