mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
Implement business view
This commit is contained in:
parent
222bd0848e
commit
1ced06b24e
13 changed files with 176 additions and 24 deletions
|
@ -1,5 +1,4 @@
|
|||
.ppcp-r-select-box-wrapper {
|
||||
max-width: 590px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
gap: 32px;
|
||||
|
@ -7,38 +6,61 @@
|
|||
}
|
||||
|
||||
.ppcp-r-select-box {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
border: 1px solid $color-gray-500;
|
||||
outline:1px solid transparent;
|
||||
border-radius: 8px;
|
||||
padding: 28px 32px;
|
||||
display: flex;
|
||||
gap: 32px;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
padding: 28px 16px 28px 32px;
|
||||
|
||||
|
||||
input[type='radio'] {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
&.selected {
|
||||
border-color: $color-blueberry;
|
||||
outline-color: $color-blueberry;
|
||||
box-shadow: $shadow-selection-box;
|
||||
}
|
||||
|
||||
&__radio-value {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&__radio {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
|
||||
border-radius: 0;
|
||||
&:checked {
|
||||
+ .ppcp-r-select-box__presentation {
|
||||
background:black;
|
||||
+ .ppcp-r-select-box__radio-presentation {
|
||||
background: $color-white;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 6px solid $color-blueberry;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__content {
|
||||
display: flex;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
&__title {
|
||||
@include font(16, 24, 600);
|
||||
color: $color-blueberry;
|
||||
margin: 0 0 4px 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
&__description {
|
||||
@include font(14, 20, 400);
|
||||
color: $color-gray-800;
|
||||
margin: 0 0 18px 0;
|
||||
}
|
||||
|
||||
&__radio-presentation {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue