|
1 | 1 | .rst-versions {
|
2 | 2 | position: relative !important;
|
3 |
| - color: var(--pst-color-text-muted) !important; |
4 |
| - font-family: unset !important; |
| 3 | + font-family: inherit !important; |
5 | 4 | a {
|
6 | 5 | color: var(--pst-color-text-base);
|
7 | 6 | text-decoration: unset;
|
|
11 | 10 | }
|
12 | 11 | }
|
13 | 12 | &.rst-badge {
|
14 |
| - // width: auto; |
15 |
| - appearance: button; |
16 |
| - height: inherit; |
17 |
| - max-height: inherit; |
18 | 13 | border-color: var(--pst-color-border) !important;
|
19 | 14 | border-radius: var(--bs-dropdown-border-radius) !important;
|
| 15 | + border-style: solid !important; |
20 | 16 | border-width: 1px !important;
|
21 | 17 | bottom: unset !important;
|
22 | 18 | 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 |
| - // } |
33 | 19 | &.shift-up .rst-current-version {
|
34 |
| - text-align: unset; |
35 |
| - display: inline; |
36 | 20 | .fa-book {
|
37 | 21 | float: none !important;
|
38 | 22 | }
|
39 |
| - .icon-book { |
40 |
| - float: none; |
41 |
| - } |
42 | 23 | > .rst-current-version {
|
43 | 24 | height: inherit !important;
|
44 | 25 | }
|
45 | 26 | }
|
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; |
52 | 27 | }
|
53 |
| - //.rst-badge-small { |
54 |
| - // display: none; |
55 |
| - //} |
56 | 28 | .rst-current-version {
|
57 |
| - padding: unset !important; |
58 | 29 | background-color: var(--pst-color-on-background) !important;
|
59 |
| - text-align: left !important; |
60 |
| - font-size: unset !important; |
61 | 30 | color: var(--pst-color-text-base) !important;
|
62 |
| - // @include clearfix; |
63 |
| - // .fa { |
64 |
| - // color: $section-background-color; |
65 |
| - // } |
| 31 | + font-size: unset !important; |
66 | 32 | .fa-book {
|
67 | 33 | float: none;
|
68 | 34 | display: inline-block !important;
|
69 | 35 | }
|
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 |
| - // } |
81 | 36 | }
|
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 |
| - //} |
90 | 37 | .rst-other-versions {
|
91 |
| - // font-size: 90%; |
92 |
| - // padding: $base-line-height / 2; |
93 |
| - // display: none; |
94 | 38 | position: absolute;
|
95 | 39 | width: 300px;
|
96 | 40 | color: var(--pst-color-text-muted) !important;
|
97 | 41 | background-color: var(--pst-color-on-background) !important;
|
98 | 42 | hr {
|
99 |
| - // display: block; |
100 |
| - // height: 1px; |
101 |
| - // border: 0; |
102 |
| - // margin: 20px 0; |
103 |
| - // padding: 0; |
104 | 43 | border: none !important;
|
105 | 44 | border-top: solid 1px var(--pst-color-border) !important;
|
106 | 45 | }
|
|
111 | 50 | border-color: var(--pst-color-border) !important;
|
112 | 51 | border-radius: var(--bs-dropdown-border-radius) !important;
|
113 | 52 | border-width: 1px !important;
|
114 |
| - // display: inline-block; |
115 |
| - // margin: 0; |
116 | 53 | a {
|
117 |
| - // display: inline-block; |
118 |
| - // padding: $base-line-height / 4; |
119 | 54 | color: unset;
|
120 | 55 | @include link-style-hover;
|
121 | 56 | }
|
122 | 57 | }
|
123 | 58 | }
|
124 | 59 | }
|
125 |
| -//@include media($tablet) { |
126 |
| -// .rst-versions { |
127 |
| -// width: 85%; |
128 |
| -// display: none; |
129 |
| -// &.shift { |
130 |
| -// display: block; |
131 |
| -// } |
132 |
| -// } |
133 |
| -//} |
0 commit comments