.documents-hierarchy, .documents-online_contents { .document-title-heading { font-size: $h5-font-size; } .document-title-containers { &:after { padding-right: 3px; } } .al-toggle-view-all { color: $gray-600; &:before { color: $gray-600; content: "\2022"; padding-right: 3px; } } .al-hierarchy-children-status { font-size: $h6-font-size; margin-top: 6px; text-align: left; } .bookmark-toggle, .al-request-form { font-size: $font-size-sm; } // 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-600; font-size: $font-size-sm; font-weight: normal; text-transform: uppercase; } // Series level .blacklight-series .document-title-heading, .blacklight-file .document-title-heading, .blacklight-binder .document-title-heading, .blacklight-other .document-title-heading { font-size: $h5-font-size; font-weight: 400; margin-bottom: ($spacer / 2); > a { color: $gray-900; } } .blacklight-series, .blacklight-file { // Additional for levels below series .blacklight-subseries .document-title-heading, .blacklight-file .document-title-heading, .blacklight-binder .document-title-heading, .blacklight-other .document-title-heading { font-size: $h6-font-size; .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-binder .document-title-heading, .al-hierarchy-level-1 .blacklight-other .document-title-heading { padding-left: 10px; &:before { color: $gray-600; content: "\027E9"; padding-right: 3px; } } .al-hierarchy-level-2 .document-title-heading, .al-hierarchy-level-2 .blacklight-file .document-title-heading { &:before { content: "\027E9 \027E9"; } } .al-hierarchy-level-3 .document-title-heading, .al-hierarchy-level-3 .blacklight-file .document-title-heading { &:before { content: "\027E9 \027E9 \027E9"; } } } } .al-hierarchy-highlight { background: $mark-bg; } // Placeholder styling .al-hierarchy-placeholder { margin-top: $spacer; h3 { background-color: $gray-200; border-radius: 5px; height: $h3-font-size; } p { background-color: $gray-200; border-radius: 5px; height: $font-size-base; } } // Component show page, Collection context section #collection-context { h1 { font-size: $h5-font-size; } .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: $h5-font-size; font-weight: 400; margin-bottom: ($spacer / 2); > a { color: $gray-900; } } // All subsequent levels @for $i from 1 through 12 { .al-hierarchy-level-#{$i} .document-title-heading { font-size: $h6-font-size; font-weight: 400; > a { color: $gray-900; } } } } // Indentation styling for all level hierarchies @mixin hierarchy-levels { @for $i from 1 through 12 { .al-hierarchy-level-#{$i} { margin-left: 20px; // provides for n indention &.extra-indent { margin-left: ($i * 20) + px; } } } } @include hierarchy-levels;