From a7791635aa98f012d35f97c3c5288494bbb28e38 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 13 Mar 2024 18:03:43 +0100 Subject: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- app/assets/stylesheets/icons.css | 51 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 app/assets/stylesheets/icons.css (limited to 'app/assets/stylesheets/icons.css') diff --git a/app/assets/stylesheets/icons.css b/app/assets/stylesheets/icons.css new file mode 100644 index 0000000..484265e --- /dev/null +++ b/app/assets/stylesheets/icons.css @@ -0,0 +1,51 @@ +/* + * Icons taken and adapted from: https://github.com/astrit/css.gg. + */ + +/* + * Arrow down. + */ + +.gg-chevron-down { + box-sizing: border-box; + position: relative; + transform: scale(1); + border: 2px solid transparent; +} +.gg-chevron-down::after { + content: ""; + display: block; + box-sizing: border-box; + position: absolute; + width: 10px; + height: 10px; + border-bottom: 2px solid; + border-right: 2px solid; + transform: rotate(45deg); + left: -5px; + top: 4px +} + +/* + * Arrow up. + */ + +.gg-chevron-up { + box-sizing: border-box; + position: relative; + transform: scale(1); + border: 2px solid transparent; +} +.gg-chevron-up::after { + content: ""; + display: block; + box-sizing: border-box; + position: absolute; + width: 10px; + height: 10px; + border-top: 2px solid; + border-right: 2px solid; + transform: rotate(-45deg); + left: -5px; + bottom: 4px +} -- cgit v1.2.3