@pnp/spfx-controls-react
Version:
Reusable React controls for SharePoint Framework solutions
44 lines (43 loc) • 1.03 kB
CSS
/*
Your use of the content in the files referenced here is subject to the terms of the license at http://aka.ms/fabric-assets-license
*/
.accordion {
background: #fafafa;
}
.accordion > button {
min-height: 44px;
border: 2px solid transparent;
outline: 1px solid transparent;
outline-offset: -3px;
background: #f0f0f0;
color: rgba(0, 0, 0, 0.8);
text-align: left;
width: 100%;
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.accordion > button :global(.ms-Button-label) {
font-weight: 400;
}
.accordion > button:hover, .accordion > button:focus {
box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.16);
color: #000000;
background: #f0f0f0;
}
.accordion > button:focus {
border-width: 2px;
border-style: solid;
border-color: #000000;
outline-color: rgba(255, 255, 255, 0.6);
}
.accordion .drawer {
padding: 24px 12px 24px 12px;
background: #fafafa;
font-weight: 400;
font-size: 15px;
line-height: 20px;
}
.accordionChevron {
font-size: 16px;
margin-left: -6px;
color: rgba(0, 0, 0, 0.8);
}