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 dashboard buttons color synchronization issue with dokan color customizer module. #62

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
6 changes: 3 additions & 3 deletions assets/css/master.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/master.css.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion assets/less/dokan.less
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,8 @@ body.dokan-dashboard {
}

.dokan-product-search-form .dokan-form-control {
padding: 4px 15px;
min-height: 35px;
padding: 4px 15px;
}

div.dokan-orders-content .dokan-orders-area .dokan-order-filter-serach {
Expand Down
8 changes: 4 additions & 4 deletions inc/css-output.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,13 @@ function dokani_advanced_css() {
$css->add_property( 'border-color', esc_attr( $dokani_settings['theme_color'] ) );

$css->set_selector( '.dokan-theme-dokani input[type="submit"].dokan-btn-theme, .dokan-theme-dokani a.dokan-btn-theme, .dokan-theme-dokani .dokan-btn-theme' );
$css->add_property( 'background-color', esc_attr( $dokani_settings['theme_color'] ) . '!important' );
$css->add_property( 'border-color', esc_attr( $dokani_settings['theme_color'] ) . '!important' );
$css->add_property( 'background-color', esc_attr( $dokani_settings['theme_color'] ) );
$css->add_property( 'border-color', esc_attr( $dokani_settings['theme_color'] ) );

$css->set_selector( '.dokan-theme-dokani input[type="submit"].dokan-btn-theme:hover, .dokan-theme-dokani .dokan-btn-theme:hover, .dokan-theme-dokani .dokan-btn-theme:focus' );
$css->add_property( 'background-color', esc_attr( $dokani_settings['theme_color'] ) . '!important' );
$css->add_property( 'background-color', esc_attr( $dokani_settings['theme_color'] ) );
$css->add_property( 'opacity', '.9' );
$css->add_property( 'border-color', esc_attr( $dokani_settings['theme_color'] ) . '!important' );
$css->add_property( 'border-color', esc_attr( $dokani_settings['theme_color'] ) );


// Bottom bar
Expand Down