build/styles/block-library/table
editor-rtl.css
3.4 KB
8 months ago
editor-rtl.min.css
1.5 KB
8 months ago
editor.css
3.4 KB
8 months ago
editor.min.css
1.5 KB
8 months ago
style-rtl.css
5.0 KB
8 months ago
style-rtl.min.css
3.8 KB
8 months ago
style.css
5.0 KB
8 months ago
style.min.css
3.8 KB
8 months ago
theme-rtl.css
2.0 KB
8 months ago
theme-rtl.min.css
232 B
8 months ago
theme.css
2.0 KB
8 months ago
theme.min.css
232 B
8 months ago
editor.css in Gutenberg 23.2.0, at build/styles/block-library/table/editor.css
| 1 | /** |
| 2 | * Typography |
| 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 | * Colors |
| 13 | */ |
| 14 | /** |
| 15 | * Fonts & basic variables. |
| 16 | */ |
| 17 | /** |
| 18 | * Typography |
| 19 | */ |
| 20 | /** |
| 21 | * Grid System. |
| 22 | * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
| 23 | */ |
| 24 | /** |
| 25 | * Radius scale. |
| 26 | */ |
| 27 | /** |
| 28 | * Elevation scale. |
| 29 | */ |
| 30 | /** |
| 31 | * Dimensions. |
| 32 | */ |
| 33 | /** |
| 34 | * Mobile specific styles |
| 35 | */ |
| 36 | /** |
| 37 | * Editor styles. |
| 38 | */ |
| 39 | /** |
| 40 | * Block & Editor UI. |
| 41 | */ |
| 42 | /** |
| 43 | * Block paddings. |
| 44 | */ |
| 45 | /** |
| 46 | * React Native specific. |
| 47 | * These variables do not appear to be used anywhere else. |
| 48 | */ |
| 49 | /** |
| 50 | * Breakpoints & Media Queries |
| 51 | */ |
| 52 | /** |
| 53 | * Converts a hex value into the rgb equivalent. |
| 54 | * |
| 55 | * @param {string} hex - the hexadecimal value to convert |
| 56 | * @return {string} comma separated rgb values |
| 57 | */ |
| 58 | /** |
| 59 | * Long content fade mixin |
| 60 | * |
| 61 | * Creates a fading overlay to signify that the content is longer |
| 62 | * than the space allows. |
| 63 | */ |
| 64 | /** |
| 65 | * Breakpoint mixins |
| 66 | */ |
| 67 | /** |
| 68 | * Focus styles. |
| 69 | */ |
| 70 | /** |
| 71 | * Applies editor left position to the selector passed as argument |
| 72 | */ |
| 73 | /** |
| 74 | * Styles that are reused verbatim in a few places |
| 75 | */ |
| 76 | /** |
| 77 | * Allows users to opt-out of animations via OS-level preferences. |
| 78 | */ |
| 79 | /** |
| 80 | * Reset default styles for JavaScript UI based pages. |
| 81 | * This is a WP-admin agnostic reset |
| 82 | */ |
| 83 | /** |
| 84 | * Reset the WP Admin page styles for Gutenberg-like pages. |
| 85 | */ |
| 86 | /** |
| 87 | * Creates a checkerboard pattern background to indicate transparency. |
| 88 | * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px. |
| 89 | */ |
| 90 | .wp-block[data-align=left] > .wp-block-table, .wp-block[data-align=right] > .wp-block-table, .wp-block[data-align=center] > .wp-block-table { |
| 91 | height: auto; |
| 92 | } |
| 93 | .wp-block[data-align=left] > .wp-block-table table, .wp-block[data-align=right] > .wp-block-table table, .wp-block[data-align=center] > .wp-block-table table { |
| 94 | width: auto; |
| 95 | } |
| 96 | .wp-block[data-align=left] > .wp-block-table td, |
| 97 | .wp-block[data-align=left] > .wp-block-table th, .wp-block[data-align=right] > .wp-block-table td, |
| 98 | .wp-block[data-align=right] > .wp-block-table th, .wp-block[data-align=center] > .wp-block-table td, |
| 99 | .wp-block[data-align=center] > .wp-block-table th { |
| 100 | word-break: break-word; |
| 101 | } |
| 102 | .wp-block[data-align=center] > .wp-block-table { |
| 103 | text-align: initial; |
| 104 | } |
| 105 | .wp-block[data-align=center] > .wp-block-table table { |
| 106 | margin: 0 auto; |
| 107 | } |
| 108 | .wp-block-table td, |
| 109 | .wp-block-table th { |
| 110 | border: 1px solid; |
| 111 | padding: 0.5em; |
| 112 | } |
| 113 | .wp-block-table td.is-selected, |
| 114 | .wp-block-table th.is-selected { |
| 115 | border-color: var(--wp-admin-theme-color); |
| 116 | box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color); |
| 117 | border-style: double; |
| 118 | } |
| 119 | .wp-block-table table.has-individual-borders > *, |
| 120 | .wp-block-table table.has-individual-borders tr, |
| 121 | .wp-block-table table.has-individual-borders th, |
| 122 | .wp-block-table table.has-individual-borders td { |
| 123 | border-width: 1px; |
| 124 | border-style: solid; |
| 125 | border-color: currentColor; |
| 126 | } |
| 127 | |
| 128 | .blocks-table__placeholder-form.blocks-table__placeholder-form { |
| 129 | display: flex; |
| 130 | flex-direction: column; |
| 131 | align-items: flex-start; |
| 132 | gap: 8px; |
| 133 | } |
| 134 | @media (min-width: 782px) { |
| 135 | .blocks-table__placeholder-form.blocks-table__placeholder-form { |
| 136 | flex-direction: row; |
| 137 | align-items: flex-end; |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | .blocks-table__placeholder-input { |
| 142 | width: 112px; |
| 143 | } |