2012-04-23 16:19:03 +04: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 18:53:54 +04:00
|
|
|
#dropdown {
|
2015-03-25 20:04:31 +03: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 15:13:15 +04:00
|
|
|
margin-right: 0;
|
2015-03-25 20:04:31 +03:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
width: 420px;
|
|
|
|
z-index: 500;
|
|
|
|
padding: 16px;
|
2013-10-02 20:27:55 +04:00
|
|
|
}
|
|
|
|
|
2015-02-07 00:43:21 +03: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 21:46:30 +04: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;
|
|
|
|
}
|
2015-04-10 12:32:02 +03:00
|
|
|
#dropdown.shareDropDown .shareWithLoading {
|
|
|
|
position: relative;
|
|
|
|
right: 70px;
|
|
|
|
top: 2px;
|
|
|
|
}
|
2014-09-25 21:46:30 +04:00
|
|
|
#dropdown.shareDropDown .icon-loading-small.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2015-04-09 11:16:29 +03:00
|
|
|
#dropdown .shareWithRemoteInfo {
|
|
|
|
padding: 11px 20px;
|
|
|
|
}
|
|
|
|
|
2015-02-24 23:46:24 +03:00
|
|
|
#dropdown .avatar {
|
2015-04-09 11:16:29 +03:00
|
|
|
margin-right: 8px;
|
2015-02-24 23:46:24 +03:00
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
2013-10-02 20:27:55 +04:00
|
|
|
#shareWithList {
|
|
|
|
list-style-type:none;
|
2013-10-06 22:31:29 +04:00
|
|
|
padding:8px;
|
2013-10-02 20:27:55 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#shareWithList li {
|
2014-01-16 13:12:37 +04:00
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 21px;
|
|
|
|
white-space: normal;
|
2013-10-02 20:27:55 +04:00
|
|
|
}
|
2013-02-27 14:30:33 +04:00
|
|
|
|
|
|
|
#shareWithList .unshare img, #shareWithList .showCruds img {
|
|
|
|
vertical-align:text-bottom; /* properly align icons */
|
|
|
|
}
|
|
|
|
|
2014-01-16 13:12:37 +04:00
|
|
|
#shareWithList label input[type=checkbox]{
|
|
|
|
margin-left: 0;
|
2014-06-25 18:32:24 +04:00
|
|
|
position: relative;
|
2014-01-16 13:12:37 +04: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 20:27:55 +04:00
|
|
|
#dropdown label {
|
|
|
|
font-weight:400;
|
2013-10-23 19:56:28 +04:00
|
|
|
white-space: nowrap;
|
2013-10-02 20:27:55 +04:00
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2013-10-02 20:27:55 +04:00
|
|
|
#dropdown input[type="checkbox"] {
|
2013-10-06 22:31:29 +04:00
|
|
|
margin:0 3px 0 8px;
|
2015-03-17 20:18:07 +03:00
|
|
|
vertical-align: middle;
|
2013-10-02 20:27:55 +04:00
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2013-10-02 20:27:55 +04:00
|
|
|
a.showCruds {
|
|
|
|
display:inline;
|
|
|
|
opacity:.5;
|
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2013-10-02 20:27:55 +04:00
|
|
|
a.unshare {
|
|
|
|
display:inline;
|
|
|
|
float:right;
|
|
|
|
opacity:.5;
|
2013-10-06 22:31:29 +04:00
|
|
|
padding:5px 0 0 5px !important;
|
2013-02-20 20:29:12 +04:00
|
|
|
margin-top:-5px;
|
2013-10-02 20:27:55 +04:00
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2013-10-02 20:27:55 +04:00
|
|
|
#link {
|
|
|
|
border-top:1px solid #ddd;
|
2013-10-06 22:31:29 +04:00
|
|
|
padding-top:8px;
|
2013-10-02 20:27:55 +04:00
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2012-12-10 21:41:08 +04:00
|
|
|
#dropdown input[type="text"],#dropdown input[type="password"] {
|
2015-04-09 11:16:29 +03:00
|
|
|
width: 86%;
|
|
|
|
margin-left: 7px;
|
2012-12-10 21:41:08 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#dropdown form {
|
2013-10-02 20:27:55 +04:00
|
|
|
font-size: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2012-12-10 21:41:08 +04:00
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2012-12-10 21:41:08 +04:00
|
|
|
#linkText,#linkPass,#expiration {
|
2013-10-02 20:27:55 +04:00
|
|
|
display:none;
|
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2013-10-02 20:27:55 +04:00
|
|
|
#link #showPassword img {
|
2013-10-06 22:31:29 +04:00
|
|
|
padding-left:5px;
|
2013-10-02 20:27:55 +04:00
|
|
|
width:12px;
|
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2015-03-17 20:19:45 +03:00
|
|
|
.reshare,#link label,
|
|
|
|
#expiration label {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 6px 4px;
|
2013-10-02 20:27:55 +04:00
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2013-10-02 20:27:55 +04:00
|
|
|
a.showCruds:hover,a.unshare:hover {
|
|
|
|
opacity:1;
|
|
|
|
}
|
2013-02-27 14:22:13 +04:00
|
|
|
|
2014-06-30 16:08:11 +04:00
|
|
|
#defaultExpireMessage, /* fix expire message going out of box */
|
2013-10-02 20:27:55 +04:00
|
|
|
.reshare { /* fix shared by text going out of box */
|
|
|
|
white-space:normal;
|
|
|
|
}
|
2013-02-28 15:07:50 +04:00
|
|
|
|
2014-07-01 18:09:10 +04: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 15:07:50 +04:00
|
|
|
.ui-autocomplete { /* limit dropdown height to 4 1/2 entries */
|
|
|
|
max-height:103px;
|
|
|
|
overflow-y:auto;
|
|
|
|
overflow-x:hidden;
|
2015-06-26 18:48:35 +03:00
|
|
|
z-index: 101 !important;
|
2013-02-28 15:07:50 +04:00
|
|
|
}
|
2013-10-21 00:14:10 +04:00
|
|
|
|
|
|
|
.notCreatable {
|
2013-10-23 18:20:53 +04:00
|
|
|
padding-left: 12px;
|
2013-10-21 00:14:10 +04:00
|
|
|
padding-top: 12px;
|
|
|
|
color: #999;
|
2014-07-01 18:09:10 +04:00
|
|
|
}
|