|
@@ -46,6 +46,10 @@ body {
|
46
|
46
|
color: #DDD;
|
47
|
47
|
}
|
48
|
48
|
|
|
49
|
+.navbar-brand {
|
|
50
|
+ padding: 0 0 0 5px;
|
|
51
|
+}
|
|
52
|
+
|
49
|
53
|
/*
|
50
|
54
|
* Sidebar
|
51
|
55
|
*/
|
|
@@ -54,36 +58,18 @@ body {
|
54
|
58
|
.sidebar {
|
55
|
59
|
display: none;
|
56
|
60
|
}
|
57
|
|
-@media (min-width: 768px) {
|
58
|
|
- .sidebar {
|
59
|
|
- position: fixed;
|
60
|
|
- top: 51px;
|
61
|
|
- bottom: 0;
|
62
|
|
- left: 0;
|
63
|
|
- width: 260px;
|
64
|
|
- z-index: 1000;
|
65
|
|
- display: block;
|
66
|
|
- padding: 20px;
|
67
|
|
- overflow-x: hidden;
|
68
|
|
- overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
69
|
|
-/* background-color: #333;
|
70
|
|
- color: #FFF;*/
|
71
|
|
- background-color: #555;
|
72
|
|
- color: #DDD;
|
73
|
|
- border-right: 1px solid #CCC;
|
74
|
61
|
|
75
|
|
- }
|
|
62
|
+.content__wrapper {
|
|
63
|
+ width: auto;
|
|
64
|
+ margin: 0;
|
76
|
65
|
}
|
|
66
|
+
|
77
|
67
|
.fixed-width-sidebar {
|
78
|
|
- width: auto;
|
|
68
|
+ width: auto !important;
|
79
|
69
|
min-width: 260px;
|
80
|
70
|
max-width: 50%;
|
81
|
71
|
}
|
82
|
72
|
|
83
|
|
-.content__wrapper {
|
84
|
|
- width: auto;
|
85
|
|
- margin: 0 260px; /* When changing this value, also change the corresponding in main.js */
|
86
|
|
-}
|
87
|
73
|
.content__data {
|
88
|
74
|
padding: 0 15px;
|
89
|
75
|
}
|
|
@@ -93,8 +79,8 @@ body {
|
93
|
79
|
right: 0;
|
94
|
80
|
overflow-x: visible;
|
95
|
81
|
overflow-y: auto;
|
96
|
|
- background-color: #F5F5F5;
|
97
|
|
- border-left: 1px solid #CCC;
|
|
82
|
+ background-color: #F5F5F5;
|
|
83
|
+ border-left: 1px solid #CCC;
|
98
|
84
|
}
|
99
|
85
|
.navbar-right {
|
100
|
86
|
margin-right: 0px;
|
|
@@ -120,7 +106,6 @@ body {
|
120
|
106
|
.header__navbar__switch-mode {
|
121
|
107
|
float: right;
|
122
|
108
|
display: inline-block;
|
123
|
|
- padding: 15px;
|
124
|
109
|
cursor: pointer;
|
125
|
110
|
}
|
126
|
111
|
.header__navbar__switch-mode > i {
|
|
@@ -468,10 +453,6 @@ span.info.readonly {
|
468
|
453
|
font-size: 14px;
|
469
|
454
|
}
|
470
|
455
|
|
471
|
|
-.content__home {
|
472
|
|
- padding: 0 15px;
|
473
|
|
-}
|
474
|
|
-
|
475
|
456
|
.workspace__wrapper {
|
476
|
457
|
padding: 0 15px;
|
477
|
458
|
}
|
|
@@ -538,6 +519,7 @@ div.mce-fullscreen {
|
538
|
519
|
border-bottom-width: 0px;
|
539
|
520
|
border-top-left-radius: 5px;
|
540
|
521
|
border-top-right-radius: 5px;
|
|
522
|
+ max-width: 36%;
|
541
|
523
|
text-align: center;
|
542
|
524
|
font-weight: bold;
|
543
|
525
|
vertical-align: bottom;
|
|
@@ -607,3 +589,143 @@ div.mce-fullscreen {
|
607
|
589
|
background-color: #bce8f1;
|
608
|
590
|
color: #31708f;
|
609
|
591
|
}
|
|
592
|
+
|
|
593
|
+@media (max-width: 999px) {
|
|
594
|
+ body {
|
|
595
|
+ padding-top: 40px;
|
|
596
|
+ }
|
|
597
|
+ .navbar {
|
|
598
|
+ min-height: 40px;
|
|
599
|
+ }
|
|
600
|
+ .navbar, .navbar-brand > img {
|
|
601
|
+ height: 40px;
|
|
602
|
+ }
|
|
603
|
+ #search-form {
|
|
604
|
+ margin: 0;
|
|
605
|
+ padding: 8px 5px;
|
|
606
|
+ }
|
|
607
|
+ #search-form input {
|
|
608
|
+ padding: 3px 10px;
|
|
609
|
+ line-height: 15px;
|
|
610
|
+ font-size: 13px;
|
|
611
|
+ height: auto;
|
|
612
|
+ }
|
|
613
|
+ .navbar-nav > li > a, .header__navbar__switch-mode {
|
|
614
|
+ padding: 10px 5px;
|
|
615
|
+ font-size: 13px;
|
|
616
|
+ line-height: 20px;
|
|
617
|
+ }
|
|
618
|
+ #sidebar-right .btn {
|
|
619
|
+ font-size: 13px;
|
|
620
|
+ padding: 5px;
|
|
621
|
+ }
|
|
622
|
+ .content__home__tab__item, .content__home__tab__item.active {
|
|
623
|
+ padding-left: 15px;
|
|
624
|
+ padding-right: 15px;
|
|
625
|
+ max-width: 165px;
|
|
626
|
+ }
|
|
627
|
+ .content__home__tab__item-news {
|
|
628
|
+ right: -20px;
|
|
629
|
+ }
|
|
630
|
+}
|
|
631
|
+
|
|
632
|
+@media (max-width: 767px) {
|
|
633
|
+ .navbar-brand {
|
|
634
|
+ height: auto;
|
|
635
|
+ }
|
|
636
|
+ .navbar-toggle {
|
|
637
|
+ margin: 0;
|
|
638
|
+ }
|
|
639
|
+ .navbar-collapse {
|
|
640
|
+ background-color: #555;
|
|
641
|
+ }
|
|
642
|
+ .navbar-nav > li > a {
|
|
643
|
+ padding: 3px 10px;
|
|
644
|
+ }
|
|
645
|
+ #search-form {
|
|
646
|
+ padding: 8px 10px 0px 10px;
|
|
647
|
+ }
|
|
648
|
+ .navbar-nav .open .dropdown-menu > li > a {
|
|
649
|
+ color: #ddd;
|
|
650
|
+ }
|
|
651
|
+ .navbar-right {
|
|
652
|
+ margin-right: -15px;
|
|
653
|
+ }
|
|
654
|
+ .content__wrapper {
|
|
655
|
+ margin: 0;
|
|
656
|
+ }
|
|
657
|
+ .content__wrapper {
|
|
658
|
+ margin: 0;
|
|
659
|
+ }
|
|
660
|
+ .content__home__tab__item {
|
|
661
|
+ width: 32%;
|
|
662
|
+ }
|
|
663
|
+}
|
|
664
|
+
|
|
665
|
+@media (min-width: 768px) {
|
|
666
|
+ .sidebar {
|
|
667
|
+ display: block;
|
|
668
|
+ position: fixed;
|
|
669
|
+ top: 41px;
|
|
670
|
+ bottom: 0;
|
|
671
|
+ left: 0;
|
|
672
|
+ width: 130px;
|
|
673
|
+ padding: 10px;
|
|
674
|
+ z-index: 1000;
|
|
675
|
+ overflow-x: hidden;
|
|
676
|
+ overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
|
677
|
+ background-color: #555;
|
|
678
|
+ color: #DDD;
|
|
679
|
+ border-right: 1px solid #CCC;
|
|
680
|
+ }
|
|
681
|
+ .content__wrapper.edit-mode-margin {
|
|
682
|
+ margin: 0 130px;
|
|
683
|
+ }
|
|
684
|
+ .fixed-width-sidebar {
|
|
685
|
+ min-width: 130px;
|
|
686
|
+ }
|
|
687
|
+ .content__home {
|
|
688
|
+ padding: 0 5px;
|
|
689
|
+ }
|
|
690
|
+}
|
|
691
|
+@media (min-width: 1000px) {
|
|
692
|
+ .sidebar {
|
|
693
|
+ width: 170px;
|
|
694
|
+ top: 51px;
|
|
695
|
+ }
|
|
696
|
+ .content__wrapper.edit-mode-margin {
|
|
697
|
+ margin: 0 170px;
|
|
698
|
+ }
|
|
699
|
+ .fixed-width-sidebar {
|
|
700
|
+ min-width: 170px;
|
|
701
|
+ }
|
|
702
|
+ #sidebar-right .btn {
|
|
703
|
+ font-size: 16px;
|
|
704
|
+ padding: 10px;
|
|
705
|
+ }
|
|
706
|
+ .content__home {
|
|
707
|
+ padding: 0 5px;
|
|
708
|
+ }
|
|
709
|
+ .header__navbar__switch-mode {
|
|
710
|
+ padding: 15px;
|
|
711
|
+ }
|
|
712
|
+}
|
|
713
|
+@media (min-width: 1200px) {
|
|
714
|
+ .sidebar {
|
|
715
|
+ width: 260px;
|
|
716
|
+ padding: 20px;
|
|
717
|
+ }
|
|
718
|
+ #sidebar-right .btn {
|
|
719
|
+ font-size: 1.2em;
|
|
720
|
+ padding: 10px;
|
|
721
|
+ }
|
|
722
|
+ .content__wrapper.edit-mode-margin {
|
|
723
|
+ margin: 0 260px;
|
|
724
|
+ }
|
|
725
|
+ .fixed-width-sidebar {
|
|
726
|
+ min-width: 260px;
|
|
727
|
+ }
|
|
728
|
+ .content__home {
|
|
729
|
+ padding: 0 15px;
|
|
730
|
+ }
|
|
731
|
+}
|