build/styles/block-library
accordion
7 months ago
accordion-heading
7 months ago
accordion-item
7 months ago
accordion-panel
7 months ago
archives
7 months ago
audio
7 months ago
avatar
7 months ago
breadcrumbs
7 months ago
button
6 months ago
buttons
7 months ago
calendar
7 months ago
categories
7 months ago
code
4 months ago
columns
7 months ago
comment-author-avatar
7 months ago
comment-author-name
7 months ago
comment-content
7 months ago
comment-date
7 months ago
comment-edit-link
7 months ago
comment-reply-link
7 months ago
comment-template
7 months ago
comments
7 months ago
comments-pagination
7 months ago
comments-pagination-numbers
7 months ago
comments-title
7 months ago
cover
7 months ago
details
7 months ago
embed
7 months ago
file
7 months ago
footnotes
7 months ago
form-input
5 months ago
form-submission-notification
7 months ago
form-submit-button
7 months ago
freeform
7 months ago
gallery
7 months ago
group
7 months ago
heading
7 months ago
html
5 months ago
icon
5 months ago
image
5 months ago
latest-comments
4 months ago
latest-posts
7 months ago
list
7 months ago
loginout
7 months ago
math
7 months ago
media-text
6 months ago
more
7 months ago
navigation
5 months ago
navigation-link
6 months ago
navigation-overlay-close
5 months ago
navigation-submenu
7 months ago
nextpage
7 months ago
page-list
7 months ago
paragraph
7 months ago
playlist
5 months ago
playlist-track
6 months ago
post-author
6 months ago
post-author-biography
4 months ago
post-author-name
7 months ago
post-comments-count
7 months ago
post-comments-form
7 months ago
post-comments-link
7 months ago
post-content
7 months ago
post-date
7 months ago
post-excerpt
7 months ago
post-featured-image
7 months ago
post-navigation-link
7 months ago
post-template
4 months ago
post-terms
7 months ago
post-time-to-read
7 months ago
post-title
7 months ago
preformatted
7 months ago
pullquote
7 months ago
query
7 months ago
query-pagination
7 months ago
query-pagination-numbers
7 months ago
query-title
7 months ago
query-total
7 months ago
quote
7 months ago
read-more
7 months ago
rss
7 months ago
search
7 months ago
separator
7 months ago
shortcode
7 months ago
site-logo
7 months ago
site-tagline
7 months ago
site-title
7 months ago
social-link
7 months ago
social-links
7 months ago
spacer
7 months ago
tab
4 months ago
tab-list
4 months ago
tab-panel
4 months ago
tab-panels
4 months ago
table
7 months ago
table-of-contents
7 months ago
tabs
4 months ago
tag-cloud
7 months ago
template-part
7 months ago
term-count
7 months ago
term-description
7 months ago
term-name
7 months ago
term-template
7 months ago
text-columns
7 months ago
verse
7 months ago
video
4 months ago
classic-rtl.css
1.1 KB
4 months ago
classic-rtl.min.css
991 B
4 months ago
classic.css
1.1 KB
4 months ago
classic.min.css
991 B
4 months ago
common-rtl.css
7.1 KB
5 months ago
common-rtl.min.css
3.5 KB
5 months ago
common.css
7.2 KB
5 months ago
common.min.css
3.5 KB
5 months ago
editor-elements-rtl.css
134 B
7 months ago
editor-elements-rtl.min.css
78 B
7 months ago
editor-elements.css
134 B
7 months ago
editor-elements.min.css
78 B
7 months ago
editor-rtl.css
74.1 KB
4 months ago
editor-rtl.min.css
61.8 KB
4 months ago
editor.css
74.2 KB
4 months ago
editor.min.css
61.8 KB
4 months ago
elements-rtl.css
68 B
7 months ago
elements-rtl.min.css
34 B
7 months ago
elements.css
68 B
7 months ago
elements.min.css
34 B
7 months ago
reset-rtl.css
3.2 KB
7 months ago
reset-rtl.min.css
2.0 KB
7 months ago
reset.css
3.2 KB
7 months ago
reset.min.css
2.0 KB
7 months ago
style-rtl.css
153.9 KB
4 months ago
style-rtl.min.css
131.9 KB
4 months ago
style.css
154.6 KB
4 months ago
style.min.css
131.8 KB
4 months ago
theme-rtl.css
5.0 KB
7 months ago
theme-rtl.min.css
2.6 KB
7 months ago
theme.css
5.0 KB
7 months ago
theme.min.css
2.6 KB
7 months ago
common.css in Gutenberg 23.2.0, at build/styles/block-library/common.css
| 1 | /** |
| 2 | * Colors |
| 3 | */ |
| 4 | /** |
| 5 | * Typography |
| 6 | */ |
| 7 | /** |
| 8 | * SCSS Variables. |
| 9 | * |
| 10 | * Please use variables from this sheet to ensure consistency across the UI. |
| 11 | * Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 12 | * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 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 | :root { |
| 91 | --wp-block-synced-color: #7a00df; |
| 92 | --wp-block-synced-color--rgb: 122, 0, 223; |
| 93 | --wp-bound-block-color: var(--wp-block-synced-color); |
| 94 | --wp-editor-canvas-background: #ddd; |
| 95 | --wp-admin-theme-color: #007cba; |
| 96 | --wp-admin-theme-color--rgb: 0, 124, 186; |
| 97 | --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5); |
| 98 | --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5; |
| 99 | --wp-admin-theme-color-darker-20: #005a87; |
| 100 | --wp-admin-theme-color-darker-20--rgb: 0, 90, 135; |
| 101 | --wp-admin-border-width-focus: 2px; |
| 102 | } |
| 103 | @media (min-resolution: 192dpi) { |
| 104 | :root { |
| 105 | --wp-admin-border-width-focus: 1.5px; |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * Element styles. |
| 111 | */ |
| 112 | .wp-element-button { |
| 113 | cursor: pointer; |
| 114 | } |
| 115 | |
| 116 | :root .has-very-light-gray-background-color { |
| 117 | background-color: #eee; |
| 118 | } |
| 119 | :root .has-very-dark-gray-background-color { |
| 120 | background-color: #313131; |
| 121 | } |
| 122 | :root .has-very-light-gray-color { |
| 123 | color: #eee; |
| 124 | } |
| 125 | :root .has-very-dark-gray-color { |
| 126 | color: #313131; |
| 127 | } |
| 128 | :root { |
| 129 | /* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */ |
| 130 | } |
| 131 | :root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background { |
| 132 | background: linear-gradient(135deg, rgb(0, 208, 132) 0%, rgb(6, 147, 227) 100%); |
| 133 | } |
| 134 | :root .has-purple-crush-gradient-background { |
| 135 | background: linear-gradient(135deg, rgb(52, 226, 228) 0%, rgb(71, 33, 251) 50%, rgb(171, 29, 254) 100%); |
| 136 | } |
| 137 | :root .has-hazy-dawn-gradient-background { |
| 138 | background: linear-gradient(135deg, rgb(250, 172, 168) 0%, rgb(218, 208, 236) 100%); |
| 139 | } |
| 140 | :root .has-subdued-olive-gradient-background { |
| 141 | background: linear-gradient(135deg, rgb(250, 250, 225) 0%, rgb(103, 166, 113) 100%); |
| 142 | } |
| 143 | :root .has-atomic-cream-gradient-background { |
| 144 | background: linear-gradient(135deg, rgb(253, 215, 154) 0%, rgb(0, 74, 89) 100%); |
| 145 | } |
| 146 | :root .has-nightshade-gradient-background { |
| 147 | background: linear-gradient(135deg, rgb(51, 9, 104) 0%, rgb(49, 205, 207) 100%); |
| 148 | } |
| 149 | :root .has-midnight-gradient-background { |
| 150 | background: linear-gradient(135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%); |
| 151 | } |
| 152 | :root { |
| 153 | /* stylelint-enable @stylistic/function-comma-space-after */ |
| 154 | --wp--preset--font-size--normal: 16px; |
| 155 | --wp--preset--font-size--huge: 42px; |
| 156 | } |
| 157 | |
| 158 | .has-regular-font-size { |
| 159 | font-size: 1em; |
| 160 | } |
| 161 | |
| 162 | .has-larger-font-size { |
| 163 | font-size: 2.625em; |
| 164 | } |
| 165 | |
| 166 | .has-normal-font-size { |
| 167 | font-size: var(--wp--preset--font-size--normal); |
| 168 | } |
| 169 | |
| 170 | .has-huge-font-size { |
| 171 | font-size: var(--wp--preset--font-size--huge); |
| 172 | } |
| 173 | |
| 174 | :root .has-text-align-center { |
| 175 | text-align: center; |
| 176 | } |
| 177 | |
| 178 | :root .has-text-align-left { |
| 179 | /*rtl:ignore*/ |
| 180 | text-align: left; |
| 181 | } |
| 182 | |
| 183 | :root .has-text-align-right { |
| 184 | /*rtl:ignore*/ |
| 185 | text-align: right; |
| 186 | } |
| 187 | |
| 188 | .has-fit-text { |
| 189 | white-space: nowrap !important; |
| 190 | } |
| 191 | |
| 192 | #end-resizable-editor-section { |
| 193 | display: none; |
| 194 | } |
| 195 | |
| 196 | .aligncenter { |
| 197 | clear: both; |
| 198 | } |
| 199 | |
| 200 | .items-justified-left { |
| 201 | justify-content: flex-start; |
| 202 | } |
| 203 | |
| 204 | .items-justified-center { |
| 205 | justify-content: center; |
| 206 | } |
| 207 | |
| 208 | .items-justified-right { |
| 209 | justify-content: flex-end; |
| 210 | } |
| 211 | |
| 212 | .items-justified-space-between { |
| 213 | justify-content: space-between; |
| 214 | } |
| 215 | |
| 216 | .screen-reader-text { |
| 217 | border: 0; |
| 218 | clip-path: inset(50%); |
| 219 | height: 1px; |
| 220 | margin: -1px; |
| 221 | overflow: hidden; |
| 222 | padding: 0; |
| 223 | position: absolute; |
| 224 | width: 1px; |
| 225 | word-wrap: normal !important; |
| 226 | word-break: normal !important; |
| 227 | } |
| 228 | |
| 229 | .screen-reader-text:focus { |
| 230 | background-color: #ddd; |
| 231 | clip-path: none; |
| 232 | color: #444; |
| 233 | display: block; |
| 234 | font-size: 1em; |
| 235 | height: auto; |
| 236 | left: 5px; |
| 237 | line-height: normal; |
| 238 | padding: 15px 23px 14px; |
| 239 | text-decoration: none; |
| 240 | top: 5px; |
| 241 | width: auto; |
| 242 | z-index: 100000; |
| 243 | } |
| 244 | |
| 245 | /** |
| 246 | * The following provide a simple means of applying a default border style when |
| 247 | * a user first makes a selection in the border block support panel. |
| 248 | * This prevents issues such as where the user could set a border width |
| 249 | * and see no border due there being no border style set. |
| 250 | * |
| 251 | * This is intended to be removed once intelligent defaults can be set while |
| 252 | * making border selections via the block support. |
| 253 | * |
| 254 | * See: https://github.com/WordPress/gutenberg/pull/33743 |
| 255 | */ |
| 256 | html :where(.has-border-color) { |
| 257 | border-style: solid; |
| 258 | } |
| 259 | |
| 260 | html :where([style*=border-color]) { |
| 261 | border-style: solid; |
| 262 | } |
| 263 | |
| 264 | html :where([style*=border-top-color]) { |
| 265 | border-top-style: solid; |
| 266 | } |
| 267 | |
| 268 | html :where([style*=border-right-color]) { |
| 269 | /*rtl:ignore*/ |
| 270 | border-right-style: solid; |
| 271 | } |
| 272 | |
| 273 | html :where([style*=border-bottom-color]) { |
| 274 | border-bottom-style: solid; |
| 275 | } |
| 276 | |
| 277 | html :where([style*=border-left-color]) { |
| 278 | /*rtl:ignore*/ |
| 279 | border-left-style: solid; |
| 280 | } |
| 281 | |
| 282 | html :where([style*=border-width]) { |
| 283 | border-style: solid; |
| 284 | } |
| 285 | |
| 286 | html :where([style*=border-top-width]) { |
| 287 | border-top-style: solid; |
| 288 | } |
| 289 | |
| 290 | html :where([style*=border-right-width]) { |
| 291 | /*rtl:ignore*/ |
| 292 | border-right-style: solid; |
| 293 | } |
| 294 | |
| 295 | html :where([style*=border-bottom-width]) { |
| 296 | border-bottom-style: solid; |
| 297 | } |
| 298 | |
| 299 | html :where([style*=border-left-width]) { |
| 300 | /*rtl:ignore*/ |
| 301 | border-left-style: solid; |
| 302 | } |
| 303 | |
| 304 | /** |
| 305 | * Provide baseline responsiveness for images. |
| 306 | */ |
| 307 | html :where(img[class*=wp-image-]) { |
| 308 | height: auto; |
| 309 | max-width: 100%; |
| 310 | } |
| 311 | |
| 312 | /** |
| 313 | * Reset user agent styles for figure element margins. |
| 314 | */ |
| 315 | :where(figure) { |
| 316 | margin: 0 0 1em 0; |
| 317 | } |
| 318 | |
| 319 | html :where(.is-position-sticky) { |
| 320 | /* stylelint-disable length-zero-no-unit -- 0px is set explicitly so that it can be used in a calc value. */ |
| 321 | --wp-admin--admin-bar--position-offset: var(--wp-admin--admin-bar--height, 0px); |
| 322 | /* stylelint-enable length-zero-no-unit */ |
| 323 | } |
| 324 | |
| 325 | @media screen and (max-width: 600px) { |
| 326 | html :where(.is-position-sticky) { |
| 327 | /* stylelint-disable length-zero-no-unit -- 0px is set explicitly so that it can be used in a calc value. */ |
| 328 | --wp-admin--admin-bar--position-offset: 0px; |
| 329 | /* stylelint-enable length-zero-no-unit */ |
| 330 | } |
| 331 | } |