server/apps/files_sharing/css/public.css

161 lines
2.7 KiB
CSS
Raw Normal View History

2015-10-06 14:17:25 +00:00
#content {
height: initial;
2015-10-07 10:33:58 +00:00
min-height: calc(100vh - 120px);
2015-10-06 14:17:25 +00:00
}
/* force layout to make sure the content element's height matches its contents' height */
.ie #content {
display: inline-block;
}
2012-10-24 11:09:05 +00:00
#preview {
background: #fff;
text-align: center;
}
#preview .notCreatable {
display: none;
2012-10-23 21:57:55 +00:00
}
2012-10-24 11:09:05 +00:00
#noPreview {
display:none;
padding-top:80px;
2012-10-23 21:57:55 +00:00
}
2012-10-24 11:09:05 +00:00
#imgframe {
height:75%;
padding-bottom:32px;
padding-top:32px;
width:80%;
margin:0 auto;
2012-10-23 21:57:55 +00:00
}
2012-10-24 11:09:05 +00:00
#imgframe img,
#imgframe video {
2012-10-24 11:09:05 +00:00
max-height:100%;
max-width:100%;
}
#imgframe .text-preview {
display: inline-block;
position: relative;
text-align: left;
white-space: pre-wrap;
2015-04-23 16:15:11 +00: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 16:15:11 +00:00
#imgframe .ellipsis {
font-size: 1.2em;
}
/* fix multiselect bar offset on shared page */
thead {
left: 0 !important;
}
2013-06-25 10:24:14 +00:00
#data-upload-form {
position: relative;
right: 0;
2013-10-29 15:08:11 +00:00
height: 32px;
2013-06-25 10:24:14 +00:00
overflow: hidden;
padding: 0;
float: right;
display: inline;
margin: 0;
}
2014-01-16 14:28:39 +00: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%;
}
2014-06-17 09:24:39 +00:00
/* within #save */
#save .save-form {
position: relative;
}
2014-06-17 09:24:39 +00:00
#remote_address {
margin: 0;
width: 130px;
2014-06-17 09:24:39 +00:00
height: 14px;
padding: 6px;
padding-right: 24px;
2014-06-17 09:24:39 +00:00
}
2014-07-04 06:13:05 +00:00
.ie8 #remote_address {
padding-right: 30px;
}
#save #save-button,
#save #save-button-confirm {
2014-06-17 09:24:39 +00:00
margin: 0 5px;
height: 28px;
padding-bottom: 4px;
2014-06-17 09:45:55 +00:00
line-height: 14px;
2014-06-17 09:24:39 +00:00
}
#save-button-confirm {
position: absolute;
background-color: transparent;
border: none;
margin: 2px 4px !important;
right: 0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: .5;
2014-06-17 09:24:39 +00:00
}
2014-07-04 06:13:05 +00:00
.ie8 #save-button-confirm {
margin: 2px 0 !important;
}
2015-09-30 13:28:28 +00:00
#save-button-confirm:disabled,
#save-button-confirm:disabled:hover,
#save-button-confirm:disabled:focus {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
filter: alpha(opacity=20);
opacity: .2;
cursor: default;
}
#save-button-confirm:hover,
#save-button-confirm:focus {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
2015-09-30 13:28:28 +00:00
cursor: pointer;
2014-07-04 06:13:05 +00:00
}