Commit | Line | Data |
---|---|---|
b8eab696 | 1 | .containerList > li { |
929f7e47 MW |
2 | padding: 20px; |
3 | position: relative; | |
2c623ed6 | 4 | transition: background-color .2s; |
b8eab696 AE |
5 | |
6 | &:not(:last-child) { | |
e2368a74 MW |
7 | border-bottom: 1px solid $wcfContentBorderInner; |
8 | } | |
9 | ||
10 | &:first-child { | |
11 | border-top: 1px solid $wcfContentBorder; | |
12 | } | |
13 | ||
14 | &:last-child { | |
15 | border-bottom: 1px solid $wcfContentBorder; | |
b8eab696 AE |
16 | } |
17 | ||
929f7e47 MW |
18 | &:hover { |
19 | background-color: $wcfTabularBoxBackgroundActive; | |
20 | } | |
21 | ||
b8eab696 AE |
22 | &.showMore { |
23 | text-align: center; | |
929f7e47 MW |
24 | |
25 | &:hover { | |
26 | background-color: transparent; | |
27 | } | |
b8eab696 AE |
28 | } |
29 | ||
30 | .containerHeadline { | |
31 | position: relative; | |
32 | ||
33 | > .containerContentType { | |
e2368a74 | 34 | color: $wcfContentDimmedText; |
b8eab696 | 35 | position: absolute; |
e2368a74 | 36 | top: 5px; |
b8eab696 AE |
37 | right: 0; |
38 | } | |
39 | } | |
929f7e47 MW |
40 | |
41 | .buttonGroupNavigation { | |
42 | opacity: 0; | |
43 | position: absolute; | |
44 | right: 20px; | |
45 | top: 18px; | |
2c623ed6 | 46 | transition: opacity .2s; |
929f7e47 MW |
47 | |
48 | > ul { | |
49 | background-color: $wcfContentBackground; | |
50 | border: 1px solid rgba(0, 0, 0, .15); | |
51 | border-radius: 6px; | |
52 | ||
53 | > li { | |
54 | margin-right: 0; | |
55 | ||
56 | &:not(:last-child) { | |
57 | border-right: 1px solid rgba(0, 0, 0, .15); | |
58 | } | |
59 | ||
60 | > a { | |
652ff672 | 61 | display: inline-block; |
e370309c | 62 | padding: 3px 5px; |
929f7e47 MW |
63 | |
64 | > .icon { | |
65 | color: rgba(0, 0, 0, .5); | |
66 | } | |
67 | } | |
68 | ||
e370309c | 69 | &.active, |
929f7e47 MW |
70 | &:hover { |
71 | > a { | |
72 | > .icon { | |
73 | color: $wcfContentText; | |
74 | } | |
75 | } | |
76 | } | |
77 | } | |
78 | } | |
79 | } | |
80 | ||
81 | &:hover .buttonGroupNavigation { | |
82 | opacity: 1; | |
83 | } | |
b8eab696 AE |
84 | } |
85 | ||
86 | .containerBoxList { | |
87 | &.doubleColumned, | |
88 | &.tripleColumned { | |
89 | display: flex; | |
90 | flex-wrap: wrap; | |
95961bdf | 91 | margin-bottom: -15px; |
b8eab696 AE |
92 | |
93 | > li { | |
95961bdf MW |
94 | overflow: hidden; |
95 | padding-right: 15px; | |
96 | margin-bottom: 15px; | |
97 | ||
98 | .containerBoxContent { | |
99 | overflow: hidden; | |
100 | ||
101 | h3 { | |
102 | overflow: hidden; | |
103 | text-overflow: ellipsis; | |
104 | white-space: nowrap; | |
105 | } | |
106 | } | |
b8eab696 AE |
107 | } |
108 | } | |
109 | ||
110 | &.doubleColumned > li { | |
111 | flex: 0 0 50%; | |
112 | } | |
113 | ||
114 | &.tripleColumned > li { | |
95961bdf | 115 | flex: 0 0 calc(100% / 3); |
b8eab696 | 116 | /* work-around for IE10 */ |
f2b50825 | 117 | width: calc(unquote("100% / 3")); |
b8eab696 AE |
118 | } |
119 | } |