-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use dataclasses instead of extra_classes (#597)
* Use dataclasses instead of extra_classes * Fix CSS * Uncomment proper json * Fix docs' * Fix up the CSS of the dropdown * Docs update
- Loading branch information
Showing
5 changed files
with
81 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* Background of stsable should be green */ | ||
#version_switcher a[data-version-name*="stable"] { | ||
background-color: #e2ffe2; | ||
} | ||
|
||
/* Color of explicit versions should be orange */ | ||
#version_switcher | ||
a:not([data-version-name*="stable"]):not([data-version-name="dev"]) { | ||
background-color: #f8f9fa; | ||
color: grey; | ||
} | ||
|
||
/* If we're on a dev version, make the switcher button orange */ | ||
#version_switcher_button[data-active-version-name*="dev"] { | ||
background-color: rgb(255 138 62); | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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