Sha256: 549241d88762b7ca0f5e385c742c37f9a1728f8fc66e9197dc56eb9bf47160c0
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
.setting__button { height: 50px; position: relative; width: 62px; &::before { content: ' '; height: 36px; width: 36px; position: absolute; top: 6px; left: 12px; } &--on::before { background-image: url('/assets/img/toggle-off.svg'); } &--off::before { background-image: url('/assets/img/toggle-on.svg'); opacity: .75; } } .setting__link { background-color: transparent; border: none; display: block; margin-right: .5rem; height: 46px; width: 58px; position: relative; top: 5px; margin-bottom: -56px; opacity: 0; transition: all ease-in-out .25s; &::before { content: ' '; background-image: url('/assets/img/settings.svg'); background-repeat: no-repeat; background-position: center; width: 46px; height: 46px; position: absolute; top: 0; left: 6px; } } .setting__link:hover, .setting__link:focus { opacity: 1 !important; } @media screen and (min-width: 400px) { .setting__link { height: 56px; width: 68px; &::before { background-image: url('/assets/img/settings_56.svg'); height: 56px; width: 56px; } } } @media screen and (min-width: 768px) { .setting__link { top: -3px; } } @media screen and (min-width: 1024px) { .setting__link { top: -5px; } } .setting__link.setting__link--visible { opacity: 1; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kcc-gem-theme-2.2.3 | assets/scss/2-modules/_setting.scss |