libreoffice-online/loleaflet/css/partsPreviewControl.css
Pedro Pinto Silva 4fe8619a7a Impress: Fix #presentation-toolbar on chrome
- Make sure width doesn't get above the available space
- Do not force scrollbar when there is no content to scroll
  - use visible (default): implicitly compute to auto

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib7b6b15dcf093d6172a35346679a7985584f4ef9
2021-04-09 12:27:12 +02:00

59 lines
1.2 KiB
CSS

#document-container.parts-preview-document {
left: 194px;
}
#slide-sorter {
height: calc(100% - 36px); /*minus #presentation-toolbar*/
min-width: 194px;
white-space: nowrap;
overflow-x: hidden;
overflow-y: visible;
background: #dfdfdf;
scrollbar-color: #ccc #dfdfdf;
scrollbar-width: thin;
}
#sidebar-panel {
height: 100%
}
.preview-frame {
max-width: 190px;
white-space: nowrap;
text-align: center;
margin: 1em 0;
}
.preview-helper {
display: inline-block;
height: 100%;
vertical-align: middle;
}
.preview-img {
/* In draw docs, the width of previews are small, but we want a min of 160px to align it with document's left edge */
min-width: 160px;
vertical-align: middle;
max-width: 164px;
cursor: pointer;
border: 2px solid #dfdfdf;
margin-left: 10px;
margin-right: 10px;
}
/* The current part the user is on. */
.preview-img-currentpart {
border-color: #000000;
border-style: solid;
}
/* One of (potentially many) selected parts, but not the current. */
.preview-img-selectedpart {
border-color: #0b87e780 !important;
border-style: solid;
}
/* Highlight where a slide can be dropped when reordering by drag-and-drop. */
.preview-img-dropsite {
border-bottom: 20px solid var(--gray-color);
}