This repository was archived by the owner on Jul 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathmapjs-default-styles.css
More file actions
140 lines (139 loc) · 2.53 KB
/
mapjs-default-styles.css
File metadata and controls
140 lines (139 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
.mapjs-node {
margin: 0;
padding: 7px;
z-index: 2;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
color: #4F4F4F;
cursor: hand;
}
.mapjs-node .resize-node {
position: absolute;
height: 100%;
width: 20px;
right: -10px;
top: 0;
border-radius: 10px;
background-color: transparent;
cursor: ew-resize;
}
.resize-node:hover {
background-color: black;
opacity: 0.3;
}
.mapjs-node:focus {
outline: none;
}
.mapjs-node.droppable {
border: 1px solid red;
}
.mapjs-add-link {
cursor: crosshair;
}
.mapjs-add-link .mapjs-node {
cursor: alias;
}
.mapjs-node span[contenteditable=true] {
user-select: text;
-moz-user-select: text;
-webkit-user-select: text;
-ms-user-select: text;
}
.mapjs-node {
font-family: -apple-system, "Helvetica Neue", Roboto, Helvetica, Arial, sans-serif;
font-weight: 500;
font-size: 12px;
line-height: 15px;
}
.mapjs-node span {
white-space: pre-wrap;
display: block;
max-width: 146px;
min-height: 1em;
min-width: 1em;
outline: none;
}
.mapjs-node.attr_group span {
min-height: 1.5em;
}
.mapjs-node.dragging {
opacity: 0.4;
}
.mapjs-node[mapjs-level="1"] {
background-color:#22AAE0;
}
.mapjs-decorations {
position: absolute;
display: block;
white-space: nowrap;
}
.mapjs-label {
background: black;
opacity: 0.5;
color: white;
display: inline-block;
}
.mapjs-hyperlink {
background-image: url(icon-link-inactive.svg);
width: 32px;
height: 32px;
background-size: 32px 32px;
background-repeat: no-repeat no-repeat;
display: inline-block;
}
.mapjs-hyperlink:hover {
background-image:url(icon-link-active.svg);
}
.mapjs-attachment {
background-image: url(icon-paperclip-inactive.svg);
width: 16px;
height: 32px;
background-size: 16px 32px;
background-repeat: no-repeat no-repeat;
display: inline-block;
}
.mapjs-attachment:hover{
background-image:url(icon-paperclip-active.svg);
}
.mapjs-draw-container {
position: absolute;
margin: 0px;
padding: 0px;
z-index: 1;
}
.mapjs-link {
stroke-width: 1.5px;
fill: none;
}
.mapjs-link-hit {
stroke: transparent;
stroke-width: 15;
cursor: crosshair;
}
.mapjs-arrow {
}
.drag-shadow {
opacity: 0.5;
}
.mapjs-reorder-bounds {
stroke-width: 5px;
fill: none;
stroke: #000;
}
.mapjs-reorder-bounds {
z-index: 999;
background-image:url(chevron-left.svg);
width: 11px;
background-height: 100%;
background-width: 100%;
height: 20px;
background-repeat: no-repeat;
}
.mapjs-reorder-bounds[mapjs-edge="left"] {
background-image:url(chevron-right.svg);
}
.mapjs-reorder-bounds[mapjs-edge="top"] {
transform: rotate(-90deg);
}