discourse-calendar/assets/stylesheets/common/discourse-post-event-builde...

127 lines
2.1 KiB
SCSS

.mobile-view {
.discourse-post-event-builder-modal {
.modal-inner-container {
.modal-body {
.d-date-time-input-range {
flex-direction: column;
width: 100%;
border: 0;
.d-date-time-input {
.d-date-input {
width: 100%;
}
&.from {
margin-right: 2.65em;
}
&.to {
margin-top: 0.5em;
.d-time-input {
order: 1;
}
.clear-date-time {
order: 2;
}
}
}
}
}
}
}
}
.discourse-post-event-builder-modal {
.modal-inner-container {
width: 550px;
}
.modal-body {
min-height: 200px;
.d-date-time-input-range {
.to.d-date-time-input {
.pika-single.is-bound {
left: -2px !important;
}
}
}
}
.modal-footer {
display: flex;
justify-content: space-between;
align-items: center;
}
.event-field {
display: flex;
margin: 1em 0;
flex-direction: column;
&.name,
&.url {
input {
width: 100%;
}
}
.event-field-label {
display: flex;
min-height: 1px;
padding-top: 0;
top: 0;
vertical-align: middle;
align-items: center;
.label {
font-weight: 700;
margin-bottom: 0.5em;
}
}
.event-field-control {
display: flex;
flex: 1;
flex-direction: column;
.radio-label {
display: flex;
align-items: center;
margin-bottom: 1em;
&:last-child {
margin-bottom: 0;
}
input[type="radio"] {
width: auto;
margin-right: 0.5em;
}
.message {
margin: 0 0 0 1em;
padding: 0;
display: flex;
flex-direction: column;
.description {
color: $primary-medium;
}
}
}
.ac-wrap {
max-width: 450px;
}
input {
margin: 0;
}
}
}
}