2018-05-30 13:05:41 -04:00
|
|
|
.discourse-local-date {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
|
2018-10-09 03:04:42 -04:00
|
|
|
&.cooked-date {
|
2018-05-30 13:05:41 -04:00
|
|
|
color: $primary;
|
|
|
|
cursor: pointer;
|
2018-10-11 17:45:42 -04:00
|
|
|
border-bottom: 1px dashed $primary-medium;
|
2018-10-11 17:02:44 -04:00
|
|
|
|
2018-11-08 00:12:18 -05:00
|
|
|
.d-icon-globe {
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-right: 0.25em;
|
2018-10-12 04:14:37 -04:00
|
|
|
color: $primary;
|
2018-05-30 13:05:41 -04:00
|
|
|
}
|
2018-10-09 10:45:32 -04:00
|
|
|
|
|
|
|
&.past {
|
2018-10-11 17:45:42 -04:00
|
|
|
border-bottom-color: $primary-low-mid;
|
2018-10-09 10:45:32 -04:00
|
|
|
}
|
2018-05-30 13:05:41 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-26 08:20:32 -05:00
|
|
|
.discourse-local-date + #discourse-tooltip {
|
|
|
|
.tooltip-content {
|
|
|
|
max-width: 360px;
|
|
|
|
padding: 0.5em;
|
|
|
|
|
|
|
|
.previews {
|
|
|
|
.preview {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
.timezone {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.current {
|
|
|
|
background: $tertiary-low;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-30 13:05:41 -04:00
|
|
|
.discourse-local-dates-create-modal-footer {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
&:before,
|
|
|
|
&:after {
|
2018-05-30 13:05:41 -04:00
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cancel-action {
|
|
|
|
margin: 0 5px 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn + .cancel-action {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.advanced-mode-btn {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.discourse-local-dates-create-modal {
|
|
|
|
min-height: 300px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.form {
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
label {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date-time-configuration {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-06-11 07:16:03 -04:00
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.range {
|
|
|
|
.from {
|
|
|
|
flex-direction: row;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.to {
|
|
|
|
flex-direction: row;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.to-indicator {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
}
|
2018-05-30 13:05:41 -04:00
|
|
|
|
|
|
|
.date {
|
|
|
|
.date-input {
|
|
|
|
margin-right: 1em;
|
|
|
|
|
|
|
|
.date-picker {
|
|
|
|
padding-top: 5px;
|
|
|
|
bottom: 5px;
|
|
|
|
margin: 0;
|
|
|
|
width: 120px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.time {
|
|
|
|
.time-input {
|
|
|
|
margin: 0 0.5em 0 0;
|
|
|
|
width: 120px;
|
|
|
|
padding: 3.5px 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.preview {
|
2018-06-11 07:16:03 -04:00
|
|
|
flex: 1;
|
2018-05-30 13:05:41 -04:00
|
|
|
margin-top: 16px;
|
2018-06-11 07:16:03 -04:00
|
|
|
text-align: center;
|
2018-05-30 13:05:41 -04:00
|
|
|
}
|
2018-05-30 13:14:31 -04:00
|
|
|
|
2018-07-12 16:38:51 -04:00
|
|
|
@include breakpoint(medium) {
|
2018-05-30 13:14:31 -04:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
2018-06-11 07:16:03 -04:00
|
|
|
.range .from,
|
|
|
|
.range .to {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2018-05-30 13:14:31 -04:00
|
|
|
.date .date-input .date-picker {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.time .time-input {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
}
|
2018-05-30 13:05:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.validation-error {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recurrence {
|
|
|
|
.recurrence-input {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.format {
|
|
|
|
.format-input {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.formats {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
.format {
|
|
|
|
.previewed-format {
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.control-group.recurrence,
|
|
|
|
.control-group.format,
|
|
|
|
.control-group.timezones {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
2018-05-30 13:05:41 -04:00
|
|
|
|
|
|
|
.timezones-input {
|
|
|
|
width: 99%;
|
|
|
|
}
|
|
|
|
}
|