.discourse-local-date { &.cooked-date { color: $primary; cursor: pointer; border-bottom: 1px dashed $primary-medium; .d-icon { color: $primary; } &.past { border-bottom-color: $primary-low-mid; } } } .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; } } } } } .discourse-local-dates-create-modal-footer { display: flex; align-items: center; justify-content: flex-start; &:before, &:after { 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 0 0px; label { font-weight: 700; } .date-time-configuration { display: flex; align-items: center; 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; } } .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 { flex: 1 0 0px; margin-top: 16px; text-align: center; } @include breakpoint(medium) { flex-direction: column; align-items: flex-start; .range .from, .range .to { flex-direction: column; } .date .date-input .date-picker { width: 200px; } .time .time-input { width: 200px; } } } .validation-error { color: $danger; } .recurrence { .recurrence-input { width: 300px; } } } .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; } .timezones-input { width: 99%; } }