mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
245 lines
3.5 KiB
SCSS
245 lines
3.5 KiB
SCSS
@import './settings/input';
|
|
@import './settings/tab-styling';
|
|
@import './settings/tab-paylater-configurator';
|
|
|
|
// Container and Tab Settings
|
|
.ppcp-r-tabs.settings,
|
|
.ppcp-r-container--settings {
|
|
--max-container-width: var(--max-width-settings);
|
|
|
|
.ppcp-r-inner-container {
|
|
max-width: var(--max-container-width);
|
|
}
|
|
}
|
|
|
|
// Todo List and Feature Items
|
|
.ppcp-r-todo-item {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
width: 100%;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
|
|
.ppcp-r-todo-item__inner {
|
|
.ppcp-r-todo-item__description {
|
|
color: $color-text-text;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:not(:last-child) {
|
|
border-bottom: 1px solid $color-gray-400;
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
&:not(:first-child) {
|
|
padding-top: 16px;
|
|
}
|
|
|
|
p {
|
|
@include font(14, 20, 400);
|
|
}
|
|
|
|
&__inner {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
}
|
|
|
|
&__close {
|
|
margin-left: auto;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
color: $color-blueberry;
|
|
}
|
|
}
|
|
|
|
.ppcp-r__checkbox {
|
|
.components-flex {
|
|
gap: 12px;
|
|
}
|
|
|
|
label {
|
|
@include font(13, 20, 400);
|
|
color: $color-blueberry;
|
|
}
|
|
}
|
|
|
|
&__description {
|
|
@include font(13, 20, 400);
|
|
color: $color-blueberry;
|
|
}
|
|
|
|
&__icon {
|
|
border: 1px dashed #949494;
|
|
background: #fff;
|
|
border-radius: 50%;
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
}
|
|
|
|
.ppcp-r-feature-item {
|
|
padding-top: 32px;
|
|
border-top: 1px solid $color-gray-400;
|
|
|
|
&__title {
|
|
@include font(16, 20, 600);
|
|
color: $color-black;
|
|
display: block;
|
|
margin: 0 0 8px 0;
|
|
}
|
|
|
|
&__description {
|
|
@include font(14, 20, 400);
|
|
color: $color-gray-800;
|
|
margin: 0 0 18px 0;
|
|
}
|
|
|
|
&:not(:last-child) {
|
|
padding-bottom: 32px;
|
|
}
|
|
|
|
&__buttons {
|
|
display: flex;
|
|
gap: 18px;
|
|
}
|
|
|
|
&__notes {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
span {
|
|
font-weight: 500;
|
|
}
|
|
|
|
margin-top: 24px;
|
|
}
|
|
}
|
|
|
|
// Connection Status
|
|
.ppcp-r-connection-status {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
|
|
&__status-status {
|
|
margin: 0 0 8px 0;
|
|
|
|
strong {
|
|
@include font(14, 24, 700);
|
|
color: $color-black;
|
|
}
|
|
}
|
|
|
|
&__status-label {
|
|
@include font(11, 22, 600);
|
|
color: $color-gray-900;
|
|
display: block;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
&__status-value {
|
|
@include font(13, 26, 400);
|
|
color: $color-text-tertiary;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
&__data {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
&__status-toggle--toggled {
|
|
.ppcp-r-connection-status__show-all-data {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
|
|
&__status-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
strong {
|
|
@include font(14, 24, 600);
|
|
color: $color-gray-800;
|
|
margin-right: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ppcp-r-connection-status__status-toggle {
|
|
line-height: 0;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 767px) {
|
|
flex-wrap: wrap;
|
|
&__status {
|
|
width: 100%;
|
|
}
|
|
&__status-row {
|
|
flex-wrap: wrap;
|
|
|
|
strong {
|
|
width: 100%;
|
|
}
|
|
|
|
span {
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Feature Refresh
|
|
.ppcp-r-feature-refresh {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
|
|
&__row {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
&__content {
|
|
width: 100%;
|
|
|
|
&-title {
|
|
@include font(16, 20, 700);
|
|
color: $color-black;
|
|
display: block;
|
|
margin: 0 0 4px 0;
|
|
}
|
|
|
|
p {
|
|
@include font(12, 20, 400);
|
|
color: $color-gray-700;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
button {
|
|
display: flex;
|
|
gap: 4px;
|
|
@include font(13, 20, 400);
|
|
}
|
|
}
|
|
|
|
// Payment Methods
|
|
.ppcp-r-payment-methods {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 48px;
|
|
}
|
|
|