nextcloud/core/css/share.css

171 lines
3.1 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 {
background: #eee;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
box-shadow: 0 2px 3px rgba(50, 50, 50, .4);
display: block;
margin-right: 0;
position: absolute;
right: 0;
width: 420px;
z-index: 500;
padding: 16px;
2013-10-02 20:27:55 +04: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;
}
}
.shareTabView .unshare.icon-loading-small {
margin-top: 1px;
}
.shareTabView .shareWithLoading,
.shareTabView .linkShare .icon-loading-small {
display: inline-block !important;
padding-left: 10px;
}
.shareTabView .shareWithLoading {
position: relative;
right: 70px;
top: 2px;
}
.shareTabView .icon-loading-small.hidden {
display: none !important;
}
.shareTabView .avatar {
margin-right: 8px;
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;
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;
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;
}
.shareTabView label {
2013-10-02 20:27:55 +04:00
font-weight:400;
white-space: nowrap;
2013-10-02 20:27:55 +04:00
}
2012-10-24 15:09:05 +04:00
.shareTabView input[type="checkbox"] {
margin:0 3px 0 8px;
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;
2015-09-17 14:17:56 +03:00
padding: 10px;
margin-top: -5px;
margin-right: -10px;
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
.shareTabView input[type="submit"] {
margin-left: 7px;
}
.shareTabView 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
.shareTabView .error {
color: #e9322d;
border-color: #e9322d;
-webkit-box-shadow: 0 0 6px #f8b9b7;
-moz-box-shadow: 0 0 6px #f8b9b7;
box-shadow: 0 0 6px #f8b9b7;
}
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
.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;
}
#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;
}