Skip to content

Commit bffa9a1

Browse files
committed
more styling
1 parent 9925ae5 commit bffa9a1

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/pydata_sphinx_theme/assets/styles/components/_readthedocs-switcher.scss

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.rst-versions {
2-
position: static !important;
2+
position: relative !important;
33
bottom: unset;
44
left: unset;
55
width: unset;
@@ -19,12 +19,12 @@
1919
}
2020
&.rst-badge {
2121
// width: auto;
22-
// bottom: 20px;
23-
// right: 20px;
24-
// left: auto;
25-
border-color: var(--pst-color-border);
26-
border-radius: var(--bs-dropdown-border-radius);
27-
border-width: 1px;
22+
appearance: button;
23+
border-color: var(--pst-color-border) !important;
24+
border-radius: var(--bs-dropdown-border-radius) !important;
25+
border-width: 1px !important;
26+
bottom: unset !important;
27+
right: unset !important;
2828
// max-width: $nav-desktop-width;
2929
// max-height: 90%;
3030
// .icon-book {
@@ -49,7 +49,6 @@
4949
// height: 30px;
5050
// line-height: 30px;
5151
// padding: 0 $base-line-height / 4;
52-
display: inline-block !important;
5352
// text-align: center;
5453
}
5554
//.rst-badge-small {
@@ -86,28 +85,29 @@
8685
// max-height: 100%;
8786
// overflow-y: scroll;
8887
//}
89-
&.shift-up .rst-other-versions {
90-
display: inline-block !important;
91-
}
88+
//&.shift-up .rst-other-versions {
89+
// display: inline-block !important;
90+
//}
9291
.rst-other-versions {
9392
// font-size: 90%;
9493
// padding: $base-line-height / 2;
9594
// display: none;
95+
color: var(--pst-color-text-muted);
9696
hr {
9797
// display: block;
9898
// height: 1px;
9999
// border: 0;
100100
// margin: 20px 0;
101101
// padding: 0;
102-
border-top: solid 1px var(--pst-color-border);
102+
border-top: solid 1px var(--pst-color-border) !important;
103103
}
104104
dl {
105105
border-top: solid 1px var(--pst-color-border);
106106
}
107107
dd {
108-
border-color: var(--pst-color-border);
109-
border-radius: var(--bs-dropdown-border-radius);
110-
border-width: 1px;
108+
border-color: var(--pst-color-border) !important;
109+
border-radius: var(--bs-dropdown-border-radius) !important;
110+
border-width: 1px !important;
111111
// display: inline-block;
112112
// margin: 0;
113113
a {

0 commit comments

Comments
 (0)