Add hovering button

This commit is contained in:
Maximilian Grundke
2016-04-30 13:20:10 +02:00
parent 027c6013eb
commit bd4fbcb8fb
2 changed files with 10 additions and 0 deletions

View File

@ -88,3 +88,9 @@ button i.fa-spin {
color: #777; color: #777;
font-size: 0.8em; font-size: 0.8em;
} }
#requestCommentsButton {
position: relative;
margin-top: -50px;
float: right;
}

View File

@ -13,3 +13,7 @@
- else - else
.editor-content.hidden data-file-id=file.ancestor_id = file.content .editor-content.hidden data-file-id=file.ancestor_id = file.content
.editor data-file-id=file.ancestor_id data-indent-size=file.file_type.indent_size data-mode=file.file_type.editor_mode data-read-only=file.read_only data-id=file.id .editor data-file-id=file.ancestor_id data-indent-size=file.file_type.indent_size data-mode=file.file_type.editor_mode data-read-only=file.read_only data-id=file.id
button.btn class='btn-primary' id='requestCommentsButton' type='button'
i.fa.fa-comment-o
= t('exercises.editor.requestComments')