/* *************************************************************************** Table of Contents 0. Less helper functions / variables 1. General styles 3. Modal window 4. Builder elements style *************************************************************************** */ /* *************************************************************************** 0. Less helper functions / variables *************************************************************************** */ @import "../import.helpers.less"; /* *************************************************************************** 1. General styles *************************************************************************** */ @import "../import.html-style.less"; /* *************************************************************************** 2. Resets & Defaults *************************************************************************** */ .stec-event-submission-form, .stec-event-submission-form * { margin: 0; padding: 0; box-sizing: border-box; } .stec-builder-element { min-height: 1px; } .stec-event-submission-form-default { padding: 20px; .stec-builder-element-content-header-style { margin-bottom: 10px; } .stec-style-flexbox { align-items: flex-start; justify-content: space-between; .stec-style-full-width { width: ~'calc(50% - 10px)'; } } .stec-builder-element { margin-bottom: 10px; overflow: hidden; } } .stec-media-small { .stec-event-submission-form-default, &.stec-event-submission-form-default { .stec-style-full-width { width: 100% !important; } padding: 10px; } } /* *************************************************************************** 3. Modal window *************************************************************************** */ @import "import.builder-form-modal.less"; /* *************************************************************************** 4. Builder elements style *************************************************************************** */ .stec-builder-element-content-colorpicker-style { border-radius: 3px; float: left; height: 40px; width: 40px !important; /*border: 1px solid #f1f1f1;*/ border:none; cursor: pointer; font-size: 0; } .stec-builder-element-content-file-style { display: none; } .stec-builder-element-content-file-button-style { cursor: pointer; } .stec-builder-element-content-select-style, .stec-builder-element-content-input-style { border-radius: 3px; background-color: #ececec; border:none; padding: 0 10px; height: 40px; float: left; width: 100%; max-width: 100%; box-shadow: none; margin:0; &:focus { outline: none; } } .stec-builder-element-content-select-style[name^="rsvp"], .stec-builder-element-content-input-style[name^="rsvp"] { &:not(:last-child) { margin-bottom: 10px; } } .stec-builder-element-content-select-style { padding: 0; &[multiple] { height: inherit; } option { padding: 10px; } } .stec-builder-element-content-datetime-style { &[name="start_date"], &[name="end_date"], &[name^="schedule"] { width: 50%; } &:not([name="start_date"]):not([name="end_date"]):not([name$="[schedule_date_from]"]) { width: ~'calc(25% - 10px)' } margin-right: 10px; &:last-child { margin-right: 0; } } .stec-builder-element-content-textarea-style { height: inherit; width: 100%; border-radius: 3px; background-color: #ececec; border:none; padding: 10px; float: left; box-shadow: none; resize: none; &:focus { outline: none; } } .stec-builder-element-content-checkbox-style { .flexbox(left, baseline); span { float: left; line-height: 1; margin:0; margin-left: 5px; padding:10px 0; } cursor: pointer; float: left; } .stec-builder-element-content-button-style { background: #52565e; color: #fff; cursor: pointer; border-radius: 3px; padding: 15px 20px; border: none; text-transform: none; font-size: 16px; float: left; &:hover { background: #ff6c5f; } &:focus { outline: none; } } .stec-builder-element-content-submit-style { width: 100%; float: left; input { background: #52565e; color: #fff; cursor: pointer; border-radius: 3px; padding: 15px 20px; border: none; text-transform: none; font-size: 16px; &:hover { background: #ff6c5f; } &:first-child { margin-right: 10px; } &:focus { outline: none; } } } .stec-repeater-content { display: none; margin-top: 10px; width: 100%; float: left; .stec-repeater-content-buttons { button:first-child { margin-right: 5px; } } .stec-repeater-content-exdate-options { > div { .flexbox; } .stec-repeater-content-add-exdate-button { white-space: nowrap; word-break: keep-all; margin-left: 10px; text-decoration: none; color:#0073aa; font-size: 14px; } } .stec-repeater-content-exdate-datelist-submit-value { display: none !important; } > div { width: 100%; float: left; .flexbox(space-between, flex-start); margin-bottom: 10px; min-height: 40px; > span { font-weight: bold; white-space: nowrap; } } > div:not(.stec-repeater-content-weekdays) { > span { width: 100%; } > div { width: 100%; } } .stec-repeater-content-weekdays { .stec-repeater-content-repeat-on { display: flex; justify-content:space-between; align-items:center; margin-left: 5px; input { margin:0; margin-right: 0; } label { margin-right: 5px; } } } .stec-repeater-content-repeat-ends-on { > span { width: 100%; } .stec-repeater-content-endson-options { width: 100%; > div { float: left; width: 100%; .flexbox(flex-start); &:not(:first-child) { margin-top: 10px; } } label[for="stec-repeater-content-repeat-endson-date"], label[for="stec-repeater-content-repeat-endson-after-n"] { .flexbox; input,span { width: 100%; } input { margin-right: 10px } } } } .stec-repeater-content-exdate-datelist { list-style: none; margin:0; margin-top: 10px; padding:0; .stec-remove-exdate { opacity: 0; color:#f15e6e; text-decoration: none; font-size: 14px; } li:hover { .stec-remove-exdate { opacity: 1; } } } } /* New location form */ .stec-builder-element-content-coordinates-wrap { .flexbox(center, center); width: 100%; input { width: 100%; } button { .box(40px); font-size: 20px; margin-bottom: 15px; margin-left: 10px; padding: 0; cursor: pointer; border: none; border-radius: @borders-radius; background: #0096dd; color:#fff; line-height: 40px; font-size: 16px; &:hover { background: #0096dd + #111; } &:focus { outline: none; } } } .stec-builder-submission-new-address, .stec-builder-submission-new-location { display: none; width: 100%; padding-top: 15px; margin-top: 30px; border-top: 1px solid rgba(0,0,0,0.1); float: left; .stec-builder-element-content-p-style { margin-bottom: 5px; margin-top: 10px; } select, input, textarea { &:not(:last-child) { margin-bottom: 15px; } } } .stec-builder-element-content-media-attachments-style { display: block; } /* Attendance contents front-end */ .stec-builder-element-content-attendance-style { display: block; width: 100%; float: left; .stec-builder-submission-attendance { float: left; &.collapsed { .stec-builder-submission-attendee-head { .collapse { display: none; } .expand { display: block; } } .stec-builder-submission-attendee-toggle-wrap { display: none; } } width: 100%; border-radius: 4px; border: 1px solid #ececec; margin-bottom: 10px; .stec-builder-submission-attendee-head { padding: 5px 5px 5px 20px; width: 100%; .flexbox; > div { .flexbox; button { background: none; border: 1px solid #ececec; color: #202020; font-weight: bold; font-size:12px; text-transform: uppercase; &:not(:last-child) { margin-right: 5px; } &.expand, &.collapse { &:hover { border-color:#7ac143; color:#7ac143; } } &.delete { &:hover { border-color:#d64e07; color:#d64e07; } } &.expand { display: none; } } } } .stec-builder-submission-attendee-toggle-wrap { overflow: hidden; border-top: 1px solid #ececec; padding: 20px; /*display: none;*/ > div { width: 100%; float: left; } input[type="number"] { margin-top: 10px; } } } .stec-builder-submission-add-attendee { float: left; clear:both; .flexbox; color:#fff; i { margin-right: 10px; } background: #0096dd; &:hover { background: #0096dd + #111; } } } /* Guests contents front-end */ .stec-builder-element-content-guests-style { display: block; width: 100%; float: left; .stec-builder-submission-guest { float: left; &.collapsed { .stec-builder-submission-guest-head { .collapse { display: none; } .expand { display: block; } } .stec-builder-submission-guest-toggle-wrap { display: none; } } width: 100%; border-radius: 4px; border: 1px solid #ececec; margin-bottom: 10px; .stec-builder-submission-guest-head { padding: 5px 5px 5px 20px; width: 100%; .flexbox; > div { .flexbox; button { background: none; border: 1px solid #ececec; color: #202020; font-weight: bold; font-size:12px; text-transform: uppercase; &:not(:last-child) { margin-right: 5px; } &.expand, &.collapse { &:hover { border-color:#7ac143; color:#7ac143; } } &.delete { &:hover { border-color:#d64e07; color:#d64e07; } } &.expand { display: none; } } } } .stec-builder-submission-guest-toggle-wrap { overflow: hidden; border-top: 1px solid #ececec; padding: 20px; /*display: none;*/ > div { margin-bottom: 10px; width: 100%; float: left; } .add-guests-soclink { background: none; border: 1px solid #ececec; color: #202020; font-weight: bold; font-size:12px; text-transform: uppercase; &:hover { border-color:#7ac143; color:#7ac143; } } .stec-builder-submission-guest-social { float: left; width: 100%; .flexbox; select { width: 50%; } input { margin-left: 10px; } i { font-size: 24px; margin-left: 10px; cursor: pointer; color:#c5c5c5; max-width: 24px; &:hover { color:#d64e07; float: left; } } } } } .stec-builder-submission-add-guest { float: left; clear:both; .flexbox; color:#fff; i { margin-right: 10px; } background: #0096dd; &:hover { background: #0096dd + #111; } } } /* Tickets contents front-end */ .stec-builder-element-content-booking-style { display: block; width: 100%; float: left; min-height: 0; .stec-builder-submission-ticket-stop-before { p { margin-left: 10px; } } .stec-builder-submission-ticket-flex { .flexbox; width: 100%; float: left; > div { width: 100%; &:first-child { margin-right: 10px; } } } .stec-builder-submission-ticket { float: left; &.collapsed { .stec-builder-submission-ticket-head { .collapse { display: none; } .expand { display: block; } } .stec-builder-submission-ticket-toggle-wrap { display: none; } } width: 100%; border-radius: 4px; border: 1px solid #ececec; margin-bottom: 10px; .stec-builder-submission-ticket-head { padding: 5px 5px 5px 20px; width: 100%; .flexbox; > div { .flexbox; button { background: none; border: 1px solid #ececec; color: #202020; font-weight: bold; font-size:12px; text-transform: uppercase; &:not(:last-child) { margin-right: 5px; } &.expand, &.collapse { &:hover { border-color:#7ac143; color:#7ac143; } } &.delete { &:hover { border-color:#d64e07; color:#d64e07; } } &.expand { display: none; } } } } .stec-builder-submission-ticket-toggle-wrap { overflow: hidden; border-top: 1px solid #ececec; padding: 20px; /*display: none;*/ > div { margin-bottom: 10px; width: 100%; float: left; } .add-ticket-attribute { background: none; border: 1px solid #ececec; color: #202020; font-weight: bold; font-size:12px; text-transform: uppercase; &:hover { border-color:#7ac143; color:#7ac143; } } .stec-builder-submission-ticket-attributes { float: left; width: 100%; .flexbox; input { &:first-child { margin-right: 10px; } width: 50%; } i { font-size: 24px; margin-left: 10px; cursor: pointer; color:#c5c5c5; max-width: 24px; &:hover { color:#d64e07; float: left; } } } } } .stec-builder-submission-add-ticket { float: left; clear:both; .flexbox; color:#fff; i { margin-right: 10px; } background: #0096dd; &:hover { background: #0096dd + #111; } } } /* Organizers contents front-end */ .stec-builder-submission-organizer { .status { width: 100%; float: left; padding: 0 20px; margin-bottom: 10px; display: none; } } .stec-builder-submission-organizer-list { margin-bottom: 10px; width: 100%; float: left; > p { margin-bottom: 10px; } } .stec-builder-element-content-organizers-style { display: block; width: 100%; float: left; .stec-builder-submission-organizer { float: left; width: 100%; border-radius: 4px; border: 1px solid #ececec; margin-bottom: 10px; .stec-builder-submission-organizer-head { padding: 5px 5px 5px 20px; width: 100%; .flexbox; > div { .flexbox; button { background: none; border: 1px solid #ececec; color: #202020; font-weight: bold; font-size:12px; text-transform: uppercase; &:not(:last-child) { margin-right: 5px; } &.expand, &.collapse { &:hover { border-color:#7ac143; color:#7ac143; } } &.delete { &:hover { border-color:#d64e07; color:#d64e07; } } &.expand { display: none; } } } } .stec-builder-submission-organizer-toggle-wrap { overflow: hidden; border-top: 1px solid #ececec; padding: 20px; /*display: none;*/ > div { margin-bottom: 10px; width: 100%; float: left; } .add-organizers-soclink { background: none; border: 1px solid #ececec; color: #202020; font-weight: bold; font-size:12px; text-transform: uppercase; &:hover { border-color:#7ac143; color:#7ac143; } } .stec-builder-submission-organizer-social { float: left; width: 100%; .flexbox; select { width: 50%; } input { margin-left: 10px; } i { font-size: 24px; margin-left: 10px; cursor: pointer; color:#c5c5c5; max-width: 24px; &:hover { color:#d64e07; float: left; } } } } button[data-action="insert-organizer"] { background: #0096dd; margin:0 20px 20px; &:hover { background: #0096dd + #111; } } } .stec-builder-submission-add-organizer { float: left; clear:both; .flexbox; color:#fff; i { margin-right: 10px; } background: #0096dd; &:hover { background: #0096dd + #111; } } } /* Schedule contents front-end */ .stec-builder-element-content-media-images-style { display: block; width: 100%; float: left; min-height: 0; } .stec-builder-element-content-schedules-style { display: block; width: 100%; float: left; .stec-builder-submission-schedule { float: left; &.collapsed { .stec-builder-submission-schedule-head { .collapse { display: none; } .expand { display: block; } } .stec-builder-submission-schedule-toggle-wrap { display: none; } } width: 100%; border-radius: 4px; border: 1px solid #ececec; margin-bottom: 10px; .stec-builder-submission-schedule-head { padding: 5px 5px 5px 20px; width: 100%; .flexbox; > div { .flexbox; button { background: none; border: 1px solid #ececec; color: #202020; font-weight: bold; font-size:12px; text-transform: uppercase; &:not(:last-child) { margin-right: 5px; } &.expand, &.collapse { &:hover { border-color:#7ac143; color:#7ac143; } } &.delete { &:hover { border-color:#d64e07; color:#d64e07; } } &.expand { display: none; } } } } .stec-builder-submission-schedule-toggle-wrap { overflow: hidden; border-top: 1px solid #ececec; padding: 20px; /*display: none;*/ > div { margin-bottom: 10px; width: 100%; float: left; } } } .stec-builder-submission-add-schedule { float: left; clear:both; .flexbox; color:#fff; i { margin-right: 10px; } background: #0096dd; &:hover { background: #0096dd + #111; } } } /* Front-end media */ .stec-builder-add-media-photo { font-family: Arial; font-weight: 700; font-size: 12px; line-height: 1.2; padding:18px 20px; border-radius: 4px; text-transform: uppercase; cursor: pointer; float: left; width: 100px; height: 100px; clear: none; background: none; border: 1px solid #ececec; color: #202020; &:hover { border-color:#7ac143; color:#7ac143; } } .stec-builder-hide-upload { display: none !important; } .stec-builder-media-photo { width: 100px; height: 100px; border-radius: 4px; overflow: hidden; float: left; position: relative; margin-right: 10px; margin-bottom: 10px; img { width: 100px; height: 100px; position: absolute; top:0; left:0; z-index: 1; } i { position: absolute; width: 30px; height: 30px; top: 0; right: 0; font-size: 35px; color: #d64e07; cursor: pointer; display: none; z-index: 2; } &:hover { i { display: block; } } } .stec-builder-submission-add-image { float: left; clear:both; .flexbox; color:#fff; i { margin-right: 10px; } background: #0096dd; &:hover { background: #0096dd + #111; } } .stec-public-file-image-src { float: left; width: 100%; clear:both; } .stec-builder-upload-attachments, .stec-builder-add-media-attachments { background: #0096dd; color:#fff; i { margin-right: 10px; color:inherit; } &:hover { background: #0096dd + #111; } } .stec-builder-media-attachment { border:1px solid #ececec; border-radius: 4px; width: 100%; float: left; margin-bottom: 10px; .flexbox; padding: 10px 15px; i { color: #d64e07; cursor: pointer; } } .stec-builder-element-content-rsvp-style { label { float: left; .flexbox(flex-start); cursor: pointer; } span { width:auto; text-indent: 5px; line-height: 1; } } .stec-builder-element-content-select-style[name="icon"] { margin-top:10px; float: left; display: none; } .stec-builder-element-content-media-icon-images-style { margin-top:10px; float: left; display: none; }