Debian Codegraph @

addons/html_editor/static/src/main/media/media_dialog/media_dialog.scss

raw
1 .modal .o_select_media_dialog {
2 $min-row-height: 128;
3 $scroll-button-height: 36px;
4
5 .o_we_file_selector_control_panel {
6 top: -$modal-inner-padding;
7 background-color: $modal-content-bg;
8 }
9
10 .o_we_existing_attachments {
11 min-height: $min-row-height + px;
12
13 .o_we_attachment_placeholder {
14 flex-grow: $min-row-height;
15 flex-basis: $min-row-height + px;
16 }
17
18 .o_existing_attachment_cell.o_we_image {
19 transition: opacity 0.5s ease 0.5s;
20
21 .o_we_media_dialog_img_wrapper {
22 @extend %o-preview-alpha-background;
23 }
24 }
25
26 .o_existing_attachment_remove {
27 border-radius: 0 0 0 $o-we-item-border-radius;
28
29 &:hover {
30 color: $o-we-color-danger;
31 }
32 }
33 }
34
35 .o_we_attachment_selected {
36 @include o-we-active-wrapper($top: 5px, $left: 5px);
37 }
38
39 .o_we_load_more {
40 scroll-margin: $modal-inner-padding;
41
42 &.o_hide_loading > * {
43 display: none;
44 }
45 }
46
47 .o_scroll_attachments {
48 bottom: 0px;
49 width: $scroll-button-height;
50 height: $scroll-button-height;
51 margin-top: -$scroll-button-height;
52 z-index: 2;
53 }
54
55 .font-icons-icons > span {
56 width: 50px;
57 }
58
59 .o_video_dialog_form textarea {
60 min-height: 95px;
61 }
62
63 .o_video_preview {
64 @include o-we-preview-box();
65
66 .media_iframe_video {
67 width: 100%;
68 }
69 }
70 }