Reduce spread of css selector for a.action
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
baee457b8f
commit
bce00d8b3d
|
@ -547,46 +547,49 @@ a.action > img {
|
||||||
margin-bottom: -1px;
|
margin-bottom: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#fileList a.action {
|
#fileList td a {
|
||||||
display: inline;
|
a.action {
|
||||||
padding: 17px 8px;
|
display: inline;
|
||||||
line-height: 50px;
|
padding: 17px 8px;
|
||||||
opacity: 0;
|
line-height: 50px;
|
||||||
}
|
opacity: .3;
|
||||||
#fileList a.action.action-share {
|
&.action-share {
|
||||||
padding: 17px 14px;
|
padding: 17px 14px;
|
||||||
}
|
.avatar {
|
||||||
#fileList a.action.action-share .avatar {
|
display: inline-block;
|
||||||
display: inline-block;
|
vertical-align: middle;
|
||||||
vertical-align: middle;
|
}
|
||||||
}
|
}
|
||||||
|
&.action-menu {
|
||||||
#fileList a.action.action-menu {
|
padding-top: 17px;
|
||||||
padding-top: 17px;
|
padding-bottom: 17px;
|
||||||
padding-bottom: 17px;
|
padding-left: 14px;
|
||||||
padding-left: 14px;
|
padding-right: 14px;
|
||||||
padding-right: 14px;
|
}
|
||||||
}
|
&.no-permission {
|
||||||
|
&:hover, &:focus {
|
||||||
#fileList a.action,
|
opacity: .3;
|
||||||
#fileList a.action.no-permission:hover,
|
}
|
||||||
#fileList a.action.no-permission:focus,
|
}
|
||||||
/* also enforce the low opacity for disabled links that are hovered/focused */
|
&.disabled {
|
||||||
#fileList a.action.disabled:hover,
|
&:hover, &:focus,
|
||||||
#fileList a.action.disabled:focus,
|
img {
|
||||||
#fileList a.action.disabled img {
|
opacity: .3;
|
||||||
opacity: .3;
|
}
|
||||||
}
|
&.action-download {
|
||||||
|
opacity: .7;
|
||||||
#fileList a.action.disabled.action-download,
|
&:hover, &:focus {
|
||||||
#fileList a.action.disabled.action-download:hover,
|
opacity: .7;
|
||||||
#fileList a.action.disabled.action-download:focus,
|
}
|
||||||
#fileList a.action:hover,
|
}
|
||||||
#fileList a.action:focus,
|
}
|
||||||
#fileList .fileActionsMenu a.action,
|
&:hover, &:focus {
|
||||||
/* show share action of shared items darker to distinguish from non-shared */
|
opacity: .7;
|
||||||
#fileList a.action.action-share.shared-style {
|
}
|
||||||
opacity: .7;
|
}
|
||||||
|
.fileActionsMenu a.action, a.action.action-share.shared-style {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ellipsize long sharer names
|
// Ellipsize long sharer names
|
||||||
|
@ -739,7 +742,7 @@ table.dragshadow td.size {
|
||||||
|
|
||||||
.canDrop,
|
.canDrop,
|
||||||
#filestable tbody tr.canDrop {
|
#filestable tbody tr.canDrop {
|
||||||
background-color: rgba(255, 255, 140, 1);
|
background-color: rgba(255, 255, 140, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue