2012-04-23 12:19:03 +00:00
|
|
|
/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
|
|
|
|
This file is licensed under the Affero General Public License version 3 or later.
|
|
|
|
See the COPYING-README file. */
|
|
|
|
|
2013-10-02 14:53:54 +00:00
|
|
|
#dropdown {
|
2015-03-25 17:04:31 +00:00
|
|
|
background: #eee;
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
box-shadow: 0 2px 3px rgba(50, 50, 50, .4);
|
|
|
|
display: block;
|
2014-06-03 11:13:15 +00:00
|
|
|
margin-right: 0;
|
2015-03-25 17:04:31 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
width: 420px;
|
|
|
|
z-index: 500;
|
|
|
|
padding: 16px;
|
2013-10-02 16:27:55 +00:00
|
|
|
}
|
|
|
|
|
2015-02-06 21:43:21 +00:00
|
|
|
@media only screen and (min-width: 768px) and (max-width: 990px) {
|
|
|
|
#dropdown {
|
|
|
|
/* this limits the dropdown to float below the sidebar for mid narrow screens */
|
|
|
|
left: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-09-25 17:46:30 +00:00
|
|
|
#dropdown.shareDropDown .unshare.icon-loading-small {
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#dropdown.shareDropDown .shareWithLoading,
|
|
|
|
#dropdown.shareDropDown .linkShare .icon-loading-small {
|
|
|
|
display: inline-block !important;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#dropdown.shareDropDown .icon-loading-small.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2015-04-09 08:16:29 +00:00
|
|
|
#dropdown .shareWithRemoteInfo {
|
|
|
|
padding: 11px 20px;
|
|
|
|
}
|
|
|
|
|
2015-02-24 20:46:24 +00:00
|
|
|
#dropdown .avatar {
|
2015-04-09 08:16:29 +00:00
|
|
|
margin-right: 8px;
|
2015-02-24 20:46:24 +00:00
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
2013-10-02 16:27:55 +00:00
|
|
|
#shareWithList {
|
|
|
|
list-style-type:none;
|
2013-10-06 18:31:29 +00:00
|
|
|
padding:8px;
|
2013-10-02 16:27:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#shareWithList li {
|
2014-01-16 09:12:37 +00:00
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 21px;
|
|
|
|
white-space: normal;
|
2013-10-02 16:27:55 +00:00
|
|
|
}
|
2013-02-27 10:30:33 +00:00
|
|
|
|
|
|
|
#shareWithList .unshare img, #shareWithList .showCruds img {
|
|
|
|
vertical-align:text-bottom; /* properly align icons */
|
|
|
|
}
|
|
|
|
|
2014-01-16 09:12:37 +00:00
|
|
|
#shareWithList label input[type=checkbox]{
|
|
|
|
margin-left: 0;
|
2014-06-25 14:32:24 +00:00
|
|
|
position: relative;
|
2014-01-16 09:12:37 +00:00
|
|
|
}
|
|
|
|
#shareWithList .username{
|
|
|
|
padding-right: 8px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 254px;
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
#shareWithList li label{
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2013-10-02 16:27:55 +00:00
|
|
|
#dropdown label {
|
|
|
|
font-weight:400;
|
2013-10-23 15:56:28 +00:00
|
|
|
white-space: nowrap;
|
2013-10-02 16:27:55 +00:00
|
|
|
}
|
2012-10-24 11:09:05 +00:00
|
|
|
|
2013-10-02 16:27:55 +00:00
|
|
|
#dropdown input[type="checkbox"] {
|
2013-10-06 18:31:29 +00:00
|
|
|
margin:0 3px 0 8px;
|
2015-03-17 17:18:07 +00:00
|
|
|
vertical-align: middle;
|
2013-10-02 16:27:55 +00:00
|
|
|
}
|
2012-10-24 11:09:05 +00:00
|
|
|
|
2013-10-02 16:27:55 +00:00
|
|
|
a.showCruds {
|
|
|
|
display:inline;
|
|
|
|
opacity:.5;
|
|
|
|
}
|
2012-10-24 11:09:05 +00:00
|
|
|
|
2013-10-02 16:27:55 +00:00
|
|
|
a.unshare {
|
|
|
|
display:inline;
|
|
|
|
float:right;
|
|
|
|
opacity:.5;
|
2013-10-06 18:31:29 +00:00
|
|
|
padding:5px 0 0 5px !important;
|
2013-02-20 16:29:12 +00:00
|
|
|
margin-top:-5px;
|
2013-10-02 16:27:55 +00:00
|
|
|
}
|
2012-10-24 11:09:05 +00:00
|
|
|
|
2013-10-02 16:27:55 +00:00
|
|
|
#link {
|
|
|
|
border-top:1px solid #ddd;
|
2013-10-06 18:31:29 +00:00
|
|
|
padding-top:8px;
|
2013-10-02 16:27:55 +00:00
|
|
|
}
|
2012-10-24 11:09:05 +00:00
|
|
|
|
2012-12-10 17:41:08 +00:00
|
|
|
#dropdown input[type="text"],#dropdown input[type="password"] {
|
2015-04-09 08:16:29 +00:00
|
|
|
width: 86%;
|
|
|
|
margin-left: 7px;
|
2012-12-10 17:41:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#dropdown form {
|
2013-10-02 16:27:55 +00:00
|
|
|
font-size: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2012-12-10 17:41:08 +00:00
|
|
|
}
|
2012-10-24 11:09:05 +00:00
|
|
|
|
2012-12-10 17:41:08 +00:00
|
|
|
#linkText,#linkPass,#expiration {
|
2013-10-02 16:27:55 +00:00
|
|
|
display:none;
|
|
|
|
}
|
2012-10-24 11:09:05 +00:00
|
|
|
|
2013-10-02 16:27:55 +00:00
|
|
|
#link #showPassword img {
|
2013-10-06 18:31:29 +00:00
|
|
|
padding-left:5px;
|
2013-10-02 16:27:55 +00:00
|
|
|
width:12px;
|
|
|
|
}
|
2012-10-24 11:09:05 +00:00
|
|
|
|
2015-03-17 17:19:45 +00:00
|
|
|
.reshare,#link label,
|
|
|
|
#expiration label {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 6px 4px;
|
2013-10-02 16:27:55 +00:00
|
|
|
}
|
2012-10-24 11:09:05 +00:00
|
|
|
|
2013-10-02 16:27:55 +00:00
|
|
|
a.showCruds:hover,a.unshare:hover {
|
|
|
|
opacity:1;
|
|
|
|
}
|
2013-02-27 10:22:13 +00:00
|
|
|
|
2014-06-30 12:08:11 +00:00
|
|
|
#defaultExpireMessage, /* fix expire message going out of box */
|
2013-10-02 16:27:55 +00:00
|
|
|
.reshare { /* fix shared by text going out of box */
|
|
|
|
white-space:normal;
|
|
|
|
}
|
2013-02-28 11:07:50 +00:00
|
|
|
|
2014-07-01 14:09:10 +00:00
|
|
|
#defaultExpireMessage { /* show message on new line */
|
|
|
|
display: block;
|
|
|
|
padding-left: 4px;
|
|
|
|
/* TODO: style the dropdown in a proper way - border-box, etc. */
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
2013-02-28 11:07:50 +00:00
|
|
|
.ui-autocomplete { /* limit dropdown height to 4 1/2 entries */
|
|
|
|
max-height:103px;
|
|
|
|
overflow-y:auto;
|
|
|
|
overflow-x:hidden;
|
|
|
|
}
|
2013-10-20 20:14:10 +00:00
|
|
|
|
|
|
|
.notCreatable {
|
2013-10-23 14:20:53 +00:00
|
|
|
padding-left: 12px;
|
2013-10-20 20:14:10 +00:00
|
|
|
padding-top: 12px;
|
|
|
|
color: #999;
|
2014-07-01 14:09:10 +00:00
|
|
|
}
|