mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_dialog_size: Migration to 12.0
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
.modal .modal-header button.dialog_button_extend {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.modal .modal-header button.dialog_button_restore {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.dialog_full_screen {
|
||||
width: calc(100% - 50px);
|
||||
}
|
||||
|
||||
.modal .modal-header button.close {
|
||||
font-size: 18px;
|
||||
}
|
||||
24
web_dialog_size/static/src/scss/web_dialog_size.scss
Normal file
24
web_dialog_size/static/src/scss/web_dialog_size.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
.modal {
|
||||
.dialog_full_screen {
|
||||
@include media-breakpoint-up(sm) {
|
||||
max-width: 100%;
|
||||
width: calc(100% - 50px);
|
||||
}
|
||||
}
|
||||
.modal-header button.close {
|
||||
font-size: 18px;
|
||||
|
||||
&:not(.dialog_button_extend):not(.dialog_button_restore) {
|
||||
@include media-breakpoint-up(sm) {
|
||||
margin-left: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
&.dialog_button_extend, .dialog_button_restore {
|
||||
@include media-breakpoint-down(sm) {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
<t t-jquery="button.close" t-operation="inner">
|
||||
<i class="fa fa-close" />
|
||||
</t>
|
||||
<t t-jquery="button.close" t-operation="after">
|
||||
<t t-jquery="button.close" t-operation="before">
|
||||
<button type="button" class="dialog_button_extend close"><i class="fa fa-expand" /></button>
|
||||
<button type="button" class="dialog_button_restore close"><i class="fa fa-compress" /></button>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user