Projekt

Obecné

Profil

« Předchozí | Další » 

Revize bd517b82

Přidáno uživatelem Pavel Fidranský před více než 6 roky(ů)

split CSS to separate stylesheets by components

Zobrazit rozdíly:

sources/src/main/webapp/css/common.css
1
body {
2
	font-family: 'Arial', sans-serif;
3
    font-size: 0.8em;
4
	margin: 0;
5
    background-color: #e8f4ff;
6
    overflow: hidden;
7
}
8

  
9
ul {
10
	list-style: none;
11
	padding-left: 0;
12
}
13

  
14
td {
15
	padding: 0 0.8em;
16
	line-height: 35px;
17
}
18

  
19
form input[type="text"],
20
form input[type="email"],
21
form input[type="password"] {
22
	width: 150px;
23
}
24

  
25
form input[type="checkbox"] {
26
	margin: 0;
27
}
28

  
29
.hidden {
30
	display: none !important;
31
}
32

  
33
.row {
34
	display: flex;
35
}
36

  
37
.form-field {
38
	margin-bottom: 20px;
39
}
40

  
41
.loggedIn .loggedOutOnly,
42
.loggedOut .loggedInOnly {
43
	display: none !important;
44
}
sources/src/main/webapp/css/components/context-menu.css
1
.context-menu {
2
	position: absolute;
3
	z-index: 1;
4
	font-family: 'Arial', sans-serif;
5
	font-size: 1em;
6
	background-color: #f8fafa;
7
	border: 1px solid #c8cbcc;
8
	box-shadow: 0 0 5px #c8cbcc;
9
}
10

  
11
.context-menu ul {
12
	list-style: none;
13
	margin: 0.5em 0;
14
	padding-left: 0;
15
}
16

  
17
.context-menu ul > li {
18
	width: 200px;
19
	padding: 0 0.5em;
20
	white-space: nowrap;
21
	overflow: hidden;
22
	text-overflow: ellipsis;
23
	cursor: default;
24
}
25

  
26
.context-menu ul > li:hover {
27
	background-color: #c8cbcc;
28
}
29

  
30
.context-menu .group-symbol {
31
	display: inline-block;
32
	width: 28px;
33
	font-size: 24px;
34
	text-align: center;
35
	margin-right: 0.5rem;
36
	vertical-align: -3px;
37
}
sources/src/main/webapp/css/components/header.css
1
.header {
2
	position: relative;
3
	width: 100%;
4
	background: -webkit-linear-gradient(top, #f0f9ff 0%,#cbebff 47%,#a1dbff 100%);
5
}
6

  
7
.header-logo {
8
	float: left;
9
	margin: 5px 20px;
10
	height: 50px;
11
}
12

  
13
.header-title {
14
	color: #0b548a;
15
	margin: 0;
16
	line-height: 60px;
17
}
18

  
19
.header .user-menu {
20
	position: absolute;
21
	right: 0;
22
	top: 0;
23
	margin-left: 25px;
24
	margin-right: 25px;
25
	line-height: 60px;
26
}
27

  
28
.header .user-menu .button {
29
	color: #0B548A;
30
	font-size: 14px;
31
	font-weight: bold;
32
	background: none;
33
	border: none;
34
	cursor: pointer;
35
}
36

  
37
.header .username {
38
	margin-right: 5px;
39
}
40

  
41
.header .login_popup,
42
.header .register_popup {
43
	right: 4px;
44
	top: 45px;
45
	font-size: 13px;
46
	font-weight: normal;
47
	line-height: 35px;
48
}
sources/src/main/webapp/css/components/minimap.css
1
.minimap {
2
	border-top: 1px solid #7db9e8;
3
	background-color: #fff;
4
}
5

  
6
.minimap-viewport {
7
	stroke: #999;
8
	stroke-width: 1px;
9
	fill-opacity: 0;
10
	shape-rendering: crispedges;
11
	transition: stroke .4s;
12
}
13

  
14
.minimap-viewport:hover {
15
	stroke: #000;
16
}
sources/src/main/webapp/css/components/modal-window.css
1
.modal {
2
	position: absolute;
3
	top: 0;
4
	bottom: 0;
5
	left: 0;
6
	right: 0;
7
	padding: 20px 40px;
8
    background: rgba(0,0,0,0.5);
9
}
10

  
11
.modal-content {
12
	position: relative;
13
	max-width: 440px;
14
	min-height: 40px;
15
	max-height: 100%;
16
	margin-left: auto;
17
	margin-right: auto;
18
	padding: 10px 20px;
19
	background-color: #fff;
20
	border: 1px solid #7db9e8;
21
}
22

  
23
.modal-content .close-button {
24
	position: absolute;
25
	top: 10px;
26
	right: 10px;
27
	display: block;
28
	width: 20px;
29
	height: 20px;
30
	padding: 0;
31
	background: none;
32
	border: none;
33
	cursor: pointer;
34
}
sources/src/main/webapp/css/components/navbar.css
1
.navbar {
2
	background: -webkit-linear-gradient(top, #1e5799 0%,#7db9e8 100%);
3
	color: #cceefc;
4
}
5

  
6
.navbar label {
7
	display: inline-block;
8
}
9

  
10
.navbar label img {
11
	vertical-align: middle;
12
}
13

  
14
.navbar > ul {
15
	margin: 0;
16
	padding-left: 0;
17
	list-style: none;
18
	white-space: nowrap;
19
	overflow-x: auto;
20
}
21

  
22
.navbar > ul > li {
23
	display: inline-block;
24
	margin-right: 5px;
25
	margin-left: 5px;
26
}
27

  
28
.navbar .btn {
29
	display: inline-block;
30
	border: none;
31
	background: none;
32
	vertical-align: middle;
33
	cursor: pointer;
34
}
35

  
36
.navbar .btn.disabled {
37
	pointer-events: none;
38
	cursor: default;
39
}
40

  
41
.navbar .btn-block {
42
	display: inline-block;
43
	width: 38px;
44
	height: 38px;
45
}
46

  
47
.navbar .btn.back-to-upload {
48
	background: url("../../images/icon_back.png") no-repeat scroll 0px 2px transparent;
49
}
50

  
51
.navbar .btn.view-refresh-diagram {
52
	background: url("../../images/icon_refresh.png") no-repeat scroll 0px 2px transparent;
53
}
54

  
55
.navbar .btn.view-refresh-reset-diagram {
56
	background: url("../../images/icon_refresh_reset.png") no-repeat scroll 0px 2px transparent;
57
}
58

  
59
.navbar-separator {
60
	display: inline-block;
61
	height: 25px;
62
	border: none;
63
	border-left: 1px solid #cceefc;
64
	margin-left: 5px;
65
	margin-right: 5px;
66
	line-height: 40px;
67
	vertical-align: middle;
68
}
sources/src/main/webapp/css/components/popover.css
1
.popover {
2
	position: absolute;
3
	z-index: 1;
4
	font-family: 'Arial', sans-serif;
5
	font-size: 1em;
6
	background-color: #f8fafa;
7
	border: 1px solid #c8cbcc;
8
	box-shadow: 0 0 5px #c8cbcc;
9
}
10

  
11
.popover-title {
12
	display: block;
13
	font-weight: bold;
14
	padding: 0.5em;
15
	border-bottom: 1px solid #c8cbcc;
16
}
17

  
18
.popover-body {
19
	max-height: 400px;
20
	overflow: auto;
21
	padding: 0 0.5em 0.5em 0.5em;
22
}
sources/src/main/webapp/css/components/popup.css
1
.popup {
2
	position: absolute;
3
	z-index: 1;
4
	padding: 10px 20px;
5
	border: 1px solid #999;
6
	background: #fff;
7
}
sources/src/main/webapp/css/components/sidebar.css
1
.sidebar {
2
	display: flex;
3
	flex-basis: 350px;
4
	flex-direction: column;
5
	justify-content: space-between;
6
	background-color: #f0f9ff;
7
}
8

  
9
.sidebar .button {
10
    background-color: #cfeafe;
11
    border: 1px solid gray;
12
    padding: 0.5em;
13
    cursor: pointer;
14
    outline: 0;
15
}
16

  
17
.sidebar .button img {
18
	max-width: 100%;
19
}
20

  
21
.sidebar-navbar {
22
    position: fixed;
23
    width: 350px;
24
    padding-top: 10px;
25
    padding-bottom: 10px;
26
}
27

  
28
.sidebar-navbar .button {
29
	height: 30px;
30
}
31

  
32
.sidebar-navbar .button img {
33
	max-height: 20px;
34
	margin-top: -4px;
35
	margin-right: 5px;
36
	vertical-align: -4px;
37
}
38

  
39
.sidebar-container {
40
	margin-top: 50px;
41
	overflow-y: overlay;
42
}
43

  
44
.sidebar .node-container {
45
	position: relative;
46
}
47

  
48
.sidebar .node-container-title {
49
	font-size: 1.2em;
50
	padding-left: 0.5em;
51
	padding-right: 0.5em;
52
}
53

  
54
.sidebar .button-group {
55
	position: absolute;
56
	top: 0;
57
	right: 1em;
58
}
59

  
60
.sidebar .button-group > * {
61
	float: left;
62
}
63

  
64
.sidebar .button-group .button {
65
	display: block;
66
    width: 20px;
67
    height: 20px;
68
    padding: 0;
69
}
70

  
71
.sidebar .button-group .button:not(:last-child) {
72
	margin-right: 1px;
73
}
74

  
75
.sidebar .node .button-group > * {
76
	float: none;
77
}
78

  
79
.sidebar .node .button-group .button:not(:last-child) {
80
	margin-right: 0;
81
	margin-bottom: 1px;
82
}
83

  
84
.sidebar .node-container:not(.change-nodes) .trigger-change-button {
85
	display: none;
86
}
87

  
88
.sidebar .node-list {
89
	list-style: none;
90
	margin: 0;
91
	padding-left: 0;
92
}
93

  
94
.sidebar .excluded-nodes {
95
    min-height: 20%;
96
    border-top: 1px solid #7db9e8;
97
    overflow-y: auto;
98
}
99

  
100
.sidebar .excluded-nodes .button-group {
101
	top: 1em;
102
}
103

  
104
.sidebar .node {
105
    position: relative;
106
	margin-top: 1em;
107
	margin-bottom: 1em;
108
    padding-left: 40px;
109
	user-select: none;
110
}
111

  
112
.sidebar .node > svg {
113
    position: absolute;
114
    left: -6px;
115
    display: inline-block;
116
}
117

  
118
.sidebar .node .related-archetype > text {
119
	font-size: 0.8em;
120
}
121

  
122
.sidebar .node .related-archetype > line {
123
	stroke: #000;
124
}
125

  
126
.sidebar .group {
127
	padding-top: 2em;
128
}
129

  
130
.sidebar .group-symbol {
131
    position: absolute;
132
    top: 0;
133
	left: 40px;
134
	display: inline-block;
135
    font-size: 1.6em;
136
    width: 25px;
137
    height: 25px;
138
    text-align: center;
139
}
140

  
141
.sidebar .group-name {
142
	position: absolute;
143
	top: 0;
144
	left: 70px;
145
	width: 230px;
146
	font-size: 1.2em;
147
	line-height: 1.6rem;
148
	white-space: nowrap;
149
	overflow: hidden;
150
	text-overflow: ellipsis;
151
	cursor: text;
152
}
153

  
154
.sidebar .group-vertex-list {
155
	display: inline-block;
156
	box-sizing: border-box;
157
	width: 260px;
158
	min-height: 60px;
159
	padding-left: 0;
160
	list-style: none;
161
	padding: 5px 7px;
162
	border: 1px solid black;
163
	background-color: #cfeafe;
164
}
165

  
166
.sidebar .node--highlighted .group-vertex-list {
167
	padding: 3px 5px;
168
	border: 3px solid red;
169
}
170

  
171
.sidebar .vertex-name {
172
	display: inline-block;
173
	box-sizing: border-box;
174
	width: 260px;
175
	height: 60px;
176
	font-family: 'Consolas';
177
	line-height: 60px;
178
	padding: 0 7px;
179
	border: 1px solid black;
180
	background-color: #cfeafe;
181
	text-overflow: ellipsis;
182
	overflow: hidden;
183
	white-space: nowrap;
184
}
185

  
186
.sidebar .node .outer-floater,
187
.sidebar .node .outer-port {
188
	display: none;
189
}
190

  
191
.sidebar .node--highlighted .vertex-name {
192
	line-height: 56px;
193
	padding: 0 5px;
194
	border: 3px solid red;
195
}
196

  
197
.sidebar .node--highlighted-required .vertex-name,
198
.sidebar .node--highlighted-required .group-name {
199
	background: red;
200
}
201

  
202
.sidebar .node--highlighted-provided .vertex-name,
203
.sidebar .node--highlighted-provided .group-name {
204
	background: #5896FF;
205
}
206

  
207
.sidebar .node--highlighted-required.node--highlighted-provided .vertex-name,
208
.sidebar .node--highlighted-required.node--highlighted-provided .group-name {
209
	background: linear-gradient(to right, red, #5896FF);
210
}
211

  
212
.sidebar .node--highlighted-required .provided-counter .outer-floater,
213
.sidebar .node--highlighted-required-neighbours .required-counter .outer-floater,
214
.sidebar .node--highlighted-provided .required-counter .outer-floater,
215
.sidebar .node--highlighted-provided-neighbours .provided-counter .outer-floater,
216
.sidebar .node--highlighted-required .provided-counter .outer-port,
217
.sidebar .node--highlighted-required-neighbours .required-counter .outer-port,
218
.sidebar .node--highlighted-provided .required-counter .outer-port,
219
.sidebar .node--highlighted-provided-neighbours .provided-counter .outer-port {
220
	display: block;
221
}
222

  
223
.sidebar .node--highlighted-required-neighbours .required-counter .outer-port {
224
	stroke: red;
225
	stroke-width: 2;
226
}
227

  
228
.sidebar .node--highlighted-required-neighbours .provided-counter .outer-port {
229
	stroke: #5896ff;
230
	stroke-width: 2;
231
}
232

  
233
.sidebar .vertex .button-group {
234
	top: 0;
235
}
236

  
237
.sidebar .group .button-group {
238
	top: 2em;
239
}
240

  
241
.unconnected-nodes .node > svg {
242
    display: none;
243
}
244

  
245
.unconnected-nodes .button-group .show-symbol-button {
246
    display: none;
247
}
248

  
249
/* sorting */
250

  
251
.sort-list {
252
	font-size: 0.8em;
253
	list-style: none;
254
	padding: 0;
255
}
256

  
257
.sort-list > li {
258
	display: inline-block;
259
	margin-right: 0.5em;
260
	padding-left: 0.5em;
261
	padding-right: 0.5em;
262
	cursor: pointer;
263
}
264

  
265
.sort-list > li::before {
266
	display: inline;
267
	margin-right: 0.5em;
268
}
269

  
270
.sort-list > li.sort-asc::before {
271
	content: "▲";
272
}
273

  
274
.sort-list > li.sort-desc::before {
275
	content: "▼";
276
}
sources/src/main/webapp/css/components/spinloader.css
1
.spinloader {
2
	position: absolute;
3
	top: 0;
4
	bottom: 0;
5
	left: 0;
6
	right: 0;
7
	background: rgba(0,0,0,0.5);
8
}
sources/src/main/webapp/css/components/status-bar.css
1
.status-bar {
2
	font-size: 11px;
3
	z-index: 1;
4
	color: #cceefc;
5
	background-color: #1e5799;
6
}
7

  
8
.status-bar > span {
9
	display: inline-block;
10
	margin-right: 5px;
11
	padding: 5px;
12
}
13

  
14
.status-bar .link {
15
	text-decoration: underline;
16
	cursor: pointer;
17
}
sources/src/main/webapp/css/components/tooltip.css
1
*[data-tooltip][title] {
2
    position: relative;
3
}
4

  
5
*[data-tooltip][title]::after {
6
    visibility: hidden;
7
    content: attr(title);
8
    position: absolute;
9
    opacity: 0;
10
    font-weight: normal;
11
    color: #fff;
12
    padding: 3px 5px;
13
    border-radius: 3px;
14
    background: #1e5799;
15
    white-space: nowrap;
16
    transition-duration: 0.4s;
17
}
18

  
19
*[data-tooltip][title]:hover::after {
20
	visibility: visible;
21
    opacity: 1;
22
}
23

  
24
*[data-tooltip="top"]::after {
25
	top: -25px;
26
	left: 0;
27
	transition-property: top, opacity;
28
}
29

  
30
*[data-tooltip="top"]:hover::after {
31
	top: -30px;
32
}
33

  
34
*[data-tooltip="top-left"]::after {
35
	top: -25px;
36
    right: 5px;
37
    transition-property: top, opacity;
38
}
39

  
40
*[data-tooltip="top-left"]:hover::after {
41
	top: -30px;
42
}
43

  
44
*[data-tooltip="left"]::after {
45
	top: -5px;
46
	right: 20px;
47
	transition-property: right, opacity;
48
}
49

  
50
*[data-tooltip="left"]:hover::after {
51
	right: 25px;
52
}
sources/src/main/webapp/css/components/viewport.css
1
.viewport {
2
	flex: 1;
3
}
4

  
5
.viewport .edge {
6
	stroke: black;
7
    stroke-width: 1;
8
}
9

  
10
.viewport .edge .arrow {
11
	fill: white;
12
    stroke-width: 2;
13
}
14

  
15
.viewport .edge--dimmed {
16
	opacity: 0.33;
17
}
18

  
19
.viewport .edge--highlighted {
20
	stroke: red;
21
}
22

  
23
.viewport .edge--highlighted-required {
24
	stroke: red;
25
    stroke-width: 2;
26
}
27

  
28
.viewport .edge--highlighted-provided {
29
	stroke: #5896FF;
30
    stroke-width: 2;
31
}
32

  
33
.viewport .edge--highlighted .arrow {
34
	stroke: red;
35
}
36

  
37
.viewport .vertex {
38
    font-family: 'Consolas', sans-serif;
39
    font-size: 15px;
40
	user-select: none;
41
	cursor: default;
42
}
43

  
44
.viewport .vertex > rect {
45
	fill: #cfeafe;
46
	stroke: black;
47
	stroke-width: 1;
48
}
49

  
50
.viewport .node--found > rect {
51
	fill: orange;
52
}
53

  
54
.viewport .node--dimmed {
55
	opacity: 0.5;
56
}
57

  
58
.viewport .node--highlighted > rect {
59
	stroke: red;
60
	stroke-width: 3;
61
}
62

  
63
.viewport .node--highlighted-required > rect {
64
	fill: red;
65
}
66

  
67
.viewport .node--highlighted-provided > rect {
68
	fill: #5896FF;
69
}
70

  
71
.viewport .node--highlighted-archetype > rect {
72
	fill: yellowgreen;
73
}
74

  
75
.viewport .node--highlighted-required.node--highlighted-provided > rect {
76
	fill: url(#node--highlighted-required-provided);
77
}
78

  
79
.viewport .node--dragged > rect {
80
	fill: yellow;
81
}
82

  
83
.viewport .neighbour-node-symbol {
84
    stroke: #000;
85
    stroke-width: 1;
86
}
87

  
88
.viewport .neighbour-node-symbol > text {
89
	stroke-width: 0;
90
}
91

  
92
.viewport .group {
93
	user-select: none;
94
}
95

  
96
.viewport .group .group-viewport {
97
	stroke: #000;
98
	stroke-width: 0;
99
}
100

  
101
.viewport .group .group-symbol {
102
	font-size: 48px;
103
}
104

  
105
.viewport .group .group-name {
106
	display: inline-block;
107
	white-space: nowrap;
108
	width: 100%;
109
	overflow: hidden;
110
	text-overflow: ellipsis;
111
	cursor: text;
112
}
113

  
114
.viewport .group .button > rect {
115
	fill: #fff;
116
	stroke: #000;
117
}
118

  
119
.viewport .group .dissolve-button > line {
120
	stroke: #ca0000;
121
	stroke-width: 2;
122
}
sources/src/main/webapp/css/main.css
1
body {
2
	font-family: 'Arial', sans-serif;
3
    font-size: 0.8em;
4
	margin: 0;
5
    background-color: #e8f4ff;
6
    overflow: hidden;
7
}
8

  
9
ul {
10
	list-style: none;
11
	padding-left: 0;
12
}
13

  
14
td {
15
	padding: 0 0.8em;
16
	line-height: 35px;
17
}
18

  
19
form input[type="text"],
20
form input[type="email"],
21
form input[type="password"] {
22
	width: 150px;
23
}
24

  
25
form input[type="checkbox"] {
26
	margin: 0;
27
}
28

  
29
.hidden {
30
	display: none !important;
31
}
32

  
33
.row {
34
	display: flex;
35
}
36

  
37
.form-field {
38
	margin-bottom: 20px;
39
}
40

  
41
/**
42
 * UPLOAD SCREEN
43
 */
44

  
45
.upload-form {
46
    width: 200px;
47
    margin: 20px auto;
48
    padding: 10px;
49
    background-color: #CFEAFE;
50
    box-shadow: 3px 3px 10px #888;
51
}
52

  
53
.upload-form button[type="submit"] {
54
	display: block;
55
	width: 100%;
56
}
57

  
58
.diagrams-menu {
59
	width: 200px;
60
    margin: 20px auto;
61
	padding: 10px;
62
	background-color: #CFEAFE;
63
	box-shadow: 3px 3px 10px #888;
64
}
65

  
66
.diagrams-menu li {
67
	height: 20px;
68
}
69

  
70
.diagrams-menu li button {
71
	float: right;
72
    width: 20px;
73
    height: 20px;
74
    padding: 0;
75
}
76

  
77
.diagrams-menu li img {
78
	max-width: 100%;
79
}
80

  
81
/**
82
 * HEADER
83
 */
84

  
85
.header {
86
    position: relative;
87
    width: 100%;
88
    background: -webkit-linear-gradient(top, #f0f9ff 0%,#cbebff 47%,#a1dbff 100%);
89
}
90

  
91
.header-logo {
92
    float: left;
93
    margin: 5px 20px;
94
    height: 50px;
95
}
96

  
97
.header-title {
98
    color: #0b548a;
99
    margin: 0;
100
    line-height: 60px;
101
}
102

  
103
/* login and register links */
104

  
105
.header .user-menu {
106
	position: absolute;
107
	right: 0;
108
	top: 0;
109
	padding-left: 25px;
110
	padding-right: 25px;
111
	line-height: 60px;
112
}
113

  
114
.header .user-menu .button {
115
	color: #0B548A;
116
	font-size: 14px;
117
	font-weight: bold;
118
	background: none;
119
	border: none;
120
	cursor: pointer;
121
}
122

  
123
.header .username {
124
	margin-right: 5px;
125
}
126

  
127
/* login popup */
128

  
129
.header .login_popup {
130
	position: absolute;
131
	right: 4px;
132
	top: 45px;
133
	z-index: 999;
134
	padding: 10px 20px;
135
	border: 1px solid #999;
136
	background: #fff;
137
	font-size: 13px;
138
	font-weight: normal;
139
	line-height: 35px;
140
}
141

  
142
/* register popup */
143

  
144
.header .register_popup {
145
	position: absolute;
146
	right: 4px;
147
	top: 45px;
148
	z-index: 999;
149
	padding: 10px 20px;
150
	border: 1px solid #999;
151
	background: #fff;
152
	font-size: 13px;
153
	font-weight: normal;
154
	line-height: 30px;
155
}
156

  
157
/**
158
 * NAVBAR
159
 */
160

  
161
.navbar {
162
    background: -webkit-linear-gradient(top, #1e5799 0%,#7db9e8 100%);
163
    color: #cceefc;
164
}
165

  
166
.navbar label {
167
	display: inline-block;
168
}
169

  
170
.navbar label img {
171
    vertical-align: middle;
172
}
173

  
174
.navbar > ul {
175
	margin: 0;
176
	padding-left: 0;
177
    list-style: none;
178
    white-space: nowrap;
179
    overflow-x: auto;
180
}
181

  
182
.navbar > ul > li {
183
    display: inline-block;
184
    margin-right: 5px;
185
	margin-left: 5px;
186
}
187

  
188
.navbar .btn {
189
    display: inline-block;
190
    border: none;
191
    background: none;
192
    vertical-align: middle;
193
	cursor: pointer;
194
}
195

  
196
.navbar .btn.disabled {
197
    pointer-events: none;
198
    cursor: default;
199
}
200

  
201
.navbar .btn-block {
202
    display: inline-block;
203
    width: 38px;
204
    height: 38px;
205
}
206

  
207
.navbar .btn.back-to-upload {
208
    background: url("./../images/icon_back.png") no-repeat scroll 0px 2px transparent;
209
}
210

  
211
.navbar .btn.view-refresh-diagram {
212
	background: url("./../images/icon_refresh.png") no-repeat scroll 0px 2px transparent;
213
}
214

  
215
.navbar .btn.view-refresh-reset-diagram {
216
	background: url("./../images/icon_refresh_reset.png") no-repeat scroll 0px 2px transparent;
217
}
218

  
219
.navbar-separator {
220
    display: inline-block;
221
    height: 25px;
222
    border: none;
223
    border-left: 1px solid #cceefc;
224
    margin-left: 5px;
225
    margin-right: 5px;
226
    line-height: 40px;
227
    vertical-align: middle;
228
}
229

  
230
/**
231
 * LOADER
232
 */
233

  
234
.spinloader {
235
    position: absolute;
236
    top: 0;
237
    bottom: 0;
238
    left: 0;
239
    right: 0;
240
    background: rgba(0,0,0,0.5);
241
}
242

  
243
/**
244
 * GRAPH
245
 */
246

  
247
.graph-content {
248
	display: flex;
249
	height: calc(100vh - 60px - 43px);
250
    background-color: #fff;
251
}
252

  
253
.viewport {
254
	flex: 1;
255
}
256

  
257
.viewport .edge {
258
	stroke: black;
259
    stroke-width: 1;
260
}
261

  
262
.viewport .edge .arrow {
263
	fill: white;
264
    stroke-width: 2;
265
}
266

  
267
.viewport .edge--dimmed {
268
	opacity: 0.33;
269
}
270

  
271
.viewport .edge--highlighted {
272
	stroke: red;
273
}
274

  
275
.viewport .edge--highlighted-required {
276
	stroke: red;
277
    stroke-width: 2;
278
}
279

  
280
.viewport .edge--highlighted-provided {
281
	stroke: #5896FF;
282
    stroke-width: 2;
283
}
284

  
285
.viewport .edge--highlighted .arrow {
286
	stroke: red;
287
}
288

  
289
.viewport .vertex {
290
    font-family: 'Consolas', sans-serif;
291
    font-size: 15px;
292
	user-select: none;
293
	cursor: default;
294
}
295

  
296
.viewport .vertex > rect {
297
	fill: #cfeafe;
298
	stroke: black;
299
	stroke-width: 1;
300
}
301

  
302
.viewport .node--found > rect {
303
	fill: orange;
304
}
305

  
306
.viewport .node--dimmed {
307
	opacity: 0.5;
308
}
309

  
310
.viewport .node--highlighted > rect {
311
	stroke: red;
312
	stroke-width: 3;
313
}
314

  
315
.viewport .node--highlighted-required > rect {
316
	fill: red;
317
}
318

  
319
.viewport .node--highlighted-provided > rect {
320
	fill: #5896FF;
321
}
322

  
323
.viewport .node--highlighted-archetype > rect {
324
	fill: yellowgreen;
325
}
326

  
327
.viewport .node--highlighted-required.node--highlighted-provided > rect {
328
	fill: url(#node--highlighted-required-provided);
329
}
330

  
331
.viewport .node--dragged > rect {
332
	fill: yellow;
333
}
334

  
335
.archetype-icon {
336
	dominant-baseline: central;
337
	pointer-events: bounding-box;
338
}
339

  
340
/**
341
 * CONTEXT MENU
342
 */
343

  
344
.context-menu {
345
	position: absolute;
346
	z-index: 1;
347
	font-family: 'Arial', sans-serif;
348
	font-size: 1em;
349
	background-color: #f8fafa;
350
	border: 1px solid #c8cbcc;
351
	box-shadow: 0 0 5px #c8cbcc;
352
}
353

  
354
.context-menu ul {
355
	list-style: none;
356
	margin: 0.5em 0;
357
	padding-left: 0;
358
}
359

  
360
.context-menu ul > li {
361
	width: 200px;
362
	padding: 0 0.5em;
363
    white-space: nowrap;
364
    overflow: hidden;
365
	text-overflow: ellipsis;
366
	cursor: default;
367
}
368

  
369
.context-menu ul > li:hover {
370
	background-color: #c8cbcc;
371
}
372

  
373
.context-menu .group-symbol {
374
	display: inline-block;
375
	width: 28px;
376
	font-size: 24px;
377
	text-align: center;
378
	margin-right: 0.5rem;
379
	vertical-align: -3px;
380
}
381

  
382
/**
383
 * POPOVER
384
 */
385

  
386
 .popover {
387
	position: absolute;
388
	z-index: 1;
389
	font-family: 'Arial', sans-serif;
390
	font-size: 1em;
391
	background-color: #f8fafa;
392
	border: 1px solid #c8cbcc;
393
	box-shadow: 0 0 5px #c8cbcc;
394
}
395

  
396
.popover-title {
397
	display: block;
398
	font-weight: bold;
399
	padding: 0.5em;
400
	border-bottom: 1px solid #c8cbcc;
401
}
402

  
403
.popover-body {
404
	max-height: 400px;
405
	overflow: auto;
406
	padding: 0 0.5em 0.5em 0.5em;
407
}
408

  
409
/**
410
 * VIEWPORT
411
 */
412

  
413
 .viewport .neighbour-node-symbol {
414
    stroke: #000;
415
    stroke-width: 1;
416
}
417

  
418
.viewport .neighbour-node-symbol > text {
419
	stroke-width: 0;
420
}
421

  
422
.viewport .group {
423
	user-select: none;
424
}
425

  
426
.viewport .group .group-viewport {
427
	stroke: #000;
428
	stroke-width: 0;
429
}
430

  
431
.viewport .group .group-symbol {
432
	font-size: 48px;
433
}
434

  
435
.viewport .group .group-name {
436
	display: inline-block;
437
	white-space: nowrap;
438
	width: 100%;
439
	overflow: hidden;
440
	text-overflow: ellipsis;
441
	cursor: text;
442
}
443

  
444
.viewport .group .button > rect {
445
	fill: #fff;
446
	stroke: #000;
447
}
448

  
449
.viewport .group .dissolve-button > line {
450
	stroke: #ca0000;
451
	stroke-width: 2;
452
}
453

  
454
/**
455
 * SIDEBAR
456
 */
457

  
458
.sidebar {
459
	display: flex;
460
	flex-basis: 350px;
461
	flex-direction: column;
462
	justify-content: space-between;
463
	background-color: #f0f9ff;
464
}
465

  
466
.sidebar .button {
467
    background-color: #cfeafe;
468
    border: 1px solid gray;
469
    padding: 0.5em;
470
    cursor: pointer;
471
    outline: 0;
472
}
473

  
474
.sidebar .button img {
475
	max-width: 100%;
476
}
477

  
478
.sidebar-navbar {
479
    position: fixed;
480
    width: 350px;
481
    padding-top: 10px;
482
    padding-bottom: 10px;
483
}
484

  
485
.sidebar-navbar .button {
486
	height: 30px;
487
}
488

  
489
.sidebar-navbar .button img {
490
	max-height: 20px;
491
	margin-top: -4px;
492
	margin-right: 5px;
493
	vertical-align: -4px;
494
}
495

  
496
.sidebar-container {
497
	margin-top: 50px;
498
	overflow-y: overlay;
499
}
500

  
501
.sidebar .node-container {
502
	position: relative;
503
}
504

  
505
.sidebar .node-container-title {
506
	font-size: 1.2em;
507
	padding-left: 0.5em;
508
	padding-right: 0.5em;
509
}
510

  
511
.sidebar .button-group {
512
	position: absolute;
513
	top: 0;
514
	right: 1em;
515
}
516

  
517
.sidebar .button-group > * {
518
	float: left;
519
}
520

  
521
.sidebar .button-group .button {
522
	display: block;
523
    width: 20px;
524
    height: 20px;
525
    padding: 0;
526
}
527

  
528
.sidebar .button-group .button:not(:last-child) {
529
	margin-right: 1px;
530
}
531

  
532
.sidebar .node .button-group > * {
533
	float: none;
534
}
535

  
536
.sidebar .node .button-group .button:not(:last-child) {
537
	margin-right: 0;
538
	margin-bottom: 1px;
539
}
540

  
541
.sidebar .node-container:not(.change-nodes) .trigger-change-button {
542
	display: none;
543
}
544

  
545
.sidebar .node-list {
546
	list-style: none;
547
	margin: 0;
548
	padding-left: 0;
549
}
550

  
551
.sidebar .excluded-nodes {
552
    min-height: 20%;
553
    border-top: 1px solid #7db9e8;
554
    overflow-y: auto;
555
}
556

  
557
.sidebar .excluded-nodes .button-group {
558
	top: 1em;
559
}
560

  
561
.sidebar .node {
562
    position: relative;
563
	margin-top: 1em;
564
	margin-bottom: 1em;
565
    padding-left: 40px;
566
	user-select: none;
567
}
568

  
569
.sidebar .node > svg {
570
    position: absolute;
571
    left: -6px;
572
    display: inline-block;
573
}
574

  
575
.sidebar .node .related-archetype > text {
576
	font-size: 0.8em;
577
}
578

  
579
.sidebar .node .related-archetype > line {
580
	stroke: #000;
581
}
582

  
583
.sidebar .group {
584
	padding-top: 2em;
585
}
586

  
587
.sidebar .group-symbol {
588
    position: absolute;
589
    top: 0;
590
	left: 40px;
591
	display: inline-block;
592
    font-size: 1.6em;
593
    width: 25px;
594
    height: 25px;
595
    text-align: center;
596
}
597

  
598
.sidebar .group-name {
599
	position: absolute;
600
	top: 0;
601
	left: 70px;
602
	width: 230px;
603
	font-size: 1.2em;
604
	line-height: 1.6rem;
605
	white-space: nowrap;
606
	overflow: hidden;
607
	text-overflow: ellipsis;
608
	cursor: text;
609
}
610

  
611
.sidebar .group-vertex-list {
612
	display: inline-block;
613
	box-sizing: border-box;
614
	width: 260px;
615
	min-height: 60px;
616
	padding-left: 0;
617
	list-style: none;
618
	padding: 5px 7px;
619
	border: 1px solid black;
620
	background-color: #cfeafe;
621
}
622

  
623
.sidebar .node--highlighted .group-vertex-list {
624
	padding: 3px 5px;
625
	border: 3px solid red;
626
}
627

  
628
.sidebar .vertex-name {
629
	display: inline-block;
630
	box-sizing: border-box;
631
	width: 260px;
632
	height: 60px;
633
	font-family: 'Consolas';
634
	line-height: 60px;
635
	padding: 0 7px;
636
	border: 1px solid black;
637
	background-color: #cfeafe;
638
	text-overflow: ellipsis;
639
	overflow: hidden;
640
	white-space: nowrap;
641
}
642

  
643
.sidebar .node .outer-floater,
644
.sidebar .node .outer-port {
645
	display: none;
646
}
647

  
648
.sidebar .node--highlighted .vertex-name {
649
	line-height: 56px;
650
	padding: 0 5px;
651
	border: 3px solid red;
652
}
653

  
654
.sidebar .node--highlighted-required .vertex-name,
655
.sidebar .node--highlighted-required .group-name {
656
	background: red;
657
}
658

  
659
.sidebar .node--highlighted-provided .vertex-name,
660
.sidebar .node--highlighted-provided .group-name {
... Rozdílový soubor je zkrácen, protože jeho délka přesahuje max. limit.

Také k dispozici: Unified diff