Projet

Général

Profil

0007-guerande-use-core-sass-vars-to-manage-cell-foldable-.patch

Thomas Jund (congés, retour le 29/04), 11 août 2021 17:35

Télécharger (1,43 ko)

Voir les différences:

Subject: [PATCH 07/11] guerande: use core sass vars to manage cell foldable
 icons

 static/guerande/_custom.scss | 11 -----------
 static/guerande/_vars.scss   |  2 ++
 2 files changed, 2 insertions(+), 11 deletions(-)
static/guerande/_custom.scss
141 141
		}
142 142
	}
143 143
	&.foldable h2::after {
144
		background: url(img/moins.svg) top right no-repeat;
145
		background-size: 25px 25px;
146
		content: "";
147
		display: block;
148 144
		width: 25px;
149 145
		height: 25px;
150
		padding-top: 20px;
151
		position: absolute;
152
		top: 20px;
153
		right: 20px;
154
	}
155
	&.foldable.folded h2::after {
156
		background: url(img/plus.svg) top right no-repeat;
157 146
	}
158 147
	li a {
159 148
		padding: 5px 40px;
static/guerande/_vars.scss
22 22
$cell-entry-hover-color: black;
23 23
$cell-entry-hover-background: darken($primary-color, 10%);
24 24
$cell-image-position: top;
25
$cell-open-foldable-icon: url(img/plus.svg);
26
$cell-close-foldable-icon: url(img/moins.svg);
25 27
$link-color: white;
26 28

  
27 29
$wcs-steps-spacing: 1rem;
28
-