|
1 | 1 | .rst-versions { |
2 | 2 | position: relative !important; |
3 | | - bottom: unset; |
4 | | - left: unset; |
5 | | - width: unset; |
6 | | - background: unset; |
7 | | - background-color: var(--pst-color-on-background) !important; |
8 | | - color: var(--pst-color-text-muted); |
| 3 | + color: var(--pst-color-text-muted) !important; |
9 | 4 | font-family: unset !important; |
10 | | - z-index: unset; |
11 | 5 | a { |
12 | | - background-color: var(--pst-color-on-background); |
13 | 6 | color: var(--pst-color-text-base); |
14 | 7 | text-decoration: unset; |
15 | 8 | @include link-style-hover; |
|
20 | 13 | &.rst-badge { |
21 | 14 | // width: auto; |
22 | 15 | appearance: button; |
| 16 | + height: inherit; |
| 17 | + max-height: inherit; |
23 | 18 | border-color: var(--pst-color-border) !important; |
24 | 19 | border-radius: var(--bs-dropdown-border-radius) !important; |
25 | 20 | border-width: 1px !important; |
|
37 | 32 | // } |
38 | 33 | &.shift-up .rst-current-version { |
39 | 34 | text-align: unset; |
| 35 | + display: inline; |
40 | 36 | .fa-book { |
41 | 37 | float: none !important; |
42 | 38 | } |
43 | 39 | .icon-book { |
44 | 40 | float: none; |
45 | 41 | } |
| 42 | + > .rst-current-version { |
| 43 | + height: inherit !important; |
| 44 | + } |
46 | 45 | } |
47 | 46 | // > .rst-current-version { |
48 | 47 | // width: auto; |
|
55 | 54 | // display: none; |
56 | 55 | //} |
57 | 56 | .rst-current-version { |
58 | | - // padding: $base-line-height / 2; |
59 | | - background-color: var(--bs-btn-bg) !important; |
| 57 | + padding: unset !important; |
| 58 | + background-color: var(--pst-color-on-background) !important; |
60 | 59 | text-align: left !important; |
61 | | - font-size: unset; |
| 60 | + font-size: unset !important; |
62 | 61 | color: var(--pst-color-text-base) !important; |
63 | 62 | // @include clearfix; |
64 | 63 | // .fa { |
|
92 | 91 | // font-size: 90%; |
93 | 92 | // padding: $base-line-height / 2; |
94 | 93 | // display: none; |
95 | | - color: var(--pst-color-text-muted); |
| 94 | + position: absolute; |
| 95 | + width: 300px; |
| 96 | + color: var(--pst-color-text-muted) !important; |
| 97 | + background-color: var(--pst-color-on-background) !important; |
96 | 98 | hr { |
97 | 99 | // display: block; |
98 | 100 | // height: 1px; |
99 | 101 | // border: 0; |
100 | 102 | // margin: 20px 0; |
101 | 103 | // padding: 0; |
| 104 | + border: none !important; |
102 | 105 | border-top: solid 1px var(--pst-color-border) !important; |
103 | 106 | } |
104 | 107 | dl { |
105 | | - border-top: solid 1px var(--pst-color-border); |
| 108 | + border-top: solid 1px var(--pst-color-border) !important; |
106 | 109 | } |
107 | 110 | dd { |
108 | 111 | border-color: var(--pst-color-border) !important; |
|
0 commit comments