debian-mirror-gitlab/app/assets/stylesheets/pages/note_form.scss

165 lines
2.2 KiB
SCSS
Raw Normal View History

2015-04-26 12:48:37 +05:30
/**
* Note Form
*/
.comment-btn {
@extend .btn-create;
}
.reply-btn {
@extend .btn-primary;
2015-12-23 02:04:40 +05:30
margin: 10px $gl-padding;
2015-04-26 12:48:37 +05:30
}
.diff-file .diff-content {
tr.line_holder:hover > td .line_note_link {
opacity: 1.0;
filter: alpha(opacity=100);
}
}
.diff-file,
.discussion {
.new_note {
margin: 0;
border: none;
}
}
.new_note {
display: none;
}
.new_note, .edit_note {
2015-12-23 02:04:40 +05:30
.note-form-actions {
margin-top: $gl-padding;
2015-04-26 12:48:37 +05:30
}
.note-preview-holder {
> p {
overflow-x: auto;
}
}
img {
max-width: 100%;
}
.note_text {
width: 100%;
}
2015-11-26 14:37:03 +05:30
.comment-hints {
margin-top: -12px;
}
2015-04-26 12:48:37 +05:30
}
/* loading indicator */
.notes-busy {
margin: 18px;
}
.note-image-attach {
@extend .col-md-4;
margin-left: 45px;
float: none;
}
.common-note-form {
margin: 0;
background: #fff;
2015-09-25 12:07:36 +05:30
padding: $gl-padding;
margin-left: -$gl-padding;
margin-right: -$gl-padding;
margin-bottom: -$gl-padding;
2015-04-26 12:48:37 +05:30
}
.note-form-actions {
background: #fff;
2015-04-26 12:48:37 +05:30
.note-form-option {
margin-top: 8px;
margin-left: 30px;
@extend .pull-left;
}
.js-notify-commit-author {
float: left;
}
.write-preview-btn {
// makes the "absolute" position for links relative to this
position: relative;
// preview/edit buttons
> a {
position: absolute;
right: 5px;
top: 8px;
}
}
}
.note-edit-form {
display: none;
2015-09-25 12:07:36 +05:30
font-size: 15px;
2015-04-26 12:48:37 +05:30
.form-actions {
padding-left: 20px;
.btn-save {
float: left;
}
.note-form-option {
float: left;
padding: 2px 0 0 25px;
}
}
}
.js-note-attachment-delete {
display: none;
}
.parallel-comment {
padding: 6px;
}
.error-alert > .alert {
margin-top: 5px;
margin-bottom: 5px;
}
.discussion-body,
.diff-file {
.notes .note {
border-color: #ddd;
padding: 10px 15px;
}
.discussion-reply-holder {
2015-09-25 12:07:36 +05:30
background: $background-color;
border-top: 1px solid $border-color;
2015-04-26 12:48:37 +05:30
}
}
.discussion-notes-count {
font-size: 16px;
}
.edit_note {
.markdown-area {
min-height: 140px;
2016-02-05 20:25:01 +05:30
max-height: 500px;
2015-04-26 12:48:37 +05:30
}
.note-form-actions {
background: transparent;
}
}
.comment-hints {
color: #999;
background: #FFF;
2015-10-24 18:46:33 +05:30
padding: 7px;
2015-11-26 14:37:03 +05:30
margin-top: -7px;
2015-09-25 12:07:36 +05:30
border: 1px solid $border-color;
2015-04-26 12:48:37 +05:30
font-size: 13px;
}