You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
plain-ui/src/scss/components/_panel.scss

57 lines
1.1 KiB

/**
*
*
*
*/
@mixin plain-ui__component__panel()
{
.panel {
border: 1px solid $plain-ui__primary-light;
border-radius: 2px;
background: #fff;
&__header {
display: flex;
background-color: $plain-ui__primary-light;
color: white;
padding: 0.8em 1.2em;
line-height: 1.6em;
button {
appearance: none;
background: none;
border: none;
padding: 0;
&:hover {
cursor: pointer;
}
}
.icon {
vertical-align: bottom;
width: 1.5em;
height: 1.5em;
margin-right: 0.5em;
fill: white;
}
}
&__buttons {
display: flex;
justify-content: end;
width: 100%;
button:last-child .icon {
margin-right: 0;
}
}
&__body {
padding: 0.6em 1.2em;
}
}
}