Skip to content

Commit

Permalink
Add setting to remove powerschool logo
Browse files Browse the repository at this point in the history
  • Loading branch information
aopell committed Jan 24, 2024
1 parent e8778a3 commit eebf388
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
8 changes: 6 additions & 2 deletions css/all.css
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,12 @@ the selector matches inside notifications in the new notifs dropdown
left: calc(50vw - 300px) !important;
}

._pendo-launcher-badge_ {
visibility: var(--help-center-fab-visibility) !important;
svg:has(+ div.CustomBrandingLogo-vertical-strip-background-color-3_NIE) {
display: var(--power-school-logo-display) !important;
}

div.CustomBrandingLogo-vertical-strip-background-color-3_NIE {
display: var(--power-school-logo-display) !important;
}

.quick-link-wrapper {
Expand Down
14 changes: 7 additions & 7 deletions js/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -622,25 +622,25 @@ function updateSettings(callback) {
element => element.value
).control,
new Setting(
"helpCenterFAB",
"Schoology Help Button",
"Controls the visibility of the S button in the bottom right that shows the Schoology Guide Center",
"hidden",
"powerSchoolLogo",
"PowerSchool Logo",
"Controls the visibility of the PowerSchool logo on the navigation bar",
"block",
"select",
{
options: [
{
text: "Show",
value: "visible"
value: "block"
},
{
text: "Hide",
value: "hidden"
value: "none"
}
]
},
value => {
setCSSVariable("help-center-fab-visibility", value);
setCSSVariable("power-school-logo-display", value);
return value;
},
function (event) { this.onload(event.target.value) },
Expand Down

0 comments on commit eebf388

Please sign in to comment.