mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-27 11:28:38 +01:00
Color the unstable version differently
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
eea13b0ff2
commit
9170eacfcd
|
|
@ -32,6 +32,9 @@ function appendVersion(parent, name, url) {
|
|||
if (name === currentVersion) {
|
||||
li.classList.add("selected")
|
||||
}
|
||||
if (name === "unstable") {
|
||||
li.classList.add("unstable")
|
||||
}
|
||||
parent.appendChild(li);
|
||||
|
||||
// The link
|
||||
|
|
|
|||
|
|
@ -54,6 +54,10 @@ Custom SCSS for the Matrix spec
|
|||
ul#version-selector li.selected a {
|
||||
color: $secondary;
|
||||
}
|
||||
|
||||
ul#version-selector li.unstable:not(.selected) a {
|
||||
color: $warning;
|
||||
}
|
||||
}
|
||||
|
||||
/* Styles for the sidebar nav */
|
||||
|
|
|
|||
Loading…
Reference in a new issue