Browse Source

publish muk_web_utils - 12.0

pull/48/head
MuK IT GmbH 6 years ago
parent
commit
e69d02c887
  1. 2
      muk_web_utils/__manifest__.py
  2. 16
      muk_web_utils/static/src/scss/mixins.scss

2
muk_web_utils/__manifest__.py

@ -20,7 +20,7 @@
{ {
"name": "MuK Web Utils", "name": "MuK Web Utils",
"summary": """Utility Features""", "summary": """Utility Features""",
"version": "12.0.2.8.9",
"version": "12.0.2.8.11",
"category": "Extra Tools", "category": "Extra Tools",
"license": "AGPL-3", "license": "AGPL-3",
"author": "MuK IT", "author": "MuK IT",

16
muk_web_utils/static/src/scss/mixins.scss

@ -17,8 +17,20 @@
* *
**********************************************************************************/ **********************************************************************************/
@mixin mk-flex ($grow: 1, $shrink: 1, $basis: auto, $direction: column) {
@mixin mk-flex-container ($direction: row, $wrap: nowrap, $justify: flex-start, $items: stretch, $content: stretch) {
display: flex; display: flex;
flex: $grow $shrink $basis;
flex-wrap: $wrap;
flex-direction: $direction; flex-direction: $direction;
justify-content: $justify;
align-content: $content;
align-items: $items;
} }
@mixin mk-flex-child ($grow: 0, $shrink: 1, $basis: auto, $order: 0) {
flex-grow: $grow;
flex-shrink: $shrink;
flex-basis: $basis;
order: $order;
}
Loading…
Cancel
Save