From 4c5fde956f432c8f4fe10223c6276254465536b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Gonz=C3=A1lez?= Date: Tue, 17 Jan 2017 16:38:25 +0100 Subject: [PATCH] Add open and closing classes --- .../stylesheets/legislation_process.scss | 28 ++++++++++++------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/legislation_process.scss b/app/assets/stylesheets/legislation_process.scss index b5061f0b0..5b23736d7 100644 --- a/app/assets/stylesheets/legislation_process.scss +++ b/app/assets/stylesheets/legislation_process.scss @@ -654,16 +654,24 @@ $epigraph-line-height: rem-calc(22); li { margin-bottom: 1rem; - - &::before { - cursor: pointer; - position: absolute; - margin-left: -1.25rem; - font-family: "icons"; - content: "\5a"; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - } + } + .open::before { + cursor: pointer; + position: absolute; + margin-left: -1.25rem; + font-family: "icons"; + content: "\58"; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + .closed::before { + cursor: pointer; + position: absolute; + margin-left: -1.25rem; + font-family: "icons"; + content: "\5a"; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } } }