summaryrefslogtreecommitdiffstats
path: root/apps/files/css/detailsView.css
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/css/detailsView.css')
-rw-r--r--apps/files/css/detailsView.css19
1 files changed, 13 insertions, 6 deletions
diff --git a/apps/files/css/detailsView.css b/apps/files/css/detailsView.css
index 669a15c4e38..a49b37e6aab 100644
--- a/apps/files/css/detailsView.css
+++ b/apps/files/css/detailsView.css
@@ -32,17 +32,17 @@
float: left;
}
-#app-sidebar .thumbnailContainer.image {
+#app-sidebar .thumbnailContainer.large {
margin-left: -15px;
margin-right: -35px; /* 15 + 20 for the close button */
margin-top: -15px;
}
-#app-sidebar .thumbnailContainer.image.portrait {
+#app-sidebar .thumbnailContainer.large.portrait {
margin: 0; /* if we don't fit the image anyway we give it back the margin */
}
-#app-sidebar .image .thumbnail {
+#app-sidebar .large .thumbnail {
width:100%;
display:block;
background-repeat: no-repeat;
@@ -53,20 +53,27 @@
height: auto;
}
-#app-sidebar .image .thumbnail .stretcher {
+#app-sidebar .large .thumbnail .stretcher {
content: '';
display: block;
padding-bottom: 56.25%; /* sets height of .thumbnail to 9/16 of the width */
}
-#app-sidebar .image.portrait .thumbnail {
+#app-sidebar .large.portrait .thumbnail {
background-position: 50% top;
}
-#app-sidebar .image.portrait .thumbnail {
+#app-sidebar .large.portrait .thumbnail {
background-size: contain;
}
+#app-sidebar .text {
+ overflow-y: scroll;
+ overflow-x: hidden;
+ padding-left: 5px;
+ font-size: 80%;
+}
+
#app-sidebar .thumbnail {
width: 75px;
height: 75px;