Sha256: ed9bfa2518c3d67cbdb7d624f80c8e96aa0debca0fcbc2e9d36a14a46acf502e
Contents?: true
Size: 1.57 KB
Versions: 6
Compression:
Stored size: 1.57 KB
Contents
// /** // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved. // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt // */ ##{$linkbar-base-class} { @include column-spacing; } .#{$linkbar-base-class}-item, .#{$linkbar-base-class}-item-link { display: block; } .#{$linkbar-base-class}-item { @if($linkbar-item-background) { background: $linkbar-item-background; } } .#{$linkbar-base-class}-item-link { text-decoration: none; @if($linkbar-item-link-padding) { padding: $linkbar-item-link-padding; } @include column-spacing; // Override default padding because smalles views have built-in smaller column spadding @if($linkbar-item-link-background) { background: $linkbar-item-link-background; } @if($linkbar-item-link-color) { color: $linkbar-item-link-color; } &:hover { @extend .is-#{$linkbar-base-class}-item-link-hover; } } .is-#{$linkbar-base-class}-item-link-hover { @if($linkbar-item-link-hover-background) { background: $linkbar-item-link-hover-background; } @if($linkbar-item-link-hover-color) { color: $linkbar-item-link-hover-color; } } .#{$linkbar-base-class}-trigger { @extend .is-visible; display: inline-block; &+.#{$linkbar-base-class} { @include is-hidden; } } ##{$linkbar-base-class}:target { .#{$linkbar-base-class} { @include is-not-hidden(); } } @include breakpoint($medium_handheld) { .#{$linkbar-base-class}-trigger { &+.#{$linkbar-base-class} { @include is-not-hidden; } } .#{$linkbar-base-class}-item, .#{$linkbar-base-class}-item-link { display: inline-block; } }
Version data entries
6 entries across 6 versions & 1 rubygems