nextcloud/core/css/share.css

144 lines
2.5 KiB
CSS
Raw Normal View History

/* 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. */
#dropdown {
2013-10-02 20:27:55 +04:00
background:#eee;
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;
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;
padding:16px;
2013-10-02 20:27:55 +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;
padding:8px;
2013-10-02 20:27:55 +04:00
}
#shareWithList li {
padding-top: 10px;
padding-bottom: 10px;
font-weight: bold;
line-height: 21px;
white-space: normal;
2013-10-02 20:27:55 +04:00
}
#shareWithList .unshare img, #shareWithList .showCruds img {
vertical-align:text-bottom; /* properly align icons */
}
#shareWithList label input[type=checkbox]{
margin-left: 0;
top: 3px;
position: relative;
}
#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;
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"] {
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;
padding:5px 0 0 5px !important;
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;
padding-top:8px;
2013-10-02 20:27:55 +04:00
}
2012-10-24 15:09:05 +04:00
#dropdown input[type="text"],#dropdown input[type="password"] {
2013-10-02 20:27:55 +04:00
width:90%;
}
#dropdown form {
2013-10-02 20:27:55 +04:00
font-size: 100%;
margin-left: 0;
margin-right: 0;
}
2012-10-24 15:09:05 +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 {
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 {
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;
}
#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;
}
#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:103px;
overflow-y:auto;
overflow-x:hidden;
}
.notCreatable {
padding-left: 12px;
padding-top: 12px;
color: #999;
}