mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
78 lines
1.2 KiB
SCSS
78 lines
1.2 KiB
SCSS
// 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;
|
|
}
|
|
}
|
|
}
|
|
}
|