nextcloud/apps/files_sharing/css/public.css

218 lines
3.4 KiB
CSS
Raw Normal View History

2015-10-06 17:17:25 +03:00
#content {
height: initial;
2015-10-07 13:33:58 +03:00
min-height: calc(100vh - 120px);
2015-10-06 17:17:25 +03:00
}
/* force layout to make sure the content element's height matches its contents' height */
.ie #content {
display: inline-block;
}
2012-10-24 15:09:05 +04:00
#preview {
background: #fff;
text-align: center;
}
#preview .notCreatable {
display: none;
2012-10-24 01:57:55 +04:00
}
2012-10-24 15:09:05 +04:00
#noPreview {
display:none;
padding-top:80px;
2012-10-24 01:57:55 +04:00
}
2012-10-24 15:09:05 +04:00
#imgframe {
height:75%;
padding-bottom:32px;
padding-top:32px;
width:80%;
margin:0 auto;
2012-10-24 01:57:55 +04:00
}
2012-10-24 15:09:05 +04:00
#imgframe img,
#imgframe video {
max-height: 100% !important;
max-width: 100% !important;
}
#imgframe video {
width: 854px;
height: 480px;
}
#imgframe .text-preview {
display: inline-block;
position: relative;
text-align: left;
white-space: pre-wrap;
2015-04-23 19:15:11 +03:00
overflow-y: hidden;
height: auto;
min-height: 200px;
max-height: 800px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
2015-04-23 19:15:11 +03:00
#imgframe .ellipsis {
font-size: 1.2em;
}
/* fix multiselect bar offset on shared page */
thead {
left: 0 !important;
}
2013-06-25 14:24:14 +04:00
#data-upload-form {
position: relative;
right: 0;
2013-10-29 19:08:11 +04:00
height: 32px;
2013-06-25 14:24:14 +04:00
overflow: hidden;
padding: 0;
float: right;
display: inline;
margin: 0;
}
2014-01-16 18:28:39 +04:00
.directDownload,
.directLink {
margin-bottom: 20px;
}
/* keep long file names in one line to not overflow download button on mobile */
.directDownload #downloadFile {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 90%;
display: inline-block;
margin-left: auto;
margin-right: auto;
}
.directLink label {
font-weight: normal;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: .5;
}
.directLink input {
margin-left: 5px;
width: 300px;
max-width: 90%;
}
/* header buttons */
#details {
display: inline-flex;
}
#details button,
#details input,
#details .button {
margin: 0 5px;
line-height: normal;
}
#details button:hover,
#details input:hover,
#details .button:hover {
/* No */
border-color: rgba(0,0,0,0.3) !important;
}
2014-06-17 13:24:39 +04:00
/* within #save */
#save .save-form {
position: relative;
}
2014-06-17 13:24:39 +04:00
#remote_address {
width: 200px;
margin-right: 4px;
height: 31px;
2014-06-17 13:24:39 +04:00
}
#save-button-confirm {
position: absolute;
background-color: transparent;
border: none;
margin: 2px 4px !important;
right: 7px;
top: -8px;
height: 30px;
2014-07-04 10:13:05 +04:00
}
2016-06-09 13:05:02 +03:00
#public-upload .avatardiv {
margin: 0 auto;
}
#emptycontent.has-disclaimer {
margin-top: 10vh;
}
#public-upload #emptycontent h2 {
2016-06-09 13:05:02 +03:00
margin: 10px 0 5px 0;
}
#public-upload #emptycontent h2+p {
2016-06-09 13:05:02 +03:00
margin-bottom: 30px;
}
#public-upload #emptycontent .icon-folder {
2016-06-09 13:05:02 +03:00
height: 16px;
width: 16px;
background-size: 16px;
display: inline-block;
vertical-align: text-top;
margin-bottom: 0;
margin-right: 5px;
2016-06-09 13:05:02 +03:00
opacity: 1;
}
#public-upload #emptycontent .button {
display: inline-block;
height: auto;
width: auto;
background-size: 16px;
background-position: 16px;
2016-06-09 13:05:02 +03:00
opacity: .7;
font-size: 20px;
line-height: initial;
2016-06-09 13:05:02 +03:00
margin: 20px;
padding: 10px 20px;
padding-left: 42px;
2016-06-09 13:05:02 +03:00
}
#public-upload #emptycontent ul {
width: 160px;
2016-06-10 15:47:40 +03:00
margin: 5px auto;
text-align: left;
}
#public-upload #emptycontent li {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 7px 0;
}
#public-upload #emptycontent li img {
vertical-align: text-bottom;
margin-right: 5px;
}
#public-upload li span.icon-loading-small {
padding-left: 18px;
margin-right: 7px;
}
.disclaimer {
margin: -20px auto 30px;
max-width: 400px;
text-align: left;
2016-09-08 21:11:21 +03:00
}