Skip to content

Commit

Permalink
Dev: move extra button outside ul for blobblueish
Browse files Browse the repository at this point in the history
Dev: Add extra class 'extra-action' for this button type: can be used elsewhere
  • Loading branch information
Shnoulle committed Apr 8, 2013
1 parent 119c2a7 commit dfe52c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Expand Up @@ -34,7 +34,7 @@
?>
</ul>
<?php echo CHtml::form(array("admin/database/index"), 'post',array('class'=>'form30','id'=>'frmeditquestion','name'=>'frmeditquestion','onsubmit'=>"return isEmpty(document.getElementById('title'), '".$clang->gT("Error: You have to enter a question code.",'js')."');")); ?>
<div id='questionactioncopy'>
<div id='questionactioncopy' class='extra-action'>
<p><input type='button' class="saveandreturn" value='<?php $clang->eT("Save") ?>' />
<input type='submit' value='<?php $clang->eT("Save and close"); ?>' />
</div>
Expand Down
5 changes: 3 additions & 2 deletions styles/blobblueish/adminstyle.css
Expand Up @@ -260,10 +260,11 @@ html>body .menubar-right .arrow-wrapper { /* For real browsers */
#questiondetails td+td {
text-align:left;
}
#questionactioncopy{
.extra-action{
float: right;
margin-top:-2em;

This comment has been minimized.

Copy link
@mennodekker

mennodekker Apr 8, 2013

Contributor

-2.5 looks better for me (it is inside the bar then)

This comment has been minimized.

Copy link
@Shnoulle

Shnoulle Apr 8, 2013

Author Collaborator

IN FF : -2em inside the bar too. (in blobblueish)

But it's a "bad hack"

}
#questionactioncopy p{
.extra-action p{
margin: 0
}
.outlinetable {
Expand Down
2 changes: 1 addition & 1 deletion styles/gringegreen/adminstyle.css
Expand Up @@ -262,7 +262,7 @@ html>body .menubar-right .arrow-wrapper { /* For real browsers */
#questiondetails td+td {
text-align:left;
}
#questionactioncopy{
.extra-action{
float: right;
margin-top: -60px
}
Expand Down

0 comments on commit dfe52c0

Please sign in to comment.