/* style for content area */ /* content header */ .contentHeader, .boxHeadline { // deprecated color: $wcfContentHeadlineText; .contentTitle, > h1 { // deprecated @include wcfFontTitle; .badge { top: -2px; @include wcfLineHeight; } a { color: $wcfContentHeadlineLink; &:hover { color: $wcfContentHeadlineLinkActive; } } } } .contentHeader { .contentHeaderDescription { color: $wcfContentDimmedText; margin-top: 5px; } .contentHeaderMetaData { color: $wcfContentDimmedText; margin-top: 5px; &.inlineList { > li:not(:last-child) { margin-right: 10px; } } > li { a, a:hover, .icon { color: $wcfContentDimmedText; } } } .contentTitle + .inlineDataList { margin-top: 5px; } .inlineDataList { color: $wcfContentDimmedText; } @include screen-sm-down { .contentHeaderIcon { display: none; } } @include screen-sm { .contentHeaderNavigation > ul { @include inlineList; align-items: flex-start; justify-content: flex-end; margin-top: 20px; } } @include screen-md-up { display: flex; align-items: flex-start; .contentHeaderIcon { flex: 0 0 64px; margin-right: 15px } .contentHeaderTitle { flex: 1 1 0%; } .contentHeaderNavigation { flex: 0 0 auto; margin-left: 15px; max-width: 50%; > ul { @include inlineList; align-items: flex-start; flex-wrap: wrap; justify-content: flex-end; margin-top: -5px; > li { margin-top: 5px; &:not(:last-child) { margin-right: 0; } &:not(:first-child) { margin-left: 5px; } } } } } } /* legacy styling for sub headlines (deprecated; use .section > .sectionTitle instead) */ .boxHeadline.boxSubHeadline { margin-top: 40px; margin-bottom: 20px; > h2 { color: $wcfContentHeadlineText; @include wcfFontSection; a { color: $wcfContentHeadlineLink; &:hover { color: $wcfContentHeadlineLinkActive; } } .badge { top: -2px; } } } /* content sections */ .section { margin-top: 40px; > :first-child { margin-top: 0; } .sectionTitle { color: $wcfContentHeadlineText; @include wcfFontSection; a { color: $wcfContentHeadlineLink; &:hover { color: $wcfContentHeadlineLinkActive; } } .badge { top: -2px; } } .sectionDescription { color: $wcfContentDimmedText; } > .sectionHeader, > .sectionTitle { margin-bottom: 20px; + .section { margin-top: 20px; } } &:not(.sectionContainerList) { > .sectionHeader, > .sectionTitle { border-bottom: 1px solid $wcfContentBorderInner; padding-bottom: 10px; } } &.sectionContainerList { > .sectionHeader, > .sectionTitle { margin-bottom: 10px; } } &.tabularBox { > .sectionHeader, > .sectionTitle { border-color: $wcfContentBorder; margin-bottom: 0; } } .section { margin-top: 30px; &:first-child { margin-top: 20px; } .sectionTitle { @include wcfFontHeadline; } > .sectionHeader, > .sectionTitle { margin-bottom: 15px; } } } /* fieldset styling (old sections / deprecated) */ fieldset { margin-top: 40px; > legend { border-bottom: 1px solid $wcfContentBorderInner; color: $wcfContentHeadlineText; float: left; margin-bottom: 20px; padding-bottom: 10px; width: 100%; @include wcfFontSection; a { color: $wcfContentHeadlineLink; &:hover { color: $wcfContentHeadlineLinkActive; } } .badge { top: -2px; } &+ * { clear: left; } + small { color: $wcfContentDimmedText; position: relative; top: -12px; } } } .section { fieldset { margin-top: 20px; > legend { margin-bottom: 15px; @include wcfFontHeadline; } } } /* styling for container headlines */ .containerHeadline { > h3 { @include wcfFontHeadline; > .badge { top: -2px; } } ~ .containerContent { margin-top: 10px; } } /* DEPRECATED: styling for content navigation area (containing pagination / page buttons) */ .contentNavigation { & + .section { margin-top: 30px; } @include screen-sm-down { ul { margin-top: 30px; > li { > .button { display: block; padding: 7px 10px; text-align: center; } } } > nav:not(.pagination) > ul > li + li { margin-top: 10px; } } @include screen-md-up { align-items: center; display: flex; // align