nextcloud-breeze-dark/css/apps/core/_files.scss

92 lines
2.1 KiB
SCSS

/***
* @copyright Copyright (c) 2017, Magnus Walbeck <mw@mwalbeck.org>
*
* @license GNU AGPL version 3 or any later version, see COPYING file for more.
*/
/* Files -------------------------------------------------------------------- */
.recommendation {
&:hover,
&:focus {
background: var(--color-background-hover) !important;
}
}
.filesize {
color: var(--color-text-maxcontrast) !important;
}
.date > span {
color: var(--color-text-maxcontrast) !important;
}
table tr[data-has-preview="true"] .thumbnail {
border: unset !important;
}
#filestable .filename .favorite-mark .icon-star {
background-image: none !important;
}
#filestable.view-grid:not(.hidden) tbody tr:not(.hidden) {
background-color: unset !important;
&:hover .thumbnail-wrapper,
&:hover .nametext,
&:hover .fileactions,
&:focus .thumbnail-wrapper,
&:focus .nametext,
&:focus .fileactions,
&:active .thumbnail-wrapper,
&:active .nametext,
&:active .fileactions,
&.selected .thumbnail-wrapper,
&.selected .nametext,
&.selected .fileactions,
&.highlighted .thumbnail-wrapper,
&.highlighted .nametext,
&.highlighted .fileactions,
&.searchresult .thumbnail-wrapper,
&.searchresult .nametext,
&.searchresult .fileactions,
.name:focus .thumbnail-wrapper,
.name:focus .nametext,
.name:focus .fileactions {
background-color: unset !important;
}
&:hover,
&:focus,
&:active,
&.selected,
&.highlighted,
&.searchresult {
background-color: var(--color-background-hover) !important;
}
}
#filestable .summary {
opacity: 1;
}
#filestable tbody tr.highlighted,
#filestable tbody tr.highlighted .name:focus,
#filestable tbody tr.selected,
#filestable tbody tr.searchresult {
background-color: var(--color-selected-blue) !important;
}
#filestable tbody tr:hover,
#filestable tbody tr:focus,
#filestable tbody tr:active,
table tr.mouseOver {
background-color: var(--color-background-hover) !important;
}
#filestable tbody .name:focus,
#filestable tbody tr:hover .filename form,
table tr.mouseOver td {
background-color: unset !important;
}