libreoffice-online/browser/css/partsPreviewControl.css
andreas kainz bf7d0b7873 Color var: partsPreviewControl.css use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If76ac63e7c1ecdbc0ec6ed3aa04070abb1cc9893
2022-02-27 23:30:00 +01:00

52 lines
1.2 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: 1px solid var(--color-border);
margin-left: 10px;
margin-right: 10px;
}
/* The current part the user is on. */
.preview-img-currentpart {
border: 1px solid var(--color-border-dark);
}
/* One of (potentially many) selected parts, but not the current. */
.preview-img-selectedpart {
border: 1px solid var(--color-border-dark) !important;
}
/* Highlight where a slide can be dropped when reordering by drag-and-drop. */
.preview-img-dropsite {
border-bottom: 20px solid var(--color-primary);
}