Skip to content

Commit

Permalink
feat: improve list styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinderk committed Aug 4, 2023
1 parent 11ab737 commit 5abad50
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 17 deletions.
17 changes: 11 additions & 6 deletions assets/src/css/admin/paypal-commerce.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,15 @@
.paypal-commerce-connection-account-type-selection-modal{
color: #0E0E0E;

p.welcome-text{
color: #404040;
}
ul{
margin-left: 22px;

li{
font-size: 0.8em;
color: #666;
li{
font-size: 0.8em;
color: #666;
}
}

ul.flex2x2 {
display: flex;
flex-wrap: wrap;
Expand All @@ -75,6 +76,10 @@

p{
font-size: 16px;

&.welcome-text{
color: #404040;
}
}

span{
Expand Down
22 changes: 11 additions & 11 deletions assets/src/js/admin/paypal-commerce/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,26 +130,26 @@ window.addEventListener( 'DOMContentLoaded', function() {
id="paypal_donations_connection_account_type_ppcp"
value="PPCP"> ${ __( 'Advancded Card Processing', 'givewp') }
</label>
<ul>
<li>${__( 'Accept Credit & Debit Cards', 'givewp')}</li>
<li>${__( 'Seller Protection', 'givewp')}</li>
</ul>
</p>
<ul>
<li>${__( 'Accept Credit & Debit Cards', 'givewp')}</li>
<li>${__( 'Seller Protection', 'givewp')}</li>
</ul>
<p>
<label for="paypal_donations_connection_account_type_express_checkout">
<input type="radio"
name="paypal_donations_connection_account_type"
id="paypal_donations_connection_account_type_express_checkout"
value="EXPRESS_CHECKOUT">&nbsp;${__( 'Standard Card Processing', 'give')}
<span>${__( 'Requires Application Approval', 'give')}</span>
</label>
<ul class="flex2x2">
<li>${__( 'Accept Credit & Debit Cards', 'give')}</li>
<li>${__( 'Seller Protection', 'give')}</li>
<li>${__( 'Fraud Protection', 'give')}</li>
<li>${__( 'Chargeback Protection', 'give')}</li>
</ul>
<span>${__( 'Requires Application Approval', 'give')}</span>
</p>
<ul class="flex2x2">
<li>${__( 'Accept Credit & Debit Cards', 'give')}</li>
<li>${__( 'Seller Protection', 'give')}</li>
<li>${__( 'Fraud Protection', 'give')}</li>
<li>${__( 'Chargeback Protection', 'give')}</li>
</ul>
<div class="give-field-description">
<a href="https://docs.givewp.com/connection-comparison" target="_blank">
${__('Read more about the connection types', 'give')}
Expand Down

0 comments on commit 5abad50

Please sign in to comment.