Commit eb26a9d5 authored by Randall Leeds's avatar Randall Leeds

get rid of the show class

Unwrap the "magic controls". It's unnecessary structure that
doesn't save much and this way the style doesn't need to include
a display property. They can be inline or block.
parent f44f5b54
......@@ -738,7 +738,7 @@ blockquote {
display: none;
}
.magicontrols {
.magicontrol {
display: none;
}
......@@ -824,23 +824,16 @@ blockquote {
}
//MAGICONTROLS////////////////////////////////
.magicontrols {
display: inline-block;
& > * {
margin: .4em;
}
//MAGICONTROL////////////////////////////////
.magicontrol {
@include transition(opacity);
@include transition-duration(.15s);
margin: 0 .4em;
opacity: 0;
& > .show {
@include transition(opacity);
&.open, :hover > & {
@include transition-duration(.15s);
opacity: 0;
&.open, :hover > & {
@include transition-duration(.15s);
opacity: 1;
}
opacity: 1;
}
}
......
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