Skip to content

Commit

Permalink
branding: Drop #index-brand
Browse files Browse the repository at this point in the history
This was removed four years ago in the shell redesign (commit 9e7209d).

Thanks to @hjmallon for spotting!

Fixes #20936
  • Loading branch information
martinpitt committed Sep 4, 2024
1 parent c8f41b0 commit 0834363
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 71 deletions.
7 changes: 0 additions & 7 deletions doc/branding.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,5 @@ The branding.css file should override the following areas of the login screen:
content: "${NAME} <b>${VARIANT}</b>";
}

The ```branding.css``` file should override the following areas of the navigation bar:

/* The text in the upper left corner of logged in Cockpit
#index-brand {
content: "${NAME} <b>${VARIANT}</b>";
}

Notice how we can use variables from ```/etc/os-release``` in the branding.
The value for these variables come from the machine that cockpit is logged into.
4 changes: 0 additions & 4 deletions src/branding/arch/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ body.login-pf {
#brand::before {
content: "${NAME} <b>${VARIANT}</b>";
}

#index-brand::before {
content: "${NAME} <b>${VARIANT}</b>";
}
4 changes: 0 additions & 4 deletions src/branding/centos/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ body.login-pf {
#brand::before {
content: "${NAME}";
}

#index-brand::before {
content: "${NAME}";
}
4 changes: 0 additions & 4 deletions src/branding/debian/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ body.login-pf {
#brand::before {
content: "${NAME}";
}

#index-brand::before {
content: "${NAME}";
}
8 changes: 0 additions & 8 deletions src/branding/default/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,3 @@ body.login-pf {
background-image: url("brand-large.png");
background-repeat: no-repeat;
}

#index-brand {
font-weight: bold;
}

#index-brand::before {
content: "Cockpit";
}
4 changes: 0 additions & 4 deletions src/branding/fedora/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ body.login-pf {
#brand::before {
content: "${NAME} <b>${VARIANT}</b>";
}

#index-brand::before {
content: "${NAME} <b>${VARIANT}</b>";
}
8 changes: 0 additions & 8 deletions src/branding/kubernetes/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,3 @@ body.login-pf {
#brand::before {
content: "${NAME}";
}

#index-brand {
font-weight: bold;
}

#index-brand::before {
content: "${NAME}";
}
4 changes: 0 additions & 4 deletions src/branding/opensuse/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,3 @@ body.login-pf {
#brand::before {
content: "${NAME}";
}

#index-brand::before {
content: "${NAME}";
}
8 changes: 0 additions & 8 deletions src/branding/registry/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ body.login-pf {
content: "${NAME}";
}

#index-brand {
font-weight: bold;
}

#index-brand::before {
content: "${NAME}";
}

:root {
--ct-color-host-accent: #c00 !important;
}
8 changes: 0 additions & 8 deletions src/branding/rhel/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,3 @@ body.login-pf {
#brand::before {
content: "${NAME}";
}

#index-brand {
font-weight: bold;
}

#index-brand::before {
content: "${NAME}";
}
4 changes: 0 additions & 4 deletions src/branding/scientific/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,3 @@ body.login-pf {
#brand::before {
content: "${NAME}";
}

#index-brand::before {
content: "${NAME}";
}
8 changes: 0 additions & 8 deletions src/branding/ubuntu/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,3 @@ body.login-pf {
#brand::before {
content: "${PRETTY_NAME}";
}

#index-brand {
content: "${NAME}";
}

#index-brand::before {
content: "${NAME}";
}

0 comments on commit 0834363

Please sign in to comment.