Projekt

Obecné

Profil

Stáhnout (15.3 KB) Statistiky
| Větev: | Tag: | Revize:
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
.hidden {
10
	display: none !important;
11
}
12

    
13
.header {
14
    width: 100%;
15
    background: -webkit-linear-gradient(top, #f0f9ff 0%,#cbebff 47%,#a1dbff 100%);
16
}
17

    
18
.row {
19
	display: flex;
20
}
21

    
22
.upload-content {
23
	text-align: center;
24
}
25

    
26
.upload-content ul {
27
	list-style: none;
28
	padding-left: 0;
29
}
30

    
31
#logged_user_menu {
32
    width: 200px;
33
    padding: 20px 10px;
34
    float: left;
35
    text-align: left;
36
    height: 500px;
37
    background: #CFEAFE;
38
    box-shadow: 3px 3px 10px #888;
39
}
40

    
41
.upload-forms {
42
    display: inline-block;
43
    min-height: 150px;
44
    text-align: left;
45
    margin: 20px auto;
46
    padding: 10px;
47
    background-color: #CFEAFE;
48
    box-shadow: 3px 3px 10px #888;
49
}
50

    
51
.upload-forms input[type="submit"] {
52
	display: block;
53
	width: 200px;
54
	margin: 0 auto;
55
}
56

    
57
#uploadedComponent li {
58
    padding: 8px 5px;
59
    min-width: 450px;
60
    background: #f5f4f4;
61
}
62

    
63
#uploadedComponent li:nth-child(odd) {
64
    background: #e0dfdf;
65
}
66

    
67
#uploadedComponent #deleteAll {
68
    margin-bottom: 20px;
69
}
70

    
71
#uploadedComponent .imgDelete {
72
    width: 16px;
73
    height: 16px;
74
    float: right;
75
}
76

    
77
.header-logo {
78
    float: left;
79
    margin: 5px 20px;
80
    width: 100px;
81
}
82

    
83
.header-title {
84
    color: #0b548a;
85
    margin: 0;
86
    line-height: 60px;
87
}
88

    
89
/* login and register links */
90

    
91
.header .login_box {
92
	float: right;
93
	position: absolute;
94
	right: 25px;
95
	top: 0px;
96
	font-weight: bold;	
97
}
98

    
99
.header .login_box a {
100
	color: #0B548A;
101
	font-size: 14px;
102
}
103

    
104
.header .login_box a:hover {
105
	text-decoration: none;
106
}
107

    
108
/* login popup */
109

    
110
.header .login_popup {
111
	display: none;
112
	position: absolute;
113
	right: 4px;
114
	top: 45px;
115
	z-index: 999;
116
	padding: 10px 20px;
117
	border: 1px solid #999;
118
	background: #fff;
119
	font-size: 13px;
120
	font-weight: normal;
121
	line-height: 35px;
122
}
123

    
124
.header .login_popup td {
125
	height: 35px;
126
}
127
.header .login_popup input {
128
	margin-left: 15px;
129
}
130

    
131
.header .login_popup input[type=text],
132
.header .login_popup input[type=password] {
133
	width: 150px;
134
}
135

    
136
/* register popup */
137

    
138
.header .register_popup {
139
	display: none;
140
	position: absolute;
141
	right: 4px;
142
	top: 45px;
143
	z-index: 999;
144
	padding: 10px 20px;
145
	border: 1px solid #999;
146
	background: #fff;
147
	font-size: 13px;
148
	font-weight: normal;
149
	line-height: 30px;
150
}
151

    
152
.navbar {
153
    background: -webkit-linear-gradient(top, #1e5799 0%,#7db9e8 100%);
154
    color: #cceefc;
155
}
156

    
157
.navbar label {
158
	display: inline-block;
159
}
160

    
161
.navbar label img {
162
    vertical-align: middle;
163
}
164

    
165
.navbar > ul {
166
	margin: 0;
167
	padding-left: 0;
168
    list-style: none;
169
    white-space: nowrap;
170
    overflow-x: auto;
171
}
172

    
173
.navbar > ul > li {
174
    display: inline-block;
175
    margin-right: 5px;
176
	margin-left: 5px;
177
}
178

    
179
.navbar .btn {
180
    display: inline-block;
181
    border: none;
182
    background: none;
183
    vertical-align: middle;
184
	cursor: pointer;
185
}
186

    
187
.navbar .btn.disabled {
188
    pointer-events: none;
189
    cursor: default;
190
}
191

    
192
.navbar .btn-block {
193
    display: inline-block;
194
    width: 38px;
195
    height: 38px;
196
}
197

    
198
.navbar .btn.back-to-upload {
199
    background: url("./../images/icon_back.png") no-repeat scroll 0px 2px transparent;
200
}
201

    
202
.navbar .btn.view-refresh-diagram {
203
	background: url("./../images/icon_refresh.png") no-repeat scroll 0px 2px transparent;
204
}
205

    
206
.navbar .btn.view-refresh-reset-diagram {
207
	background: url("./../images/icon_refresh_reset.png") no-repeat scroll 0px 2px transparent;
208
}
209

    
210
.navbar-separator {
211
    display: inline-block;
212
    height: 25px;
213
    border: none;
214
    border-left: 1px solid #cceefc;
215
    margin-left: 5px;
216
    margin-right: 5px;
217
    line-height: 40px;
218
    vertical-align: middle;
219
}
220

    
221
.loader {
222
    position: absolute;
223
    top: 0;
224
    bottom: 0;
225
    left: 0;
226
    right: 0;
227
    background: rgba(0,0,0,0.5);
228
}
229

    
230
.loader-content {
231
    position: absolute;
232
    top: 0;
233
    bottom: 0;
234
    left: 0;
235
    right: 0;
236
    width: 200px;
237
    height: 200px;
238
    margin: auto;
239
}
240

    
241
.loader-content p {
242
	display: none;
243
}
244

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

    
251
.viewport {
252
	flex: 1;
253
}
254

    
255
.lollipop--cross > line {
256
	stroke: red;
257
}
258

    
259
.lollipop--tick > line {
260
	stroke: green;
261
}
262

    
263
.viewport .edge {
264
	stroke: black;
265
    stroke-width: 1;
266
}
267

    
268
.viewport .edge .lollipop {
269
	fill: white;
270
    stroke-width: 2;
271
}
272

    
273
.viewport .edge--dimmed {
274
	opacity: 0.33;
275
}
276

    
277
.viewport .edge--highlighted {
278
	stroke: red;
279
}
280

    
281
.viewport .edge--highlighted-required {
282
	stroke: red;
283
    stroke-width: 2;
284
}
285

    
286
.viewport .edge--highlighted-provided {
287
	stroke: #5896FF;
288
    stroke-width: 2;
289
}
290

    
291
.viewport .edge--highlighted .lollipop {
292
	stroke: red;
293
}
294

    
295
.viewport .vertex {
296
    font-family: 'Consolas', sans-serif;
297
    font-size: 15px;
298
	user-select: none;
299
	cursor: default;
300
}
301

    
302
.viewport .vertex > rect {
303
	fill: #cfeafe;
304
	stroke: black;
305
	stroke-width: 1;
306
}
307

    
308
.viewport .vertex--found > rect {
309
	fill: orange;
310
}
311

    
312
.viewport .node--dimmed {
313
	opacity: 0.5;
314
}
315

    
316
.viewport .node--highlighted > rect {
317
	stroke: red;
318
	stroke-width: 3;
319
}
320

    
321
.viewport .node--highlighted-required > rect {
322
	fill: red;
323
}
324

    
325
.viewport .node--highlighted-provided > rect {
326
	fill: #5896FF;
327
}
328

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

    
333
.viewport .node--dragged > rect {
334
	fill: yellow;
335
}
336

    
337
.viewport .vertex .interface {
338
    fill: white;
339
    stroke: black;
340
    stroke-width: 1px;
341
}
342

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

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

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

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

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

    
380
.popover {
381
	position: absolute;
382
	z-index: 1;
383
	font-family: 'Arial', sans-serif;
384
	font-size: 1em;
385
	background-color: #f8fafa;
386
	border: 1px solid #c8cbcc;
387
	box-shadow: 0 0 5px #c8cbcc;
388
}
389

    
390
.popover-title {
391
	display: block;
392
	font-weight: bold;
393
	padding: 0.5em;
394
	border-bottom: 1px solid #c8cbcc;
395
}
396

    
397
.popover-content {
398
	max-height: 400px;
399
	overflow: auto;
400
	padding: 0 0.5em 0.5em 0.5em;
401
}
402

    
403
.viewport .neighbour-node-symbol {
404
    stroke: #000;
405
    stroke-width: 1;
406
}
407

    
408
.viewport .neighbour-node-symbol > text {
409
	stroke-width: 0;
410
}
411

    
412
.viewport .group {
413
	user-select: none;
414
}
415

    
416
.viewport .group .group-symbol {
417
	font-size: 48px;
418
}
419

    
420
.viewport .group .group-name {
421
	cursor: text;
422
}
423

    
424
.viewport .group .button > rect {
425
	fill: #fff;
426
	stroke: #000;
427
}
428

    
429
.viewport .group .expand-button > line {
430
	stroke: #000;
431
	stroke-width: 2;
432
}
433

    
434
.viewport .group .compress-button > line {
435
	stroke: #000;
436
	stroke-width: 2;
437
}
438

    
439
.viewport .group .dissolve-button > line {
440
	stroke: #ca0000;
441
	stroke-width: 2;
442
}
443

    
444
.viewport .group:not(.group--expanded) .compress-button {
445
	display: none;
446
}
447

    
448
.viewport .group:not(.group--expanded) .group-vertex-list {
449
	display: none;
450
}
451

    
452
.viewport .group--expanded .expand-button {
453
	display: none;
454
}
455

    
456
.viewport .group--expanded .compress-button {
457
	display: block;
458
}
459

    
460
.viewport .group--expanded > rect {
461
	width: 220px;
462
}
463

    
464
.sidebar {
465
	display: flex;
466
	flex-basis: 350px;
467
	flex-direction: column;
468
	justify-content: space-between;
469
	width: 350px;
470
	background-color: #f0f9ff;
471
}
472

    
473
.sidebar .button {
474
    background-color: #cfeafe;
475
    border: 1px solid gray;
476
    padding: 0.5em;
477
    cursor: pointer;
478
    outline: 0;
479
}
480

    
481
.sidebar .button img {
482
	max-width: 100%;
483
}
484

    
485
.sidebar-navbar {
486
    position: fixed;
487
    width: 350px;
488
    padding-top: 10px;
489
    padding-bottom: 10px;
490
}
491

    
492
.sidebar-navbar .button {
493
	width: 25%;
494
	height: 30px;
495
}
496

    
497
.sidebar-navbar .button img {
498
	max-height: 20px;
499
	margin-top: -4px;
500
	margin-right: 5px;
501
	vertical-align: -4px;
502
}
503

    
504
.sidebar-container {
505
	margin-top: 50px;
506
	overflow-y: overlay;
507
}
508

    
509
.sidebar .node-container {
510
	position: relative;
511
}
512

    
513
.sidebar .node-container-title {
514
	font-size: 1.2em;
515
	padding-left: 0.5em;
516
	padding-right: 0.5em;
517
}
518

    
519
.sidebar .button-group {
520
	position: absolute;
521
	top: 0;
522
	right: 1em;
523
}
524

    
525
.sidebar .button-group > * {
526
	float: left;
527
}
528

    
529
.sidebar .button-group .button {
530
	display: block;
531
    width: 20px;
532
    height: 20px;
533
    padding: 0;
534
}
535

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

    
540
.sidebar .node .button-group > * {
541
	float: none;
542
}
543

    
544
.sidebar .node .button-group .button:not(:last-child) {
545
	margin-right: 0;
546
	margin-bottom: 1px;
547
}
548

    
549
.sidebar .node-container:not(.change-nodes) .trigger-change-button {
550
	display: none;
551
}
552

    
553
.sidebar .node-list {
554
	list-style: none;
555
	margin: 0;
556
	padding-left: 0;
557
}
558

    
559
.sidebar .excluded-nodes {
560
    min-height: 20%;
561
    border-top: 1px solid #7db9e8;
562
    overflow-y: auto;
563
}
564

    
565
.sidebar .excluded-nodes .button-group {
566
	top: 1em;
567
}
568

    
569
.sidebar .node {
570
    position: relative;
571
	margin-top: 1em;
572
	margin-bottom: 1em;
573
    padding-left: 40px;
574
	user-select: none;
575
}
576

    
577
.sidebar .node > svg {
578
    position: absolute;
579
    left: -6px;
580
    display: inline-block;
581
}
582

    
583
.sidebar .node .required-counter,
584
.sidebar .node .provided-counter {
585
	fill: white;
586
	stroke: #000;
587
	stroke-width: 1;
588
}
589

    
590
.sidebar .node .required-counter > text,
591
.sidebar .node .provided-counter > text {
592
	fill: #000;
593
	stroke-width: 0;
594
}
595

    
596
.sidebar .node--highlighted-required-neighbours .required-counter .lollipop {
597
	fill: red;
598
}
599

    
600
.sidebar .node--highlighted-provided-neighbours .provided-counter .lollipop {
601
    fill: #5896ff;
602
}
603

    
604
.sidebar .group {
605
	padding-top: 2em;
606
}
607

    
608
.sidebar .group-symbol {
609
    position: absolute;
610
    top: 0;
611
	left: 40px;
612
	display: inline-block;
613
    font-size: 1.6em;
614
    width: 25px;
615
    height: 25px;
616
    text-align: center;
617
}
618

    
619
.sidebar .group-name {
620
    position: absolute;
621
    top: 0;
622
    left: 70px;
623
    font-size: 1.2em;
624
	line-height: 1.6rem;
625
	cursor: text;
626
}
627

    
628
.sidebar .group-vertex-list {
629
	display: inline-block;
630
	box-sizing: border-box;
631
	width: 260px;
632
	min-height: 60px;
633
	padding-left: 0;
634
	list-style: none;
635
	padding: 5px 7px;
636
	border: 1px solid black;
637
	background-color: #cfeafe;
638
}
639

    
640
.sidebar .node--highlighted .group-vertex-list {
641
	padding: 3px 5px;
642
	border: 3px solid red;
643
}
644

    
645
.sidebar .vertex-name {
646
	display: inline-block;
647
	box-sizing: border-box;
648
	width: 260px;
649
	height: 60px;
650
	font-family: 'Consolas';
651
	line-height: 60px;
652
	padding: 0 7px;
653
	border: 1px solid black;
654
	background-color: #cfeafe;
655
	text-overflow: ellipsis;
656
	overflow: hidden;
657
	white-space: nowrap;
658
}
659

    
660
.sidebar .node .outer-floater,
661
.sidebar .node .outer-port {
662
	display: none;
663
}
664

    
665
.sidebar .node--highlighted .vertex-name {
666
	line-height: 56px;
667
	padding: 0 5px;
668
	border: 3px solid red;
669
}
670

    
671
.sidebar .node--highlighted-required .vertex-name,
672
.sidebar .node--highlighted-required .group-name {
673
	background: red;
674
}
675

    
676
.sidebar .node--highlighted-provided .vertex-name,
677
.sidebar .node--highlighted-provided .group-name {
678
	background: #5896FF;
679
}
680

    
681
.sidebar .node--highlighted-required.node--highlighted-provided .vertex-name,
682
.sidebar .node--highlighted-required.node--highlighted-provided .group-name {
683
	background: linear-gradient(to right, red, #5896FF);
684
}
685

    
686
.sidebar .node--highlighted-required .provided-counter .outer-floater,
687
.sidebar .node--highlighted-required-neighbours .required-counter .outer-floater,
688
.sidebar .node--highlighted-provided .required-counter .outer-floater,
689
.sidebar .node--highlighted-provided-neighbours .provided-counter .outer-floater,
690
.sidebar .node--highlighted-required .provided-counter .outer-port,
691
.sidebar .node--highlighted-required-neighbours .required-counter .outer-port,
692
.sidebar .node--highlighted-provided .required-counter .outer-port,
693
.sidebar .node--highlighted-provided-neighbours .provided-counter .outer-port {
694
	display: block;
695
}
696

    
697
.sidebar .node--highlighted-required-neighbours .required-counter .outer-port {
698
	stroke: red;
699
	stroke-width: 2;
700
}
701

    
702
.sidebar .node--highlighted-required-neighbours .provided-counter .outer-port {
703
	stroke: #5896ff;
704
	stroke-width: 2;
705
}
706

    
707
.sidebar .vertex .button-group {
708
	top: 0;
709
}
710

    
711
.sidebar .group .button-group {
712
	top: 2em;
713
}
714

    
715
.node-container:not(.excluded-nodes) .change-button {
716
    display: none;
717
}
718

    
719
.change-nodes .button-group .change-button,
720
.change-nodes .button-group .change-button {
721
    display: none;
722
}
723

    
724
.sidebar .change-list {
725
	list-style: none;
726
	margin: 0;
727
	padding-left: 0;
728
}
729

    
730
.sidebar .change:not(.change--triggered) .change-controls {
731
	display: none;
732
}
733

    
734
.sidebar .change:not(.change--triggered) .change-controls + .node-list {
735
	display: none;
736
}
737

    
738
.sidebar .change--triggered .include-not-found-checkbox,
739
.sidebar .change--triggered .trigger-change-button {
740
	display: none;
741
}
742

    
743
.sidebar .change--triggered .change-controls + .node-list .include-button {
744
	display: none;
745
}
746

    
747
.sidebar .change-controls {
748
    position: relative;
749
    text-align: center;
750
}
751

    
752
.sidebar .change-controls .transition-arrow {
753
	font-size: 3em;
754
}
755

    
756
.sidebar .change-controls .load-details-button {
757
	font-weight: bold;
758
}
759

    
760
.sidebar .change--details-loaded .change-controls .load-details-button {
761
	display: none;
762
}
763

    
764
.unconnected-nodes .node > svg {
765
    display: none;
766
}
767

    
768
.unconnected-nodes .button-group .show-symbol-button {
769
    display: none;
770
}
771

    
772
.missing-components .node-list > li {
773
	white-space: nowrap;
774
	overflow: hidden;
775
	text-overflow: ellipsis;
776
}
777

    
778
.sort-list {
779
	font-size: 0.8em;
780
	list-style: none;
781
	padding: 0;
782
}
783

    
784
.sort-list > li {
785
	display: inline-block;
786
	margin-right: 0.5em;
787
	padding-left: 0.5em;
788
	padding-right: 0.5em;
789
	cursor: pointer;
790
}
791

    
792
.sort-list > li::before {
793
	display: inline;
794
	margin-right: 0.5em;
795
}
796

    
797
.sort-list > li.sort-asc::before {
798
	content: "▲";
799
}
800

    
801
.sort-list > li.sort-desc::before {
802
	content: "▼";
803
}
804

    
805
.status-bar {
806
    /* position: fixed; */
807
    bottom: 0;
808
    flex-basis: 22px;
809
    font-size: 11px;
810
    z-index: 1;
811
    color: #cceefc;
812
    background-color: #1e5799;
813
}
814

    
815
.status-bar > span {
816
	display: inline-block;
817
	margin-right: 5px;
818
	padding: 5px;
819
}
820

    
821
/**
822
 * MODAL WINDOW
823
 **/
824

    
825
.modal {
826
    position: absolute;
827
    top: 0;
828
    bottom: 0;
829
    left: 0;
830
	right: 0;
831
	padding: 20px 40px;
832
    background: rgba(255, 255, 255, 0.7);
833
}
834

    
835
.modal-content {
836
	position: relative;
837
    height: 100%;
838
    background-color: #fff;
839
    border: 1px solid #7db9e8;
840
}
841

    
842
.modal-content .close-button {
843
	position: absolute;
844
	top: 10px;
845
	right: 10px;
846
	display: block;
847
    width: 20px;
848
    height: 20px;
849
    padding: 0;
850
}
851

    
852
/**
853
 * TOOLTIP
854
 **/
855

    
856
 *[data-tooltip][title] {
857
    position: relative;
858
}
859

    
860
*[data-tooltip][title]::after {
861
    visibility: hidden;
862
    content: attr(title);
863
    position: absolute;
864
    opacity: 0;
865
    font-weight: normal;
866
    color: #fff;
867
    padding: 3px 5px;
868
    border-radius: 3px;
869
    background: #1e5799;
870
    white-space: nowrap;
871
    transition-duration: 0.4s;
872
}
873

    
874
*[data-tooltip][title]:hover::after {
875
	visibility: visible;
876
    opacity: 1;
877
}
878

    
879
*[data-tooltip="top"]::after {
880
	top: -25px;
881
	left: 0;
882
	transition-property: top, opacity;
883
}
884

    
885
*[data-tooltip="top"]:hover::after {
886
	top: -30px;
887
}
888

    
889
*[data-tooltip="top-left"]::after {
890
	top: -25px;
891
    right: 5px;
892
    transition-property: top, opacity;
893
}
894

    
895
*[data-tooltip="top-left"]:hover::after {
896
	top: -30px;
897
}
898

    
899
*[data-tooltip="left"]::after {
900
	top: -5px;
901
	right: 20px;
902
	transition-property: right, opacity;
903
}
904

    
905
*[data-tooltip="left"]:hover::after {
906
	right: 25px;
907
}
908

    
909
/**
910
 * TREE LIST
911
 **/
912

    
913
.jstree-anchor {
914
	cursor: default;
915
	pointer-events: none;
916
}
917

    
918
.jstree-anchor .jstree-icon {
919
	display: none !important;
920
}
921

    
922
.jstree-anchor .entity {
923
	padding: 3px 5px;
924
	border: 1px solid;
925
}
926

    
927
.jstree-default .jstree-hovered,
928
.jstree-default .jstree-clicked {
929
	background: none !important;
930
	box-shadow: none !important;
931
}
    (1-1/1)