aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingView.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.scss')
-rw-r--r--src/client/views/collections/CollectionStackingView.scss33
1 files changed, 31 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionStackingView.scss b/src/client/views/collections/CollectionStackingView.scss
index 2f002736d..8aa813f1e 100644
--- a/src/client/views/collections/CollectionStackingView.scss
+++ b/src/client/views/collections/CollectionStackingView.scss
@@ -131,9 +131,37 @@
margin-left: -5;
}
+ // Documents in stacking view
.collectionStackingView-columnDoc {
- display: inline-block;
- margin: auto;
+ display: flex;
+ // margin: auto; // Removed auto so that it is no longer center aligned - this could be something we change
+ position: relative;
+
+ &:hover {
+ .hoverButtons{
+ opacity: 1;
+ }
+ }
+
+ .hoverButtons {
+ display: flex;
+ opacity: 0;
+ position: absolute;
+ height: 100%;
+ left: -35px;
+ justify-content: center;
+ align-items: center;
+ padding: 0px 10px;
+
+ .buttonWrapper {
+ padding: 3px;
+ border-radius: 3px;
+
+ &:hover {
+ background: rgba(0, 0, 0, 0.26);
+ }
+ }
+ }
}
.collectionStackingView-masonryDoc {
@@ -386,6 +414,7 @@
.collectionStackingView-addDocumentButton {
font-size: 75%;
letter-spacing: 2px;
+ cursor: pointer;
.editableView-input {
outline-color: black;