corvée(dépendances) ajoute Carbon Fields
This commit is contained in:
parent
135cc65eed
commit
62368587e5
459 changed files with 72750 additions and 26 deletions
11
web/vendor/htmlburger/carbon-fields/packages/blocks/components/field/index.js
vendored
Normal file
11
web/vendor/htmlburger/carbon-fields/packages/blocks/components/field/index.js
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Carbon Fields dependencies.
|
||||
*/
|
||||
import { Field, withFilters } from '@carbon-fields/core';
|
||||
|
||||
/**
|
||||
* Internal dependencies.
|
||||
*/
|
||||
import './style.scss';
|
||||
|
||||
export default withFilters( 'carbon-fields.field-wrapper.block' )( Field );
|
||||
47
web/vendor/htmlburger/carbon-fields/packages/blocks/components/field/style.scss
vendored
Normal file
47
web/vendor/htmlburger/carbon-fields/packages/blocks/components/field/style.scss
vendored
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
/* ==========================================================================
|
||||
Field
|
||||
========================================================================== */
|
||||
|
||||
.cf-field {
|
||||
.block-editor & {
|
||||
font-family: $wp-font;
|
||||
font-size: $wp-font-size;
|
||||
line-height: $wp-line-height;
|
||||
color: $gb-dark-gray-500;
|
||||
padding: $size-base * 2;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.wp-block-widget-area & {
|
||||
padding: 6.5px 20px;
|
||||
}
|
||||
|
||||
.edit-post-sidebar .cf-block__fields > & {
|
||||
padding: $size-base 0 0;
|
||||
}
|
||||
|
||||
.block-editor .cf-complex & {
|
||||
border-width: 1px 1px 0 0;
|
||||
border-style: solid;
|
||||
border-color: $wp-color-gray-light-500;
|
||||
}
|
||||
|
||||
.edit-post-sidebar .cf-complex & {
|
||||
border-color: $gb-dark-gray-150;
|
||||
}
|
||||
}
|
||||
|
||||
.cf-field__label {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: $wp-color-dark-gray;
|
||||
|
||||
.block-editor & {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.wp-block-widget-area & {
|
||||
margin-bottom: 6.5px;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue