2020-01-03 14:17:24 +01:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2020-07-07 16:43:35 +02:00
|
|
|
/**
|
|
|
|
* Deprecated colors.
|
|
|
|
* Please avoid using these.
|
|
|
|
*/
|
2020-01-03 14:17:24 +01:00
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
2020-01-22 23:06:21 +01:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2020-07-07 16:43:35 +02:00
|
|
|
/**
|
|
|
|
* Deprecated colors.
|
|
|
|
* Please avoid using these.
|
|
|
|
*/
|
2020-01-03 14:17:24 +01:00
|
|
|
/**
|
2020-06-26 15:33:47 +02:00
|
|
|
* Fonts & basic variables.
|
2020-01-03 14:17:24 +01:00
|
|
|
*/
|
2020-05-06 01:56:33 +02:00
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
/**
|
|
|
|
* Dimensions.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Shadows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Editor widths.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Block UI.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Border radii.
|
|
|
|
*/
|
2020-01-03 14:17:24 +01:00
|
|
|
/**
|
|
|
|
* Breakpoint mixins
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Long content fade mixin
|
|
|
|
*
|
|
|
|
* Creates a fading overlay to signify that the content is longer
|
|
|
|
* than the space allows.
|
|
|
|
*/
|
|
|
|
/**
|
2020-06-26 15:33:47 +02:00
|
|
|
* Focus styles.
|
2020-01-03 14:17:24 +01:00
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Applies editor left position to the selector passed as argument
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Styles that are reused verbatim in a few places
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Reset default styles for JavaScript UI based pages.
|
|
|
|
* This is a WP-admin agnostic reset
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
:root {
|
|
|
|
--wp-admin-theme-color: #007cba;
|
|
|
|
--wp-admin-theme-color-darker-10: #006ba1;
|
|
|
|
--wp-admin-theme-color-darker-20: #005a87; }
|
|
|
|
|
|
|
|
.block-directory-block-ratings {
|
|
|
|
display: flex; }
|
|
|
|
.block-directory-block-ratings > div {
|
|
|
|
line-height: 1;
|
|
|
|
display: flex; }
|
|
|
|
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
|
|
|
|
color: #606a73;
|
|
|
|
font-size: ms(-2); }
|
|
|
|
.block-directory-block-ratings svg {
|
|
|
|
fill: #ffb900; }
|
|
|
|
|
|
|
|
.block-directory-compact-list {
|
|
|
|
margin: 0;
|
|
|
|
list-style: none; }
|
|
|
|
|
|
|
|
.block-directory-compact-list__item {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 16px; }
|
|
|
|
.block-directory-compact-list__item:last-child {
|
|
|
|
margin-bottom: 0; }
|
|
|
|
|
|
|
|
.block-directory-compact-list__item-details {
|
|
|
|
margin-right: 8px; }
|
|
|
|
|
|
|
|
.block-directory-compact-list__item-title {
|
|
|
|
font-weight: 500; }
|
|
|
|
|
|
|
|
.block-directory-compact-list__item-author {
|
|
|
|
color: #555d66;
|
|
|
|
font-size: 11px; }
|
|
|
|
|
|
|
|
.block-directory-downloadable-block-author-info__content {
|
|
|
|
color: #606a73;
|
|
|
|
font-size: 12px; }
|
|
|
|
|
|
|
|
.block-directory-downloadable-block-author-info__content-author {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
font-size: 13px; }
|
|
|
|
|
2020-01-03 14:17:24 +01:00
|
|
|
.block-directory-downloadable-block-header__row {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1; }
|
2020-06-26 15:33:47 +02:00
|
|
|
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
padding-right: 12px; }
|
|
|
|
|
|
|
|
.block-directory-downloadable-block-header__title {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 13px;
|
|
|
|
color: currentColor; }
|
|
|
|
|
|
|
|
.block-directory-downloadable-block-icon {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px; }
|
|
|
|
.block-directory-downloadable-block-icon .block-editor-block-icon {
|
2020-01-03 14:17:24 +01:00
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
font-size: 36px;
|
2020-07-07 16:43:35 +02:00
|
|
|
background-color: #ddd; }
|
2020-01-03 14:17:24 +01:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-info__content {
|
2020-06-26 15:33:47 +02:00
|
|
|
margin: 0 0 16px;
|
2020-01-03 14:17:24 +01:00
|
|
|
font-size: 13px; }
|
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.block-directory-downloadable-block-info__meta {
|
2020-01-03 14:17:24 +01:00
|
|
|
display: flex;
|
2020-06-26 15:33:47 +02:00
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 2px;
|
2020-01-03 14:17:24 +01:00
|
|
|
color: #606a73;
|
2020-02-06 22:03:31 +01:00
|
|
|
font-size: 12px; }
|
2020-01-03 14:17:24 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.block-directory-downloadable-block-info__meta:last-child {
|
|
|
|
margin-bottom: 0; }
|
2020-01-03 14:17:24 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.block-directory-downloadable-block-info__icon {
|
|
|
|
margin-left: 4px;
|
|
|
|
fill: #606a73; }
|
2020-01-03 14:17:24 +01:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
2020-06-26 15:33:47 +02:00
|
|
|
margin: 0;
|
2020-01-03 14:17:24 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
font-size: 13px;
|
|
|
|
color: #32373c;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: center;
|
|
|
|
background: transparent;
|
|
|
|
word-break: break-word;
|
2020-07-07 16:43:35 +02:00
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
border-bottom: 1px solid #ddd;
|
2020-01-03 14:17:24 +01:00
|
|
|
transition: all 0.05s ease-in-out;
|
|
|
|
position: relative;
|
|
|
|
text-align: right;
|
|
|
|
overflow: hidden; }
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-directory-downloadable-block-list-item {
|
|
|
|
transition-duration: 0s; } }
|
2020-07-07 16:43:35 +02:00
|
|
|
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
|
|
|
border-top: none; }
|
2020-01-03 14:17:24 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
|
|
|
|
border-top: 0; }
|
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item:last-child {
|
|
|
|
border-bottom: 0; }
|
|
|
|
|
2020-01-03 14:17:24 +01:00
|
|
|
.block-directory-downloadable-block-list-item__panel {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-direction: column; }
|
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item__header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-06-26 15:33:47 +02:00
|
|
|
padding: 16px 16px 0; }
|
2020-01-03 14:17:24 +01:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item__body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-06-26 15:33:47 +02:00
|
|
|
padding: 16px; }
|
2020-01-03 14:17:24 +01:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item__footer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-06-26 15:33:47 +02:00
|
|
|
padding: 16px;
|
2020-07-07 16:43:35 +02:00
|
|
|
background-color: #f0f0f0; }
|
2020-01-03 14:17:24 +01:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item__content {
|
|
|
|
color: #606a73; }
|
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.block-directory-downloadable-block-notice {
|
|
|
|
margin: 0 0 16px; }
|
|
|
|
|
|
|
|
.block-directory-downloadable-block-notice__content {
|
|
|
|
padding-left: 12px;
|
|
|
|
margin-bottom: 8px; }
|
|
|
|
|
2020-01-03 14:17:24 +01:00
|
|
|
.block-directory-downloadable-blocks-list {
|
|
|
|
list-style: none;
|
2020-06-26 15:33:47 +02:00
|
|
|
margin: 0;
|
2020-01-03 14:17:24 +01:00
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap; }
|
|
|
|
|
|
|
|
.block-directory-downloadable-blocks-panel__description {
|
|
|
|
font-style: italic;
|
2020-06-26 15:33:47 +02:00
|
|
|
padding: 16px;
|
|
|
|
margin: 0;
|
2020-01-03 14:17:24 +01:00
|
|
|
text-align: right;
|
|
|
|
color: #606a73; }
|
|
|
|
|
|
|
|
.block-directory-downloadable-blocks-panel__description.has-no-results {
|
|
|
|
font-style: normal;
|
|
|
|
padding: 0;
|
2020-06-26 15:33:47 +02:00
|
|
|
margin: 112px 0;
|
2020-01-03 14:17:24 +01:00
|
|
|
text-align: center;
|
|
|
|
color: #606a73; }
|
|
|
|
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
|
|
|
|
float: inherit; }
|
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.installed-blocks-pre-publish-panel__copy {
|
|
|
|
margin-top: 0; }
|