libreoffice-online/browser/css/partsPreviewControl.css
Pranam Lashkari 17b50868ea impress: introduce slide hiding/showing in presentation
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: If91726a1a66e1679b58603e496a5b90cde5f0b5b
2023-06-13 18:29:28 +07:00

59 lines
No EOL
1.3 KiB
CSS

#slide-sorter {
white-space: nowrap;
overflow-x: hidden;
overflow-y: visible;
background: var(--color-background-lighter);
max-height: 100%;
scrollbar-color: var(--color-background-darker) var(--color-background-lighter);
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: 3px solid transparent !important;
outline: 3px solid var(--color-border);
box-sizing: border-box;
margin-left: 10px;
margin-right: 10px;
}
/* The current part the user is on. */
.preview-img-currentpart {
border-color: var(--color-background-lighter) !important;
outline-color: var(--color-primary-dark);
}
/* One of (potentially many) selected parts, but not the current. */
.preview-img-selectedpart {
border-color: var(--color-primary) !important;
}
/* Highlight where a slide can be dropped when reordering by drag-and-drop. */
.preview-img-dropsite {
border-bottom: 20px solid var(--color-primary);
}
.hidden-slide {
opacity: 0.5;
}