Skip to content

Commit

Permalink
Remove unwanted code.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Aug 21, 2024
1 parent 3220e61 commit 3200f54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
17 changes: 0 additions & 17 deletions assets/css/create-account.css
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,6 @@
margin: 0;
}

.mailchimp-sf-form-wrapper .woocommerce-input-wrapper {
width: 100%;
}

.mailchimp-sf-form-wrapper .mailchimp-select-wrapper select {
font-size: 14px;
/* font-family: "Proxima Nova Alt Light", Arial, Helvetica, sans-serif; */
Expand Down Expand Up @@ -348,19 +344,6 @@
outline: none;
}

.mailchimp-sf-form-wrapper fieldset input[type='checkbox']:not(#mailchimp_woocommerce_newsletter) {
width: 2em;
height: 2em;
border-radius: 4px;
border: 1px solid #DBD9D2;
}

.mailchimp-sf-form-wrapper fieldset input[type='checkbox']:not(#mailchimp_woocommerce_newsletter):checked::before {
color: #7FAD45;
margin: 0.6em 0px 0px 0.2em;
content: url("data:image/svg+xml;charset=UTF-8,%3csvg width='13' height='9' viewBox='0 0 13 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M10.75 0.5L12.25 2L5.26 9L0.75 4.5L2.25 3L5.26 6L10.75 0.5Z' fill='%237FAD45'/%3e%3c/svg%3e ");

}

.mailchimp-sf-form-wrapper .box.form-error label,
.mailchimp-sf-form-wrapper .box.form-error {
Expand Down
8 changes: 4 additions & 4 deletions includes/admin/templates/create-account-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
}
?>
<div class="mailchimp-sf-create-account">
<input type="hidden" name="signup_initiated" value="<?php echo esc_attr( (bool) $signup_initiated ); ?>" />
<div class="mailchimp-sf-create-account__header flex items-center">
<div class="flex items-center">
<svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">
Expand Down Expand Up @@ -112,7 +111,7 @@
<span> <?php esc_html_e( 'Phone number', 'mailchimp' ); ?></span>
<span>Optional</span>
</label>
<input type="text" id="phone_number" name="phone_number" value="<?php echo esc_attr( isset( $user->billing_phone ) ? $user->billing_phone : '' ); ?>"/>
<input type="text" id="phone_number" name="phone_number" value=""/>
</div>
</div>

Expand Down Expand Up @@ -326,12 +325,13 @@
</a>
</div>
</div>
<div id="mailchimp_woocommerce_options" class="mailchimp-sf-suggest-to-login hidden">
<div class="mailchimp-sf-suggest-to-login hidden">
<div class="title"><?php esc_html_e( 'Login', 'mailchimp' ); ?></div>
<p class="h4"><?php esc_html_e( 'It seems account with this email already created. You may try to login with this username. ', 'mailchimp' ); ?><span class="mailchimp-sf-email"></span></p>

<a id="mailchimp-connect" href="<?php echo esc_url( admin_url( 'admin.php?page=mailchimp_sf_options' ) ); ?>" class="button create-account-save oauth-connect"><?php esc_html_e( 'Connect', 'mailchimp' ); ?></a>
<a href="<?php echo esc_url( admin_url( 'admin.php?page=mailchimp_sf_options' ) ); ?>" class="button create-account-save"><?php esc_html_e( 'Connect', 'mailchimp' ); ?></a>
</div>
<input type="hidden" name="signup_initiated" value="<?php echo esc_attr( (bool) $signup_initiated ); ?>" />
</div>
</div>
</div>

0 comments on commit 3200f54

Please sign in to comment.