strasbourg-2018: give style to block add & remove buttons (#63634)

This commit is contained in:
Frédéric Péters 2022-04-10 14:32:45 +02:00
parent fa239cbfad
commit 52165b51bd
1 changed files with 35 additions and 0 deletions

View File

@ -46,6 +46,7 @@ div#content div#rub_service div.form-validation {
}
/* style authentic forms */
%button,
a.pk-button,
div.block form button, div.a2-block form button,
div#content div#columns div.a2-block form input[type=submit],
@ -1545,3 +1546,37 @@ div.RadiobuttonsWidget.template-evaluation {
.form-content--titlebar {
display: none;
}
#rub_service .BlockWidget .list-add {
clear: both;
.content {
display: block;
button {
@extend %button;
}
}
}
.wcs-block-with-remove-button {
.BlockSubWidget {
position: relative;
@include clearfix();
}
.remove-button {
@extend %button;
position: absolute;
right: 3px;
top: -1.5em;
margin-right: 0;
&[disabled] {
display: none;
}
span {
display: none;
}
&::after {
font-family: FontAwesome;
content: "\f1f8"; // trash
}
}
}