fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update document summary on save/revert
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
comments
/
comments.less
diff --git
a/src/editor/modules/documentCanvas/canvas/comments/comments.less
b/src/editor/modules/documentCanvas/canvas/comments/comments.less
index
11b776b
..
688d3f8
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/comments/comments.less
+++ b/
src/editor/modules/documentCanvas/canvas/comments/comments.less
@@
-1,17
+1,22
@@
.comments {
.comments {
- @borderColor: darken(#FFFCB7,
1
5%);
+ @borderColor: darken(#FFFCB7,
4
5%);
font-size: 12px;
.comment {
font-size: 12px;
.comment {
+ position: relative;
border-color: @borderColor;
border-style: solid;
border-color: @borderColor;
border-style: solid;
- border-width: 1px;
- margin-top: 10px;
+ border-width: 1px 0;
+ margin-top: -1px;
+ padding-bottom: 10px;
+
+ &:first-child {
+ margin-top:0;
+ }
.header {
.header {
- border-bottom: 1px solid @borderColor;
padding: 0 3px;
font-size: 10px;
padding: 0 3px;
font-size: 10px;
@@
-26,23
+31,39
@@
.content {
padding: 5px;
}
.content {
padding: 5px;
}
+
+ .edit {
+ display: none;
+ }
+
+ .deleteDialog {
+ display: none;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ padding-top: 15px;
+ color: white;
+ background-color: rgba(0,0,0,0.7);
+ text-align: center;
+ }
}
.newComment {
margin-top: 10px;
}
.newComment {
margin-top: 10px;
+ }
-
textarea {
-
display: block;
-
width: 95%
;
-
padding: 2px 2px;
-
margin: 0 0 10px 0;
-
font-size: 12px;
-
resize: vertical;
-
outline: none !important;
-
box-shadow: none;
+ textarea {
+ display: block;
+
width: calc(~'100% - 4px')
;
+ padding: 2px 2px;
+ margin: 0 0 10px 0;
+ font-size: 12px;
+ resize: vertical;
+ outline: none !important;
+ box-shadow: none;
- }
}
}
-
}
\ No newline at end of file
}
\ No newline at end of file