-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] web_widget_image_download: Migration to 12.0
- Loading branch information
1 parent
e63a946
commit 169e31c
Showing
7 changed files
with
51 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
web_widget_image_download/static/src/css/web_widget_image_download.css
This file was deleted.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
web_widget_image_download/static/src/scss/web_widget_image_download.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters