UNPKG

jodit

Version:

Jodit is awesome and usefully wysiwyg editor with filebrowser

56 lines (44 loc) 999 B
/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2020 Valeriy Chupurnov. All rights reserved. https://xdsoft.net */ @import (reference) '../variables'; @import (reference) '../mixins'; .jodit-grid { display: flex; width: 100%; &.jodit-grid_column { flex-direction: column; } @media (max-width: @screen-xs) { &.jodit-grid_xs-column { flex-direction: column; } } [class*='jodit_col-'] { flex: 1 1 auto; } .jodit_col- { .loop(@counter, @max, @size: lg) when (@counter > 0) { &@{size}-@{counter}-@{max} { width: (100% / @max) * @counter; } .loop((@counter - 1), @max, @size); } .loop(5, 5); .loop(4, 4); @media (max-width: @screen-md) { .loop(5, 5, md); .loop(4, 4, md); } @media (max-width: @screen-sm) { .loop(5, 5, sm); .loop(4, 4, sm); } @media (max-width: @screen-xs) { .loop(5, 5, xs); .loop(4, 4, xs); } } }