mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 09:38:51 +02:00
52 lines
1.1 KiB
SCSS
52 lines
1.1 KiB
SCSS
// core
|
|
.p-splitbutton {
|
|
display: inline-flex;
|
|
position: relative;
|
|
}
|
|
|
|
.p-splitbutton .p-splitbutton-defaultbutton,
|
|
.p-splitbutton.p-button-rounded > .p-splitbutton-defaultbutton.p-button,
|
|
.p-splitbutton.p-button-outlined > .p-splitbutton-defaultbutton.p-button,
|
|
.p-splitbutton.p-button-outlined
|
|
> .p-splitbutton-defaultbutton.p-button-outlined.p-button:hover {
|
|
flex: 1 1 auto;
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
border-right: 0 none;
|
|
}
|
|
|
|
.p-splitbutton-menubutton,
|
|
.p-splitbutton.p-button-rounded > .p-splitbutton-menubutton.p-button,
|
|
.p-splitbutton.p-button-outlined > .p-splitbutton-menubutton.p-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
|
|
.p-splitbutton .p-menu {
|
|
min-width: 100%;
|
|
}
|
|
|
|
.p-fluid .p-splitbutton {
|
|
display: flex;
|
|
}
|
|
|
|
// theme
|
|
.p-splitbutton {
|
|
border-radius: $borderRadius;
|
|
|
|
&.p-button-rounded {
|
|
border-radius: $roundedButtonBorderRadius;
|
|
|
|
> .p-button {
|
|
border-radius: $roundedButtonBorderRadius;
|
|
}
|
|
}
|
|
|
|
&.p-button-raised {
|
|
box-shadow: $raisedButtonShadow;
|
|
}
|
|
}
|