X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/bbb810b9417335d3a6fbfeb300de8f12e4cd091a..e3d081dda1fe6502f0809ddf602d2c0bdf1f24ae:/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 --- a/src/editor/modules/documentCanvas/canvas/comments/comments.less +++ b/src/editor/modules/documentCanvas/canvas/comments/comments.less @@ -1,17 +1,22 @@ .comments { - @borderColor: darken(#FFFCB7, 15%); + @borderColor: darken(#FFFCB7, 45%); font-size: 12px; .comment { + position: relative; 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 { - border-bottom: 1px solid @borderColor; padding: 0 3px; font-size: 10px; @@ -26,23 +31,39 @@ .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; + } - 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