Sha256: 9a59671100cba9ef1f1985c2af9552bf8fa636f8adb67f4715fed628ee9f5466
Contents?: true
Size: 1.98 KB
Versions: 2
Compression:
Stored size: 1.98 KB
Contents
.header #tabs { width: $header-width; height: calc(100% - 60px); position: fixed; top: 50px; background-color: $sidebar-background; border-right: 1px solid $sidebar-border-color; z-index: 1; overflow: auto; left: - $header-width; @media screen and (min-width: $sm-width) { top: 60px; } @media screen and (min-width: $lg-width) { left: 0px !important; } @media screen and (min-width: $x-lg-width) { width: $lg-header-width; } li { width: 100%; font-size: $font-size; line-height: 38px; cursor: pointer; a { width: 100%; height: 100%; display: inline-block; color: $text-color; padding: 0 20px; &:hover { background-color: $sidebar-item-hover-background; } } &.current { a { color: $primary-color; } } &.has_nested { & > a:nth-child(1) { position: relative; &:after { @include icon("\f0d7"); display: inline; position: absolute; top: 50%; right: 20px; @include transform(translateY(-50%)); color: $text-color; } } ul { border-top: 1px solid $sidebar-border-color; border-bottom: 1px solid $sidebar-border-color; background-color: $body-background; padding: 10px 0; cursor: auto; display: none; a { padding: 0px 15px 0px 35px; color: $text-color; &:hover { background-color: $sidebar-nested-item-hover-background; } @media screen and (min-width: $x-lg-width) { padding: 0px 15px 0px 40px; } } .current a { color: $primary-color; } } &.open, &.current { & > a:nth-child(1) { position: relative; &:after { @include icon("\f0d8"); } } & > ul { display: block; } } } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arctic_admin-3.3.0 | app/assets/stylesheets/arctic_admin/layouts/_sidebar.scss |
arctic_admin-3.2.2 | app/assets/stylesheets/arctic_admin/layouts/_sidebar.scss |