2020-01-03 08:17:24 -05:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
2021-01-27 21:04:13 -05:00
|
|
|
/**
|
|
|
|
* SCSS Variables.
|
|
|
|
*
|
|
|
|
* Please use variables from this sheet to ensure consistency across the UI.
|
|
|
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
2021-02-07 22:37:09 -05:00
|
|
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
2021-01-27 21:04:13 -05:00
|
|
|
*/
|
2020-01-22 17:06:21 -05:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2020-01-03 08:17:24 -05:00
|
|
|
/**
|
2020-06-26 09:33:47 -04:00
|
|
|
* Fonts & basic variables.
|
2020-01-03 08:17:24 -05:00
|
|
|
*/
|
2020-05-05 19:56:33 -04:00
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
/**
|
|
|
|
* Dimensions.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Shadows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Editor widths.
|
|
|
|
*/
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block & Editor UI.
|
2020-06-26 09:33:47 -04:00
|
|
|
*/
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block paddings.
|
2020-06-26 09:33:47 -04:00
|
|
|
*/
|
2020-10-13 09:10:30 -04:00
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* React Native specific.
|
|
|
|
* These variables do not appear to be used anywhere else.
|
2020-10-13 09:10:30 -04:00
|
|
|
*/
|
2020-01-03 08:17:24 -05: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 09:33:47 -04:00
|
|
|
* Focus styles.
|
2020-01-03 08:17:24 -05: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.
|
|
|
|
*/
|
2021-01-27 21:04:13 -05:00
|
|
|
/**
|
|
|
|
* These are default block editor widths in case the theme doesn't provide them.
|
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
:root {
|
|
|
|
--wp-admin-theme-color: #007cba;
|
|
|
|
--wp-admin-theme-color-darker-10: #006ba1;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #005a87;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
:root {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-block-ratings {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.block-directory-block-ratings > div {
|
|
|
|
line-height: 1;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
|
|
|
|
font-size: ms(-2);
|
|
|
|
}
|
|
|
|
.block-directory-block-ratings svg {
|
|
|
|
fill: #ffb900;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-compact-list {
|
|
|
|
margin: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
list-style: none;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-compact-list__item {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
.block-directory-compact-list__item:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-compact-list__item-details {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-compact-list__item-title {
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-compact-list__item-author {
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #757575;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-size: 11px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-author-info__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-author-info__content-author {
|
|
|
|
margin-bottom: 4px;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-size: 13px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-01-03 08:17:24 -05:00
|
|
|
.block-directory-downloadable-block-header__row {
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-header__title {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 13px;
|
2021-01-27 21:04:13 -05:00
|
|
|
color: currentColor;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-icon {
|
|
|
|
width: 36px;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
.block-directory-downloadable-block-icon .block-editor-block-icon {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
font-size: 36px;
|
|
|
|
background-color: #ddd;
|
|
|
|
}
|
|
|
|
.block-directory-downloadable-block-icon > img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-info__content {
|
2020-06-26 09:33:47 -04:00
|
|
|
margin: 0 0 16px;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-size: 13px;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-directory-downloadable-block-info__meta {
|
2020-01-03 08:17:24 -05:00
|
|
|
display: flex;
|
2020-06-26 09:33:47 -04:00
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 2px;
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #757575;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-directory-downloadable-block-info__meta:last-child {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-directory-downloadable-block-info__icon {
|
|
|
|
margin-right: 4px;
|
2021-01-27 21:04:13 -05:00
|
|
|
fill: #757575;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
2020-06-26 09:33:47 -04:00
|
|
|
margin: 0;
|
2020-01-03 08:17:24 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
font-size: 13px;
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #1e1e1e;
|
2020-01-03 08:17:24 -05:00
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: center;
|
|
|
|
background: transparent;
|
|
|
|
word-break: break-word;
|
2020-07-07 10:43:35 -04:00
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
border-bottom: 1px solid #ddd;
|
2020-01-03 08:17:24 -05:00
|
|
|
transition: all 0.05s ease-in-out;
|
|
|
|
position: relative;
|
|
|
|
text-align: left;
|
2021-01-27 21:04:13 -05:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-directory-downloadable-block-list-item {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
|
|
|
border-top: none;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
|
2021-01-27 21:04:13 -05:00
|
|
|
border-top: 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item:last-child {
|
2021-01-27 21:04:13 -05:00
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-01-03 08:17:24 -05:00
|
|
|
.block-directory-downloadable-block-list-item__panel {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item__header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 16px 16px 0;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item__body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 16px;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item__footer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-06-26 09:33:47 -04:00
|
|
|
padding: 16px;
|
2021-01-27 21:04:13 -05:00
|
|
|
background-color: #f0f0f0;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-list-item__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
color: #757575;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-directory-downloadable-block-notice {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0 0 16px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-directory-downloadable-block-notice__content {
|
|
|
|
padding-right: 12px;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-01-03 08:17:24 -05:00
|
|
|
.block-directory-downloadable-blocks-list {
|
|
|
|
list-style: none;
|
2020-06-26 09:33:47 -04:00
|
|
|
margin: 0;
|
2020-01-03 08:17:24 -05:00
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
|
|
|
.block-directory-downloadable-blocks-panel__description {
|
|
|
|
font-style: italic;
|
2020-06-26 09:33:47 -04:00
|
|
|
padding: 16px;
|
|
|
|
margin: 0;
|
2020-01-03 08:17:24 -05:00
|
|
|
text-align: left;
|
2021-01-27 21:04:13 -05:00
|
|
|
color: #757575;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
|
|
|
.block-directory-downloadable-blocks-panel__description.has-no-results {
|
|
|
|
font-style: normal;
|
|
|
|
padding: 0;
|
2020-06-26 09:33:47 -04:00
|
|
|
margin: 112px 0;
|
2020-01-03 08:17:24 -05:00
|
|
|
text-align: center;
|
2021-01-27 21:04:13 -05:00
|
|
|
color: #757575;
|
|
|
|
}
|
|
|
|
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
|
|
|
|
float: inherit;
|
|
|
|
}
|
2020-01-03 08:17:24 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.installed-blocks-pre-publish-panel__copy {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-top: 0;
|
|
|
|
}
|