Wednesday, August 20, 2014

SharePoint online menu gone black

If any of you are wondering why your SharePoint online menu suddenly went black, I believe this is from an update rolled out by Microsoft.





They have set both the background and foreground to black :)

.o365cs-base.o365cst.o365spo button.o365cs-spo-topbarMenuOpen, .o365cs-base.o365cst.o365spo button.o365cs-spo-topbarHover, .o365cs-base.o365cst.o365spo a.o365cs-spo-topbarMenuOpen, .o365cs-base.o365cst.o365spo a.o365cs-spo-topbarHover {
    background-color: #000;
    border-color: #dedede;
    color: #000;
}

.o365spo.o365cs-nav-contextMenu .o365cs-base.o365cst.o365cs-contextMenu {
    background-color: #000;
}

https://prod.msocdn.com/3.06.5615.1/en-US/css/O365ShellCore.css 

Waiting for a fix!

Until they roll out a fix, add this to your custom css. And dont forget to clean up later.

.o365cs-base.o365cst.o365spo button.o365cs-spo-topbarMenuOpen, .o365cs-base.o365cst.o365spo button.o365cs-spo-topbarHover, .o365cs-base.o365cst.o365spo a.o365cs-spo-topbarMenuOpen, .o365cs-base.o365cst.o365spo a.o365cs-spo-topbarHover {
    background-color: #ececec !important;
    border-color: #dedede;
    color: #000;
}

.o365spo.o365cs-nav-contextMenu .o365cs-base.o365cst.o365cs-contextMenu {
    background-color: #ececec !important;
}

Wednesday, August 13, 2014

PowerShell to check for long file names breaking OneDrive sync


get-childitem "C:\temp" -rec | where {!$_.PSIsContainer} |  foreach-object -process { if($_.FullName.Length + 19 -gt 236){ $_.FullName}}

* 19 char in c:\users\onedrive