mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-23 13:52:13 -06:00
[IMP] attachment_preview: Split screen
This commit is contained in:
56
attachment_preview/static/src/less/attachment_preview.less
Normal file
56
attachment_preview/static/src/less/attachment_preview.less
Normal file
@@ -0,0 +1,56 @@
|
||||
.o_cp_sidebar {
|
||||
li .o_sidebar_preview_attachment {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 26px;
|
||||
background-color: #FFF;
|
||||
|
||||
&.o_sidebar_preview_attachment_new_tab {
|
||||
right: 43px;
|
||||
}
|
||||
}
|
||||
|
||||
.open .dropdown-menu > li > a {
|
||||
padding-right: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
.o_form_uri .fa-search {
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/* Preview widget */
|
||||
|
||||
.o_form_view.attachment_preview {
|
||||
width: 60%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.o_form_view + .attachment_preview_widget {
|
||||
width: 40%;
|
||||
height: 100%;
|
||||
float: right;
|
||||
position: relative;
|
||||
|
||||
> .attachment_preview_iframe {
|
||||
width: 100%;
|
||||
height: calc(~"100% - 30px");
|
||||
float: left;
|
||||
}
|
||||
|
||||
.attachment_preview_buttons {
|
||||
padding: 4px;
|
||||
float: left;
|
||||
width: 100%;
|
||||
background-color: #FFF;
|
||||
border-left: 1px solid @gray-lighter-dark;
|
||||
|
||||
button {
|
||||
min-width: 25px;
|
||||
min-height: 25px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user