2015-07-29 09:21:30 +08:00
|
|
|
@import "ui-variables";
|
|
|
|
@import "ui-mixins";
|
|
|
|
|
|
|
|
.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-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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
.event-body {
|
2015-07-29 09:21:30 +08:00
|
|
|
padding: @padding-small-horizontal;
|
|
|
|
|
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 {
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
z-index: 4;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.btn-rsvp {
|
|
|
|
float: left;
|
2016-03-16 01:57:43 +08:00
|
|
|
padding: @spacing-three-quarters @spacing-standard * 1.75 @spacing-three-quarters @spacing-standard * 1.75;
|
2015-07-29 09:21:30 +08:00
|
|
|
line-height: 10px;
|
|
|
|
color: @text-color;
|
|
|
|
border-radius: 3px;
|
|
|
|
background: @background-primary;
|
|
|
|
box-shadow: @standard-shadow;
|
|
|
|
margin: 0 7.5px 0 7.5px;
|
|
|
|
&:active {background: transparent;}
|
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
&.no {
|
|
|
|
background: @color-error;
|
2015-07-29 09:21:30 +08:00
|
|
|
color: @white;
|
|
|
|
}
|
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
&.yes {
|
|
|
|
background: @color-success;
|
2015-07-29 09:21:30 +08:00
|
|
|
color: @white;
|
|
|
|
}
|
|
|
|
|
2016-03-16 01:57:43 +08:00
|
|
|
&.maybe {
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|