| @@ -1,192 +1,216 @@ | ||
| 1 | -/* Main Wrapper */ | |
| 2 | -.wpbc_gb_div_block { | |
| 3 | - font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; | |
| 4 | - font-size: 1.2em; | |
| 5 | - padding: 20px 15px 5px; /* required for correct mouseover in top of button, otherwise appear some weird issue of not ability to click on top of button */ | |
| 6 | -} | |
| 7 | - | |
| 8 | -/** Width and Height of Blocks ***************************************************************************************/ | |
| 9 | - | |
| 10 | -/* Block Preview == TimeLine == */ | |
| 11 | -.wpbc_gb_block_preview_bookingtimeline { | |
| 12 | - width: 100%; | |
| 13 | -} | |
| 14 | -.wpbc_gb_block_preview_bookingtimeline .wpbc_gb_block_shortcode_preview_content { | |
| 15 | - /* Minus height of footer */ | |
| 16 | - height: 260px; | |
| 17 | -} | |
| 18 | - | |
| 19 | -/* Block Preview == Booking Form, Availability Calendar == */ | |
| 20 | -.wpbc_gb_block_preview_booking, | |
| 21 | -.wpbc_gb_block_preview_bookingcalendar { | |
| 22 | - width: 284px; | |
| 23 | -} | |
| 24 | -.wpbc_gb_block_preview_booking .wpbc_gb_block_shortcode_preview_content, | |
| 25 | -.wpbc_gb_block_preview_bookingcalendar .wpbc_gb_block_shortcode_preview_content { | |
| 26 | - /* Minus height of footer */ | |
| 27 | - min-height: 260px; | |
| 28 | -} | |
| 29 | - | |
| 30 | - | |
| 31 | - | |
| 32 | -/** Block Templates Structure *****************************************************************************************/ | |
| 33 | -/* | |
| 34 | -DIV.wpbc_gb_block_shortcode_preview_wrapper.wpbc_gb_block_preview_bookingtimeline | |
| 35 | - | |
| 36 | - DIV.wpbc_gb_block_shortcode_preview_content | |
| 37 | - | |
| 38 | - DIV.wpbc_gb_block_preview_inner_header | |
| 39 | - | |
| 40 | - H3.wpbc_gb_block_preview_inner_title_text | |
| 41 | - A.wpbc_gb_block_preview_inner_title_edit | |
| 42 | - DIV.wpbc_gb_block_preview_inner_title_desc | |
| 43 | - | |
| 44 | - DIV.wpbc_gb_block_preview_inner_body | |
| 45 | - | |
| 46 | - DIV.wpbc_gb_block_preview_inner_params_row | |
| 47 | - strong span em | |
| 48 | - ... | |
| 49 | - | |
| 50 | - DIV.wpbc_gb_block_preview_inner_footer | |
| 51 | - DIV.wpbc_gb_block_preview_inner_shortcode | |
| 52 | - | |
| 53 | - | |
| 54 | -*/ | |
| 55 | - | |
| 56 | -/* == Block Preview == */ | |
| 57 | -.wpbc_gb_block_shortcode_preview_wrapper { | |
| 58 | - font-size: 13px; /* FixIn: 8.4.3.2 */ | |
| 59 | - line-height: 2em; /* FixIn: 8.4.3.2 */ | |
| 60 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 61 | -} | |
| 62 | - | |
| 63 | -/* FixIn: 8.4.3.2 */ | |
| 64 | -/* == Block Preview - Content and Header == */ | |
| 65 | -.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_shortcode_preview_content { | |
| 66 | - border: #e4951b solid 1px; | |
| 67 | - border-bottom: none; | |
| 68 | - padding: 0 10px 20px; | |
| 69 | -} | |
| 70 | - | |
| 71 | -/* == Block Preview - Header == */ | |
| 72 | -.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_header{ | |
| 73 | - border-bottom: #e4951b solid 1px; | |
| 74 | - margin: 0.5em 0 1em; | |
| 75 | - font-weight: 600; | |
| 76 | -} | |
| 77 | - | |
| 78 | -/* == Block Preview - Header Title == */ | |
| 79 | -.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_title_text { | |
| 80 | - font-size: 1.3em; | |
| 81 | - vertical-align: middle; | |
| 82 | - line-height: 2.1em; | |
| 83 | - float: left; | |
| 84 | - margin: 0; | |
| 85 | -} | |
| 86 | - | |
| 87 | -/* == Block Preview - Header link - Click to edit == */ | |
| 88 | -.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_title_edit { | |
| 89 | - font-size: 0.85em; | |
| 90 | - vertical-align: middle; | |
| 91 | - cursor: pointer; | |
| 92 | - float: right; | |
| 93 | - padding: 1em 0 0; | |
| 94 | -} | |
| 95 | - | |
| 96 | -/* == Block Preview - Header Description == */ | |
| 97 | -.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_title_desc { | |
| 98 | - font-size: 0.9em; | |
| 99 | - font-style: italic; | |
| 100 | - text-align: left; | |
| 101 | - width: 100%; | |
| 102 | - margin: 10px 0 10px; | |
| 103 | - clear: both; | |
| 104 | - font-weight: 400; | |
| 105 | - color: #777; | |
| 106 | - line-height: 1.5em; | |
| 107 | -} | |
| 108 | - | |
| 109 | -/* == Block Preview - Content == */ | |
| 110 | -.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_body{ | |
| 111 | - | |
| 112 | -} | |
| 113 | - | |
| 114 | -/* == Block Preview - Footer == */ | |
| 115 | -.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_footer { | |
| 116 | - width: 100%; | |
| 117 | - background: #f0f0f0; | |
| 118 | - margin: 0; | |
| 119 | - padding: 10px; | |
| 120 | - color: #777; | |
| 121 | - border: #e4951b solid 1px; | |
| 122 | - border-top: none; | |
| 123 | - font-size: 0.9em; | |
| 124 | - font-weight: 600; | |
| 125 | - box-sizing: border-box; | |
| 126 | -} | |
| 127 | - | |
| 128 | - | |
| 129 | -/** B U T T O N S and some other elements *************************************************************************/ | |
| 130 | - | |
| 131 | - | |
| 132 | -/* Green Preview Button */ | |
| 133 | -.editor-block-list__block.wpbc-gutenberg-update-view .wpbc-gutenberg-update-preview-btn.button { | |
| 134 | - background-color: rgb(135, 207, 59); | |
| 135 | - color: rgb(255, 255, 255); | |
| 136 | - border-color: rgb(135, 207, 59); | |
| 137 | - text-align: center; | |
| 138 | - font-family: Helvetica, Arial; | |
| 139 | - margin:15px 0 35px -30px; | |
| 140 | - width: 50%; | |
| 141 | - height: 3em; | |
| 142 | - vertical-align: middle; | |
| 143 | - line-height: 3em; | |
| 144 | - font-weight: 600; | |
| 145 | -} | |
| 146 | - | |
| 147 | - | |
| 148 | - | |
| 149 | - | |
| 150 | -/* Show Blue configuration shortcode button, if block selected or when no shortcode at all */ | |
| 151 | -.editor-block-list__block .wpbc_gb_div_block.wpbc_gb_div_block_no_shortcode a.wpbc-gutenberg-open-btn, | |
| 152 | -.editor-block-list__block.is-selected .wpbc_gb_div_block a.wpbc-gutenberg-open-btn, | |
| 153 | -.block-editor-block-list__block.is-selected .wpbc_gb_div_block a.wpbc-gutenberg-open-btn /* FixIn: 8.7.6.11 */ { | |
| 154 | - display: block; | |
| 155 | -} | |
| 156 | -/* Hide Green Preview block buttin inside of the Block for WordPress older than 5.4 update*/ | |
| 157 | -.editor-block-list__block.is-selected .wpbc-gutenberg-update-view .wpbc-gutenberg-update-preview-btn{ | |
| 158 | - visibility: hidden; | |
| 159 | -} | |
| 160 | - | |
| 161 | -/* PopUp Blue Button */ | |
| 162 | -.wpbc_gb_div_block a.wpbc-gutenberg-open-btn, | |
| 163 | -.wpbc_gb_div_block a.wpbc-gutenberg-open-btn:hover, | |
| 164 | -.wpbc_gb_div_block a.wpbc-gutenberg-open-btn:focus { | |
| 165 | - display: none; | |
| 166 | - background-color: #3b9fcf; | |
| 167 | - color: #fff; | |
| 168 | - border-color: #3b9fcf; | |
| 169 | - text-align: center; | |
| 170 | - font-family: Helvetica, Arial; | |
| 171 | - margin-bottom: 20px; | |
| 172 | -} | |
| 173 | - | |
| 174 | -/* Shortcode Input Text */ | |
| 175 | -.wpbc_gb_div_block .wpbc_gb_text_shortcode { | |
| 176 | - opacity: 0.3; | |
| 177 | - display: none; | |
| 178 | - padding: 5px 10px; | |
| 179 | - clear: both; | |
| 180 | - margin: 20px 0 0; | |
| 181 | - height: 2.4em; | |
| 182 | - cursor: pointer; | |
| 183 | - font-weight: 600; | |
| 184 | - background: none repeat scroll 0 0 #E9E9E9; | |
| 185 | - border: 1px solid #BBBBBB; | |
| 186 | - width: 100%; | |
| 187 | -} | |
| 188 | - | |
| 189 | -/* FixIn: 8.4.3.2 */ | |
| 190 | -div.wpbc_gb_block_shortcode_preview_wrapper strong { | |
| 191 | - font-weight: 600; | |
| 192 | -} | |
| 1 | +/* Main Wrapper */ | |
| 2 | +.wpbc_gb_div_block { | |
| 3 | + font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; | |
| 4 | + font-size: 1.2em; | |
| 5 | + padding: 20px 15px 5px; /* required for correct mouseover in top of button, otherwise appear some weird issue of not ability to click on top of button */ | |
| 6 | +} | |
| 7 | + | |
| 8 | +/** Width and Height of Blocks ***************************************************************************************/ | |
| 9 | + | |
| 10 | +/* Block Preview == TimeLine == */ | |
| 11 | +.wpbc_gb_block_preview_bookingtimeline { | |
| 12 | + width: 100%; | |
| 13 | +} | |
| 14 | +.wpbc_gb_block_preview_bookingtimeline .wpbc_gb_block_shortcode_preview_content { | |
| 15 | + /* Minus height of footer */ | |
| 16 | + height: 260px; | |
| 17 | +} | |
| 18 | + | |
| 19 | +/* Block Preview == Modern workflow shortcodes == */ | |
| 20 | +.wpbc_gb_block_preview_booking_appointment, | |
| 21 | +.wpbc_gb_block_preview_booking_resource_selector { | |
| 22 | + width: 100%; | |
| 23 | +} | |
| 24 | +.wpbc_gb_block_preview_booking_appointment .wpbc_gb_block_preview_inner_shortcode, | |
| 25 | +.wpbc_gb_block_preview_booking_resource_selector .wpbc_gb_block_preview_inner_shortcode { | |
| 26 | + overflow-wrap: anywhere; | |
| 27 | + word-break: break-word; | |
| 28 | +} | |
| 29 | + | |
| 30 | +/* Block Preview == Booking Form, Availability Calendar == */ | |
| 31 | +.wpbc_gb_block_preview_booking, | |
| 32 | +.wpbc_gb_block_preview_bookingcalendar { | |
| 33 | + width: 284px; | |
| 34 | +} | |
| 35 | +.wpbc_gb_block_preview_booking .wpbc_gb_block_shortcode_preview_content, | |
| 36 | +.wpbc_gb_block_preview_bookingcalendar .wpbc_gb_block_shortcode_preview_content { | |
| 37 | + /* Minus height of footer */ | |
| 38 | + min-height: 260px; | |
| 39 | +} | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | +/** Block Templates Structure *****************************************************************************************/ | |
| 44 | +/* | |
| 45 | +DIV.wpbc_gb_block_shortcode_preview_wrapper.wpbc_gb_block_preview_bookingtimeline | |
| 46 | + | |
| 47 | + DIV.wpbc_gb_block_shortcode_preview_content | |
| 48 | + | |
| 49 | + DIV.wpbc_gb_block_preview_inner_header | |
| 50 | + | |
| 51 | + H3.wpbc_gb_block_preview_inner_title_text | |
| 52 | + A.wpbc_gb_block_preview_inner_title_edit | |
| 53 | + DIV.wpbc_gb_block_preview_inner_title_desc | |
| 54 | + | |
| 55 | + DIV.wpbc_gb_block_preview_inner_body | |
| 56 | + | |
| 57 | + DIV.wpbc_gb_block_preview_inner_params_row | |
| 58 | + strong span em | |
| 59 | + ... | |
| 60 | + | |
| 61 | + DIV.wpbc_gb_block_preview_inner_footer | |
| 62 | + DIV.wpbc_gb_block_preview_inner_shortcode | |
| 63 | + | |
| 64 | + | |
| 65 | +*/ | |
| 66 | + | |
| 67 | +/* == Block Preview == */ | |
| 68 | +.wpbc_gb_block_shortcode_preview_wrapper { | |
| 69 | + font-size: 13px; /* FixIn: 8.4.3.2 */ | |
| 70 | + line-height: 2em; /* FixIn: 8.4.3.2 */ | |
| 71 | + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 72 | +} | |
| 73 | + | |
| 74 | +/* FixIn: 8.4.3.2 */ | |
| 75 | +/* == Block Preview - Content and Header == */ | |
| 76 | +.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_shortcode_preview_content { | |
| 77 | + border: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6)) solid 2.2px; | |
| 78 | + border-bottom: none; | |
| 79 | + padding: 0 10px 20px; | |
| 80 | + background: #fff; | |
| 81 | + border-radius: 10px 10px 0 0; | |
| 82 | +} | |
| 83 | + | |
| 84 | +/* == Block Preview - Header == */ | |
| 85 | +.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_header{ | |
| 86 | + border-bottom: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6)) solid 1px; | |
| 87 | + margin: 0.5em 0 1em; | |
| 88 | + font-weight: 600; | |
| 89 | +} | |
| 90 | + | |
| 91 | +/* == Block Preview - Header Title == */ | |
| 92 | +.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_title_text { | |
| 93 | + font-size: 1.3em; | |
| 94 | + vertical-align: middle; | |
| 95 | + line-height: 2.1em; | |
| 96 | + float: left; | |
| 97 | + margin: 0; | |
| 98 | +} | |
| 99 | + | |
| 100 | +/* == Block Preview - Header link - Click to edit == */ | |
| 101 | +.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_title_edit { | |
| 102 | + font-size: 0.85em; | |
| 103 | + vertical-align: middle; | |
| 104 | + cursor: pointer; | |
| 105 | + float: right; | |
| 106 | + padding: 1em 0 0; | |
| 107 | +} | |
| 108 | + | |
| 109 | +/* == Block Preview - Header Description == */ | |
| 110 | +.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_title_desc { | |
| 111 | + font-size: 0.9em; | |
| 112 | + font-style: italic; | |
| 113 | + text-align: left; | |
| 114 | + width: 100%; | |
| 115 | + margin: 10px 0 10px; | |
| 116 | + clear: both; | |
| 117 | + font-weight: 400; | |
| 118 | + color: #777; | |
| 119 | + line-height: 1.5em; | |
| 120 | +} | |
| 121 | + | |
| 122 | +/* == Block Preview - Content == */ | |
| 123 | +.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_body{ | |
| 124 | + | |
| 125 | +} | |
| 126 | + | |
| 127 | +/* == Block Preview - Footer == */ | |
| 128 | +.wpbc_gb_block_shortcode_preview_wrapper .wpbc_gb_block_preview_inner_footer { | |
| 129 | + width: 100%; | |
| 130 | + background: #fbfbfc; | |
| 131 | + margin: 0; | |
| 132 | + padding: 10px; | |
| 133 | + color: #1e1e1e; | |
| 134 | + border: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6)) solid 2.2px; | |
| 135 | + border-top: none; | |
| 136 | + font-size: 13px; | |
| 137 | + font-weight: 600; | |
| 138 | + box-sizing: border-box; | |
| 139 | + border-radius: 0 0 15px 15px; | |
| 140 | + line-height: 2.1; | |
| 141 | + border-top: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6)) dashed 1.5px; | |
| 142 | +} | |
| 143 | + | |
| 144 | + | |
| 145 | +/** B U T T O N S and some other elements *************************************************************************/ | |
| 146 | + | |
| 147 | + | |
| 148 | +/* Green Preview Button */ | |
| 149 | +.editor-block-list__block.wpbc-gutenberg-update-view .wpbc-gutenberg-update-preview-btn.button { | |
| 150 | + background-color: rgb(135, 207, 59); | |
| 151 | + color: rgb(255, 255, 255); | |
| 152 | + border-color: rgb(135, 207, 59); | |
| 153 | + text-align: center; | |
| 154 | + font-family: Helvetica, Arial; | |
| 155 | + margin:15px 0 35px -30px; | |
| 156 | + width: 50%; | |
| 157 | + height: 3em; | |
| 158 | + vertical-align: middle; | |
| 159 | + line-height: 3em; | |
| 160 | + font-weight: 600; | |
| 161 | +} | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | +/* Hide Green Preview block buttin inside of the Block for WordPress older than 5.4 update*/ | |
| 167 | +.editor-block-list__block.is-selected .wpbc-gutenberg-update-view .wpbc-gutenberg-update-preview-btn{ | |
| 168 | + visibility: hidden; | |
| 169 | +} | |
| 170 | + | |
| 171 | +/* PopUp Blue Button */ | |
| 172 | +.wpbc_gb_div_block a.wpbc-gutenberg-open-btn, | |
| 173 | +.wpbc_gb_div_block a.wpbc-gutenberg-open-btn:hover, | |
| 174 | +.wpbc_gb_div_block a.wpbc-gutenberg-open-btn:focus { | |
| 175 | + display: none; | |
| 176 | + background-color: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6)); | |
| 177 | + color: #fff; | |
| 178 | + border-color: #3b9fcf; | |
| 179 | + text-align: center; | |
| 180 | + font-family: Helvetica, Arial; | |
| 181 | + font-family: inherit; | |
| 182 | + font-size: 16px; | |
| 183 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 184 | + text-decoration: none; | |
| 185 | + margin: 5px auto 20px; | |
| 186 | + padding: 10px 20px; | |
| 187 | + width: auto; | |
| 188 | + max-width: max-content; | |
| 189 | +} | |
| 190 | + | |
| 191 | +/* Show Blue configuration shortcode button, if block selected or when no shortcode at all */ | |
| 192 | +.wpbc_gb_div_block.wpbc_gb_div_block_no_shortcode a.wpbc-gutenberg-open-btn, | |
| 193 | +.editor-block-list__block.is-selected .wpbc_gb_div_block a.wpbc-gutenberg-open-btn, | |
| 194 | +.block-editor-block-list__block.is-selected .wpbc_gb_div_block a.wpbc-gutenberg-open-btn /* FixIn: 8.7.6.11 */ { | |
| 195 | + display: block; | |
| 196 | +} | |
| 197 | + | |
| 198 | +/* Shortcode Input Text */ | |
| 199 | +.wpbc_gb_div_block .wpbc_gb_text_shortcode { | |
| 200 | + opacity: 0.3; | |
| 201 | + display: none; | |
| 202 | + padding: 5px 10px; | |
| 203 | + clear: both; | |
| 204 | + margin: 20px 0 0; | |
| 205 | + height: 2.4em; | |
| 206 | + cursor: pointer; | |
| 207 | + font-weight: 600; | |
| 208 | + background: none repeat scroll 0 0 #E9E9E9; | |
| 209 | + border: 1px solid #BBBBBB; | |
| 210 | + width: 100%; | |
| 211 | +} | |
| 212 | + | |
| 213 | +/* FixIn: 8.4.3.2 */ | |
| 214 | +div.wpbc_gb_block_shortcode_preview_wrapper strong { | |
| 215 | + font-weight: 600; | |
| 216 | +} | |