cart: enhancements
This commit is contained in:
@@ -22,23 +22,28 @@
|
||||
border-radius: 30px !important;
|
||||
}
|
||||
|
||||
.differentCardIcon{
|
||||
.differentCardIcon {
|
||||
position: relative;
|
||||
top: 1px
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.eCardIcon {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
margin-right: 4px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
:global(.ant-app-rtl) .eCardIcon {
|
||||
margin-right: 0;
|
||||
margin-left: 4px;
|
||||
}
|
||||
/* Make AntD checkbox look like a circular check indicator (scoped via CSS modules) */
|
||||
.circleCheckbox :global(.ant-checkbox-inner) {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 50% !important;
|
||||
border: 1.5px solid #D5D8DA;
|
||||
border: 1.5px solid #d5d8da;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
@@ -59,6 +64,11 @@
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
:global(.ant-app-rtl) .circleCheckbox :global(.ant-checkbox-inner::after) {
|
||||
left: auto;
|
||||
right: 50%;
|
||||
}
|
||||
|
||||
.circleCheckbox :global(.ant-checkbox-checked .ant-checkbox-inner::after) {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
@@ -68,12 +78,17 @@
|
||||
background: #ffb700;
|
||||
}
|
||||
|
||||
:global(.ant-app-rtl) .circleCheckbox :global(.ant-checkbox-checked .ant-checkbox-inner::after) {
|
||||
margin-left: auto;
|
||||
margin-right: -9px;
|
||||
}
|
||||
|
||||
/* Apply same circular style to Radio buttons */
|
||||
.circleCheckbox :global(.ant-radio-inner) {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 50% !important;
|
||||
border: 1.5px solid #D5D8DA;
|
||||
border: 1.5px solid #d5d8da;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
@@ -93,6 +108,11 @@
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
:global(.ant-app-rtl) .circleCheckbox :global(.ant-radio-inner::after) {
|
||||
left: auto;
|
||||
right: 50%;
|
||||
}
|
||||
|
||||
.circleCheckbox :global(.ant-radio-checked .ant-radio-inner::after) {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
@@ -102,3 +122,7 @@
|
||||
background: #ffb700;
|
||||
}
|
||||
|
||||
:global(.ant-app-rtl) .circleCheckbox :global(.ant-radio-checked .ant-radio-inner::after) {
|
||||
margin-left: auto;
|
||||
margin-right: -9px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user