minor style changes to the composer (moved buttons to the bottom as well)

v1.18.x
Julian Lam 12 years ago
parent 53d001a751
commit 1752be237b

@ -536,13 +536,14 @@ body .navbar .nodebb-inline-block {
} }
input { input {
width: 100%; width: 98%;
text-align: center; text-align: center;
border: none; border: none;
padding: 0.5em 0; padding: 0.5em 0;
-webkit-border-radius: 0px; -webkit-border-radius: 0px;
-moz-border-radius: 0px; -moz-border-radius: 0px;
border-radius: 0px; border-radius: 0px;
margin: 1% 1% 2% 1%;
} }
textarea { textarea {
@ -551,10 +552,10 @@ body .navbar .nodebb-inline-block {
padding: 0.5em; padding: 0.5em;
display: block; display: block;
width: 90%; width: 90%;
margin: 1em auto; margin: 0.5em auto;
resize: none; resize: none;
color: white; color: white;
height: 230px; height: 200px;
} }
#imagedrop { #imagedrop {

@ -95,17 +95,19 @@ define(['taskbar'], function(taskbar) {
'<span class="btn btn-link" tabindex="-1"><i class="icon-list"></i></span>' + '<span class="btn btn-link" tabindex="-1"><i class="icon-list"></i></span>' +
'<span class="btn btn-link" tabindex="-1"><i class="icon-link"></i></span>' + '<span class="btn btn-link" tabindex="-1"><i class="icon-link"></i></span>' +
'</div>' + '</div>' +
'<div class="btn-group action-bar" style="float: right; margin-right: -12px">' +
'<button data-action="post" class="btn" tabIndex="3"><i class="icon-ok"></i> Submit</button>' +
'<button data-action="minimize" class="btn hidden-phone" tabIndex="4"><i class="icon-download-alt"></i> Minimize</button>' +
'<button class="btn" data-action="discard" tabIndex="5"><i class="icon-remove"></i> Discard</button>' +
'</div>' +
'</div>' + '</div>' +
'<div style="position:relative;">'+ '<div style="position:relative;">'+
'<div id="imagedrop" class=""><div>Drag and Drop Images Here</div></div>'+ '<div id="imagedrop" class=""><div>Drag and Drop Images Here</div></div>'+
'<textarea tabIndex="2"></textarea>' + '<textarea tabIndex="2"></textarea>' +
'<div id="imagelist"></div>'+ '<div id="imagelist"></div>'+
'</div>'+ '</div>'+
'<div class="btn-toolbar">' +
'<div class="btn-group action-bar" style="float: right; margin-right: -8px">' +
'<button data-action="minimize" class="btn hidden-phone" tabIndex="4"><i class="icon-download-alt"></i> Minimize</button>' +
'<button class="btn" data-action="discard" tabIndex="5"><i class="icon-remove"></i> Discard</button>' +
'<button data-action="post" class="btn" tabIndex="3"><i class="icon-ok"></i> Submit</button>' +
'</div>' +
'</div>' +
'</div>'; '</div>';
document.body.insertBefore(composer.postContainer, taskbar); document.body.insertBefore(composer.postContainer, taskbar);

Loading…
Cancel
Save