Sha256: 24e4afc5f9aa11643f8b94e3ecc501db5ae4685f1a0f9c6433c3e61fc56e6f94
Contents?: true
Size: 1.77 KB
Versions: 1
Compression:
Stored size: 1.77 KB
Contents
$sidebar-width: em(200); section.inner-content { margin-left: auto; } .refills-menu-anchor { @include position(fixed, 4.5em null null 1em); @include size(50px); border: 1px solid darken(desaturate(#93e9be, 50), 15%); border-radius: 50%; cursor: pointer; display: inline-block; font-size: 1em; padding: 0.7em 1em; margin-bottom: 1.5em; transition: all 0.2s ease-in-out; z-index: 9999; &.fixedsticky-on { margin-top: -3.5em; } &.fixedsticky-off { position: fixed; } img { @include size(30px 26px); max-width: 100%; } } .refills-menu-anchor-moved { top: 1em; } .fixedsticky-dummy { height: 0 !important; } .refills-menu-screen { @include position(fixed, 0 0 0 0); @include transition; background-color: teal; opacity: 0; visibility: hidden; z-index: 999998; &.is-visible { opacity: 0; visibility: visible; } } .er_toc_title, .er_toc_top { display: none; } .er_toc { $base-line-height: 1.5em !default; @include position(fixed, 0 auto 0 0); @include size(220px 100%); @include transform(translateX(-220px)); @include transition(all 0.2s linear); background-color: black; overflow-y: auto; -webkit-font-smoothing: antialiased; -webkit-overflow-scrolling: touch; transition: all 0.2s linear; z-index: 999999; ul { margin: 0; padding: 1em; } ul li { a { color: darken(#fff, 15%); font-size: 1em; font-weight: 300; line-height: $base-line-height; text-decoration: none; &:focus, &:hover { color: #fff; text-decoration: none; } } } ul ul { margin-bottom: 1em; margin-top: 0.5em; padding: 0; } ul ul li a { font-weight: 200; } &.is-visible { @include transform(translateX(0)); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refills-0.1.0 | source/stylesheets/_refills-nav.scss |