fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: styling gutter comments
[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
7476123
..
140e836
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/comments/comments.less
+++ b/
src/editor/modules/documentCanvas/canvas/comments/comments.less
@@
-1,5
+1,5
@@
.comments {
.comments {
- @borderColor: darken(#FFFCB7,
1
5%);
+ @borderColor: darken(#FFFCB7,
4
5%);
font-size: 12px;
font-size: 12px;
@@
-7,11
+7,15
@@
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;
@@
-35,18
+39,19
@@
.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