1
0
Fork 0
mirror of https://github.com/mwalbeck/nextcloud-breeze-dark.git synced 2025-06-19 20:30:53 +00:00
nextcloud-breeze-dark/css/server/_icons.scss

238 lines
5.8 KiB
SCSS
Raw Normal View History

2019-12-09 21:55:08 +01:00
/***
* @copyright Copyright (c) 2017, Magnus Walbeck <mw@mwalbeck.org>
*
* @license GNU AGPL version 3
***/
2019-11-28 22:13:51 +01:00
/* Apps that haven't moved to variables for icons ---------------------------- */
// News
2020-01-25 17:00:15 +01:00
.app-news .icon-rss {
background-image: var(--icon-news-rss-000) !important;
2019-11-28 22:13:51 +01:00
}
.icon-unpinned {
2020-01-25 17:00:15 +01:00
background-image: var(--icon-news-unpinned-000) !important;
2019-11-28 22:13:51 +01:00
}
.icon-pinned {
2020-01-25 17:00:15 +01:00
background-image: var(--icon-news-pinned-000) !important;
2019-11-28 22:13:51 +01:00
}
.icon-full-text-disabled {
2020-01-25 17:00:15 +01:00
background-image: var(--icon-news-nonfulltext-000) !important;
2019-11-28 22:13:51 +01:00
}
.icon-full-text-enabled {
2020-01-25 17:00:15 +01:00
background-image: var(--icon-news-fulltext-000) !important;
}
.icon-updatemode-default {
background-image: var(--icon-news-updatemodedefault-000) !important;
}
.icon-updatemode-unread {
background-image: var(--icon-news-updatemodeunread-000) !important;
2019-11-28 22:13:51 +01:00
}
// Circles
// Circle in files app navbar
.nav-icon-circlesfilter {
2019-12-16 23:51:43 +01:00
background-image: var(--icon-circles-circles-000) !important;
2019-11-28 22:13:51 +01:00
}
// Override Deck apps override of the deck icon
.icon-deck {
background-image: var(--icon-deck-deck-000) !important;
}
// Override Deck apps override of the help icon
.icon-help {
background-image: var(--icon-help-000);
}
2019-12-16 23:51:43 +01:00
// Share by email
.icon-social-email {
background-image: var(--icon-mail-000) !important;
}
// Share by Diaspora
2020-01-18 21:51:15 +01:00
.social-diaspora {
2019-12-16 23:51:43 +01:00
background-image: var(--icon-federatedfilesharing-social-diaspora-000) !important;
}
// Share by Twitter
2020-01-18 21:51:15 +01:00
.social-twitter {
2019-12-16 23:51:43 +01:00
background-image: var(--icon-federatedfilesharing-social-twitter-000) !important;
}
// Share by Facebook
2020-01-18 21:51:15 +01:00
.social-facebook {
2019-12-16 23:51:43 +01:00
background-image: var(--icon-federatedfilesharing-social-facebook-000) !important;
}
2020-01-04 22:23:13 +01:00
// Passman icon expired
//source https://material.io/tools/icons/?icon=restore&style=baseline
.icon-expired {
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNCcgaGVpZ2h0PScyNCcgdmlld0JveD0nMCAwIDI0IDI0Jz48cGF0aCBkPSdNMCAwaDI0djI0SDB6JyBmaWxsPSdub25lJy8+PHBhdGggZD0nTTEzIDNjLTQuOTcgMC05IDQuMDMtOSA5SDFsMy44OSAzLjg5LjA3LjE0TDkgMTJINmMwLTMuODcgMy4xMy03IDctN3M3IDMuMTMgNyA3LTMuMTMgNy03IDdjLTEuOTMgMC0zLjY4LS43OS00Ljk0LTIuMDZsLTEuNDIgMS40MkM4LjI3IDE5Ljk5IDEwLjUxIDIxIDEzIDIxYzQuOTcgMCA5LTQuMDMgOS05cy00LjAzLTktOS05em0tMSA1djVsNC4yOCAyLjU0LjcyLTEuMjEtMy41LTIuMDhWOEgxMnonIGZpbGw9JyNmMmYyZjInLz48L3N2Zz4=") !important;
2020-01-04 22:23:13 +01:00
}
2020-01-04 22:42:06 +01:00
// Flow upload
.app-flowupload .icon-file.select-file-icon {
background-image: var(--icon-text-000) !important;
}
2019-11-28 22:13:51 +01:00
/* CSS tricks to change icon color ------------------------------------------ */
.app-settings {
// Navigation in settings
#app-navigation li a img {
filter: invert(95%) !important;
}
#apps-list .section .app-image .app-icon,
2019-12-16 23:51:43 +01:00
#apps-list-search .section .app-image .app-icon,
2019-11-28 22:13:51 +01:00
#app-sidebar #app-details-view image.app-icon {
filter: invert(5%);
}
// Support submenu -> system information
.system-information div img[src$="/apps/support/img/system-info.svg"] {
filter: invert(95%);
}
.infoicon {
filter: invert(95%);
}
2019-11-28 22:13:51 +01:00
}
#settings #expanddiv li a img {
filter: invert(95%);
}
// Icons in the global notifications dropdown
2019-12-04 18:54:10 +01:00
.notification-icon {
filter: invert(95%);
}
// Client icons under Settings > Personal > Mobile & Desktop
.clientslinks img.appsmall {
filter: invert(95%);
}
2019-12-05 21:14:31 +01:00
// Two Factor Icons in Personal Settings
img.two-factor-provider-settings-icon,
.icon-u2f-device {
filter: invert(95%);
}
2019-11-28 22:13:51 +01:00
2019-12-05 21:42:32 +01:00
// Home breadcrumb icon in gallery app
.app-gallery .home img {
filter: invert(95%);
}
// Gallery App: Sorting icons and share button
.app-gallery .button img.svg {
filter: invert(95%);
}
// Activity App: Navigation sidebar
.app-activity #app-navigation ul li a img {
filter: invert(95%);
}
// Activity App: Icons in activity feed
2019-12-16 21:50:27 +01:00
.app-activity .activity-icon,
.activity .activity-icon {
2019-12-05 21:42:32 +01:00
img[src$="share.svg"],
img[src$="change.svg"],
img[src$="calendar.svg"],
2019-12-23 16:10:12 +01:00
img[src$="comment.svg"],
img[src$="announcementcenter-dark.svg"],
img[src$="archive.svg"],
2019-12-23 16:10:12 +01:00
img[src$="tag.svg"],
2020-01-18 22:00:24 +01:00
img[src$="checkmark.svg"],
img[src$="personal.svg"],
img[src$="deck-dark.svg"] {
2019-12-05 21:42:32 +01:00
filter: invert(95%);
}
}
// Invert icon for version history in app sidebar
.downloadVersion img[src$="download.svg"],
.revertVersion img[src$="history.svg"] {
filter: invert(95%);
}
// Change the app icons in the navigation menu to white
#navigation .app-icon {
filter: none;
}
// Arrow in advanved ldap settings and
// Little help icon
#ldapSettings .ui-accordion .ui-accordion-header .ui-accordion-header-icon,
#ldapSettings img[src$="info.svg"] {
filter: invert(95%);
}
2019-12-23 16:53:39 +01:00
// Music app: icons for Music player controls in files and in app
#music-controls img.control,
.app-music img.control {
filter: invert(95%);
}
2019-11-28 22:13:51 +01:00
2019-12-23 16:53:39 +01:00
// Music app: follow-playback icon
.app-music #app-sidebar #follow-playback {
filter: invert(95%);
}
2019-11-28 22:13:51 +01:00
2019-12-23 16:53:39 +01:00
// Music app: Play button on album covers
.app-music img.play.svg {
filter: invert(95%);
}
2019-11-28 22:13:51 +01:00
2019-12-23 16:53:39 +01:00
// Music App: Mini play button
.current.playing .play-pause,
.current:not(.playing) .play-pause,
#app-view :hover > .play-pause,
#app-view .current.playing div:hover .play-pause {
filter: invert(95%);
}
2019-11-28 22:13:51 +01:00
2019-12-23 16:53:39 +01:00
// Music app: Play option in file action menu in Files App
.fileActionsMenu .action-music-play img.icon {
filter: invert(95%);
}
2019-11-28 22:13:51 +01:00
// Music app: Settings icon
.app-music .music-nav-settings img.svg {
filter: invert(95%);
}
// play-pause button on hover in nav sidebar
.app-music #app-navigation .play-pause {
filter: invert(95%);
}
2019-12-23 16:56:41 +01:00
// Info icon in contacts menu
#contactsmenu-menu .content .contact img[src$="info.svg"] {
filter: invert(95%);
}
// Audio player: Play option in right click menu in files
.menuitem.action.action-audio img[src$="sound.svg"] {
filter: invert(95%);
}
2020-01-25 16:18:00 +01:00
// Fix icon colors for workflow page
#workflowengine .actions__item:not(.colored) .icon:not(.icon-invert) {
filter: invert(5%) !important;
}
#workflowengine .section.rule .trigger .event .option__icon {
filter: invert(95%);
}