Commit ab123a00 authored by totof's avatar totof

#73 : Sortie du flux du picto du btn (mise en position absolute) + Option btn à droite

parent 46bb6867
......@@ -18,10 +18,21 @@
// // Exemple de règles pour visualiser la fonctionalité
// // plier /déplier
.js-expandmore {
position: relative;
padding: 0 .45em;
}
.js-expandmore.right {
padding-left: 0;
}
.expandmore__symbol {
width: .85em;
display: inline-block;
vertical-align: top;
position: absolute;
left: 0;
}
.right .expandmore__symbol {
left: initial;
right: 0;
}
.expandmore__symbol:before {
content : $expand-symbol-closed;
......@@ -30,6 +41,7 @@
.expandmore__button[aria-expanded=true] .expandmore__symbol:before ,
.expandmore__button[data-expanded=true] .expandmore__symbol:before {
content : $expand-symbol-open;
padding-left: .1em;
}
.no-js .js-expandmore-all {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment