style: add a new "button group" style (#70871)
gitea/gadjo/pipeline/head Build started... Details

This commit is contained in:
Frédéric Péters 2022-10-31 13:27:00 +01:00
parent 13cfa53ffb
commit bd528298f7
2 changed files with 23 additions and 1 deletions

View File

@ -665,3 +665,25 @@ div.godo--editor {
.BlockSubWidget.widget {
margin-bottom: 0;
}
.buttons-group {
display: flex;
a {
@extend %button;
margin-right: 0;
margin-left: -1px;
border-radius: 0;
&:first-child {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
&:last-child {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
&.active {
background: $button-color;
color: white;
}
}
}

View File

@ -1112,7 +1112,7 @@ $appicons: add, agendas, announces, bankcard, book, calendar, cards, categories,
position: absolute;
bottom: 0px;
right: 0;
a {
> a {
float: right;
margin-left: 2em;
}