add comment form UI

This commit is contained in:
Unknwon 2015-08-12 18:44:09 +08:00
parent b4c0b7b98b
commit ab2d0b3b44
9 changed files with 96 additions and 48 deletions

View file

@ -121,8 +121,10 @@
@comment-avatar-width: 3em;
&.new.issue {
.comment.form {
.comment .avatar {
width: @comment-avatar-width;
.comment {
.avatar {
width: @comment-avatar-width;
}
}
.content {
margin-left: 4em;
@ -137,6 +139,7 @@
overflow-x: auto;
}
}
}
}
&.view.issue {
@ -187,13 +190,31 @@
.markdown {
font-size: 14px;
}
.bottom.segment {
.no-content {
color: #767676;
font-style: italic;
}
> .bottom.segment {
background: #f3f4f5;
.ui.image {
max-height: 150px;
}
}
}
.ui.form {
.field:first-child {
clear: none;
}
.tab.segment {
border: none;
padding: 0;
padding-top: 10px;
}
textarea {
height: 200px;
}
}
}
}
.ui.segment.metas {
@ -203,7 +224,7 @@
.comment.form {
.ui.comments {
margin-top: -12px;
max-width: 750px!important;
max-width: 100%;
}
.content {
.field:first-child {
@ -218,15 +239,6 @@
height: 200px;
}
}
.dropzone {
width: 100%;
margin-bottom: 10px;
border: 2px dashed #0087F7;
box-shadow: none;
.dz-error-message {
top: 140px;
}
}
}
.label.list {
@ -352,6 +364,18 @@
}
}
.ui.comments {
.dropzone {
width: 100%;
margin-bottom: 10px;
border: 2px dashed #0087F7;
box-shadow: none!important;
.dz-error-message {
top: 140px;
}
}
}
.settings .key.list {
.item:not(:first-child) {
border-top: 1px solid #eaeaea;