ernesto
6 years ago
7 changed files with 51 additions and 20 deletions
-
10web_widget_image_download/README.rst
-
2web_widget_image_download/__manifest__.py
-
6web_widget_image_download/static/description/index.html
-
8web_widget_image_download/static/src/css/web_widget_image_download.css
-
38web_widget_image_download/static/src/scss/web_widget_image_download.scss
-
5web_widget_image_download/static/src/xml/web_widget_image_download.xml
-
2web_widget_image_download/views/assets.xml
@ -1,8 +0,0 @@ |
|||||
/* Copyright 2016 Flavio Corpa <flavio.corpa@tecnativa.com> |
|
||||
* Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com> |
|
||||
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */ |
|
||||
|
|
||||
.o_field_image .o_form_image_controls |
|
||||
.o_form_binary_file_download { |
|
||||
color: #fff; |
|
||||
} |
|
@ -0,0 +1,38 @@ |
|||||
|
|
||||
|
.o_field_widget { |
||||
|
&.o_field_image { |
||||
|
.o_form_image_controls { |
||||
|
> .fa, .o_form_binary_file_download { |
||||
|
margin: 5px 0; |
||||
|
padding: 1px 0; |
||||
|
width: 33.333333%; |
||||
|
} |
||||
|
.o_form_binary_file_download { |
||||
|
border: none; |
||||
|
background-color: transparent; |
||||
|
line-height: 0px; |
||||
|
|
||||
|
> button.fa { |
||||
|
width: 100%; |
||||
|
height: 100%; |
||||
|
margin: 0px; |
||||
|
border: none; |
||||
|
background-color: transparent; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
@include media-breakpoint-down(xs, $o-extra-grid-breakpoints) { |
||||
|
.o_form_image_controls{ |
||||
|
.o_form_binary_file_download { |
||||
|
display: none; |
||||
|
} |
||||
|
> .fa{ |
||||
|
width: 50%; |
||||
|
padding: 6px; |
||||
|
margin: 0px; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue