Projet

Général

Profil

0002-portal-agent-add-foldable-folded-support-classes-259.patch

Frédéric Péters, 29 août 2018 09:58

Télécharger (1,18 ko)

Voir les différences:

Subject: [PATCH 2/2] portal agent: add foldable/folded support classes
 (#25922)

 .../themes/gadjo/static/css/agent-portal.scss | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
data/themes/gadjo/static/css/agent-portal.scss
139 139
	}
140 140
}
141 141

  
142
/* support foldable cells */
143
div.cell {
144
	&.foldable {
145
		> div > h2:first-child {
146
			&::after {
147
				font-family: FontAwesome;
148
				content: "\f106"; /* angle-up */
149
				position: absolute;
150
				right: 1em;
151
			}
152
			cursor: pointer;
153
		}
154
	}
155
	&.foldable.folded {
156
		> div > h2:first-child {
157
			display: block;
158
			&::after {
159
				content: "\f107"; /* angle-down */
160
			}
161
		}
162
		> div > * {
163
			display: none;
164
		}
165
	}
166
}
167

  
142 168
@media screen and (min-width: 1586px) {
143 169
	div#page-content div.cubesbarchart {
144 170
		width: 49.5%;
145
-