From 8da3feff36e6ca63633385657e0f26c71e36c5bb Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Sun, 4 Mar 2018 10:52:06 +0100 Subject: [PATCH] Updated context icons --- res/css/_content.sass | 6 ++++++ res/css/search.css | 4 ++++ res/icons/chevron-down.svg | 7 +++++++ res/icons/chevron-up.svg | 7 +++++++ 4 files changed, 24 insertions(+) create mode 100644 res/icons/chevron-down.svg create mode 100644 res/icons/chevron-up.svg diff --git a/res/css/_content.sass b/res/css/_content.sass index eaa1522..0a41281 100644 --- a/res/css/_content.sass +++ b/res/css/_content.sass @@ -185,6 +185,12 @@ vertical-align: top margin-right: 16px + &.before > .inline-button:before + background-image: url(../icons/chevron-up.svg) + + &.after > .inline-button:before + background-image: url(../icons/chevron-down.svg) + .context display: block position: relative diff --git a/res/css/search.css b/res/css/search.css index 8179b4d..349f3ec 100644 --- a/res/css/search.css +++ b/res/css/search.css @@ -1065,6 +1065,10 @@ body { background-size: cover; vertical-align: top; margin-right: 16px; } + .results .buffer .container.before > .inline-button:before { + background-image: url(../icons/chevron-up.svg); } + .results .buffer .container.after > .inline-button:before { + background-image: url(../icons/chevron-down.svg); } .results .buffer .container .context { display: block; position: relative; } diff --git a/res/icons/chevron-down.svg b/res/icons/chevron-down.svg new file mode 100644 index 0000000..9f63e5a --- /dev/null +++ b/res/icons/chevron-down.svg @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg xmlns="http://www.w3.org/2000/svg" + version="1.1" width="24" height="24" viewBox="0 0 24 24"> + <path d="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z" + fill="#555"/> +</svg> \ No newline at end of file diff --git a/res/icons/chevron-up.svg b/res/icons/chevron-up.svg new file mode 100644 index 0000000..251ea74 --- /dev/null +++ b/res/icons/chevron-up.svg @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg xmlns="http://www.w3.org/2000/svg" + version="1.1" width="24" height="24" viewBox="0 0 24 24"> + <path d="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z" + fill="#555"/> +</svg> \ No newline at end of file -- GitLab