Updating minified JavaScript files
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / style / layout / containerList.scss
CommitLineData
b8eab696 1.containerList > li {
929f7e47 2 position: relative;
2c623ed6 3 transition: background-color .2s;
b8eab696 4
f216765b
AE
5 @include screen-md-down {
6 padding: 10px 0;
63e2f52f
AE
7 }
8
f216765b
AE
9 @include screen-lg {
10 padding: 20px;
63e2f52f
AE
11 }
12
b8eab696 13 &:not(:last-child) {
e2368a74
MW
14 border-bottom: 1px solid $wcfContentBorderInner;
15 }
16
17 &:first-child {
18 border-top: 1px solid $wcfContentBorder;
19 }
20
21 &:last-child {
22 border-bottom: 1px solid $wcfContentBorder;
b8eab696
AE
23 }
24
929f7e47
MW
25 &:hover {
26 background-color: $wcfTabularBoxBackgroundActive;
27 }
28
b8eab696
AE
29 &.showMore {
30 text-align: center;
929f7e47
MW
31
32 &:hover {
33 background-color: transparent;
34 }
b8eab696
AE
35 }
36
37 .containerHeadline {
38 position: relative;
39
40 > .containerContentType {
e2368a74 41 color: $wcfContentDimmedText;
b8eab696 42 position: absolute;
e2368a74 43 top: 5px;
b8eab696
AE
44 right: 0;
45 }
46 }
929f7e47 47
f5ba6d2c
AE
48 @include screen-md-down {
49 .hasMobileNavigation > .containerHeadline > h3 {
50 padding-right: 30px;
51 }
929f7e47 52
f5ba6d2c
AE
53 .buttonGroupNavigation {
54 position: absolute;
55 right: 0;
56 top: 14px;
929f7e47 57
f5ba6d2c
AE
58 &.open {
59 left: 0;
929f7e47 60
f5ba6d2c
AE
61 > .buttonList {
62 display: block;
63 visibility: visible;
929f7e47 64 }
f5ba6d2c
AE
65 }
66
67 > .dropdownLabel {
68 left: calc(100% - 24px);
69 position: relative;
70 }
71
72 > .buttonList {
9ae45102 73 @include dropdownMenu;
929f7e47 74
f5ba6d2c
AE
75 position: static !important;
76 top: 0;
77
78 > li {
79 .invisible {
80 display: inline;
81 padding-left: 5px;
929f7e47
MW
82 }
83 }
f5ba6d2c
AE
84 }
85 }
86 }
87
88 @include screen-lg {
89 .buttonGroupNavigation {
90 opacity: 0;
91 position: absolute;
92 right: 20px;
93 top: 18px;
94 transition: opacity .12s;
95
96 > ul {
97 background-color: $wcfContentBackground;
98 border: 1px solid rgba(0, 0, 0, .15);
99 border-radius: 6px;
929f7e47 100
f5ba6d2c
AE
101 > li {
102 margin-right: 0;
103
104 &:not(:last-child) {
105 border-right: 1px solid rgba(0, 0, 0, .15);
106 }
107
929f7e47 108 > a {
f5ba6d2c
AE
109 display: inline-block;
110 padding: 3px 5px;
111
929f7e47 112 > .icon {
f5ba6d2c
AE
113 color: rgba(0, 0, 0, .5);
114 }
115 }
116
117 &.active,
118 &:hover {
119 > a {
120 > .icon {
121 color: $wcfContentText;
122 }
929f7e47
MW
123 }
124 }
125 }
126 }
127 }
f5ba6d2c
AE
128
129 &:hover .buttonGroupNavigation {
130 opacity: 1;
131 }
929f7e47 132 }
b8eab696
AE
133}
134
135.containerBoxList {
f216765b
AE
136 @include screen-sm-down {
137 &.doubleColumned,
138 &.tripleColumned {
139 > li + li {
140 margin-top: 10px;
141 }
142 }
143 }
144
145 @include screen-md-up {
63e2f52f
AE
146 &.doubleColumned,
147 &.tripleColumned {
148 display: flex;
149 flex-wrap: wrap;
150 margin-bottom: -15px;
95961bdf 151
63e2f52f 152 > li {
95961bdf 153 overflow: hidden;
63e2f52f
AE
154 padding-right: 15px;
155 margin-bottom: 15px;
95961bdf 156
63e2f52f 157 .containerBoxContent {
95961bdf 158 overflow: hidden;
63e2f52f
AE
159
160 h3 {
161 overflow: hidden;
162 text-overflow: ellipsis;
163 white-space: nowrap;
164 }
95961bdf
MW
165 }
166 }
b8eab696 167 }
63e2f52f
AE
168
169 &.doubleColumned > li {
170 flex: 0 0 50%;
171 }
172
173 &.tripleColumned > li {
174 flex: 0 0 calc(100% / 3);
175 /* work-around for IE10 */
176 width: calc(100% / 3);
177 }
b8eab696 178 }
b8eab696 179}