Skip to content
Snippets Groups Projects
Commit 27f998e3 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

Various cosmetic improvements that deal primarily with proper highlighting of...

Various cosmetic improvements that deal primarily with proper highlighting of object borders, with particular focus on comments. See comments in the code for more info.
parent 242306e8
No related branches found
No related tags found
No related merge requests found
...@@ -312,9 +312,10 @@ text { ...@@ -312,9 +312,10 @@ text {
//cursor: default; //cursor: default;
} }
/* not sure if this is still needed */ /* not sure if this is still needed...
updated the coloring just in case */
.selected_border { .selected_border {
stroke: blue; stroke: #e87216;
stroke-dasharray: none; stroke-dasharray: none;
stroke-width: 1; stroke-width: 1;
} }
...@@ -391,6 +392,12 @@ text { ...@@ -391,6 +392,12 @@ text {
stroke-dasharray: 3 2; stroke-dasharray: 3 2;
} }
/* ico@vt.edu: added selected border coloring
in edit mode only */
#patchsvg.editmode .comment.selected .border {
stroke: #e87216;
}
/* A little hack for special case of [cnv]. /* A little hack for special case of [cnv].
All other iemguis have a black border, but All other iemguis have a black border, but
[cnv] sets its selection rectangle to the [cnv] sets its selection rectangle to the
...@@ -418,14 +425,17 @@ text { ...@@ -418,14 +425,17 @@ text {
in plain English: in plain English:
This lets us highlight an object's border, unless it is inside a gop This lets us highlight an object's border, unless it is inside a gop
canvas. canvas.
ico@vt.edu added selection highlight only if we are in editmode
*/ */
:not(.gop).selected .border { #patchsvg.editmode :not(.gop).selected .border {
stroke: #e87216; stroke: #e87216;
display: inline; display: inline;
} }
/* text inside selected objects */ /* text inside selected objects
:not(.gop).selected text { ico@vt.edu added selection highlight only if we are in editmode */
#patchsvg.editmode :not(.gop).selected text {
fill: #e87216; fill: #e87216;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment