Created
May 9, 2015 18:40
-
-
Save StfBauer/5aa3f786298298fd94e6 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h5 class="ms-rtestate-field"> | |
head | |
</h5> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.13) | |
// Compass (v1.0.3) | |
// ---- | |
@media screen and (min-width: 480px) { | |
/* Outer element of the nav bar */ | |
#O365_NavHeader { | |
/* 'Office 365' Text Link */ | |
#O365_MainLink_Logo { | |
/* Hide original Text */ | |
.o365cs-nav-brandingText { | |
display: none; | |
} | |
/** Inject Logo before the original text link */ | |
&::before { | |
/** Use Office 365 icon fonts */ | |
font-family: "office365icons", "o365Icons"; | |
/** | |
* Append Office Logo in front of the original text | |
* \E055 is the character code of the Office Logo. | |
* * */ | |
content: ""; | |
/** Adjust font-size to match the other icons */ | |
font-size: 22px; | |
line-height: 47px; | |
} | |
/** Finally avoid hover underline because of the link */ | |
&:hover { | |
text-decoration: none; | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (min-width: 480px) { | |
/* Outer element of the nav bar */ | |
#O365_NavHeader { | |
/* 'Office 365' Text Link */ | |
} | |
#O365_NavHeader #O365_MainLink_Logo { | |
/* Hide original Text */ | |
/** Inject Logo before the original text link **/ | |
/** Finally avoid hover underline because of the link **/ | |
} | |
#O365_NavHeader #O365_MainLink_Logo .o365cs-nav-brandingText { | |
display: none; | |
} | |
#O365_NavHeader #O365_MainLink_Logo::before { | |
/** Use Office 365 icon fonts **/ | |
font-family: 'office365icons', 'o365Icons'; | |
/** | |
Append Office Logo in front of the original text | |
\E055 is the character code of the Office Logo. | |
**/ | |
content: '\E055'; | |
/** Adjust font-size to match the other icons **/ | |
font-size: 22px; | |
line-height: 47px; | |
} | |
#O365_NavHeader #O365_MainLink_Logo:hover { | |
text-decoration: none; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h5 class="ms-rtestate-field"> | |
head | |
</h5> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment