Skip to content

Commit 1a91a4c

Browse files
committed
remove cruft
1 parent 3c85946 commit 1a91a4c

File tree

1 file changed

+3
-77
lines changed

1 file changed

+3
-77
lines changed
Lines changed: 3 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.rst-versions {
22
position: relative !important;
3-
color: var(--pst-color-text-muted) !important;
4-
font-family: unset !important;
3+
font-family: inherit !important;
54
a {
65
color: var(--pst-color-text-base);
76
text-decoration: unset;
@@ -11,96 +10,36 @@
1110
}
1211
}
1312
&.rst-badge {
14-
// width: auto;
15-
appearance: button;
16-
height: inherit;
17-
max-height: inherit;
1813
border-color: var(--pst-color-border) !important;
1914
border-radius: var(--bs-dropdown-border-radius) !important;
15+
border-style: solid !important;
2016
border-width: 1px !important;
2117
bottom: unset !important;
2218
right: unset !important;
23-
// max-width: $nav-desktop-width;
24-
// max-height: 90%;
25-
// .icon-book {
26-
// float: none;
27-
// line-height: 30px;
28-
// }
29-
// .fa-book {
30-
// float: none;
31-
// line-height: 30px;
32-
// }
3319
&.shift-up .rst-current-version {
34-
text-align: unset;
35-
display: inline;
3620
.fa-book {
3721
float: none !important;
3822
}
39-
.icon-book {
40-
float: none;
41-
}
4223
> .rst-current-version {
4324
height: inherit !important;
4425
}
4526
}
46-
// > .rst-current-version {
47-
// width: auto;
48-
// height: 30px;
49-
// line-height: 30px;
50-
// padding: 0 $base-line-height / 4;
51-
// text-align: center;
5227
}
53-
//.rst-badge-small {
54-
// display: none;
55-
//}
5628
.rst-current-version {
57-
padding: unset !important;
5829
background-color: var(--pst-color-on-background) !important;
59-
text-align: left !important;
60-
font-size: unset !important;
6130
color: var(--pst-color-text-base) !important;
62-
// @include clearfix;
63-
// .fa {
64-
// color: $section-background-color;
65-
// }
31+
font-size: unset !important;
6632
.fa-book {
6733
float: none;
6834
display: inline-block !important;
6935
}
70-
.icon-book {
71-
float: none;
72-
}
73-
// &.rst-out-of-date {
74-
// background-color: $red;
75-
// color: $white;
76-
// }
77-
// &.rst-active-old-version {
78-
// background-color: $yellow;
79-
// color: $black;
80-
// }
8136
}
82-
//&.shift-up {
83-
// height: auto;
84-
// max-height: 100%;
85-
// overflow-y: scroll;
86-
//}
87-
//&.shift-up .rst-other-versions {
88-
// display: inline-block !important;
89-
//}
9037
.rst-other-versions {
91-
// font-size: 90%;
92-
// padding: $base-line-height / 2;
93-
// display: none;
9438
position: absolute;
9539
width: 300px;
9640
color: var(--pst-color-text-muted) !important;
9741
background-color: var(--pst-color-on-background) !important;
9842
hr {
99-
// display: block;
100-
// height: 1px;
101-
// border: 0;
102-
// margin: 20px 0;
103-
// padding: 0;
10443
border: none !important;
10544
border-top: solid 1px var(--pst-color-border) !important;
10645
}
@@ -111,23 +50,10 @@
11150
border-color: var(--pst-color-border) !important;
11251
border-radius: var(--bs-dropdown-border-radius) !important;
11352
border-width: 1px !important;
114-
// display: inline-block;
115-
// margin: 0;
11653
a {
117-
// display: inline-block;
118-
// padding: $base-line-height / 4;
11954
color: unset;
12055
@include link-style-hover;
12156
}
12257
}
12358
}
12459
}
125-
//@include media($tablet) {
126-
// .rst-versions {
127-
// width: 85%;
128-
// display: none;
129-
// &.shift {
130-
// display: block;
131-
// }
132-
// }
133-
//}

0 commit comments

Comments
 (0)