Skip to content

Commit

Permalink
remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Aug 4, 2023
1 parent 3c85946 commit 1a91a4c
Showing 1 changed file with 3 additions and 77 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.rst-versions {
position: relative !important;
color: var(--pst-color-text-muted) !important;
font-family: unset !important;
font-family: inherit !important;
a {
color: var(--pst-color-text-base);
text-decoration: unset;
Expand All @@ -11,96 +10,36 @@
}
}
&.rst-badge {
// width: auto;
appearance: button;
height: inherit;
max-height: inherit;
border-color: var(--pst-color-border) !important;
border-radius: var(--bs-dropdown-border-radius) !important;
border-style: solid !important;
border-width: 1px !important;
bottom: unset !important;
right: unset !important;
// max-width: $nav-desktop-width;
// max-height: 90%;
// .icon-book {
// float: none;
// line-height: 30px;
// }
// .fa-book {
// float: none;
// line-height: 30px;
// }
&.shift-up .rst-current-version {
text-align: unset;
display: inline;
.fa-book {
float: none !important;
}
.icon-book {
float: none;
}
> .rst-current-version {
height: inherit !important;
}
}
// > .rst-current-version {
// width: auto;
// height: 30px;
// line-height: 30px;
// padding: 0 $base-line-height / 4;
// text-align: center;
}
//.rst-badge-small {
// display: none;
//}
.rst-current-version {
padding: unset !important;
background-color: var(--pst-color-on-background) !important;
text-align: left !important;
font-size: unset !important;
color: var(--pst-color-text-base) !important;
// @include clearfix;
// .fa {
// color: $section-background-color;
// }
font-size: unset !important;
.fa-book {
float: none;
display: inline-block !important;
}
.icon-book {
float: none;
}
// &.rst-out-of-date {
// background-color: $red;
// color: $white;
// }
// &.rst-active-old-version {
// background-color: $yellow;
// color: $black;
// }
}
//&.shift-up {
// height: auto;
// max-height: 100%;
// overflow-y: scroll;
//}
//&.shift-up .rst-other-versions {
// display: inline-block !important;
//}
.rst-other-versions {
// font-size: 90%;
// padding: $base-line-height / 2;
// display: none;
position: absolute;
width: 300px;
color: var(--pst-color-text-muted) !important;
background-color: var(--pst-color-on-background) !important;
hr {
// display: block;
// height: 1px;
// border: 0;
// margin: 20px 0;
// padding: 0;
border: none !important;
border-top: solid 1px var(--pst-color-border) !important;
}
Expand All @@ -111,23 +50,10 @@
border-color: var(--pst-color-border) !important;
border-radius: var(--bs-dropdown-border-radius) !important;
border-width: 1px !important;
// display: inline-block;
// margin: 0;
a {
// display: inline-block;
// padding: $base-line-height / 4;
color: unset;
@include link-style-hover;
}
}
}
}
//@include media($tablet) {
// .rst-versions {
// width: 85%;
// display: none;
// &.shift {
// display: block;
// }
// }
//}

0 comments on commit 1a91a4c

Please sign in to comment.