Include SPFx ouif styles as they render the correct colors.
Moved import to root of wp as template styles can change.
This commit is contained in:
parent
be87310b4f
commit
5d971a1589
|
@ -1,26 +1,24 @@
|
||||||
.template_root {
|
.searchWp {
|
||||||
@import '~office-ui-fabric/dist/sass/Fabric.scss';
|
@import '~office-ui-fabric/dist/sass/Fabric.scss';
|
||||||
@import '~office-ui-fabric/dist/components/Label/Label.scss';
|
@import '~office-ui-fabric/dist/components/Label/Label.scss';
|
||||||
@import '~office-ui-fabric/dist/components/List/List.scss';
|
@import '~office-ui-fabric/dist/components/List/List.scss';
|
||||||
@import '~office-ui-fabric/dist/components/ListItem/ListItem.scss';
|
@import '~office-ui-fabric/dist/components/ListItem/ListItem.scss';
|
||||||
|
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/FabricCore.scss';
|
||||||
|
|
||||||
.template_defaultList {
|
.template_defaultList {
|
||||||
.template_icon {
|
.template_icon {
|
||||||
background-position: top;
|
background-position: top;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
color: "[theme: themePrimary]"
|
color: "[theme: themePrimary]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.template_defaultCard {
|
.template_defaultCard {
|
||||||
.singleCard {
|
.singleCard {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
border: 1px solid #eaeaea;
|
border: 1px solid #eaeaea;
|
||||||
min-height: 200px;
|
min-height: 200px;
|
||||||
|
|
||||||
.previewImg {
|
.previewImg {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 111px;
|
height: 111px;
|
||||||
|
@ -29,25 +27,21 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
border-bottom: 1px solid #eaeaea;
|
border-bottom: 1px solid #eaeaea;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardInfo {
|
.cardInfo {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardFileIcon {
|
.cardFileIcon {
|
||||||
left: 10px;
|
left: 10px;
|
||||||
bottom: 8px;
|
bottom: 8px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.singleCard:hover {
|
.singleCard:hover {
|
||||||
border-color: #c8c8c8;
|
border-color: #c8c8c8;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.template_resultCount {
|
.template_resultCount {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
Loading…
Reference in New Issue