| 1 |
/** |
| 2 |
* Colors |
| 3 |
*/ |
| 4 |
/** |
| 5 |
* SCSS Variables. |
| 6 |
* |
| 7 |
* Please use variables from this sheet to ensure consistency across the UI. |
| 8 |
* Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 9 |
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 10 |
*/ |
| 11 |
/** |
| 12 |
* Fonts & basic variables. |
| 13 |
*/ |
| 14 |
/** |
| 15 |
* Typography |
| 16 |
*/ |
| 17 |
/** |
| 18 |
* Grid System. |
| 19 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
| 20 |
*/ |
| 21 |
/** |
| 22 |
* Radius scale. |
| 23 |
*/ |
| 24 |
/** |
| 25 |
* Elevation scale. |
| 26 |
*/ |
| 27 |
/** |
| 28 |
* Dimensions. |
| 29 |
*/ |
| 30 |
/** |
| 31 |
* Mobile specific styles |
| 32 |
*/ |
| 33 |
/** |
| 34 |
* Editor styles. |
| 35 |
*/ |
| 36 |
/** |
| 37 |
* Block & Editor UI. |
| 38 |
*/ |
| 39 |
/** |
| 40 |
* Block paddings. |
| 41 |
*/ |
| 42 |
/** |
| 43 |
* React Native specific. |
| 44 |
* These variables do not appear to be used anywhere else. |
| 45 |
*/ |
| 46 |
.wp-block[data-align=center] > .wp-block-video { |
| 47 |
text-align: center; |
| 48 |
} |
| 49 |
|
| 50 |
.wp-block-video { |
| 51 |
position: relative; |
| 52 |
} |
| 53 |
.wp-block-video.is-transient video { |
| 54 |
opacity: 0.3; |
| 55 |
} |
| 56 |
.wp-block-video .components-spinner { |
| 57 |
position: absolute; |
| 58 |
top: 50%; |
| 59 |
left: 50%; |
| 60 |
margin-top: -9px; |
| 61 |
margin-left: -9px; |
| 62 |
} |
| 63 |
|
| 64 |
.block-library-video-tracks-editor { |
| 65 |
z-index: 159990; |
| 66 |
} |
| 67 |
|
| 68 |
.modal-open .block-library-video-tracks-editor { |
| 69 |
z-index: 99999; |
| 70 |
} |
| 71 |
|
| 72 |
.block-library-video-tracks-editor__track-list-track { |
| 73 |
padding-left: 12px; |
| 74 |
} |
| 75 |
|
| 76 |
.block-library-video-tracks-editor__single-track-editor-kind-select { |
| 77 |
max-width: 240px; |
| 78 |
} |
| 79 |
|
| 80 |
.block-library-video-tracks-editor__tracks-informative-message-title, |
| 81 |
.block-library-video-tracks-editor__single-track-editor-edit-track-label { |
| 82 |
margin-top: 4px; |
| 83 |
color: #757575; |
| 84 |
text-transform: uppercase; |
| 85 |
font-size: 11px; |
| 86 |
font-weight: 499; |
| 87 |
display: block; |
| 88 |
} |
| 89 |
|
| 90 |
.block-library-video-tracks-editor > .components-popover__content { |
| 91 |
width: 360px; |
| 92 |
} |
| 93 |
|
| 94 |
.block-library-video-tracks-editor__track-list .components-menu-group__label, |
| 95 |
.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label { |
| 96 |
padding: 0; |
| 97 |
} |
| 98 |
|
| 99 |
.block-library-video-tracks-editor__tracks-informative-message { |
| 100 |
padding: 8px; |
| 101 |
} |
| 102 |
.block-library-video-tracks-editor__tracks-informative-message-description { |
| 103 |
margin-bottom: 0; |
| 104 |
} |