Adjusts wide block width. Radio buttons on gutenberg modal larger when in mobile.

This commit is contained in:
Mateus Machado Luna 2019-05-17 23:33:20 -03:00
parent cf16566a21
commit cb5ecbb3a8
5 changed files with 22 additions and 4 deletions

View File

@ -1,6 +1,8 @@
.alignwide {
margin-left: calc(-8.3333333333vw + 15px) !important;
margin-right: calc(-8.3333333333vw + 15px) !important;
width: 116.66667%;
max-width: 1400px;
// 1400px is the maximum the inner cointainer should get, so we
// use 1526px - 1 column - 1 column;

View File

@ -228,9 +228,15 @@
.components-popover input[type="radio"]:checked::before,
.editor-block-list__block input[type="radio"]:checked::before {
background: black;
margin: 4px 0 0 3px;
margin: 3px 0 0 3px;
width: 8px;
height: 8px;
@media screen and (max-width: 782px) {
margin: 4px 0 0 4px;
width: 15px;
height: 15px;
}
}
.components-modal__content input[type="checkbox"]:checked,
.components-modal__content input[type="radio"]:checked,

View File

@ -324,9 +324,19 @@
.components-modal__screen-overlay .components-popover input[type="radio"]:checked::before,
.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked::before {
background: black;
margin: 4px 0 0 3px;
margin: 3px 0 0 3px;
width: 8px;
height: 8px; }
@media screen and (max-width: 782px) {
.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="radio"]:checked::before,
.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="radio"]:checked::before,
.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="radio"]:checked::before,
.components-modal__screen-overlay .components-modal__content input[type="radio"]:checked::before,
.components-modal__screen-overlay .components-popover input[type="radio"]:checked::before,
.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked::before {
margin: 4px 0 0 4px;
width: 15px;
height: 15px; } }
.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="checkbox"]:checked,
.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="radio"]:checked,
.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="checkbox"]:checked,

View File

@ -1,6 +1,6 @@
{
"version": 3,
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AAK,EAAE,OAAO;EAIlB;sDAAmB;IACf,aAAa,EAAE,iBAAiB;EAEpC;sDAAmB;IACf,MAAM,EAAE,iBAAiB;IACzB,SAAS,EAAE,QAAQ;EAIvB;+EAA2C;IACvC,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,IAAI;IACZ,WAAW,EAAE,CAAC;EAElB;+EAA4C;IACxC,OAAO,EAAE,MAAM;IAEf;0GAAyB;MACrB,KAAK,EAAE,IAAI;MAEX;4IAAgC;QAC5B,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,MAAM;QAEnB;oJAAK;UACD,WAAW,EAAE,CAAC;UACd,YAAY,EAAE,IAAI",
"sources": ["assets/scss/editor-style.scss"],
"names": [],
"file": "editor-style.css"

View File

@ -59,7 +59,7 @@ if ( ! function_exists( 'tainacan_enqueues' ) ) {
wp_enqueue_script( 'tainacan_tainacanJS' );
// Tainacan Icons
wp_register_style( 'TainacanIconsFont', get_template_directory_uri() . '/assets/fonts/tainacan-icons-font/css/tainacanicons.min.css', '', '1.0.1', '' );
wp_register_style( 'TainacanIconsFont', get_template_directory_uri() . '/fonts/tainacan-icons-font/css/tainacanicons.min.css', '', '1.0.1', '' );
wp_enqueue_style( 'TainacanIconsFont' );
/**