sol2/sass/_theme_badge.sass
Matthew Iversen b99bad47b5 Update setup.py to work, rework file structure
- rebase sass files to ./sass
- Place all theme files in ./sphinx_rtd_theme
- Grunt now uses `default` and `build` tasks
- `build` will minify css for committing / dist
- Added Gemfile and requirements.txt for python/ruby requirements
- Cleaned up Gruntfile, copying no longer needed.
- moved compass config to compass.rb

Squashed commits:

- Move out sphinx_rtd_theme to root folder
- Manifest unneeded
- Move out sass to root dir
- Remove dist from git
- Reconfigure paths
- Add requirements for sphinx
- Add gemfile for compass
- Udpate components path
- Move to static/css
- Add line for rbenv
- Require livereload, don't need copy
- Comment static path, update theme path for demo conf.py
- Add css files
- Correct name of .ruby-version...
- Update path to theme.css
- Remove unprefixed badge_only.css
- Update location of theme.js
- Update paths in Gruntfile, tasks
- re-add __init__.py, bump version
- Update setup.py to pick up version easily
- Move config.rb to compass.rb
- Correct compass import paths
- Add debug / production environment
- Commit with production built css
- Add theme.conf, get requires from requirements.txt
- rename tasks, use sphinx-build, add comments
- Fix font path
- Update css files
2013-11-04 20:37:27 +11:00

85 lines
1.8 KiB
Sass

.rst-versions
position: fixed
bottom: 0
left: 0
width: $nav-desktop-width
color: $section-background-color
background: darken($menu-background-color, 8%)
border-top: solid 10px $menu-background-color
font-family: $base-font-family
z-index: $z-index-tray
a
color: $link_color
text-decoration: none
.rst-badge-small
display: none
.rst-current-version
padding: $base-line-height / 2
background-color: darken($menu-background-color, 5%)
display: block
text-align: right
font-size: 90%
cursor: pointer
color: $green
+clearfix
.icon
color: $section-background-color
.icon-book
float: left
&.rst-out-of-date
background-color: $red
color: $white
&.shift-up .rst-other-versions
display: block
.rst-other-versions
font-size: 90%
padding: $base-line-height / 2
color: $text-medium
display: none
hr
display: block
height: 1px
border: 0
margin: 20px 0
padding: 0
border-top: solid 1px lighten($menu-background-color, 5%)
dd
display: inline-block
margin: 0
a
display: inline-block
padding: $base-line-height / 4
color: $section-background-color
&.rst-badge
width: auto
bottom: 20px
right: 20px
left: auto
border: none
max-width: $nav-desktop-width
.icon-book
float: none
&.shift-up .rst-current-version
text-align: right
.icon-book
float: left
.rst-current-version
width: auto
height: 30px
line-height: 30px
padding: 0 $base-line-height / 4
display: block
text-align: center
+media($tablet)
.rst-versions
width: 85%
display: none
&.shift
display: block
img
width: 100%
height: auto