1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,93 @@ |
1 |
+.mod_eventlist { |
|
2 |
+ .event { |
|
3 |
+ &.layout_teaser { |
|
4 |
+ margin-top: 2rem; |
|
5 |
+ font-weight: $font-weight-light; |
|
6 |
+ |
|
7 |
+ h3 { |
|
8 |
+ font-size: 1rem; |
|
9 |
+ color: var(--bs-body-color); |
|
10 |
+ font-weight: $font-weight-bold; |
|
11 |
+ line-height: 1.35; |
|
12 |
+ margin-bottom: 0.3rem; |
|
13 |
+ |
|
14 |
+ &[data-bs-toggle]:hover { |
|
15 |
+ text-decoration: underline; |
|
16 |
+ } |
|
17 |
+ } |
|
18 |
+ |
|
19 |
+ a { |
|
20 |
+ color: var(--bs-body-color); |
|
21 |
+ } |
|
22 |
+ } |
|
23 |
+ |
|
24 |
+ &.layout_list { |
|
25 |
+ padding: 1.5rem; |
|
26 |
+ position: relative; |
|
27 |
+ |
|
28 |
+ &:not(:last-child) { |
|
29 |
+ margin-bottom: 2rem; |
|
30 |
+ } |
|
31 |
+ |
|
32 |
+ &:nth-child(even) { |
|
33 |
+ background-color: $gray-100; |
|
34 |
+ } |
|
35 |
+ |
|
36 |
+ &:nth-child(odd) { |
|
37 |
+ background-color: var(--bs-gray-200); |
|
38 |
+ } |
|
39 |
+ |
|
40 |
+ .event--image-wrapper { |
|
41 |
+ min-height: rfs-value(40px); |
|
42 |
+ |
|
43 |
+ a, |
|
44 |
+ img { |
|
45 |
+ & + span.date { |
|
46 |
+ top: 3rem; |
|
47 |
+ } |
|
48 |
+ } |
|
49 |
+ |
|
50 |
+ span.date { |
|
51 |
+ position: absolute; |
|
52 |
+ background-color: var(--bs-primary); |
|
53 |
+ padding: 0.5rem 1rem 0.5rem 1.5rem; |
|
54 |
+ color: var(--bs-body-color-inverse); |
|
55 |
+ font-weight: $font-weight-light; |
|
56 |
+ top: 1.5rem; |
|
57 |
+ left: 0; |
|
58 |
+ } |
|
59 |
+ } |
|
60 |
+ |
|
61 |
+ .event--content-wrapper { |
|
62 |
+ display: flex; |
|
63 |
+ flex-flow: column wrap; |
|
64 |
+ |
|
65 |
+ h2 { |
|
66 |
+ color: var(--bs-primary); |
|
67 |
+ margin-bottom: 0px; |
|
68 |
+ padding-bottom: .75rem; |
|
69 |
+ } |
|
70 |
+ |
|
71 |
+ a { |
|
72 |
+ text-decoration: none; |
|
73 |
+ } |
|
74 |
+ |
|
75 |
+ .event--button { |
|
76 |
+ margin: auto 0 0 0; |
|
77 |
+ } |
|
78 |
+ } |
|
79 |
+ } |
|
80 |
+ |
|
81 |
+ &.layout_slide { |
|
82 |
+ text-align: left; |
|
83 |
+ |
|
84 |
+ .event--image-wrapper { |
|
85 |
+ margin-bottom: 1.5rem; |
|
86 |
+ |
|
87 |
+ h2 { |
|
88 |
+ margin-bottom: 1.5rem; |
|
89 |
+ } |
|
90 |
+ } |
|
91 |
+ } |
|
92 |
+ } |
|
93 |
+} |