.documents-hierarchy, .documents-online_contents { .document-title-heading { font-size: $font-size-h5; } .document-title-containers { &:after { padding-right: 3px; } } .al-toggle-view-all { color: $gray-light; &:before { color: $gray-light; content: "\2022"; padding-right: 3px; } } .al-hierarchy-children-status { text-align: right; } // Component title + children badge .documentHeader { border-bottom: $border-width dashed #ccc; margin-bottom: ($spacer / 2); margin-top: ($spacer * 2); } // Headings and text .al-document-abstract-or-scope { font-size: 0.85rem; line-height: 1.25; } .al-hierarchy-sub-heading { color: $gray-light; font-size: $font-size-xs; font-weight: normal; text-transform: uppercase; } // Series level .blacklight-series .document-title-heading, .blacklight-file .document-title-heading, .blacklight-otherlevel .document-title-heading { font-size: $font-size-h5; font-weight: 400; margin-bottom: ($spacer / 2); > a { color: $gray-dark; } } .blacklight-series, .blacklight-file { // Additional for levels below series .blacklight-subseries .document-title-heading, .blacklight-file .document-title-heading, .blacklight-otherlevel .document-title-heading { font-size: $font-size-h6; .documentHeader { margin-top: $spacer; } } // Icongraphy for each level .blacklight-subseries .document-title-heading, .al-hierarchy-level-1 .blacklight-file .document-title-heading, .al-hierarchy-level-1 .blacklight-otherlevel .document-title-heading { border-left: ($border-width * 2) solid #999; padding-left: 10px; } .al-hierarchy-level-2 .document-title-heading, .al-hierarchy-level-2 .blacklight-file .document-title-heading { border-left: 0; padding-left: 0; &:before { color: $gray-light; content: "\a6"; padding-right: 6px; } } .al-hierarchy-level-3 .document-title-heading, .al-hierarchy-level-3 .blacklight-file .document-title-heading { &:before { content: "\205D"; } } } } .al-hierarchy-highlight { background: $state-warning-bg; } // Placeholder styling .al-hierarchy-placeholder { margin-top: $spacer; h3 { background-color: $gray-lighter; border-radius: 5px; height: $font-size-h3; } p { background-color: $gray-lighter; border-radius: 5px; height: $font-size-base; } } // Component show page, Collection context section #collection-context { h1 { font-size: $font-size-h5; } .documents-hierarchy, .documents-online_contents { .documentHeader { margin-top: 1.5rem; } } // Top-level context .al-hierarchy-level-0 .document-title-heading { // background-color: red; font-size: $font-size-h5; font-weight: 400; margin-bottom: ($spacer / 2); > a { color: $gray-dark; } } // All subsequent levels @for $i from 1 through 12 { .al-hierarchy-level-#{$i} .document-title-heading { font-size: $font-size-h6; font-weight: 400; > a { color: $gray-dark; } } } } // Indentation styling for all level hierarchies @mixin hierarchy-levels { @for $i from 1 through 12 { .al-hierarchy-level-#{$i} { margin-left: 10px; // provides for n indention &.extra-indent { margin-left: ($i * 10) + px; } } } } @include hierarchy-levels;