From ae2014861d1fdcd7782db72c9412b9dd2b619994 Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Sat, 10 Nov 2018 14:01:42 +0000 Subject: [PATCH] publish muk_web_utils - 12.0 --- muk_web_utils/__manifest__.py | 2 +- muk_web_utils/static/src/scss/binary.scss | 53 +++++++++++++++++++++++ muk_web_utils/static/src/xml/binary.xml | 29 +++++++++++++ muk_web_utils/template/assets.xml | 1 + 4 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 muk_web_utils/static/src/scss/binary.scss create mode 100644 muk_web_utils/static/src/xml/binary.xml diff --git a/muk_web_utils/__manifest__.py b/muk_web_utils/__manifest__.py index 1a5a80c..0e40547 100644 --- a/muk_web_utils/__manifest__.py +++ b/muk_web_utils/__manifest__.py @@ -20,7 +20,7 @@ { "name": "MuK Web Utils", "summary": """Utility Features""", - "version": "12.0.2.4.6", + "version": "12.0.2.4.7", "category": "Extra Tools", "license": "AGPL-3", "author": "MuK IT", diff --git a/muk_web_utils/static/src/scss/binary.scss b/muk_web_utils/static/src/scss/binary.scss new file mode 100644 index 0000000..d79e9df --- /dev/null +++ b/muk_web_utils/static/src/scss/binary.scss @@ -0,0 +1,53 @@ +/********************************************************************************** +* +* Copyright (C) 2017 MuK IT GmbH +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU Affero General Public License as +* published by the Free Software Foundation, either version 3 of the +* License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Affero General Public License for more details. +* +* You should have received a copy of the GNU Affero General Public License +* along with this program. If not, see . +* +**********************************************************************************/ + +.o_field_widget.o_field_image { + .mk_form_image_controls { + @include o-position-absolute($left: 0, $bottom: 10px); + width: 100%; + color: white; + background-color: $o-brand-primary; + opacity: 0; + transition: opacity ease 400ms; + > button.fa { + border: none; + background-color: transparent; + } + > .fa { + margin: 5px; + cursor: pointer; + } + } + &:hover .mk_form_image_controls { + opacity: 0.8; + } + @include media-breakpoint-down(xs, $o-extra-grid-breakpoints) { + .mk_form_image_controls{ + position: initial; + opacity: 1; + > .fa{ + width: 50%; + padding: 6px; + margin: 0px; + text-align: center; + background: $o-brand-secondary; + } + } + } +} diff --git a/muk_web_utils/static/src/xml/binary.xml b/muk_web_utils/static/src/xml/binary.xml new file mode 100644 index 0000000..ec5d8e9 --- /dev/null +++ b/muk_web_utils/static/src/xml/binary.xml @@ -0,0 +1,29 @@ + + + + + + + + +
+
+
+
+ +
\ No newline at end of file diff --git a/muk_web_utils/template/assets.xml b/muk_web_utils/template/assets.xml index 57082ec..1bdc728 100644 --- a/muk_web_utils/template/assets.xml +++ b/muk_web_utils/template/assets.xml @@ -35,6 +35,7 @@ +