Skip to content

Instantly share code, notes, and snippets.

@mikezimm
Last active February 21, 2020 05:23
Show Gist options
  • Save mikezimm/6deecdcd8bfe2dbb3677d55c376767ee to your computer and use it in GitHub Desktop.
Save mikezimm/6deecdcd8bfe2dbb3677d55c376767ee to your computer and use it in GitHub Desktop.
Ulitmate styling possibilities of Fabric React components?
@import '~office-ui-fabric-react/dist/sass/References.scss';
.myWebPartClass {
.listViewTransparent *[data-automationid="DetailsRowFields"] {
background-color: #eaeaea ;
transition: all 0.3s ease;
}
.listViewTransparent *[data-automationid="DetailsRowFields"] :hover {
background-color: #c2c2c2 ;
color: #212121;
transition: all 0.3s ease;
}
}
export function xyz(){
let listView =
<div
className={ styles.listViewTransparent }>
<ListView
items={theseAreItems}
viewFields={viewFields}
/>
</div>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment