Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Treselj <marin@pixelipo.com>2017-11-28 12:56:28 +0300
committerMarin Treselj <marin@pixelipo.com>2017-11-28 12:56:28 +0300
commit70953fa7888165b8a6352b2eae6db0ecfd1d169e (patch)
tree8e49018bc4b1999f4958eb234a306e12a80d0c0b /core/css/icons.scss
parenta0ce2c1204861e64219f6375f6ff8d13e63cfe32 (diff)
Add new .icon-white and .icon-shadow classes, add toggle-background icon
Signed-off-by: Marin Treselj <marin@pixelipo.com>
Diffstat (limited to 'core/css/icons.scss')
-rw-r--r--core/css/icons.scss47
1 files changed, 37 insertions, 10 deletions
diff --git a/core/css/icons.scss b/core/css/icons.scss
index 87fb835f677..5f1d8af7899 100644
--- a/core/css/icons.scss
+++ b/core/css/icons.scss
@@ -90,7 +90,14 @@ img, object, video, button, textarea, input, select, div[contenteditable=true] {
}
.icon-shadow {
- filter: drop-shadow(0 1px 3px $color-box-shadow);
+ filter: drop-shadow(1px 1px 4px $color-box-shadow);
+ &.icon-white {
+ filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
+ }
+}
+
+.icon-white {
+ filter: invert(100%);
}
/* ICONS -------------------------------------------------------------------- */
@@ -106,16 +113,20 @@ img, object, video, button, textarea, input, select, div[contenteditable=true] {
background-image: url('../img/actions/audio.svg?v=1');
}
+/* TODO: to be deprecated; use .icon-audio.icon-white.icon-shadow */
.icon-audio-white {
- background-image: url('../img/actions/audio-white.svg?v=2');
+ background-image: url('../img/actions/audio.svg?v=2');
+ filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
}
.icon-audio-off {
background-image: url('../img/actions/audio-off.svg?v=1');
}
+/* TODO: to be deprecated; use .icon-audio-off.icon-white.icon-shadow */
.icon-audio-off-white {
- background-image: url('../img/actions/audio-off-white.svg?v=1');
+ background-image: url('../img/actions/audio-off.svg?v=1');
+ filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
}
.icon-caret {
@@ -171,6 +182,7 @@ img, object, video, button, textarea, input, select, div[contenteditable=true] {
}
&:hover, &:focus {
background-image: url('../img/actions/delete-hover.svg?v=1');
+ filter: initial;
}
}
@@ -222,8 +234,10 @@ img, object, video, button, textarea, input, select, div[contenteditable=true] {
background-image: url('../img/actions/fullscreen.svg?v=1');
}
+/* TODO: to be deprecated; use .icon-fullscreen.icon-white.icon-shadow */
.icon-fullscreen-white {
- background-image: url('../img/actions/fullscreen-white.svg?v=2');
+ background-image: url('../img/actions/fullscreen.svg?v=1');
+ filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
}
.icon-history {
@@ -294,16 +308,20 @@ img, object, video, button, textarea, input, select, div[contenteditable=true] {
background-image: url('../img/actions/screen.svg?v=1');
}
+/* TODO: to be deprecated; use .icon-screen.icon-white.icon-shadow */
.icon-screen-white {
- background-image: url('../img/actions/screen-white.svg?v=1');
+ background-image: url('../img/actions/screen.svg?v=1');
+ filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
}
.icon-screen-off {
background-image: url('../img/actions/screen-off.svg?v=1');
}
+/* TODO: to be deprecated; use .icon-screen-off.icon-white.icon-shadow */
.icon-screen-off-white {
- background-image: url('../img/actions/screen-off-white.svg?v=1');
+ background-image: url('../img/actions/screen-off.svg?v=1');
+ filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
}
.icon-search {
@@ -373,6 +391,10 @@ img, object, video, button, textarea, input, select, div[contenteditable=true] {
background-image: url('../img/actions/toggle.svg?v=1');
}
+.icon-toggle-background {
+ background-image: url('../img/actions/toggle-background.svg?v=1');
+}
+
.icon-toggle-pictures {
background-image: url('../img/actions/toggle-pictures.svg?v=1');
}
@@ -405,16 +427,20 @@ img, object, video, button, textarea, input, select, div[contenteditable=true] {
background-image: url('../img/actions/video.svg?v=1');
}
+/* TODO: to be deprecated; use .icon-video-off.icon-white.icon-shadow */
.icon-video-white {
- background-image: url('../img/actions/video-white.svg?v=2');
+ background-image: url('../img/actions/video.svg?v=2');
+ filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
}
.icon-video-off {
background-image: url('../img/actions/video-off.svg?v=1');
}
+/* TODO: to be deprecated; use .icon-video-off.icon-white.icon-shadow */
.icon-video-off-white {
- background-image: url('../img/actions/video-off-white.svg?v=1');
+ background-image: url('../img/actions/video-off.svg?v=1');
+ filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
}
.icon-view-close {
@@ -426,7 +452,7 @@ img, object, video, button, textarea, input, select, div[contenteditable=true] {
}
.icon-view-next {
- background-image: url('../img/actions/view-next.svg?v=1');
+ background-image: url('../img/actions/arrow-right.svg?v=1');
}
.icon-view-pause {
@@ -438,13 +464,14 @@ img, object, video, button, textarea, input, select, div[contenteditable=true] {
}
.icon-view-previous {
- background-image: url('../img/actions/view-previous.svg?v=1');
+ background-image: url('../img/actions/arrow-left.svg?v=1');
}
/* PLACES ------------------------------------------------------------------- */
.icon-calendar {
background-image: url('../img/places/calendar.svg?v=1');
}
+
.icon-calendar-dark {
background-image: url('../img/places/calendar-dark.svg?v=1');
}