Projekt

Obecné

Profil

Stáhnout (16.2 KB) Statistiky
| Větev: | Tag: | Revize:
1
/* 
2
	Document   : basic
3
	Created on : 19.2.2012, 11:25:14
4
	Author     : Jindra Pavlíková
5
	Description:
6
		Purpose of the stylesheet follows.
7
*/
8
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, br, blockquote, 
9
pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, 
10
strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
11
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details,
12
figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, 
13
mark, audio, video {
14
	margin:0;
15
	padding:0;
16
	border:0;
17
	outline:0;
18
}
19

    
20
hr {
21
	color: black;
22
	margin: 5px;
23
	border: 0;
24
	border-bottom: 1px solid black;
25
}
26

    
27
body {
28
	background: #e8f4ff;
29
	font-family: sans-serif;
30

    
31
}
32

    
33
h5 {
34
	margin-bottom: 10px;
35
}
36

    
37
.clean {
38
	clear: both;
39
}
40

    
41
.btn {
42
	cursor: pointer;
43
}
44

    
45
.imgDelete {
46
	padding: 2px 5px;
47
	width: 16px;
48
	height: 16px;
49
	float: right;
50
}
51

    
52
.verticalSeparator {
53
	border: none;
54
	border-top: 1px #0B548A dashed;
55
	margin: 15px 0;
56
}
57

    
58
/* required/provided counters */
59

    
60
#lolipA,
61
#lolipB,
62
#lolipC,
63
#lolipD {
64
	text-anchor: middle;
65
	font-size: 8pt;
66
}
67

    
68
#lolipC,
69
#lolipD {
70
	stroke: none;
71
	cursor: default;
72
}
73

    
74
/* qTip */
75

    
76
.qtip_width_setting {
77
	max-width: 1200px !important;
78
	min-width: 0px !important;
79
}
80

    
81
/******************************************************************************
82
 * LOADER
83
 *****************************************************************************/
84

    
85
.loader {
86
	display: none;
87
	position: absolute;
88
	z-index: 2;
89
	width: 100%;
90
	height: 100%;
91
	opacity: 0.8;
92
	background: black;
93
}
94

    
95
.loader-content {
96
	position: relative;
97
	top: 50%;
98
	width: 200px;
99
	height: 200px;
100
	margin: 0 auto;
101
	margin-top: -100px;
102
	background: #5d5d5d;
103
	-webkit-border-radius: 10px;
104
	-moz-border-radius: 10px;
105
	border-radius: 10px;
106
}
107

    
108
.loader-content p {
109
	text-align: center; 
110
	margin-top: 5px;
111
	margin-bottom: 10px;
112
	opacity: 1;
113
}
114

    
115
/******************************************************************************
116
 * HEADER
117
 *****************************************************************************/
118

    
119
.header {
120
	width: 100%;
121
	line-height: 60px;
122
	vertical-align: middle;
123
	background: #f0f9ff; /* Old browsers */
124
	background: -moz-linear-gradient(top,  #f0f9ff 0%, #cbebff 47%, #a1dbff 100%); /* FF3.6+ */
125
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0f9ff), color-stop(47%,#cbebff), color-stop(100%,#a1dbff)); /* Chrome,Safari4+ */
126
	background: -webkit-linear-gradient(top,  #f0f9ff 0%,#cbebff 47%,#a1dbff 100%); /* Chrome10+,Safari5.1+ */
127
	background: -o-linear-gradient(top,  #f0f9ff 0%,#cbebff 47%,#a1dbff 100%); /* Opera 11.10+ */
128
	background: -ms-linear-gradient(top,  #f0f9ff 0%,#cbebff 47%,#a1dbff 100%); /* IE10+ */
129
	background: linear-gradient(top,  #f0f9ff 0%,#cbebff 47%,#a1dbff 100%); /* W3C */
130
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f9ff', endColorstr='#a1dbff',GradientType=0 ); /* IE6-9 */
131
}
132

    
133
.header-logo {
134
	float: left;
135
	margin: 0px 20px;
136
	margin-top: 5px;
137
	width: 100px;
138
	height: 48px;
139
}
140

    
141
.header-title {
142
	margin-left: 60px;
143
}
144

    
145
.header .err_msg,
146
.header .not_msg {
147
	line-height: 16px;
148
}
149

    
150
.header .err_msg {
151
	color: #FF0000;
152
}
153
.header .not_msg {
154
	color: #009900;
155
}
156

    
157
/* login and register links */
158

    
159
.header .login_box {
160
	float: right;
161
	position: absolute;
162
	right: 25px;
163
	top: 0px;
164
	font-weight: bold;	
165
}
166

    
167
.header .login_box a {
168
	color: #0B548A;
169
	font-size: 14px;
170
}
171

    
172
.header .login_box a:hover {
173
	text-decoration: none;
174
}
175

    
176
/* login popup */
177

    
178
.header .login_popup {
179
	display: none;
180
	position: absolute;
181
	right: 4px;
182
	top: 45px;
183
	z-index: 999;
184
	padding: 10px 20px;
185
	border: 1px solid #999;
186
	background: #fff;
187
	font-size: 13px;
188
	font-weight: normal;
189
	line-height: 35px;
190
}
191

    
192
.header .login_popup td {
193
	height: 35px;
194
}
195
.header .login_popup input {
196
	margin-left: 15px;
197
}
198

    
199
.header .login_popup input[type=text],
200
.header .login_popup input[type=password] {
201
	width: 150px;
202
}
203

    
204
/* register popup */
205

    
206
.header .register_popup {
207
	display: none;
208
	position: absolute;
209
	right: 4px;
210
	top: 45px;
211
	z-index: 999;
212
	padding: 10px 20px;
213
	border: 1px solid #999;
214
	background: #fff;
215
	font-size: 13px;
216
	font-weight: normal;
217
	line-height: 30px;
218
}
219

    
220
/******************************************************************************
221
 * NAVIGATION BAR
222
 *****************************************************************************/
223

    
224
.navbar {
225
	background: #1e5799; /* Old browsers */
226
	background: -moz-linear-gradient(top,  #1e5799 0%, #7db9e8 100%); /* FF3.6+ */
227
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
228
	background: -webkit-linear-gradient(top,  #1e5799 0%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
229
	background: -o-linear-gradient(top,  #1e5799 0%,#7db9e8 100%); /* Opera 11.10+ */
230
	background: -ms-linear-gradient(top,  #1e5799 0%,#7db9e8 100%); /* IE10+ */
231
	background: linear-gradient(top,  #1e5799 0%,#7db9e8 100%); /* W3C */
232
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */
233
	font-weight: bold;
234
	font-size: 11pt;
235
	color: #cceefc;
236
}
237

    
238
.navbar > ul {
239
	list-style: none;
240
	white-space: nowrap;
241
	overflow-x: auto;
242
}
243

    
244
.navbar > ul > li {
245
	display: inline-block;
246
	margin-right: 5px;
247
	margin-left: 5px;
248
}
249

    
250
.navbar li a {
251
	color: #cfeafe;
252
	margin-right: 5px;
253
	margin-left: 5px;
254
}
255

    
256
.navbar li a:hover {
257
	color: #977aeb;
258
}
259

    
260
.navbar-separator {
261
	display: inline-block;
262
	height: 25px;
263
	border: none;
264
	border-left: 1px solid #cceefc;
265
	margin-left: 5px;
266
	margin-right: 5px;
267
	line-height: 40px;
268
	vertical-align: middle;
269
}
270

    
271
.navbar-image {
272
	display: inline-block;
273
	margin: 0px 5px;
274
	vertical-align: middle;
275
}
276

    
277
.navbar .btn {
278
	display: inline-block;
279
	border: none;
280
	background: none;
281
	vertical-align: middle;
282
}
283

    
284
.navbar .btn-block {
285
	display: inline-block;
286
	width: 38px;
287
	height: 38px;
288
}
289

    
290
/* zoom */
291

    
292
.navbar .zoom-value {
293
	display: inline-block;
294
	width: 38px;
295
	font-weight: bold;
296
}
297

    
298
/* search */
299

    
300
.navbar .search-text {
301
	display: inline-block;
302
	vertical-align: middle;
303
}
304

    
305
.navbar .search-count {
306
	display: inline-block;
307
	min-width: 30px;
308
	font-weight: bold;
309
}
310

    
311
.navbar .search-count:hover {
312
	color: orange;
313
	cursor: pointer;
314
}
315

    
316
/* back to upload */
317

    
318
.navbar .btn.back-to-upload {
319
	background: url("./../images/icon_back.png") no-repeat scroll 0px 2px transparent;
320
}
321

    
322
.navbar .btn.back-to-upload:hover {
323
	color: #1F5899;
324
}
325

    
326
/* diagram actions */
327

    
328
.navbar .btn.view-save-diagram {
329
	background: url("./../images/icon_save.png") no-repeat scroll 0px 2px transparent;
330
}
331

    
332
.navbar .btn.view-refresh-diagram {
333
	background: url("./../images/icon_refresh.png") no-repeat scroll 0px 2px transparent;
334
}
335

    
336
.navbar .btn.view-refresh-reset-diagram {
337
	background: url("./../images/icon_refresh_reset.png") no-repeat scroll 0px 2px transparent;
338
}
339

    
340
/* EFP selector */
341

    
342
.navbar .EFP-selector .option_default {
343
	font-style: italic;
344
}
345

    
346
/******************************************************************************
347
 * CONTENT
348
 *****************************************************************************/
349

    
350
.content {
351
	position: relative;
352
	display: flex;
353
	text-align: center;
354
}
355

    
356
.content .viewport {
357
	flex-grow: 1;
358
	box-sizing: border-box;
359
	border-right: 1px solid #e8f4ff;
360
	background: white;
361
	direction: rtl;
362
	overflow: scroll;
363
	text-align: left;
364
}
365

    
366
.content .viewport .zoom-help {
367
	display: none;
368
	position: absolute;
369
	left: 30px;
370
	top: 15px;
371
}
372

    
373
.content .viewport > svg {
374
	direction: ltr;
375
}
376

    
377
.content .graph {
378
	stroke: black;
379
}
380

    
381
.node,
382
.vertex {
383
	stroke: black;
384
	anchor: middle;
385
}
386

    
387
.node text,
388
.vertex text {
389
	stroke: none;
390
	fill: black;
391
	font-size: 14px;
392
	font-family: sans-serif;
393
	dominant-baseline: central;
394
	/* unselectable */
395
	-webkit-user-select: none;
396
	-moz-user-select: none;
397
	-ms-user-select: none;
398
	user-select: none;
399
}
400

    
401
.group-label {
402
	stroke: none;
403
	font-weight: bold;
404
	cursor: text;
405
}
406

    
407
.group-symbol {
408
	font-size: 30px !important;
409
	fill: black;
410
}
411

    
412
.group-symbol-big {
413
	font-size: 40px !important;
414
}
415

    
416
.content .viewport .vertex text,
417
.content .viewport .group_vertices text,
418
.content .viewport .group_viewport text {
419
	text-anchor: middle;
420
}
421

    
422
.content .viewport .vertex text {
423
	cursor: default;
424
}
425

    
426
.content .sidebar .group-symbol {
427
	text-anchor: middle;
428
}
429

    
430
.vertex .interface {
431
	fill: white;
432
	stroke: black;
433
	stroke-width: 1px;
434
}
435

    
436
.group_viewport .edge-viewport-out {
437
	display: none;
438
}
439

    
440
.group_vertices a,
441
.group_viewport a {
442
	cursor: pointer;
443
}
444

    
445
.group_viewport .proxy-counter {
446
	cursor: pointer;
447
}
448

    
449
.edge .lollipop {
450
	stroke-width: 2;
451
	fill: white;
452
}
453

    
454
.edge .lollipop-cross {
455
	stroke:rgb(255,0,0);
456
	stroke-width: 2;
457
	transform: scale(0.8,0.8);
458
	-ms-transform: scale(0.8,0.8); /* IE 9 */
459
	-webkit-transform: scale(0.8,0.8); /* Safari and Chrome */
460
	-o-transform: scale(0.8,0.8); /* Opera */
461
	-moz-transform: scale(0.8,0.8); /* Firefox */
462
}
463

    
464
.edge .lollipop-tick {
465
	stroke:rgb(0,255,0);
466
	stroke-width: 2;
467
}
468

    
469
.lollipop-required,
470
.lollipop-provided,
471
.counter-required,
472
.counter-provided {
473
	text-anchor: middle;
474
	stroke: none;
475
	fill: black;
476
	dominant-baseline: central;
477
	font-size: 12px;
478
}
479

    
480
/* context menu */
481

    
482
.content .contextMenu .component_color img {
483
	float: right;
484
	margin-top: 3px;
485
	text-align: right;
486
}
487

    
488
.content .contextMenu .contextMenuDescription {
489
	float: right;
490
}
491

    
492
.content .contextMenu .cont_menu_group {
493
	float: right;
494
	display: block;
495
	margin-left: 10px;
496
	margin-right: 120px;
497
	margin-top: 4px;
498
	width: 20px;
499
	font-size: 12px;	
500
}
501

    
502
/* colors */
503

    
504
.color-blue {
505
	color: #0b548a;
506
}
507

    
508
.whiteColor {
509
	fill: white;
510
}
511

    
512
.colorNormal {
513
	fill: #cfeafe;
514
}
515

    
516
.colorHighlight{
517
	fill: yellow;
518
}
519

    
520
.colorHighlightProvided,
521
.colorHighProvB {
522
	fill: #5896FF;
523
}
524

    
525
.colorHighlightRequired,
526
.colorHighReqR {
527
	fill: red;
528
}
529

    
530
.vertex--unconnected {
531
	opacity: 0.2;
532
}
533

    
534
.vertex--searched {
535
	fill: orange;
536
	background-color: orange;   /* the element is not always SVG */
537
}
538

    
539
.vertex--dimmed,
540
.edge--dimmed,
541
.group_vertices--dimmed {
542
	opacity: 0.5;
543
}
544

    
545
.edge--provided {
546
	stroke: blue;
547
}
548

    
549
.edge--required {
550
	stroke: red;
551
}
552

    
553
/******************************************************************************
554
 * SIDEBAR (SeCo, secondary content)
555
 *****************************************************************************/
556

    
557
.sidebar {
558
	position: relative;
559
	box-sizing: border-box;
560
	text-align: left;
561
	margin-top: 40px;
562
	flex-basis: 350px;
563
	flex-grow: 0;
564
	flex-shrink: 0;
565
	overflow-y: scroll;
566
	background: white;
567
	white-space: nowrap;
568
}
569

    
570
.sidebar img {
571
	width: 12px;
572
	height: 12px;
573
}
574

    
575
.sidebar li {
576
	list-style: none;
577
	font-size: 10pt;
578
}
579

    
580
.sidebar li p {
581
	float:left;
582
	width: 162px;
583
	white-space: nowrap;
584
	overflow: hidden;
585
	text-overflow: ellipsis;
586
}
587

    
588
.sidebar li img {
589
	margin-left: 5px;
590
	width: 12px;
591
	height: 12px;
592
	cursor: pointer;
593
}
594

    
595
.sidebar-navbar {
596
	box-sizing: border-box;
597
	position: fixed;
598
	width: 100%;
599
	margin-top: -40px;
600
	padding: 10px;
601
	background-color: #FFF;
602
}
603

    
604
.sidebar .components-box {
605
	padding: 10px;
606
	border-top: 1px #0B548A dashed;
607
}
608

    
609
/* buttons */
610

    
611
.sidebar .control-buttons {
612
	float: right;
613
	margin-right: 10px;
614
}
615

    
616
.sidebar .button {
617
	width: 24px;
618
	height: 12px;
619
	margin: 2px;
620
	margin-left: 4px;
621
	padding-bottom: 3px;
622
	border: 1px solid gray;
623
	border-radius: 4px;
624
	-moz-border-radius: 4px;  /*Firefox 3.6 and earlier */
625
	font-size: 10pt;
626
	text-align: center;
627
	cursor: pointer;
628
}
629

    
630
.sidebar .button.buttonClassic {
631
	background: rgb(173,206,247); /* Old browsers */
632
	background: -moz-linear-gradient(top, rgba(173,206,247,1) 0%, rgba(225,236,247,1) 50%, rgba(173,206,247,1) 100%); /* FF3.6+ */
633
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(173,206,247,1)), color-stop(50%,rgba(225,236,247,1)), color-stop(100%,rgba(173,206,247,1))); /* Chrome,Safari4+ */
634
	background: -webkit-linear-gradient(top, rgba(173,206,247,1) 0%,rgba(225,236,247,1) 50%,rgba(173,206,247,1) 100%); /* Chrome10+,Safari5.1+ */
635
	background: -o-linear-gradient(top, rgba(173,206,247,1) 0%,rgba(225,236,247,1) 50%,rgba(173,206,247,1) 100%); /* Opera 11.10+ */
636
	background: -ms-linear-gradient(top, rgba(173,206,247,1) 0%,rgba(225,236,247,1) 50%,rgba(173,206,247,1) 100%); /* IE10+ */
637
	background: linear-gradient(top, rgba(173,206,247,1) 0%,rgba(225,236,247,1) 50%,rgba(173,206,247,1) 100%); /* W3C */
638
}
639

    
640
.sidebar .button[disabled] {
641
	cursor: not-allowed;
642
}
643

    
644
.sidebar a.button[disabled] {
645
	pointer-events: none;
646
}
647

    
648
/* components counter */
649

    
650
.sidebar .components-count {
651
	position: fixed;
652
	bottom: 0;
653
	font-size: 10px;
654
	padding: 0 15px;
655
}
656

    
657
/* unconnected components list */
658

    
659
.sidebar .unconnected-components {
660
	display: none;
661
}
662

    
663
/* incompatible components list */
664

    
665
.sidebar .incompatible-components {
666
}
667

    
668
.sidebar .incompatible-components > h5 {
669
	color: red;
670
}
671

    
672
/* excluded components list */
673

    
674
.sidebar .excluded-components .btn-group {
675
	margin-bottom: 10px;
676
}
677

    
678
.sidebar .excluded-components .sort-button {
679
	font-size: 10px;
680
	color: #444;
681
	padding: 3px 6px;
682
	background: none;
683
	border: 0;
684
	outline: 0;
685
}
686

    
687
.sidebar .excluded-components .sort-button:hover {
688
	text-decoration: underline;
689
}
690

    
691
.sidebar .excluded-components .sort-button.active {
692
	text-decoration: underline;
693
	color: #000;
694
}
695

    
696
.sidebar .excluded-components .sort-button .sort-icon {
697
	color: #555;
698
	font-size: 8px;
699
}
700

    
701
.sidebar .excluded-components .sort-button.active .sort-icon {
702
	color: #000;
703
}
704

    
705
.sidebar .excluded-components .include-components-button {
706
	float: right;
707
	display: none;
708
	position: relative;
709
	top: 5px;
710
	background: none;
711
	border: 0;
712
	outline: 0;
713
}
714

    
715
.sidebar .buttonImage {
716
	margin-top: 10%;
717
	flex-shrink: 0;
718
	min-width: 65%;
719
	min-height: 100%    
720
}
721

    
722
/* excluded components */
723

    
724
.sidebar .component::after {
725
	display: block;
726
	content: "";
727
	clear: both;
728
}
729

    
730
.sidebar .component > svg {
731
	min-height: 70px;
732
}
733

    
734
.sidebar .component > .compatibility-list {
735
	cursor: default;
736
	/* unselectable */
737
	-webkit-user-select: none;
738
	-moz-user-select: none;
739
	-ms-user-select: none;
740
	user-select: none;
741
}
742

    
743
.sidebar .group-label {
744
	font-size: 10pt;
745
	font-family: sans-serif;
746
	margin-left: 16px;
747
}
748

    
749
.sidebar .group-label strong {
750
	font-weight: bold;
751
	cursor: default;
752
	/* unselectable */
753
	-webkit-user-select: none;
754
	-moz-user-select: none;
755
	-ms-user-select: none;
756
	user-select: none;
757
}
758

    
759
/* to change components */
760

    
761
#proposeChanges {
762
	margin-bottom: 10px;
763
}
764

    
765
.sidebar .to-change-components .active {
766
	background-color: #faff70;
767
	/* background-color: #83f776; */
768
}
769

    
770
/******************************************************************************
771
 * UPLOAD COMPONENTS PAGE
772
 * TODO refactor
773
 *****************************************************************************/
774

    
775
#uploadComponent {
776
	display: inline-block;
777
	min-height: 150px;
778
	margin: auto;
779
	margin-top: 20px;
780
	background: #CFEAFE;
781
	padding: 10px;
782
	box-shadow: 10px 10px 5px #888888;
783
	text-align: center;
784
}
785

    
786
#uploadComponent ul {
787
	display: inline-block;
788
	text-align: left;
789
}
790

    
791
#uploadComponent form {
792
	text-align: center;
793
}
794

    
795
#uploadedComponent {
796
	margin: 5px 10px 10px 10px;
797
	list-style: none;
798
	list-style-position: inside;
799
}
800

    
801
#uploadedComponent li {
802
	padding: 2px 5px;
803
	min-width: 450px;
804
}
805

    
806
#uploadedComponent li:nth-child(2n-1){
807
	background:#e0dfdf;
808
}
809

    
810
#uploadedComponent li:nth-child(2n){
811
	background:#f5f4f4;
812
}
813

    
814
#deleteAll {
815
	margin-bottom: 20px;
816
}
817

    
818

    
819
#input_diagram_name{
820

    
821
	width: 100px;
822
}
823

    
824
/*#chooseFramework {
825
	width: 300px;
826
	height: 150px;
827
	line-height: 150px;
828
	margin: auto;
829
	margin-top: 100px;
830
	background: #CFEAFE;
831
	box-shadow: 10px 10px 5px #888888;
832
}*/
833
/*
834
#chooseFramework form {
835
	vertical-align: middle;
836
	text-align: center;
837
}*/
838

    
839
#framework {
840
	width: 240px;
841
}
842

    
843
.formButton {
844
	width: 240px;
845
}
846

    
847
.load {
848
	position: relative;
849
	left: 30px;
850
	width: 90px;
851
}
852

    
853
.file_input_textbox {
854
	height: 20px;
855
	width: 150px;
856
	float: left;
857
}
858

    
859
.file_input_div {
860
	position: relative;
861
	float: left;
862
	width: 95px;
863
	height: 26px;
864
	overflow: hidden;
865
}
866

    
867
.file_input_hidden {
868
	position: absolute;
869
	right: 0px;
870
	top: 0px;
871
	cursor: pointer;
872
	opacity: 0;
873
	filter: alpha(opacity=0);
874
	-ms-filter: "alpha(opacity=0)";
875
	-khtml-opacity: 0;
876
	-moz-opacity: 0;
877
}
878

    
879
.errorMessage {
880
	width: 510px;
881
	margin: auto;
882
	margin-top: 50px;
883
	background: #F28E8E;
884
	padding: 5px;
885
	box-shadow: 10px 10px 5px #888888;
886
	text-align: left;
887
}
888

    
889
/* logged-in user menu */
890

    
891
#logged_user_menu {
892
	width: 200px; 
893
	padding: 20px 10px;
894
	float:left; 
895
	background: #CFEAFE;
896
	text-align:left;
897
}
898
#logged_user_menu h3 {
899
	font-weight: bold;
900
	font-size: 15px;
901
}
902
#logged_user_menu ul {
903
	list-style-type: none;
904
	padding-left: 10px;
905
	line-height: 25px;
906
}
907
#logged_user_menu a {
908
	color: #0B548A;
909
}
910
#logged_user_menu a:hover {
911
	text-decoration:none;
912
}
913

    
914
#diagram_id_new a{
915
	padding-left: 18px;
916
	background: url("./../images/icon_new_diagram.png") no-repeat scroll 0px 2px transparent;
917
}
(1-1/4)