-<div class="containerPadding">
- {hascontent}
- {content}
- {foreach from=$options item=category}
- {foreach from=$category[categories] item=optionCategory}
- <fieldset>
- <legend>{lang}wcf.user.option.category.{@$optionCategory[object]->categoryName}{/lang}</legend>
-
- {foreach from=$optionCategory[options] item=userOption}
- <dl>
- <dt>{lang}wcf.user.option.{@$userOption[object]->optionName}{/lang}</dt>
- <dd>{@$userOption[object]->optionValue}</dd>
- </dl>
- {/foreach}
- </fieldset>
- {/foreach}
+{hascontent}
+ {content}
+ {foreach from=$options item=category}
+ {foreach from=$category[categories] item=optionCategory}
+ <section class="section">
+ <h2 class="sectionTitle">{lang}wcf.user.option.category.{@$optionCategory[object]->categoryName}{/lang}</h2>
+
+ {foreach from=$optionCategory[options] item=userOption}
+ <dl>
+ <dt>{lang}wcf.user.option.{@$userOption[object]->optionName}{/lang}</dt>
+ <dd>{@$userOption[object]->optionValue}</dd>
+ </dl>
+ {/foreach}
+ </section>
{/foreach}
- {/content}
- {hascontentelse}
- {lang}wcf.user.profile.content.about.noPublicData{/lang}
- {/hascontent}
-</div>
\ No newline at end of file
+ {/foreach}
+ {/content}
+{hascontentelse}
+ <div class="section">
+ <p class="info">{lang}wcf.user.profile.content.about.noPublicData{/lang}</p>
+ </div>
+{/hascontent}
/* style for content area */
-.content {
- /* content header */
- .contentHeader,
- .boxHeadline { // deprecated
- color: $wcfContentHeadlineText; // todo: rename variable
- margin-bottom: 30px;
+/* content header */
+.contentHeader,
+.boxHeadline { // deprecated
+ color: $wcfContentHeadlineText; // todo: rename variable
+ margin-bottom: 30px;
+
+ .contentTitle,
+ > h1 { // deprecated
+ @extend .wcfFontTitle;
- .contentTitle,
- > h1 { // deprecated
- @extend .wcfFontTitle;
-
- .badge {
- top: -2px;
- }
+ .badge {
+ top: -2px;
}
+ }
+
+ a {
+ color: $wcfContentHeadlineLink; // todo: rename variable
+
+ &:hover {
+ color: $wcfContentHeadlineLinkActive; // todo: rename variable
+ }
+ }
+}
+
+/* legacy styling for sub headlines (deprecated; use .section > .sectionTitle instead) */
+.boxHeadline.boxSubHeadline {
+ margin-top: 30px;
+ margin-bottom: 20px;
+
+ > h2 {
+ color: $wcfContentHeadlineText; // todo: rename variable
+
+ @extend .wcfFontHeadline;
a {
color: $wcfContentHeadlineLink; // todo: rename variable
color: $wcfContentHeadlineLinkActive; // todo: rename variable
}
}
+
+ .badge {
+ top: -2px;
+ }
}
-
- /* legacy styling for sub headlines (deprecated; use .section > .sectionTitle instead) */
- .boxHeadline.boxSubHeadline {
- margin-top: 30px;
- margin-bottom: 20px;
+}
+
+/* todo
+.boxHeadline {
+ &.labeledHeadline {
+ font-size: 0;
+ > h1,
> h2 {
- color: $wcfContentHeadlineText; // todo: rename variable
-
- @extend .wcfFontHeadline;
-
- a {
- color: $wcfContentHeadlineLink; // todo: rename variable
-
- &:hover {
- color: $wcfContentHeadlineLinkActive; // todo: rename variable
- }
- }
+ display: inline-block;
+ margin-right: 10px;
+ }
+
+ > ul {
+ display: inline-block;
+ font-size: 1rem;
- .badge {
- top: -2px;
+ &:not(:empty) {
+ margin-right: 10px;
}
}
}
+}*/
+
+/* content sections */
+.section {
+ margin-top: 30px;
- /* todo
- .boxHeadline {
- &.labeledHeadline {
- font-size: 0;
-
- > h1,
- > h2 {
- display: inline-block;
- margin-right: 10px;
- }
+ .sectionTitle {
+ color: $wcfContentHeadlineText; // todo: rename variable
+
+ @extend .wcfFontHeadline;
+
+ a {
+ color: $wcfContentHeadlineLink; // todo: rename variable
- > ul {
- display: inline-block;
- font-size: 1rem;
-
- &:not(:empty) {
- margin-right: 10px;
- }
+ &:hover {
+ color: $wcfContentHeadlineLinkActive; // todo: rename variable
}
}
- }*/
+
+ .badge {
+ top: -2px;
+ }
+ }
- /* content sections */
- .section {
- margin-top: 30px;
+ .sectionDescription {
+ color: $wcfContentDimmedText;
+ }
+
+ > .sectionHeader,
+ > .sectionTitle {
+ margin-bottom: 20px;
+ }
+
+ &:not(.sectionContainerList) {
+ > .sectionHeader,
+ > .sectionTitle {
+ border-bottom: 1px solid $wcfContentBorderInner;
+ padding-bottom: 10px;
+ }
+ }
+}
+
+/* fieldset styling (old sections / deprecated) */
+fieldset {
+ margin-top: 30px;
+
+ > legend {
+ border-bottom: 1px solid $wcfContentBorderInner;
+ color: $wcfContentHeadlineText; // todo: rename variable
+ float: left;
+ margin-bottom: 20px;
+ padding-bottom: 10px;
+ width: 100%;
- .sectionTitle {
- color: $wcfContentHeadlineText; // todo: rename variable
-
- @extend .wcfFontHeadline;
-
- a {
- color: $wcfContentHeadlineLink; // todo: rename variable
-
- &:hover {
- color: $wcfContentHeadlineLinkActive; // todo: rename variable
- }
- }
+ @extend .wcfFontHeadline;
+
+ a {
+ color: $wcfContentHeadlineLink; // todo: rename variable
- .badge {
- top: -2px;
+ &:hover {
+ color: $wcfContentHeadlineLinkActive; // todo: rename variable
}
}
- .sectionDescription {
- color: $wcfContentDimmedText;
+ .badge {
+ top: -2px;
}
- > .sectionHeader,
- > .sectionTitle {
- margin-bottom: 20px;
+ &+ * {
+ clear: left;
}
- &:not(.sectionContainerList) {
- > .sectionHeader,
- > .sectionTitle {
- border-bottom: 1px solid $wcfContentBorderInner;
- padding-bottom: 10px;
- }
+ + small {
+ color: $wcfContentDimmedText;
+ position: relative;
+ top: -12px;
}
}
-
- /* fieldset styling (old sections / deprecated) */
- fieldset {
- margin-top: 30px;
+}
+
+/* styling for container headlines */
+.containerHeadline {
+ > h3 {
+ @extend .wcfFontHeadline;
- > legend {
- border-bottom: 1px solid $wcfContentBorderInner;
- color: $wcfContentHeadlineText; // todo: rename variable
- float: left;
- margin-bottom: 20px;
- padding-bottom: 10px;
- width: 100%;
-
- @extend .wcfFontHeadline;
-
- a {
- color: $wcfContentHeadlineLink; // todo: rename variable
-
- &:hover {
- color: $wcfContentHeadlineLinkActive; // todo: rename variable
- }
- }
-
- .badge {
- top: -2px;
- }
-
- &+ * {
- clear: left;
- }
-
- + small {
- color: $wcfContentDimmedText;
- position: relative;
- top: -12px;
- }
+ > .badge {
+ top: -2px;
}
}
+
+ ~ .containerContent {
+ margin-top: 10px;
+ }
}
+/* styling for content navigation area (containing pagination / page buttons) */
.contentNavigation {
align-items: center;
display: flex;
}
}
}
-}
\ No newline at end of file
+}