| @@ -225,12 +225,12 @@ | ||
| 225 | 225 | <div class="automatorwp-subtitle"><?php _e( 'When this happens...', 'automatorwp' ); ?></div> |
| 226 | 226 | |
| 227 | 227 | <?php // Sequential ?> |
| 228 | 228 | <div class="automatorwp-sequential-field cmb2-switch"> |
| 229 | - <label for="sequential"><?php _e( 'Sequential', 'automatorwp' ); ?></label> | |
| 229 | + <label for="sequential"><?php _e( 'Sequential', 'automatorwp' ); ?> <?php echo cmb_tooltip_get_html( __( 'Check this option to force users to complete triggers in order.', 'automatorwp' ) ) ?></label> | |
| 230 | 230 | <div class="cmb-td"> |
| 231 | 231 | <input type="checkbox" id="sequential" name="sequential" class="automatorwp-auto-save" value="1" <?php checked( $automation->sequential, 1 ); ?> /> |
| 232 | - <label for="sequential"><span class="cmb2-metabox-description"><?php _e( 'Check this option to force users to complete triggers in order.', 'automatorwp' ); ?></span></label> | |
| 232 | + <label for="sequential"><span class="cmb2-metabox-description"></span></label> | |
| 233 | 233 | </div> |
| 234 | 234 | </div> |
| 235 | 235 | |
| 236 | 236 | <?php // Triggers ?> |
| @@ -528,9 +528,9 @@ | ||
| 528 | 528 | <?php endforeach; ?> |
| 529 | 529 | |
| 530 | 530 | <?php endif; ?> |
| 531 | 531 | |
| 532 | - <button type="button" class="button automatorwp-button-danger automatorwp-cancel-choice-select"><?php _e( 'Cancel', 'automatorwp' ); ?></button> | |
| 532 | + <button type="button" class="button button-compact automatorwp-button-danger automatorwp-cancel-choice-select"><?php _e( 'Cancel', 'automatorwp' ); ?></button> | |
| 533 | 533 | |
| 534 | 534 | </div> |
| 535 | 535 | |
| 536 | 536 | <?php |
| @@ -721,9 +721,12 @@ | ||
| 721 | 721 | |
| 722 | 722 | <?php if( ! empty( $actions ) ) : ?> |
| 723 | 723 | <div class="automatorwp-automation-item-actions"> |
| 724 | 724 | <?php foreach( $actions as $action => $action_args ) : ?> |
| 725 | - <div class="automatorwp-automation-item-action automatorwp-automation-item-action-<?php echo $action; ?>" title="<?php echo esc_attr( $action_args['label'] ); ?>"><span class="dashicons dashicons-<?php echo $action_args['icon']; ?>"></span></div> | |
| 725 | + <div class="automatorwp-automation-item-action automatorwp-automation-item-action-<?php echo $action; ?> cmb-tooltip"> | |
| 726 | + <span class="dashicons dashicons-<?php echo $action_args['icon']; ?>"></span> | |
| 727 | + <span class="cmb-tooltip-desc cmb-tooltip-top"><?php echo esc_html( $action_args['label'] ); ?></span> | |
| 728 | + </div> | |
| 726 | 729 | <?php endforeach; ?> |
| 727 | 730 | |
| 728 | 731 | </div> |
| 729 | 732 | <?php endif; ?> |
| @@ -801,10 +804,10 @@ | ||
| 801 | 804 | * @param array $args The option arguments |
| 802 | 805 | */ |
| 803 | 806 | do_action( 'automatorwp_automation_ui_before_option_form', $object, $item_type, $option, $args ); ?> |
| 804 | 807 | |
| 805 | - <button type="button" class="button button-primary automatorwp-save-option-form"><?php _e( 'Save', 'automatorwp' ); ?></button> | |
| 806 | - <button type="button" class="button automatorwp-button-danger automatorwp-cancel-option-form"><?php _e( 'Cancel', 'automatorwp' ); ?></button> | |
| 808 | + <button type="button" class="button button-compact button-primary automatorwp-save-option-form"><?php _e( 'Save', 'automatorwp' ); ?></button> | |
| 809 | + <button type="button" class="button button-compact automatorwp-button-danger automatorwp-cancel-option-form"><?php _e( 'Cancel', 'automatorwp' ); ?></button> | |
| 807 | 810 | |
| 808 | 811 | <div class="automatorwp-spinner" style="display: none;"> |
| 809 | 812 | <span class="spinner is-active"></span> |
| 810 | 813 | <span class="spinner-label"><?php _e( 'Saving...', 'automatorwp' ); ?></span> |
| @@ -1228,12 +1231,12 @@ | ||
| 1228 | 1231 | $value = apply_filters( 'automatorwp_get_automation_item_option_replacement', $value, $object, $item_type, $option, $context ); |
| 1229 | 1232 | |
| 1230 | 1233 | if( $context === 'edit' ) { |
| 1231 | 1234 | |
| 1232 | - $option_class = 'button button-primary'; | |
| 1235 | + $option_class = 'button button-compact button-primary'; | |
| 1233 | 1236 | |
| 1234 | 1237 | if( $object->type === 'filter' ) { |
| 1235 | - $option_class = 'button'; | |
| 1238 | + $option_class = 'button button-compact'; | |
| 1236 | 1239 | } |
| 1237 | 1240 | |
| 1238 | 1241 | /** |
| 1239 | 1242 | * Filters the option button class |
| @@ -1239,9 +1242,9 @@ | ||
| 1239 | 1242 | * Filters the option button class |
| 1240 | 1243 | * |
| 1241 | 1244 | * @since 1.2.4 |
| 1242 | 1245 | * |
| 1243 | - * @param string $option_class The option class, by default "button button-primary" | |
| 1246 | + * @param string $option_class The option class | |
| 1244 | 1247 | * @param stdClass $object The trigger/action object |
| 1245 | 1248 | * @param string $item_type The item type (trigger|action) |
| 1246 | 1249 | * @param string $option The option name |
| 1247 | 1250 | * @param string $context The context this function is executed |