2023-03-09 01:05:24 +01:00
|
|
|
.wp-block-image img{
|
2023-06-27 16:24:19 +02:00
|
|
|
box-sizing:border-box;
|
2023-03-09 01:05:24 +01:00
|
|
|
height:auto;
|
|
|
|
max-width:100%;
|
|
|
|
vertical-align:bottom;
|
|
|
|
}
|
2023-06-27 16:24:19 +02:00
|
|
|
.wp-block-image[style*=border-radius] img,.wp-block-image[style*=border-radius]>a{
|
|
|
|
border-radius:inherit;
|
|
|
|
}
|
|
|
|
.wp-block-image.has-custom-border img{
|
2023-03-09 01:05:24 +01:00
|
|
|
box-sizing:border-box;
|
|
|
|
}
|
|
|
|
.wp-block-image.aligncenter{
|
|
|
|
text-align:center;
|
|
|
|
}
|
|
|
|
.wp-block-image.alignfull img,.wp-block-image.alignwide img{
|
|
|
|
height:auto;
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.aligncenter,.wp-block-image.alignleft,.wp-block-image.alignright{
|
|
|
|
display:table;
|
|
|
|
}
|
|
|
|
.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.aligncenter>figcaption,.wp-block-image.alignleft>figcaption,.wp-block-image.alignright>figcaption{
|
|
|
|
caption-side:bottom;
|
|
|
|
display:table-caption;
|
|
|
|
}
|
|
|
|
.wp-block-image .alignleft{
|
|
|
|
float:left;
|
2023-06-27 16:24:19 +02:00
|
|
|
margin:.5em 1em .5em 0;
|
2023-03-09 01:05:24 +01:00
|
|
|
}
|
|
|
|
.wp-block-image .alignright{
|
|
|
|
float:right;
|
2023-06-27 16:24:19 +02:00
|
|
|
margin:.5em 0 .5em 1em;
|
2023-03-09 01:05:24 +01:00
|
|
|
}
|
|
|
|
.wp-block-image .aligncenter{
|
|
|
|
margin-left:auto;
|
|
|
|
margin-right:auto;
|
|
|
|
}
|
|
|
|
.wp-block-image figcaption{
|
|
|
|
margin-bottom:1em;
|
|
|
|
margin-top:.5em;
|
|
|
|
}
|
|
|
|
.wp-block-image .is-style-rounded img,.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{
|
|
|
|
border-radius:9999px;
|
|
|
|
}
|
|
|
|
@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){
|
|
|
|
.wp-block-image.is-style-circle-mask img{
|
|
|
|
border-radius:0;
|
|
|
|
-webkit-mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
|
|
|
|
mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
|
|
|
|
mask-mode:alpha;
|
|
|
|
-webkit-mask-position:center;
|
|
|
|
mask-position:center;
|
|
|
|
-webkit-mask-repeat:no-repeat;
|
2023-08-11 18:04:29 +02:00
|
|
|
mask-repeat:no-repeat;
|
2023-03-09 01:05:24 +01:00
|
|
|
-webkit-mask-size:contain;
|
|
|
|
mask-size:contain;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.wp-block-image :where(.has-border-color){
|
|
|
|
border-style:solid;
|
|
|
|
}
|
|
|
|
.wp-block-image :where([style*=border-top-color]){
|
|
|
|
border-top-style:solid;
|
|
|
|
}
|
|
|
|
.wp-block-image :where([style*=border-right-color]){
|
|
|
|
border-left-style:solid;
|
|
|
|
}
|
|
|
|
.wp-block-image :where([style*=border-bottom-color]){
|
|
|
|
border-bottom-style:solid;
|
|
|
|
}
|
|
|
|
.wp-block-image :where([style*=border-left-color]){
|
|
|
|
border-right-style:solid;
|
|
|
|
}
|
|
|
|
.wp-block-image :where([style*=border-width]){
|
|
|
|
border-style:solid;
|
|
|
|
}
|
|
|
|
.wp-block-image :where([style*=border-top-width]){
|
|
|
|
border-top-style:solid;
|
|
|
|
}
|
|
|
|
.wp-block-image :where([style*=border-right-width]){
|
|
|
|
border-left-style:solid;
|
|
|
|
}
|
|
|
|
.wp-block-image :where([style*=border-bottom-width]){
|
|
|
|
border-bottom-style:solid;
|
|
|
|
}
|
|
|
|
.wp-block-image :where([style*=border-left-width]){
|
|
|
|
border-right-style:solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-image figure{
|
|
|
|
margin:0;
|
2023-06-27 16:24:19 +02:00
|
|
|
}
|
|
|
|
|
2023-09-26 16:23:26 +02:00
|
|
|
.wp-lightbox-container{
|
Update npm packages to latest versions for 6.4 beta 3.
The npm packages needed a further update for beta 3 in preparation for 6.4.
Props @richtabor, @mmaattiiaass, @tellthemachines, @mamaduka, @swissspidy, @scruffian, @andraganescu, @andrewserong, @mujuonly, @get_dave, @ntsekouras, @carlosgprim, @ramonopoly, @jameskoster, @wildworks, @aaronrobertshaw, @czapla, @santosguillamot, @artemiosans, @afercia, @glendaviesnz, @kevin940726, @mikachan, @siobhyb.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56808
git-svn-id: http://core.svn.wordpress.org/trunk@56320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-09 19:24:24 +02:00
|
|
|
display:flex;
|
|
|
|
flex-direction:column;
|
2023-06-27 16:24:19 +02:00
|
|
|
position:relative;
|
|
|
|
}
|
Editor: Bugfixes npm packages updates for 6.4 RC1.
Updates for needed bugfixes in RC1:
* [https://github.com/WordPress/gutenberg/pull/55212 Image: Reimplement lightbox trigger as a minimal button in corner of image]
* [https://github.com/WordPress/gutenberg/pull/55403 [Edit Widgets] Only suppress admin notices when JS enabled.]
Follow-up to [56849], [56818], [56816].
Props artemiosans, jameskoster, SantosGuillamot, aristath, czapla, joen, afercia, richtabor, peterwilsoncc, andraganescu, hellofromTonya, siobhyb.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56961
git-svn-id: http://core.svn.wordpress.org/trunk@56472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-17 18:08:23 +02:00
|
|
|
.wp-lightbox-container img{
|
|
|
|
cursor:zoom-in;
|
|
|
|
}
|
|
|
|
.wp-lightbox-container img:hover+button{
|
|
|
|
opacity:1;
|
|
|
|
}
|
2023-06-27 16:24:19 +02:00
|
|
|
.wp-lightbox-container button{
|
Editor: Update of npm packages after 6.4 RC3.
This update includes the following fixes reported after RC3:
* Regression: [https://github.com/WordPress/gutenberg/pull/55858 Fixes patterns not working anymore as a post template for custom post types].
Scenario: When creating a new post for any custom post type registered with its "template" argument set to a pattern.
For this scenario, the pattern template no longer renders in the post editor or the frontend with 6.4, whereas it did render properly in 6.3.2.
This package update resolves the console error raised:
{{{
Uncaught TypeError: select(...).getCurrentTheme() is undefined
}}}
which restores the rendering of the pattern template.
* Regression: [https://github.com/WordPress/gutenberg/pull/55859 Fixes positioning and styles for the new lightbox's trigger] introduced in 6.4.
Follow up to [57048], [57034], [56987], [56961], [56849], [56818], [56816].
Props renathoc, rajinsharwar, richtabor, joen, mikachan, hellofromTonya.
Fixes #59411.
Built from https://develop.svn.wordpress.org/trunk@57063
git-svn-id: http://core.svn.wordpress.org/trunk@56574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-11-05 18:16:25 +01:00
|
|
|
align-items:center;
|
|
|
|
-webkit-backdrop-filter:blur(16px) saturate(180%);
|
|
|
|
backdrop-filter:blur(16px) saturate(180%);
|
2024-01-31 13:59:56 +01:00
|
|
|
background-color:#5a5a5a40;
|
2023-06-27 16:24:19 +02:00
|
|
|
border:none;
|
Editor: Update of npm packages after 6.4 RC3.
This update includes the following fixes reported after RC3:
* Regression: [https://github.com/WordPress/gutenberg/pull/55858 Fixes patterns not working anymore as a post template for custom post types].
Scenario: When creating a new post for any custom post type registered with its "template" argument set to a pattern.
For this scenario, the pattern template no longer renders in the post editor or the frontend with 6.4, whereas it did render properly in 6.3.2.
This package update resolves the console error raised:
{{{
Uncaught TypeError: select(...).getCurrentTheme() is undefined
}}}
which restores the rendering of the pattern template.
* Regression: [https://github.com/WordPress/gutenberg/pull/55859 Fixes positioning and styles for the new lightbox's trigger] introduced in 6.4.
Follow up to [57048], [57034], [56987], [56961], [56849], [56818], [56816].
Props renathoc, rajinsharwar, richtabor, joen, mikachan, hellofromTonya.
Fixes #59411.
Built from https://develop.svn.wordpress.org/trunk@57063
git-svn-id: http://core.svn.wordpress.org/trunk@56574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-11-05 18:16:25 +01:00
|
|
|
border-radius:4px;
|
2023-06-27 16:24:19 +02:00
|
|
|
cursor:zoom-in;
|
Editor: Update of npm packages after 6.4 RC3.
This update includes the following fixes reported after RC3:
* Regression: [https://github.com/WordPress/gutenberg/pull/55858 Fixes patterns not working anymore as a post template for custom post types].
Scenario: When creating a new post for any custom post type registered with its "template" argument set to a pattern.
For this scenario, the pattern template no longer renders in the post editor or the frontend with 6.4, whereas it did render properly in 6.3.2.
This package update resolves the console error raised:
{{{
Uncaught TypeError: select(...).getCurrentTheme() is undefined
}}}
which restores the rendering of the pattern template.
* Regression: [https://github.com/WordPress/gutenberg/pull/55859 Fixes positioning and styles for the new lightbox's trigger] introduced in 6.4.
Follow up to [57048], [57034], [56987], [56961], [56849], [56818], [56816].
Props renathoc, rajinsharwar, richtabor, joen, mikachan, hellofromTonya.
Fixes #59411.
Built from https://develop.svn.wordpress.org/trunk@57063
git-svn-id: http://core.svn.wordpress.org/trunk@56574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-11-05 18:16:25 +01:00
|
|
|
display:flex;
|
|
|
|
height:20px;
|
|
|
|
justify-content:center;
|
|
|
|
left:16px;
|
Editor: Bugfixes npm packages updates for 6.4 RC1.
Updates for needed bugfixes in RC1:
* [https://github.com/WordPress/gutenberg/pull/55212 Image: Reimplement lightbox trigger as a minimal button in corner of image]
* [https://github.com/WordPress/gutenberg/pull/55403 [Edit Widgets] Only suppress admin notices when JS enabled.]
Follow-up to [56849], [56818], [56816].
Props artemiosans, jameskoster, SantosGuillamot, aristath, czapla, joen, afercia, richtabor, peterwilsoncc, andraganescu, hellofromTonya, siobhyb.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56961
git-svn-id: http://core.svn.wordpress.org/trunk@56472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-17 18:08:23 +02:00
|
|
|
opacity:0;
|
|
|
|
padding:0;
|
2023-06-27 16:24:19 +02:00
|
|
|
position:absolute;
|
Editor: Bugfixes npm packages updates for 6.4 RC1.
Updates for needed bugfixes in RC1:
* [https://github.com/WordPress/gutenberg/pull/55212 Image: Reimplement lightbox trigger as a minimal button in corner of image]
* [https://github.com/WordPress/gutenberg/pull/55403 [Edit Widgets] Only suppress admin notices when JS enabled.]
Follow-up to [56849], [56818], [56816].
Props artemiosans, jameskoster, SantosGuillamot, aristath, czapla, joen, afercia, richtabor, peterwilsoncc, andraganescu, hellofromTonya, siobhyb.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56961
git-svn-id: http://core.svn.wordpress.org/trunk@56472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-17 18:08:23 +02:00
|
|
|
text-align:center;
|
Editor: Update of npm packages after 6.4 RC3.
This update includes the following fixes reported after RC3:
* Regression: [https://github.com/WordPress/gutenberg/pull/55858 Fixes patterns not working anymore as a post template for custom post types].
Scenario: When creating a new post for any custom post type registered with its "template" argument set to a pattern.
For this scenario, the pattern template no longer renders in the post editor or the frontend with 6.4, whereas it did render properly in 6.3.2.
This package update resolves the console error raised:
{{{
Uncaught TypeError: select(...).getCurrentTheme() is undefined
}}}
which restores the rendering of the pattern template.
* Regression: [https://github.com/WordPress/gutenberg/pull/55859 Fixes positioning and styles for the new lightbox's trigger] introduced in 6.4.
Follow up to [57048], [57034], [56987], [56961], [56849], [56818], [56816].
Props renathoc, rajinsharwar, richtabor, joen, mikachan, hellofromTonya.
Fixes #59411.
Built from https://develop.svn.wordpress.org/trunk@57063
git-svn-id: http://core.svn.wordpress.org/trunk@56574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-11-05 18:16:25 +01:00
|
|
|
top:16px;
|
|
|
|
transition:opacity .2s ease;
|
|
|
|
width:20px;
|
2023-06-27 16:24:19 +02:00
|
|
|
z-index:100;
|
|
|
|
}
|
|
|
|
.wp-lightbox-container button:focus-visible{
|
2024-01-31 13:59:56 +01:00
|
|
|
outline:3px auto #5a5a5a40;
|
Editor: Update of npm packages after 6.4 RC3.
This update includes the following fixes reported after RC3:
* Regression: [https://github.com/WordPress/gutenberg/pull/55858 Fixes patterns not working anymore as a post template for custom post types].
Scenario: When creating a new post for any custom post type registered with its "template" argument set to a pattern.
For this scenario, the pattern template no longer renders in the post editor or the frontend with 6.4, whereas it did render properly in 6.3.2.
This package update resolves the console error raised:
{{{
Uncaught TypeError: select(...).getCurrentTheme() is undefined
}}}
which restores the rendering of the pattern template.
* Regression: [https://github.com/WordPress/gutenberg/pull/55859 Fixes positioning and styles for the new lightbox's trigger] introduced in 6.4.
Follow up to [57048], [57034], [56987], [56961], [56849], [56818], [56816].
Props renathoc, rajinsharwar, richtabor, joen, mikachan, hellofromTonya.
Fixes #59411.
Built from https://develop.svn.wordpress.org/trunk@57063
git-svn-id: http://core.svn.wordpress.org/trunk@56574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-11-05 18:16:25 +01:00
|
|
|
outline:3px auto -webkit-focus-ring-color;
|
|
|
|
outline-offset:3px;
|
2023-06-27 16:24:19 +02:00
|
|
|
}
|
Editor: Bugfixes npm packages updates for 6.4 RC1.
Updates for needed bugfixes in RC1:
* [https://github.com/WordPress/gutenberg/pull/55212 Image: Reimplement lightbox trigger as a minimal button in corner of image]
* [https://github.com/WordPress/gutenberg/pull/55403 [Edit Widgets] Only suppress admin notices when JS enabled.]
Follow-up to [56849], [56818], [56816].
Props artemiosans, jameskoster, SantosGuillamot, aristath, czapla, joen, afercia, richtabor, peterwilsoncc, andraganescu, hellofromTonya, siobhyb.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56961
git-svn-id: http://core.svn.wordpress.org/trunk@56472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-17 18:08:23 +02:00
|
|
|
.wp-lightbox-container button:hover{
|
|
|
|
cursor:pointer;
|
|
|
|
opacity:1;
|
|
|
|
}
|
|
|
|
.wp-lightbox-container button:focus{
|
|
|
|
opacity:1;
|
|
|
|
}
|
Update npm packages to latest versions for 6.4 beta 3.
The npm packages needed a further update for beta 3 in preparation for 6.4.
Props @richtabor, @mmaattiiaass, @tellthemachines, @mamaduka, @swissspidy, @scruffian, @andraganescu, @andrewserong, @mujuonly, @get_dave, @ntsekouras, @carlosgprim, @ramonopoly, @jameskoster, @wildworks, @aaronrobertshaw, @czapla, @santosguillamot, @artemiosans, @afercia, @glendaviesnz, @kevin940726, @mikachan, @siobhyb.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56808
git-svn-id: http://core.svn.wordpress.org/trunk@56320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-09 19:24:24 +02:00
|
|
|
.wp-lightbox-container button:focus,.wp-lightbox-container button:hover,.wp-lightbox-container button:not(:hover):not(:active):not(.has-background){
|
2024-01-31 13:59:56 +01:00
|
|
|
background-color:#5a5a5a40;
|
Update npm packages to latest versions for 6.4 beta 3.
The npm packages needed a further update for beta 3 in preparation for 6.4.
Props @richtabor, @mmaattiiaass, @tellthemachines, @mamaduka, @swissspidy, @scruffian, @andraganescu, @andrewserong, @mujuonly, @get_dave, @ntsekouras, @carlosgprim, @ramonopoly, @jameskoster, @wildworks, @aaronrobertshaw, @czapla, @santosguillamot, @artemiosans, @afercia, @glendaviesnz, @kevin940726, @mikachan, @siobhyb.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56808
git-svn-id: http://core.svn.wordpress.org/trunk@56320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-09 19:24:24 +02:00
|
|
|
border:none;
|
|
|
|
}
|
2023-06-27 16:24:19 +02:00
|
|
|
|
|
|
|
.wp-lightbox-overlay{
|
2023-09-26 16:23:26 +02:00
|
|
|
box-sizing:border-box;
|
|
|
|
cursor:zoom-out;
|
2023-06-27 16:24:19 +02:00
|
|
|
height:100vh;
|
|
|
|
overflow:hidden;
|
|
|
|
position:fixed;
|
|
|
|
right:0;
|
|
|
|
top:0;
|
|
|
|
visibility:hidden;
|
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 22:07:12 +01:00
|
|
|
width:100%;
|
2023-06-27 16:24:19 +02:00
|
|
|
z-index:100000;
|
|
|
|
}
|
|
|
|
.wp-lightbox-overlay .close-button{
|
Update npm packages to latest versions for 6.4 beta 3.
The npm packages needed a further update for beta 3 in preparation for 6.4.
Props @richtabor, @mmaattiiaass, @tellthemachines, @mamaduka, @swissspidy, @scruffian, @andraganescu, @andrewserong, @mujuonly, @get_dave, @ntsekouras, @carlosgprim, @ramonopoly, @jameskoster, @wildworks, @aaronrobertshaw, @czapla, @santosguillamot, @artemiosans, @afercia, @glendaviesnz, @kevin940726, @mikachan, @siobhyb.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56808
git-svn-id: http://core.svn.wordpress.org/trunk@56320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-09 19:24:24 +02:00
|
|
|
align-items:center;
|
2023-06-27 16:24:19 +02:00
|
|
|
cursor:pointer;
|
Update npm packages to latest versions for 6.4 beta 3.
The npm packages needed a further update for beta 3 in preparation for 6.4.
Props @richtabor, @mmaattiiaass, @tellthemachines, @mamaduka, @swissspidy, @scruffian, @andraganescu, @andrewserong, @mujuonly, @get_dave, @ntsekouras, @carlosgprim, @ramonopoly, @jameskoster, @wildworks, @aaronrobertshaw, @czapla, @santosguillamot, @artemiosans, @afercia, @glendaviesnz, @kevin940726, @mikachan, @siobhyb.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56808
git-svn-id: http://core.svn.wordpress.org/trunk@56320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-09 19:24:24 +02:00
|
|
|
display:flex;
|
|
|
|
justify-content:center;
|
|
|
|
left:calc(env(safe-area-inset-left) + 16px);
|
|
|
|
min-height:40px;
|
|
|
|
min-width:40px;
|
2023-06-27 16:24:19 +02:00
|
|
|
padding:0;
|
|
|
|
position:absolute;
|
Update npm packages to latest versions for 6.4 beta 3.
The npm packages needed a further update for beta 3 in preparation for 6.4.
Props @richtabor, @mmaattiiaass, @tellthemachines, @mamaduka, @swissspidy, @scruffian, @andraganescu, @andrewserong, @mujuonly, @get_dave, @ntsekouras, @carlosgprim, @ramonopoly, @jameskoster, @wildworks, @aaronrobertshaw, @czapla, @santosguillamot, @artemiosans, @afercia, @glendaviesnz, @kevin940726, @mikachan, @siobhyb.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56808
git-svn-id: http://core.svn.wordpress.org/trunk@56320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-09 19:24:24 +02:00
|
|
|
top:calc(env(safe-area-inset-top) + 16px);
|
2023-06-27 16:24:19 +02:00
|
|
|
z-index:5000000;
|
|
|
|
}
|
Update npm packages to latest versions for 6.4 beta 3.
The npm packages needed a further update for beta 3 in preparation for 6.4.
Props @richtabor, @mmaattiiaass, @tellthemachines, @mamaduka, @swissspidy, @scruffian, @andraganescu, @andrewserong, @mujuonly, @get_dave, @ntsekouras, @carlosgprim, @ramonopoly, @jameskoster, @wildworks, @aaronrobertshaw, @czapla, @santosguillamot, @artemiosans, @afercia, @glendaviesnz, @kevin940726, @mikachan, @siobhyb.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56808
git-svn-id: http://core.svn.wordpress.org/trunk@56320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-09 19:24:24 +02:00
|
|
|
.wp-lightbox-overlay .close-button:focus,.wp-lightbox-overlay .close-button:hover,.wp-lightbox-overlay .close-button:not(:hover):not(:active):not(.has-background){
|
|
|
|
background:none;
|
|
|
|
border:none;
|
|
|
|
}
|
2023-09-26 16:23:26 +02:00
|
|
|
.wp-lightbox-overlay .lightbox-image-container{
|
|
|
|
height:var(--wp--lightbox-container-height);
|
|
|
|
overflow:hidden;
|
|
|
|
position:absolute;
|
|
|
|
right:50%;
|
|
|
|
top:50%;
|
|
|
|
transform:translate(50%, -50%);
|
|
|
|
transform-origin:top right;
|
|
|
|
width:var(--wp--lightbox-container-width);
|
|
|
|
z-index:9999999999;
|
|
|
|
}
|
2023-06-27 16:24:19 +02:00
|
|
|
.wp-lightbox-overlay .wp-block-image{
|
|
|
|
align-items:center;
|
|
|
|
box-sizing:border-box;
|
|
|
|
display:flex;
|
|
|
|
height:100%;
|
|
|
|
justify-content:center;
|
2023-09-26 16:23:26 +02:00
|
|
|
margin:0;
|
|
|
|
position:relative;
|
|
|
|
transform-origin:100% 0;
|
2023-06-27 16:24:19 +02:00
|
|
|
width:100%;
|
|
|
|
z-index:3000000;
|
|
|
|
}
|
2023-09-26 16:23:26 +02:00
|
|
|
.wp-lightbox-overlay .wp-block-image img{
|
|
|
|
height:var(--wp--lightbox-image-height);
|
|
|
|
min-height:var(--wp--lightbox-image-height);
|
|
|
|
min-width:var(--wp--lightbox-image-width);
|
|
|
|
width:var(--wp--lightbox-image-width);
|
|
|
|
}
|
2023-06-27 16:24:19 +02:00
|
|
|
.wp-lightbox-overlay .wp-block-image figcaption{
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
.wp-lightbox-overlay button{
|
|
|
|
background:none;
|
|
|
|
border:none;
|
|
|
|
}
|
|
|
|
.wp-lightbox-overlay .scrim{
|
|
|
|
background-color:#fff;
|
|
|
|
height:100%;
|
|
|
|
opacity:.9;
|
|
|
|
position:absolute;
|
|
|
|
width:100%;
|
|
|
|
z-index:2000000;
|
|
|
|
}
|
2023-09-26 16:23:26 +02:00
|
|
|
.wp-lightbox-overlay.active{
|
2023-06-27 16:24:19 +02:00
|
|
|
animation:turn-on-visibility .25s both;
|
|
|
|
visibility:visible;
|
|
|
|
}
|
2023-09-26 16:23:26 +02:00
|
|
|
.wp-lightbox-overlay.active img{
|
|
|
|
animation:turn-on-visibility .35s both;
|
2023-06-27 16:24:19 +02:00
|
|
|
}
|
2024-02-09 19:22:22 +01:00
|
|
|
.wp-lightbox-overlay.show-closing-animation:not(.active){
|
2023-09-26 16:23:26 +02:00
|
|
|
animation:turn-off-visibility .35s both;
|
2023-06-27 16:24:19 +02:00
|
|
|
}
|
2024-02-09 19:22:22 +01:00
|
|
|
.wp-lightbox-overlay.show-closing-animation:not(.active) img{
|
2023-06-27 16:24:19 +02:00
|
|
|
animation:turn-off-visibility .25s both;
|
|
|
|
}
|
2023-09-26 16:23:26 +02:00
|
|
|
@media (prefers-reduced-motion:no-preference){
|
|
|
|
.wp-lightbox-overlay.zoom.active{
|
|
|
|
animation:none;
|
|
|
|
opacity:1;
|
|
|
|
visibility:visible;
|
2023-06-27 16:24:19 +02:00
|
|
|
}
|
2023-09-26 16:23:26 +02:00
|
|
|
.wp-lightbox-overlay.zoom.active .lightbox-image-container{
|
|
|
|
animation:lightbox-zoom-in .4s;
|
|
|
|
}
|
|
|
|
.wp-lightbox-overlay.zoom.active .lightbox-image-container img{
|
|
|
|
animation:none;
|
|
|
|
}
|
|
|
|
.wp-lightbox-overlay.zoom.active .scrim{
|
|
|
|
animation:turn-on-visibility .4s forwards;
|
|
|
|
}
|
2024-02-09 19:22:22 +01:00
|
|
|
.wp-lightbox-overlay.zoom.show-closing-animation:not(.active){
|
2023-09-26 16:23:26 +02:00
|
|
|
animation:none;
|
|
|
|
}
|
2024-02-09 19:22:22 +01:00
|
|
|
.wp-lightbox-overlay.zoom.show-closing-animation:not(.active) .lightbox-image-container{
|
2023-09-26 16:23:26 +02:00
|
|
|
animation:lightbox-zoom-out .4s;
|
|
|
|
}
|
2024-02-09 19:22:22 +01:00
|
|
|
.wp-lightbox-overlay.zoom.show-closing-animation:not(.active) .lightbox-image-container img{
|
2023-09-26 16:23:26 +02:00
|
|
|
animation:none;
|
|
|
|
}
|
2024-02-09 19:22:22 +01:00
|
|
|
.wp-lightbox-overlay.zoom.show-closing-animation:not(.active) .scrim{
|
2023-09-26 16:23:26 +02:00
|
|
|
animation:turn-off-visibility .4s forwards;
|
2023-06-27 16:24:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes turn-on-visibility{
|
|
|
|
0%{
|
|
|
|
opacity:0;
|
|
|
|
}
|
|
|
|
to{
|
|
|
|
opacity:1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes turn-off-visibility{
|
|
|
|
0%{
|
|
|
|
opacity:1;
|
|
|
|
visibility:visible;
|
|
|
|
}
|
|
|
|
99%{
|
|
|
|
opacity:0;
|
|
|
|
visibility:visible;
|
|
|
|
}
|
|
|
|
to{
|
|
|
|
opacity:0;
|
|
|
|
visibility:hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes lightbox-zoom-in{
|
|
|
|
0%{
|
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 22:07:12 +01:00
|
|
|
transform:translate(calc(((-100vw + var(--wp--lightbox-scrollbar-width))/2 + var(--wp--lightbox-initial-left-position))*-1), calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));
|
2023-06-27 16:24:19 +02:00
|
|
|
}
|
|
|
|
to{
|
2023-09-26 16:23:26 +02:00
|
|
|
transform:translate(50%, -50%) scale(1);
|
2023-06-27 16:24:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes lightbox-zoom-out{
|
|
|
|
0%{
|
2023-09-26 16:23:26 +02:00
|
|
|
transform:translate(50%, -50%) scale(1);
|
2023-06-27 16:24:19 +02:00
|
|
|
visibility:visible;
|
|
|
|
}
|
|
|
|
99%{
|
|
|
|
visibility:visible;
|
|
|
|
}
|
|
|
|
to{
|
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 22:07:12 +01:00
|
|
|
transform:translate(calc(((-100vw + var(--wp--lightbox-scrollbar-width))/2 + var(--wp--lightbox-initial-left-position))*-1), calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));
|
2023-09-26 16:23:26 +02:00
|
|
|
visibility:hidden;
|
2023-06-27 16:24:19 +02:00
|
|
|
}
|
2023-03-09 01:05:24 +01:00
|
|
|
}
|