2018-08-29 11:11:58 +00:00
|
|
|
%action-group label span {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-11-19 14:57:22 +00:00
|
|
|
%action-group-action {
|
|
|
|
width: 170px;
|
|
|
|
padding: 10px 10px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
%action-group li > * {
|
|
|
|
@extend %action-group-action;
|
|
|
|
}
|
2018-08-29 11:11:58 +00:00
|
|
|
%action-group {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
2019-05-01 18:09:29 +00:00
|
|
|
right: 3px;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%action-group label {
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
%action-group label:last-of-type {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
z-index: -1;
|
|
|
|
top: 0;
|
|
|
|
}
|
2018-10-19 15:17:02 +00:00
|
|
|
/* this is actually the group */
|
2018-08-29 11:11:58 +00:00
|
|
|
%action-group ul {
|
|
|
|
position: absolute;
|
2019-05-01 18:09:29 +00:00
|
|
|
right: 0px;
|
2018-08-29 11:11:58 +00:00
|
|
|
padding: 1px;
|
|
|
|
}
|
|
|
|
%action-group ul::before {
|
|
|
|
position: absolute;
|
2019-05-01 18:09:29 +00:00
|
|
|
right: 9px;
|
2018-08-29 11:11:58 +00:00
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
%action-group ul:not(.above) {
|
|
|
|
top: 35px;
|
|
|
|
}
|
|
|
|
%action-group ul:not(.above)::before {
|
|
|
|
top: -6px;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
%action-group ul.above {
|
|
|
|
bottom: 35px;
|
|
|
|
}
|
|
|
|
%action-group ul.above::before {
|
|
|
|
bottom: -6px;
|
|
|
|
transform: rotate(225deg);
|
|
|
|
}
|
|
|
|
%action-group li {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
%action-group input[type='radio'],
|
|
|
|
%action-group input[type='radio'] ~ ul,
|
|
|
|
%action-group input[type='radio'] ~ .with-confirmation > ul {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
%action-group input[type='radio']:checked ~ ul,
|
|
|
|
%action-group input[type='radio']:checked ~ .with-confirmation > ul {
|
|
|
|
display: block;
|
|
|
|
}
|
2018-10-19 15:17:02 +00:00
|
|
|
%action-group input[type='radio']:checked ~ label[for='actions_close'] {
|
2018-08-29 11:11:58 +00:00
|
|
|
z-index: 1;
|
|
|
|
}
|