2017-10-15 08:36:44 +08:00
|
|
|
@import 'ui-variables';
|
|
|
|
@import 'ui-mixins';
|
2015-07-29 09:21:30 +08:00
|
|
|
|
|
|
|
.event-wrapper {
|
|
|
|
cursor: default;
|
|
|
|
position: relative;
|
|
|
|
font-size: @font-size-small;
|
|
|
|
margin-top: @spacing-standard;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: @border-radius-base;
|
2015-12-01 09:11:57 +08:00
|
|
|
border: 1px solid @border-color-divider;
|
2015-07-29 09:21:30 +08:00
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
.event-header {
|
2015-12-01 09:11:57 +08:00
|
|
|
border-bottom: 1px solid @border-color-divider;
|
2015-07-29 09:21:30 +08:00
|
|
|
padding: 10px;
|
2016-04-13 09:42:57 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2015-07-29 09:21:30 +08:00
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
img {
|
2015-07-29 09:21:30 +08:00
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
.event-title-text {
|
2015-07-29 09:21:30 +08:00
|
|
|
color: @text-color-very-subtle;
|
|
|
|
}
|
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
.event-title {
|
2015-07-29 09:21:30 +08:00
|
|
|
color: @text-color;
|
|
|
|
}
|
2019-07-01 09:48:13 +08:00
|
|
|
.event-download {
|
|
|
|
float: right;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
border: 1px solid @border-color-divider;
|
2019-07-01 12:35:06 +08:00
|
|
|
padding: 0 4px;
|
2019-07-01 09:48:13 +08:00
|
|
|
img {
|
|
|
|
background: @text-color-very-subtle;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-07-29 09:21:30 +08:00
|
|
|
}
|
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
.event-body {
|
2015-07-29 09:21:30 +08:00
|
|
|
padding: @padding-small-horizontal;
|
2019-06-17 08:57:22 +08:00
|
|
|
color: @text-color;
|
2015-07-29 09:21:30 +08:00
|
|
|
|
2019-07-31 14:19:03 +08:00
|
|
|
.event-location {
|
|
|
|
user-select: text;
|
|
|
|
}
|
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
.event-date {
|
2015-07-29 09:21:30 +08:00
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
.event-day {
|
2015-07-29 09:21:30 +08:00
|
|
|
display: block;
|
|
|
|
font-size: @font-size-large;
|
2016-03-16 01:57:43 +08:00
|
|
|
color: #e64d65;
|
2015-07-29 09:21:30 +08:00
|
|
|
}
|
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
.event-time {
|
2015-07-29 09:21:30 +08:00
|
|
|
display: inline-block;
|
|
|
|
font-size: @font-size-h3;
|
|
|
|
font-weight: @font-weight-blond;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.event-actions {
|
2019-05-28 12:48:20 +08:00
|
|
|
display: flex;
|
2015-07-29 09:21:30 +08:00
|
|
|
|
|
|
|
.btn-rsvp {
|
2019-06-17 08:57:22 +08:00
|
|
|
margin-right: 10.5px;
|
|
|
|
margin-top: 5px;
|
2019-05-28 12:48:20 +08:00
|
|
|
min-width: 85px;
|
2019-06-17 08:57:22 +08:00
|
|
|
text-align: center;
|
2019-05-28 12:48:20 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: mix(@background-primary, @text-color, 95%);
|
|
|
|
}
|
2017-10-15 08:36:44 +08:00
|
|
|
&:active {
|
2019-05-28 12:48:20 +08:00
|
|
|
background: mix(@background-primary, @text-color, 92%);
|
2017-10-15 08:36:44 +08:00
|
|
|
}
|
2015-07-29 09:21:30 +08:00
|
|
|
|
2019-05-28 12:48:20 +08:00
|
|
|
&.DECLINED {
|
2016-03-16 01:57:43 +08:00
|
|
|
background: @color-error;
|
2015-07-29 09:21:30 +08:00
|
|
|
color: @white;
|
|
|
|
}
|
|
|
|
|
2019-05-28 12:48:20 +08:00
|
|
|
&.ACCEPTED {
|
2016-03-16 01:57:43 +08:00
|
|
|
background: @color-success;
|
2015-07-29 09:21:30 +08:00
|
|
|
color: @white;
|
|
|
|
}
|
|
|
|
|
2019-05-28 12:48:20 +08:00
|
|
|
&.TENTATIVE {
|
2015-07-29 09:21:30 +08:00
|
|
|
background: @gray-light;
|
|
|
|
color: @white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-10-22 11:32:33 +08:00
|
|
|
}
|
|
|
|
body.platform-win32 {
|
|
|
|
.event-wrapper {
|
|
|
|
border-radius: 0;
|
|
|
|
.event-body {
|
|
|
|
.event-actions {
|
|
|
|
.btn-rsvp {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|