2022-03-29 16:15:20 +02:00
|
|
|
/*!
|
|
|
|
* Gutenberg Editor Styles
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** === Includes === */
|
|
|
|
|
2022-04-24 03:36:25 +02:00
|
|
|
// @charset 'utf-8';
|
|
|
|
//
|
|
|
|
// @import 'settings';
|
|
|
|
// @import 'foundation';
|
|
|
|
//
|
|
|
|
// @include foundation-typography;
|
|
|
|
// @include foundation-button;
|
|
|
|
// @include foundation-table;
|
2022-03-29 16:15:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
/** === Content Width === */
|
|
|
|
.wp-block {
|
2022-04-24 03:36:25 +02:00
|
|
|
// width: calc(100vw - (2 * 10));
|
|
|
|
// @each $breakpoint, $size in $grid-margin-gutters {
|
|
|
|
//
|
|
|
|
// @include breakpoint($breakpoint) {
|
|
|
|
// width: calc(100vw - ($size));
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// }
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/** === Base Typography === */
|
|
|
|
body {
|
2022-04-24 03:36:25 +02:00
|
|
|
// font-size: $global-font-size;
|
|
|
|
// font-family: $body-font-family;
|
|
|
|
// color: $body-font-color;
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/** === Post Title === */
|
|
|
|
.editor-post-title__block .editor-post-title__input{
|
2022-04-24 03:36:25 +02:00
|
|
|
// @extend h1;
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/** === Button === */
|
|
|
|
.wp-block-button {
|
|
|
|
|
|
|
|
// add general foundation button styling to button in editor
|
|
|
|
.wp-block-button__link {
|
2022-04-24 03:36:25 +02:00
|
|
|
// @extend .button;
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// add special styling for squared buttons
|
|
|
|
&.is-style-squared .wp-block-button__link {
|
2022-04-24 03:36:25 +02:00
|
|
|
// border-radius: 0;
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// add outline styles
|
|
|
|
&.is-style-outline .wp-block-button__link{
|
2022-04-24 03:36:25 +02:00
|
|
|
// @extend .hollow;
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// set transparent background to block for outline button
|
|
|
|
&.is-style-outline,
|
|
|
|
&.is-style-outline:hover,
|
|
|
|
&.is-style-outline:focus,
|
|
|
|
&.is-style-outline:active {
|
2022-04-24 03:36:25 +02:00
|
|
|
// background: transparent;
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === File === */
|
|
|
|
.wp-block-file__button{
|
2022-04-24 03:36:25 +02:00
|
|
|
// @include button();
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/** === Pullquote === */
|
|
|
|
.wp-block-paragraph.has-background{
|
2022-04-24 03:36:25 +02:00
|
|
|
// padding: rem-calc(20px 30px);
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/** === Table === */
|
|
|
|
.wp-block-table td{
|
2022-04-24 03:36:25 +02:00
|
|
|
// border: none;
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/** === Latest Posts grid view === */
|
|
|
|
.wp-block-latest-posts.is-grid{
|
2022-04-24 03:36:25 +02:00
|
|
|
// list-style: none;
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|