Skip to content

Commit

Permalink
container field
Browse files Browse the repository at this point in the history
rtl improvements
  • Loading branch information
raikov committed Apr 1, 2022
1 parent 9696f0f commit ffcab45
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 10 deletions.
Expand Up @@ -123,6 +123,17 @@
}
}

.custom-control.custom-radio{
.custom-control-label {
&::after,
&::before {

left: 0;

}
}
}

html[dir="rtl"] {
.custom-switch{
.custom-control-label {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Expand Up @@ -375,7 +375,7 @@ interface: 'shadow',
}
}
var size = frst.width || 0;
var color = frst.color || 'rgba(0,0,0,0)';
var color = frst.color || 'rgba(0,0,0,1)';
var style = frst.style || 'none';

mw.$('#border-position').val('all')
Expand Down Expand Up @@ -551,7 +551,7 @@ interface: 'shadow',
colmobile.value = ''
holder.style.display = 'none';

var containerType = document.querySelector('#field-conatiner-type');
var containerType = document.querySelector('#container-type');
containerType.style.display = 'none';
var ol = document.getElementById('overlay-edit');
ol.style.display = 'none';
Expand Down Expand Up @@ -1261,6 +1261,22 @@ class="mw-ui-btn mw-ui-btn-outline mw-ui-btn-small tip mdi mdi-folder-image mdi-
</div>
</div>
</mw-accordion-item>
<mw-accordion-item id="container-type">
<div class="mw-ui-box-header mw-accordion-title">
<img class="rte_css_editor_svg svg" width="20px" src="<?php print mw_includes_url(); ?>img/grid.svg"> <?php _e("Container"); ?>
</div>
<div class="mw-accordion-content mw-ui-box-content">

<div class="s-field" id="field-conatiner-type">
<label><?php _e("Container type"); ?></label>
<div class="s-field-content">
<label class="mw-ui-check"> <input type="radio" onchange="sccontainertype(this.value)" name="containertype" value="container"/> <span></span><span> Fixed </span> </label>
<label class="mw-ui-check"> <input type="radio" onchange="sccontainertype(this.value)" name="containertype" value="container-fluid"/> <span></span><span> Fluid </span> </label>

</div>
</div>
</div>
</mw-accordion-item>
<mw-accordion-item id="columns-edit">

<div class="mw-ui-box-header mw-accordion-title"> <img class="rte_css_editor_svg svg" width="20px" src="<?php print mw_includes_url(); ?>img/grid.svg"> <?php _e("Grid"); ?></div>
Expand Down Expand Up @@ -1302,14 +1318,7 @@ class="mw-ui-btn mw-ui-btn-outline mw-ui-btn-small tip mdi mdi-folder-image mdi-

</div>
</div>
<div class="s-field" id="field-conatiner-type">
<label><?php _e("Container type"); ?></label>
<div class="s-field-content">
<label class="mw-ui-check"> <input type="radio" onchange="sccontainertype(this.value)" name="containertype" value="container"/> <span></span><span> Fixed </span> </label>
<label class="mw-ui-check"> <input type="radio" onchange="sccontainertype(this.value)" name="containertype" value="container-fluid"/> <span></span><span> Fluid </span> </label>

</div>
</div>
</div>


Expand Down

0 comments on commit ffcab45

Please sign in to comment.