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 {
|
2013-10-02 20:27:55 +04:00
|
|
|
background:#eee;
|
2013-10-02 18:53:54 +04:00
|
|
|
border-bottom-left-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
2013-10-02 20:27:55 +04:00
|
|
|
box-shadow:0 1px 1px #777;
|
|
|
|
display:block;
|
2014-06-03 15:13:15 +04:00
|
|
|
margin-right: 0;
|
2013-10-02 20:27:55 +04:00
|
|
|
position:absolute;
|
|
|
|
right:0;
|
2014-05-13 13:49:16 +04:00
|
|
|
width:420px;
|
2013-10-02 20:27:55 +04:00
|
|
|
z-index:500;
|
2013-10-06 22:31:29 +04:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#dropdown.shareDropDown .icon-loading-small.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
top: 3px;
|
|
|
|
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;
|
|
|
|
}
|
2015-02-03 19:22:24 +03:00
|
|
|
#shareWithList .avatar {
|
|
|
|
margin-right: 2px;
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2014-01-16 13:12:37 +04:00
|
|
|
#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;
|
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"] {
|
2013-10-02 20:27:55 +04:00
|
|
|
width:90%;
|
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
|
|
|
|
2013-10-02 20:27:55 +04:00
|
|
|
.reshare,#link label,#expiration label {
|
2013-10-06 22:31:29 +04:00
|
|
|
padding-left:8px;
|
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;
|
|
|
|
}
|
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
|
|
|
}
|