mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-26 14:57:45 -06:00
[MIG] attachment_preview: Migration to 12.0
[REM] Old files [ADD] Magic to travis file [FIX] Nagivation refresh widget
This commit is contained in:
56
attachment_preview/static/src/scss/attachment_preview.scss
Normal file
56
attachment_preview/static/src/scss/attachment_preview.scss
Normal file
@@ -0,0 +1,56 @@
|
||||
.o_attachments_list .o_attachment_wrap {
|
||||
.o_attachment_preview {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px;
|
||||
|
||||
&.o_attachment_preview_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-800;
|
||||
|
||||
button {
|
||||
min-width: 25px;
|
||||
min-height: 25px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user