| 1 |
/** |
| 2 |
* SCSS Variables. |
| 3 |
* |
| 4 |
* Please use variables from this sheet to ensure consistency across the UI. |
| 5 |
* Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 6 |
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 7 |
*/ |
| 8 |
/** |
| 9 |
* Colors |
| 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-social-links div.block-editor-url-input { |
| 47 |
display: inline-block; |
| 48 |
margin-left: 8px; |
| 49 |
} |
| 50 |
|
| 51 |
.wp-social-link:hover { |
| 52 |
transform: none; |
| 53 |
} |
| 54 |
|
| 55 |
:root :where(.wp-block-social-links) { |
| 56 |
padding: 0; |
| 57 |
} |
| 58 |
|
| 59 |
.wp-block[data-align=center] > .wp-block-social-links, |
| 60 |
.wp-block.wp-block-social-links.aligncenter { |
| 61 |
justify-content: center; |
| 62 |
} |
| 63 |
|
| 64 |
.block-editor-block-preview__content .components-button:disabled { |
| 65 |
opacity: 1; |
| 66 |
} |
| 67 |
|
| 68 |
.wp-social-link.wp-social-link__is-incomplete { |
| 69 |
opacity: 0.5; |
| 70 |
} |
| 71 |
|
| 72 |
.wp-block-social-links .is-selected .wp-social-link__is-incomplete, |
| 73 |
.wp-social-link.wp-social-link__is-incomplete:hover, |
| 74 |
.wp-social-link.wp-social-link__is-incomplete:focus { |
| 75 |
opacity: 1; |
| 76 |
} |
| 77 |
|
| 78 |
.wp-block-social-links .block-list-appender { |
| 79 |
position: static; |
| 80 |
} |
| 81 |
.wp-block-social-links .block-list-appender .block-editor-inserter { |
| 82 |
font-size: inherit; |
| 83 |
} |
| 84 |
.wp-block-social-links .block-list-appender .block-editor-button-block-appender { |
| 85 |
height: 1.5em; |
| 86 |
width: 1.5em; |
| 87 |
font-size: inherit; |
| 88 |
padding: 0; |
| 89 |
} |