Sha256: d818a1f56e1dd3c40c7b4f32097c58bedbeb27b51717ccf74e566a21d581d57b
Contents?: true
Size: 1.67 KB
Versions: 3
Compression:
Stored size: 1.67 KB
Contents
// Table of Contents // ================================================== // Sidebar // scss-lint:disable NestingDepth // Sidebar // ================================================== .sidebar { border-right-style: solid; border-right-width: 1px; box-sizing: border-box; display: block; height: 100%; overflow-x: hidden; overflow-y: auto; width: 100%; &.dark { .sidebar-subtitle { background: color(light-slate); color: color(white); } .sidebar-nav { > ul { background: color(light-slate); } } } &.light { .sidebar-subtitle { background: color(haze); } .sidebar-nav { > ul { background: color(white); } } } &.right { border-left-style: solid; border-left-width: 1px; border-right: 0; } } .sidebar-header, .sidebar-footer { padding: 30px 0; text-align: center; } .sidebar-body, .sidebar-subtitle { padding: 0 calc(15px + env(safe-area-inset-right) + env(safe-area-inset-left)); } .sidebar-subtitle { background: color(light-haze); border-bottom: 1px solid; border-bottom-color: inherit; font-size: text-size(xs); font-weight: text-weight(semibold); } .sidebar-nav { > a { border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; display: block; padding: 20px calc(15px + env(safe-area-inset-right) + env(safe-area-inset-left)); width: 100%; } > ul { background: color(light-haze); border-bottom-color: inherit; border-bottom-style: solid; border-bottom-width: 1px; list-style: none; padding: 15px calc(30px + env(safe-area-inset-right) + env(safe-area-inset-left)); a { display: block; padding: 5px; } } }
Version data entries
3 entries across 3 versions & 1 rubygems