2017-01-12 17:02:14 +03:00
|
|
|
/**
|
|
|
|
* @copyright Copyright (c) 2011, Jan-Christoph Borchardt <hey@jancborchardt.net>
|
|
|
|
* @copyright Copyright (c) 2017, John Molakvoæ (skjnldsv@protonmail.com)
|
|
|
|
*
|
|
|
|
* @license GNU AGPL version 3 or any later version
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* SHARE TAB STYLING -------------------------------------------------------- */
|
2016-12-22 13:17:47 +03:00
|
|
|
.shareTabView {
|
|
|
|
.unshare.icon-loading-small {
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
.shareWithLoading, .linkShare .icon-loading-small {
|
|
|
|
display: inline-block !important;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
.shareWithLoading {
|
|
|
|
position: relative;
|
|
|
|
right: 70px;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
.icon-loading-small.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
margin-right: 8px;
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
2017-01-12 17:02:14 +03:00
|
|
|
label {
|
|
|
|
font-weight: 400;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
input[type='checkbox'] {
|
|
|
|
margin: 0 3px 0 8px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
input[type='submit'] {
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
|
|
|
form {
|
|
|
|
font-size: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
.error {
|
|
|
|
color: #e9322d;
|
|
|
|
border-color: #e9322d;
|
|
|
|
box-shadow: 0 0 6px #f8b9b7;
|
|
|
|
}
|
|
|
|
.mailView .icon-mail {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2016-12-22 13:17:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.share-autocomplete-item {
|
|
|
|
display: flex;
|
|
|
|
.autocomplete-item-text {
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
line-height: 32px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#shareWithList {
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 8px;
|
2017-01-21 21:02:48 +03:00
|
|
|
> li {
|
2016-12-22 13:17:47 +03:00
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 21px;
|
|
|
|
white-space: normal;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.sharingOptionsGroup {
|
|
|
|
flex-shrink: 0;
|
|
|
|
position: relative;
|
|
|
|
.popovermenu {
|
2017-01-21 21:02:48 +03:00
|
|
|
right: -11px;
|
|
|
|
top: 35px;
|
2016-12-22 13:17:47 +03:00
|
|
|
padding: 3px 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.shareOption {
|
|
|
|
white-space: nowrap;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-01-12 17:02:14 +03:00
|
|
|
.unshare img,
|
|
|
|
.showCruds img {
|
2016-12-22 13:17:47 +03:00
|
|
|
vertical-align: text-bottom;
|
|
|
|
/* properly align icons */
|
|
|
|
}
|
|
|
|
label input[type=checkbox] {
|
|
|
|
margin-left: 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.username {
|
|
|
|
padding-right: 8px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: middle;
|
|
|
|
flex-grow: 5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
&.showCruds {
|
|
|
|
display: inline;
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
&.unshare {
|
|
|
|
display: inline-block;
|
|
|
|
opacity: .5;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
2017-01-12 17:02:14 +03:00
|
|
|
&.showCruds:hover,
|
|
|
|
&.unshare:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2016-12-22 13:17:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#link {
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
padding-top: 8px;
|
2017-01-12 17:02:14 +03:00
|
|
|
#showPassword img {
|
|
|
|
padding-left: 5px;
|
|
|
|
width: 12px;
|
2016-12-22 13:17:47 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-12 17:02:14 +03:00
|
|
|
.reshare,
|
|
|
|
#link label,
|
|
|
|
#expiration label {
|
2016-12-22 13:17:47 +03:00
|
|
|
display: inline-block;
|
|
|
|
padding: 6px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#defaultExpireMessage, .reshare {
|
|
|
|
/* fix shared by text going out of box */
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
#defaultExpireMessage {
|
|
|
|
/* show message on new line */
|
|
|
|
display: block;
|
|
|
|
padding-left: 4px;
|
|
|
|
/* TODO: style the dropdown in a proper way - border-box, etc. */
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-autocomplete {
|
|
|
|
/* limit dropdown height to 4 1/2 entries */
|
|
|
|
max-height: 200px;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notCreatable {
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-top: 12px;
|
|
|
|
color: #999;
|
|
|
|
}
|