lol backups and old site first commit
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/playlist-track",
|
||||
"title": "Playlist track",
|
||||
"category": "media",
|
||||
"parent": [ "core/playlist" ],
|
||||
"description": "Playlist track.",
|
||||
"keywords": [ "music", "sound" ],
|
||||
"textdomain": "default",
|
||||
"usesContext": [ "showArtists", "showImages" ],
|
||||
"attributes": {
|
||||
"blob": {
|
||||
"type": "string",
|
||||
"role": "local"
|
||||
},
|
||||
"id": {
|
||||
"type": "number"
|
||||
},
|
||||
"src": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"default": "audio"
|
||||
},
|
||||
"album": {
|
||||
"type": "string"
|
||||
},
|
||||
"artist": {
|
||||
"type": "string"
|
||||
},
|
||||
"image": {
|
||||
"type": "string"
|
||||
},
|
||||
"imageAlt": {
|
||||
"type": "string"
|
||||
},
|
||||
"length": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"html": false,
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
},
|
||||
"reusable": false
|
||||
},
|
||||
"style": "wp-block-playlist-track"
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
.wp-block-playlist-track:has([aria-current=true]) {
|
||||
background-color: color-mix(in srgb, currentColor 10%, transparent);
|
||||
}
|
||||
.wp-block-playlist-track:hover {
|
||||
background-color: color-mix(in srgb, currentColor 15%, transparent);
|
||||
}
|
||||
.wp-block-playlist__tracklist-show-numbers .wp-block-playlist-track {
|
||||
counter-increment: playlist-track;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
padding: var(--wp--preset--spacing--20, 0.5em);
|
||||
font-size: inherit;
|
||||
font-family: inherit;
|
||||
text-align: right;
|
||||
background-color: transparent;
|
||||
color: inherit;
|
||||
border: 0;
|
||||
outline-offset: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.wp-block-playlist__tracklist-show-numbers .wp-block-playlist-track .wp-block-playlist-track__button::before {
|
||||
content: counter(playlist-track);
|
||||
width: 2ch;
|
||||
margin-left: var(--wp--preset--spacing--20, 0.5em);
|
||||
font-size: 0.85em;
|
||||
opacity: 0.7;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__image {
|
||||
flex: 0 0 50px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
margin-left: var(--wp--preset--spacing--20, 0.5em);
|
||||
border: 1px solid rgba(0, 0, 0, 0.08);
|
||||
box-sizing: border-box;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__content {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__title {
|
||||
display: block;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__artist {
|
||||
display: block;
|
||||
font-size: 0.85em;
|
||||
opacity: 0.7;
|
||||
margin-top: 0.125em;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__length {
|
||||
margin-right: auto;
|
||||
font-size: 0.85em;
|
||||
opacity: 0.7;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.wp-block-playlist-track:has([aria-current=true]){background-color:color-mix(in srgb,currentColor 10%,transparent)}.wp-block-playlist-track:hover{background-color:color-mix(in srgb,currentColor 15%,transparent)}.wp-block-playlist__tracklist-show-numbers .wp-block-playlist-track{counter-increment:playlist-track}.wp-block-playlist-track .wp-block-playlist-track__button{align-items:center;background-color:transparent;border:0;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;outline-offset:2px;padding:var(--wp--preset--spacing--20,.5em);text-align:right;width:100%}.wp-block-playlist__tracklist-show-numbers .wp-block-playlist-track .wp-block-playlist-track__button:before{content:counter(playlist-track);font-size:.85em;margin-left:var(--wp--preset--spacing--20,.5em);opacity:.7;width:2ch}.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__image{border:1px solid rgba(0,0,0,.08);box-sizing:border-box;flex:0 0 50px;height:50px;margin-left:var(--wp--preset--spacing--20,.5em);-o-object-fit:cover;object-fit:cover;width:50px}.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__content{flex:1 1 0;min-width:0}.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__title{display:block}.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__artist{display:block;font-size:.85em;margin-top:.125em;opacity:.7}.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__length{font-size:.85em;margin-right:auto;opacity:.7}
|
||||
@@ -0,0 +1,58 @@
|
||||
.wp-block-playlist-track:has([aria-current=true]) {
|
||||
background-color: color-mix(in srgb, currentColor 10%, transparent);
|
||||
}
|
||||
.wp-block-playlist-track:hover {
|
||||
background-color: color-mix(in srgb, currentColor 15%, transparent);
|
||||
}
|
||||
.wp-block-playlist__tracklist-show-numbers .wp-block-playlist-track {
|
||||
counter-increment: playlist-track;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
padding: var(--wp--preset--spacing--20, 0.5em);
|
||||
font-size: inherit;
|
||||
font-family: inherit;
|
||||
text-align: left;
|
||||
background-color: transparent;
|
||||
color: inherit;
|
||||
border: 0;
|
||||
outline-offset: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.wp-block-playlist__tracklist-show-numbers .wp-block-playlist-track .wp-block-playlist-track__button::before {
|
||||
content: counter(playlist-track);
|
||||
width: 2ch;
|
||||
margin-right: var(--wp--preset--spacing--20, 0.5em);
|
||||
font-size: 0.85em;
|
||||
opacity: 0.7;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__image {
|
||||
flex: 0 0 50px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
margin-right: var(--wp--preset--spacing--20, 0.5em);
|
||||
border: 1px solid rgba(0, 0, 0, 0.08);
|
||||
box-sizing: border-box;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__content {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__title {
|
||||
display: block;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__artist {
|
||||
display: block;
|
||||
font-size: 0.85em;
|
||||
opacity: 0.7;
|
||||
margin-top: 0.125em;
|
||||
}
|
||||
.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__length {
|
||||
margin-left: auto;
|
||||
font-size: 0.85em;
|
||||
opacity: 0.7;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.wp-block-playlist-track:has([aria-current=true]){background-color:color-mix(in srgb,currentColor 10%,transparent)}.wp-block-playlist-track:hover{background-color:color-mix(in srgb,currentColor 15%,transparent)}.wp-block-playlist__tracklist-show-numbers .wp-block-playlist-track{counter-increment:playlist-track}.wp-block-playlist-track .wp-block-playlist-track__button{align-items:center;background-color:transparent;border:0;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;outline-offset:2px;padding:var(--wp--preset--spacing--20,.5em);text-align:left;width:100%}.wp-block-playlist__tracklist-show-numbers .wp-block-playlist-track .wp-block-playlist-track__button:before{content:counter(playlist-track);font-size:.85em;margin-right:var(--wp--preset--spacing--20,.5em);opacity:.7;width:2ch}.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__image{border:1px solid rgba(0,0,0,.08);box-sizing:border-box;flex:0 0 50px;height:50px;margin-right:var(--wp--preset--spacing--20,.5em);-o-object-fit:cover;object-fit:cover;width:50px}.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__content{flex:1 1 0;min-width:0}.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__title{display:block}.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__artist{display:block;font-size:.85em;margin-top:.125em;opacity:.7}.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__length{font-size:.85em;margin-left:auto;opacity:.7}
|
||||
Reference in New Issue
Block a user