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
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Import @wordpress/base-styles modules directly instead of through the jetpack-base-styles wrapper. No change to the built CSS.


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/variables";

.details-panel__error,
.not-belong-to-site-notice,
Expand All @@ -16,7 +16,7 @@

.incomplete-chapters-notice {
margin: 0;
margin-block-start: gb.$grid-unit-10;
margin-block-start: variables.$grid-unit-10;
}

.learn-how-notice {
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/variables";

// Hack to hide when the media modal is open
// Otherwise in Firefox the popover remains visible on top of the modal
Expand All @@ -8,19 +9,19 @@
}

.current-media {
border-top: gb.$border-width solid gb.$gray-900;
margin-top: gb.$grid-unit-10;
margin-right: -(gb.$grid-unit-10);
margin-left: -(gb.$grid-unit-10);
padding: gb.$grid-unit-20 gb.$grid-unit-20 0;
border-top: variables.$border-width solid colors.$gray-900;
margin-top: variables.$grid-unit-10;
margin-right: -(variables.$grid-unit-10);
margin-left: -(variables.$grid-unit-10);
padding: variables.$grid-unit-20 variables.$grid-unit-20 0;
}

.poster-image-block-control__wrapper .poster-panel-control__help {
margin-bottom: 0;
}

.poster-image-block-control__remove-button.poster-image-block-control__remove-button {
padding-left: gb.$grid-unit-15;
padding-right: gb.$grid-unit-15;
padding-left: variables.$grid-unit-15;
padding-right: variables.$grid-unit-15;
}

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/variables";

// Hack to hide the Image dropdown when the media modal is open
body.modal-open .poster-panel__dropdown {
Expand Down Expand Up @@ -50,11 +50,11 @@ body.modal-open .poster-panel__dropdown {
}

.poster-panel-card {
margin-top: gb.$grid-unit-30;
margin-right: -(gb.$grid-unit-10);
margin-left: -(gb.$grid-unit-10);
padding-left: gb.$grid-unit-20;
padding-right: gb.$grid-unit-20;
margin-top: variables.$grid-unit-30;
margin-right: -(variables.$grid-unit-10);
margin-left: -(variables.$grid-unit-10);
padding-left: variables.$grid-unit-20;
padding-right: variables.$grid-unit-20;
}

.poster-panel__frame-picker__sandbox-wrapper {
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";

// Progress Footer

Expand All @@ -8,7 +8,7 @@
width: 100%;
align-items: center;
justify-content: space-between;
border-top: 1px solid gb.$gray-200;
border-top: 1px solid colors.$gray-200;
padding-top: 8px;
gap: 16px;

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

&__file-size {
color: gb.$gray-600;
color: colors.$gray-600;
}

&__progress {
Expand Down Expand Up @@ -76,7 +76,7 @@
}

&__scrubber-help {
color: gb.$gray-700;
color: colors.$gray-700;
}

&__poster-buttons {
Expand Down Expand Up @@ -133,8 +133,8 @@
}

&.is-error {
background-color: gb.$gray-100;
border-left-color: gb.$alert-red;
background-color: colors.$gray-100;
border-left-color: colors.$alert-red;
border-radius: 2px;
position: relative;
}
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";

.wp-block-jetpack-videopress {
position: relative;
Expand All @@ -12,7 +12,7 @@
margin-bottom: 1em;
margin-top: 0.5em;

@include gb.caption-style-theme();
@include mixins.caption-style-theme();
}

.jetpack-videopress-player__wrapper {
Expand Down
Loading