_events.scss
1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
For other event list and single event display CSS, see the _items.scss file
*/
&.em-event.em-event-single {
.em-event-meta-line.em-event-location {
line-height: 24px !important;
}
}
&.em-event, &.em-events-list, &.em-events-widget {
.em-item-image {
.em-item-image-placeholder {
div.date {
display: grid;
grid-template-rows: 7fr 4fr;
justify-content: center;
align-items: start;
height: 100%;
min-width: 125px;
span {
text-align: center;
display: block;
font-size: 30px;
line-height: 30px;
}
span.day {
font-size: 45px;
line-height: 45px;
align-self: end;
}
}
}
}
}
&.em-events-widget {
.em-item {
.em-item-image-placeholder {
div.date {
padding-top : 15%;
span.day {
font-size: 30px !important;
line-height: 30px !important;
margin-bottom: 1px;
}
span.month {
font-size: 16px !important;
line-height: 16px !important;
}
}
}
}
}
// Add to calendar
button.input.em-event-add-to-calendar {
padding-left: 20px !important;
.em-icon-calendar {
margin-right: 10px;
}
}
.em-add-to-calendar-tooltip {
margin-top: -9px !important; //tippy fix
}
.em-event-add-to-calendar-content {
a {
display: inline-block;
width: 100%;
padding: 8px 10px 5px 35px !important;
color: var(--default-color) !important;
text-decoration: none !important;
&:focus, &:hover {
outline: none !important;
background-color: #f3f3f3 !important;
}
background: var(--icon-download) 5px 50% no-repeat;
background-size: 18px;
}
a.em-a2c-download { background-image: var(--icon-download); }
a.em-a2c-google { background-image: var(--icon-logo-google-calendar); }
a.em-a2c-apple { background-image: var(--icon-logo-apple); }
a.em-a2c-office { background-image: var(--icon-logo-office365); }
a.em-a2c-outlook { background-image: var(--icon-logo-outlook); }
}