Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";

.wrapper {

Expand All @@ -8,7 +8,7 @@

&:not(:last-child) {
border-radius: 0;
border-bottom: 1px solid gb.$gray-100;
border-bottom: 1px solid colors.$gray-100;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;

.connection-toggle {

label {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";
@use "@wordpress/base-styles/mixins";

.customization-section {
padding: 1rem;
Expand All @@ -8,12 +9,12 @@
// Allow fieldset to shrink below its content size in grid/flex layouts.
min-inline-size: 0;

@include gb.break-medium() {
@include mixins.break-medium() {
overflow-y: auto;
}

legend {
color: gb.$gray-700;
color: colors.$gray-700;
// Float fixes the default fieldset/legend border and padding issues.
float: inline-start;
// Prevents height collapse in flex fieldsets.
Expand All @@ -31,16 +32,16 @@
// for per-network customization.
display: none;

@include gb.break-medium() {
@include mixins.break-medium() {
display: block;
}
}
}

@include gb.break-medium() {
@include mixins.break-medium() {

&[data-variant="global"] {
border-inline-end: 1px solid gb.$gray-200;
border-inline-end: 1px solid colors.$gray-200;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";

@keyframes preview-loading-pulse {

Expand All @@ -16,7 +16,7 @@
}

.preview-section {
background: gb.$gray-100;
background: colors.$gray-100;
padding: 1rem;

.inactive-preview {
Expand All @@ -26,10 +26,10 @@
align-items: center;
justify-content: center;
gap: 0.5rem;
color: gb.$gray-700;
color: colors.$gray-700;

svg {
fill: gb.$gray-700;
fill: colors.$gray-700;
}
}

Expand All @@ -43,9 +43,9 @@
.preview-skeleton {
inline-size: min(100%, 420px);
padding: 1rem;
border: 1px solid gb.$gray-200;
border: 1px solid colors.$gray-200;
border-radius: 8px;
background: gb.$white;
background: colors.$white;
display: flex;
flex-direction: column;
gap: 0.75rem;
Expand All @@ -60,7 +60,7 @@
.preview-skeleton-avatar,
.preview-skeleton-line,
.preview-skeleton-media {
background: gb.$gray-200;
background: colors.$gray-200;
animation: preview-loading-pulse 1.5s ease-in-out infinite;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";
@use "@wordpress/base-styles/mixins";
@use "@wordpress/base-styles/variables";

.tab-panel-wrapper {
min-height: 0;
overflow-y: auto;

@include gb.break-medium() {
@include mixins.break-medium() {
display: grid;
overflow-y: unset;

Expand All @@ -14,18 +16,18 @@
}

&[data-plan="paid"] {
border-top: 1px solid gb.$gray-200;
border-top: 1px solid colors.$gray-200;

@include gb.break-medium() {
@include mixins.break-medium() {
overflow: hidden;
}
}

[role="tablist"] {
padding: gb.$grid-unit-10; // 8px
border-block: 1px solid gb.$gray-200;
padding: variables.$grid-unit-10; // 8px
border-block: 1px solid colors.$gray-200;

@include gb.break-medium() {
@include mixins.break-medium() {
border-block-start: none;
}
}
Expand All @@ -40,7 +42,7 @@
display: grid;
min-height: 0;

@include gb.break-medium() {
@include mixins.break-medium() {
grid-template-rows: auto 1fr;
height: 100%;
}
Expand All @@ -54,8 +56,8 @@
height: 40px !important; // Core uses !important for tab height.

&:global(.is-active) {
background: gb.$gray-900;
border-radius: gb.$radius-medium;
background: colors.$gray-900;
border-radius: variables.$radius-medium;

// Hide the default active tab underline.
&::after {
Expand All @@ -74,7 +76,7 @@
width: 12px;
height: 12px;
border-radius: 50%;
border: 2px solid gb.$white;
border: 2px solid colors.$white;
position: absolute;
inset-block-start: 0;
inset-inline-start: 0;
Expand All @@ -87,7 +89,7 @@
grid-template-columns: 1fr;
height: 100%;

@include gb.break-medium() {
@include mixins.break-medium() {
overflow: hidden;
}

Expand All @@ -101,11 +103,11 @@

.connection-toggle-wrapper {
order: -1;
background-color: gb.$white;
background-color: colors.$white;
}
}

@include gb.break-medium() {
@include mixins.break-medium() {
// Ensure that it takes full height
grid-template-rows: 1fr;

Expand All @@ -121,7 +123,7 @@

.connection-toggle-wrapper {
order: unset;
background: gb.$gray-100;
background: colors.$gray-100;
}
}
}
Expand All @@ -131,7 +133,7 @@
display: flex;
flex-direction: column;

@include gb.break-medium() {
@include mixins.break-medium() {
overflow-y: auto;
}

Expand All @@ -142,6 +144,6 @@
}

.connection-toggle-wrapper {
background: gb.$gray-100;
background: colors.$gray-100;
padding: 1rem;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use "@automattic/jetpack-base-styles/root-variables";
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";

.more-link {
display: inline-block;
Expand Down Expand Up @@ -59,7 +59,7 @@

.connections-list {
border-radius: 2px;
border: 1px solid gb.$gray-200;
border: 1px solid colors.$gray-200;
}

.empty-state {
Expand Down Expand Up @@ -95,5 +95,5 @@
}

.per-network-customization-notice {
color: gb.$gray-700;
color: colors.$gray-700;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;

.social-icons-list {
display: flex;
justify-content: space-between;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";

.preview-wrapper {
position: relative;
Expand Down Expand Up @@ -56,7 +56,7 @@
}

.subtitle {
color: gb.$gray-700;
color: colors.$gray-700;
font-size: 12px;
font-weight: 400;
line-height: 16px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";

.message-box-control {

textarea:disabled {
background-color: gb.$gray-100;
background-color: colors.$gray-100;
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";

.message-template-editor {

textarea:disabled {
background-color: gb.$gray-100;
background-color: colors.$gray-100;
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";

.panel {
position: relative;
}

.description:global(.components-text) {
color: gb.$gray-700;
color: colors.$gray-700;
font-size: 0.75rem;
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";

// Set the colors and box so a global `code` rule can't restyle the token.
.placeholder-token {
padding: 0 4px;
border: 0;
border-radius: 2px;
background-color: gb.$gray-100;
color: gb.$gray-900;
background-color: colors.$gray-100;
color: colors.$gray-900;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";

.placeholders-help {

Expand Down Expand Up @@ -43,7 +43,7 @@
}

span {
color: var(--jp-gray-70, gb.$gray-700);
color: var(--jp-gray-70, colors.$gray-700);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/mixins";

.services {
display: flex;
Expand Down Expand Up @@ -203,7 +203,7 @@
justify-content: flex-start;
}

@include gb.break-medium {
@include mixins.break-medium {
flex-direction: row;
}
}
Expand All @@ -215,11 +215,11 @@
flex-basis: 100%;
min-width: 220px;

@include gb.break-medium {
@include mixins.break-medium {
flex-basis: 50%;
}

@include gb.break-small {
@include mixins.break-small {

button {
align-self: start;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/mixins";

.footer {
margin-top: 2rem;
Expand All @@ -18,7 +18,7 @@

.modal {

@include gb.break-small {
@include mixins.break-small {
max-height: 90%;
}
}
Loading
Loading