File tree Expand file tree Collapse file tree 5 files changed +83
-189
lines changed Expand file tree Collapse file tree 5 files changed +83
-189
lines changed Original file line number Diff line number Diff line change @@ -352,6 +352,10 @@ ol.ui.list li,
352
352
border-right-color : var (--color-primary );
353
353
}
354
354
355
+ .ui .menu {
356
+ display : flex;
357
+ }
358
+
355
359
.ui .menu ,
356
360
.ui .vertical .menu {
357
361
background : var (--color-menu );
@@ -738,37 +742,6 @@ img.ui.avatar,
738
742
padding-top : 14px ;
739
743
}
740
744
741
- /* overwrite semantic width of containers inside the main page content div (div with class "page-content") */
742
- .page-content .ui .ui .ui .container : not (.fluid ) {
743
- width : 1280px ;
744
- max-width : calc (100% - 64px );
745
- margin-left : auto;
746
- margin-right : auto;
747
- }
748
-
749
- .ui .container .fluid .padded {
750
- padding : 0 32px ;
751
- }
752
-
753
- /* enable fluid page widths for medium size viewports */
754
- @media (min-width : 768px ) and (max-width : 1200px ) {
755
- .page-content .ui .ui .ui .container : not (.fluid ) {
756
- max-width : calc (100% - 32px );
757
- }
758
- .ui .container .fluid .padded {
759
- padding : 0 16px ;
760
- }
761
- }
762
-
763
- @media (max-width : 767.98px ) {
764
- .page-content .ui .ui .ui .container : not (.fluid ) {
765
- max-width : calc (100% - 16px );
766
- }
767
- .ui .container .fluid .padded {
768
- padding : 0 8px ;
769
- }
770
- }
771
-
772
745
.ui .pagination .menu .active .item {
773
746
color : var (--color-text );
774
747
background : var (--color-active );
Original file line number Diff line number Diff line change 14
14
@import "./modules/svg.css" ;
15
15
@import "./modules/flexcontainer.css" ;
16
16
@import "./modules/message.css" ;
17
+ @import "./modules/container.css" ;
17
18
@import "./modules/header.css" ;
18
19
19
20
@import "./shared/flex-list.css" ;
Original file line number Diff line number Diff line change
1
+ /* based on Fomantic UI container module, with just the parts extracted that we use. If you find any
2
+ unused rules here after refactoring, please remove them. */
3
+
4
+ .ui .container {
5
+ display : block;
6
+ max-width : 100% ;
7
+ }
8
+
9
+ @media (max-width : 767.98px ) {
10
+ .ui .ui .ui .container : not (.fluid ) {
11
+ width : auto;
12
+ margin-left : 1em ;
13
+ margin-right : 1em ;
14
+ }
15
+ }
16
+
17
+ @media (min-width : 768px ) and (max-width : 991.98px ) {
18
+ .ui .ui .ui .container : not (.fluid ) {
19
+ width : 723px ;
20
+ margin-left : auto;
21
+ margin-right : auto;
22
+ }
23
+ }
24
+
25
+ @media (min-width : 992px ) and (max-width : 1199.98px ) {
26
+ .ui .ui .ui .container : not (.fluid ) {
27
+ width : 933px ;
28
+ margin-left : auto;
29
+ margin-right : auto;
30
+ }
31
+ }
32
+
33
+ @media (min-width : 1200px ) {
34
+ .ui .ui .ui .container : not (.fluid ) {
35
+ width : 1127px ;
36
+ margin-left : auto;
37
+ margin-right : auto;
38
+ }
39
+ }
40
+
41
+ .ui .fluid .container {
42
+ width : 100% ;
43
+ }
44
+
45
+ .ui [class *= "center aligned" ].container {
46
+ text-align : center;
47
+ }
48
+
49
+ /* overwrite width of containers inside the main page content div (div with class "page-content") */
50
+ .page-content .ui .ui .ui .container : not (.fluid ) {
51
+ width : 1280px ;
52
+ max-width : calc (100% - 64px );
53
+ margin-left : auto;
54
+ margin-right : auto;
55
+ }
56
+
57
+ .ui .container .fluid .padded {
58
+ padding : 0 32px ;
59
+ }
60
+
61
+ /* enable fluid page widths for medium size viewports */
62
+ @media (min-width : 768px ) and (max-width : 1200px ) {
63
+ .page-content .ui .ui .ui .container : not (.fluid ) {
64
+ max-width : calc (100% - 32px );
65
+ }
66
+ .ui .container .fluid .padded {
67
+ padding : 0 16px ;
68
+ }
69
+ }
70
+
71
+ @media (max-width : 767.98px ) {
72
+ .page-content .ui .ui .ui .container : not (.fluid ) {
73
+ max-width : calc (100% - 16px );
74
+ }
75
+ .ui .container .fluid .padded {
76
+ padding : 0 8px ;
77
+ }
78
+ }
Original file line number Diff line number Diff line change 24
24
" api" ,
25
25
" button" ,
26
26
" checkbox" ,
27
- " container" ,
28
27
" dimmer" ,
29
28
" dropdown" ,
30
29
" form" ,
You can’t perform that action at this time.
0 commit comments