Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dokan seller setup wizard style #437

Merged
merged 1 commit into from
Nov 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions assets/css/setup.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,13 @@
}
.wc-setup .wc-setup-actions .button-primary {
color: #fff;
background: #f2624d !important;
border-color: #f2624d !important;
text-shadow: 0 -1px 1px #ef381d, 1px 0 1px #ef381d, 0 1px 1px #ef381d, -1px 0 1px #ef381d;
background: #f2624d;
border-color: #f2624d;
}
.wc-setup .wc-setup-actions .button-primary:hover,
.wc-setup .wc-setup-actions .button-primary:active,
.wc-setup .wc-setup-actions .button-primary:focus {
background-color: #ef381d !important;
background-color: #ef381d;
}
.wc-setup .wc-setup-content a {
color: #f2624d;
Expand Down
7 changes: 3 additions & 4 deletions assets/src/less/setup.less
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,13 @@

.button-primary {
color: #fff;
background: @dokan-color !important;
border-color: @dokan-color !important;
text-shadow: 0 -1px 1px @dokan-color-darken, 1px 0 1px @dokan-color-darken, 0 1px 1px @dokan-color-darken, -1px 0 1px @dokan-color-darken;
background: @dokan-color;
border-color: @dokan-color;

&:hover,
&:active,
&:focus {
background-color: @dokan-color-darken !important;
background-color: @dokan-color-darken;
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions classes/seller-setup-wizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ public function dokan_setup_store() {

</table>
<p class="wc-setup-actions step">
<input type="submit" class="button-primary button button-large button-next store-step-continue" value="<?php esc_attr_e( 'Continue', 'dokan-lite' ); ?>" name="save_step" />
<a href="<?php echo esc_url( $this->get_next_step_link() ); ?>" class="button button-large button-next store-step-skip-btn"><?php _e( 'Skip this step', 'dokan-lite' ); ?></a>
<input type="submit" class="button-primary button button-large button-next store-step-continue dokan-btn-theme" value="<?php esc_attr_e( 'Continue', 'dokan-lite' ); ?>" name="save_step" />
<a href="<?php echo esc_url( $this->get_next_step_link() ); ?>" class="button button-large button-next store-step-skip-btn dokan-btn-theme"><?php _e( 'Skip this step', 'dokan-lite' ); ?></a>
<?php wp_nonce_field( 'dokan-seller-setup' ); ?>
</p>
</form>
Expand Down Expand Up @@ -375,8 +375,8 @@ public function dokan_setup_payment() {
?>
</table>
<p class="wc-setup-actions step">
<input type="submit" class="button-primary button button-large button-next payment-continue-btn" value="<?php esc_attr_e( 'Continue', 'dokan-lite' ); ?>" name="save_step" />
<a href="<?php echo esc_url( $this->get_next_step_link() ); ?>" class="button button-large button-next payment-step-skip-btn"><?php _e( 'Skip this step', 'dokan-lite' ); ?></a>
<input type="submit" class="button-primary button button-large button-next payment-continue-btn dokan-btn-theme" value="<?php esc_attr_e( 'Continue', 'dokan-lite' ); ?>" name="save_step" />
<a href="<?php echo esc_url( $this->get_next_step_link() ); ?>" class="button button-large button-next payment-step-skip-btn dokan-btn-theme"><?php _e( 'Skip this step', 'dokan-lite' ); ?></a>
<?php wp_nonce_field( 'dokan-seller-setup' ); ?>
</p>
</form>
Expand Down Expand Up @@ -442,7 +442,7 @@ public function dokan_setup_ready() {

<div class="dokan-setup-done-content">
<p class="wc-setup-actions step">
<a class="button button-primary" href="<?php echo esc_url( $dashboard_url ); ?>"><?php _e( 'Go to your Store Dashboard!', 'dokan-lite' ); ?></a>
<a class="button button-primary dokan-btn-theme" href="<?php echo esc_url( $dashboard_url ); ?>"><?php _e( 'Go to your Store Dashboard!', 'dokan-lite' ); ?></a>
</p>
</div>
<?php
Expand Down