Skip to content

Commit 3b264d8

Browse files
authored
Improve Logo Button css + on hover (#198)
1 parent 8306f0f commit 3b264d8

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

examples/customized-style.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1>Sac à main</h1>
3434
<button>Fake button</button>
3535
<p> The button above should be red with border blue, and the paragraph has a red border and a margin bottom set to 16px. </p>
3636
<p> Those are style from style.css which is the main style of the page (like the merchant website style) and should not be impacted by the widget style. </p>
37-
<select onchange="renderPaymentPlans()" id="quantity">
37+
<select onchange="renderPaymentPlans(); renderPaymentPlansCustom();" id="quantity">
3838
<option value="1">1</option>
3939
<option value="2">2</option>
4040
<option value="3">3</option>

examples/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ button {
2424
margin: 6px;
2525
}
2626

27+
button:hover,
28+
button:focus {
29+
background-color: #60d2df;
30+
}
31+
2732
p {
2833
margin-bottom: 16px;
2934
border: 1px solid red;

src/Widgets/PaymentPlans/PaymentPlans.module.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,15 @@
192192
color: inherit;
193193
box-shadow: none;
194194
border-radius: 0;
195+
cursor: pointer;
196+
}
197+
198+
.knowMore:hover {
199+
background-color: transparent;
200+
border: none;
201+
text-decoration: none;
202+
transform: scale(1.05);
203+
box-shadow: none;
195204
}
196205

197206
.knowMore:focus,

0 commit comments

Comments
 (0)