server/apps/files/css/detailsView.scss

129 lines
2.2 KiB
SCSS
Raw Normal View History

#app-sidebar .detailFileInfoContainer {
min-height: 50px;
2015-07-16 10:49:34 +00:00
padding: 15px;
}
#app-sidebar .detailFileInfoContainer > div {
clear: both;
2015-07-16 10:49:34 +00:00
}
#app-sidebar .mainFileInfoView .icon {
display: inline-block;
background-size: 16px 16px;
}
#app-sidebar .mainFileInfoView .permalink {
padding: 6px 10px;
vertical-align: top;
opacity: .6;
&:hover,
&:focus {
opacity: 1;
}
}
#app-sidebar .mainFileInfoView .permalink-field>input {
clear: both;
width: 90%;
}
#app-sidebar .thumbnailContainer.large {
margin-left: -15px;
margin-right: -35px; /* 15 + 20 for the close button */
margin-top: -15px;
}
#app-sidebar .thumbnailContainer.large.portrait {
margin: 0; /* if we don't fit the image anyway we give it back the margin */
2015-09-11 13:24:14 +00:00
}
#app-sidebar .large .thumbnail {
width:100%;
display:block;
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
float: none;
margin: 0;
height: auto;
}
#app-sidebar .large .thumbnail .stretcher {
content: '';
display: block;
padding-bottom: 56.25%; /* sets height of .thumbnail to 9/16 of the width */
}
#app-sidebar .large.portrait .thumbnail {
background-position: 50% top;
}
#app-sidebar .large.portrait .thumbnail {
background-size: contain;
}
2016-07-04 13:38:16 +00:00
#app-sidebar .large.text {
overflow-y: scroll;
overflow-x: hidden;
padding-top: 14px;
font-size: 80%;
2016-07-04 13:38:16 +00:00
margin-left: 0;
}
#app-sidebar .thumbnail {
2015-08-24 14:58:30 +00:00
width: 75px;
height: 75px;
display: inline-block;
float: left;
2015-07-16 10:49:34 +00:00
margin-right: 10px;
2015-08-24 14:58:30 +00:00
background-size: 75px;
}
#app-sidebar .ellipsis {
2015-07-16 10:49:34 +00:00
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
#app-sidebar .fileName {
font-size: 16px;
2015-08-24 14:58:30 +00:00
padding-top: 13px;
padding-bottom: 3px;
}
#app-sidebar .fileName h3 {
width: calc(100% - 42px); /* 36px is the with of the copy link icon, but this breaks so we add some more to be sure */
display: inline-block;
padding: 5px 0;
margin: -5px 0;
}
#app-sidebar .file-details {
color: var(--color-text-maxcontrast);
}
#app-sidebar .action-favorite {
vertical-align: sub;
padding: 10px;
margin: -10px;
}
#app-sidebar .action-favorite > span{
opacity: .7 !important;
}
#app-sidebar .detailList {
float: left;
}
#app-sidebar .close {
position: absolute;
top: 0;
right: 0;
opacity: .5;
z-index: 1;
width: 44px;
height: 44px;
}