Debian Codegraph @

src/sass/_theme_badge.sass

raw
1 .rst-versions
2 position: fixed
3 bottom: 0
4 left: 0
5 width: $nav-desktop-width
6 color: $section-background-color
7 background: darken($menu-background-color, 8%)
8 font-family: $base-font-family
9 z-index: $z-index-tray
10 a
11 color: $link_color
12 text-decoration: none
13 .rst-badge-small
14 display: none
15 .rst-current-version
16 padding: $base-line-height / 2
17 background-color: darken($menu-background-color, 5%)
18 display: block
19 text-align: right
20 font-size: 90%
21 cursor: pointer
22 color: $green
23 +clearfix
24 .fa
25 color: $section-background-color
26 .fa-book
27 float: left
28 .icon-book
29 float: left
30 &.rst-out-of-date
31 background-color: $red
32 color: $white
33 &.rst-active-old-version
34 background-color: $yellow
35 color: $black
36 &.shift-up
37 height: auto
38 max-height: 100%
39 overflow-y: scroll
40 &.shift-up .rst-other-versions
41 display: block
42 .rst-other-versions
43 font-size: 90%
44 padding: $base-line-height / 2
45 color: $text-medium
46 display: none
47 hr
48 display: block
49 height: 1px
50 border: 0
51 margin: 20px 0
52 padding: 0
53 border-top: solid 1px lighten($menu-background-color, 5%)
54 dd
55 display: inline-block
56 margin: 0
57 a
58 display: inline-block
59 padding: $base-line-height / 4
60 color: $section-background-color
61 .rtd-current-item
62 font-weight: bold
63 &.rst-badge
64 width: auto
65 bottom: 20px
66 right: 20px
67 left: auto
68 border: none
69 max-width: $nav-desktop-width
70 max-height: 90%
71 .icon-book
72 float: none
73 line-height: 30px
74 .fa-book
75 float: none
76 line-height: 30px
77 &.shift-up .rst-current-version
78 text-align: right
79 .fa-book
80 float: left
81 .icon-book
82 float: left
83 > .rst-current-version
84 width: auto
85 height: 30px
86 line-height: 30px
87 padding: 0 $base-line-height / 4
88 display: block
89 text-align: center
90
91 +media($tablet)
92 .rst-versions
93 width: 85%
94 display: none
95 &.shift
96 display: block
97
98 #flyout-search-form
99 padding: 6px