Merge pull request #13791 from nextcloud/no-whiteversion-for-shadowed-icons

Do not generate dark version of the view-icons w/ shadows
This commit is contained in:
John Molakvoæ 2019-01-29 10:00:19 +01:00 committed by GitHub
commit afa51d1640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 5 deletions

View File

@ -314,10 +314,25 @@ img, object, video, button, textarea, input, select, div[contenteditable='true']
.icon-video-off-white {
filter: drop-shadow(1px 1px 4px var(--color-box-shadow));
}
@include icon-black-white('video-switch', 'actions', 1, true);
@include icon-black-white('view-close', 'actions', 1, true);
@include icon-black-white('view-download', 'actions', 1, true);
/* SHADOW WHITE ICONS: white version only ----------------------------------- */
.icon-view-close,
.icon-view-close-white {
@include icon-color('view-close', 'actions', $color-white, 1, true);
}
.icon-view-download,
.icon-view-download-white {
@include icon-color('view-download', 'actions', $color-white, 1, true);
}
.icon-view-pause,
.icon-view-pause-white {
@include icon-color('view-pause', 'actions', $color-white, 1, true);
}
.icon-view-play,
.icon-view-play-white {
@include icon-color('view-play', 'actions', $color-white, 1, true);
}
.icon-view-next {
@include icon-color('arrow-right', 'actions', $color-black, 1, true);
@ -326,8 +341,6 @@ img, object, video, button, textarea, input, select, div[contenteditable='true']
}
}
@include icon-black-white('view-pause', 'actions', 1, true);
@include icon-black-white('view-play', 'actions', 1, true);
.icon-view-previous {
@include icon-color('arrow-left', 'actions', $color-black, 1, true);