position: fixed;
right: 0;
top: 0;
+ z-index: 300;
@include large-screen-only {
.pageHeader .layoutBoundary {
@mixin wcfFontDefault {
- font-size: $wcfFontSizeDefault;
font-weight: 400;
+
+ @include large-screen-only {
+ font-size: $wcfFontSizeDefault;
+ }
+
+ @include small-screen-only {
+ font-size: 14px;
+ }
}
@mixin wcfFontSmall {
- font-size: $wcfFontSizeSmall;
font-weight: 400;
+
+ @include large-screen-only {
+ font-size: $wcfFontSizeSmall;
+ }
+
+ @include small-screen-only {
+ font-size: 12px;
+ }
}
@mixin wcfFontBold {
}
@mixin wcfFontHeadline {
- font-size: $wcfFontSizeHeadline;
font-weight: 400;
+ line-height: 1.28;
+
+ @include large-screen-only {
+ font-size: $wcfFontSizeHeadline;
+ }
+
+ @include small-screen-only {
+ font-size: 18px;
+ }
}
@mixin wcfFontSection {
- font-size: $wcfFontSizeSection;
font-weight: 300;
+ line-height: 1.28;
+
+ @include large-screen-only {
+ font-size: $wcfFontSizeSection;
+ }
+
+ @include small-screen-only {
+ font-size: 20px;
+ }
}
@mixin wcfFontTitle {
- font-size: $wcfFontSizeTitle;
font-weight: 300;
+ line-height: 1.28;
+
+ @include large-screen-only {
+ font-size: $wcfFontSizeTitle;
+ }
+
+ @include small-screen-only {
+ font-size: 23px;
+ }
}
@mixin wcfLineHeight {
.box {
&:not(.boxBorderless) {
background-color: $wcfSidebarBackground;
- padding: 20px;
- .boxMenu {
- margin-left: -20px;
- margin-right: -20px;
+ @include large-screen-only {
+ padding: 20px;
+
+ .boxMenu {
+ margin-left: -20px;
+ margin-right: -20px;
+ }
+ }
+
+ @include small-screen-only {
+ padding: 20px 10px;
+
+ .boxMenu {
+ margin-left: -10px;
+ margin-right: -10px;
+ }
}
}
}
.boxContainer {
- display: flex;
- flex-wrap: wrap;
- margin-bottom: -40px;
margin-left: -10px;
margin-right: -10px;
padding: 40px 0;
+
+ @include large-screen-only {
+ display: flex;
+ flex-wrap: wrap;
+ margin-bottom: -40px;
+ }
}
.box {
- flex: 0 0 50%;
overflow: hidden;
padding-left: 10px;
padding-right: 10px;
- margin-bottom: 40px;
- &.boxFullWidth {
- flex-basis: 100%;
+ @include large-screen-only {
+ flex: 0 0 50%;
+ margin-bottom: 40px;
+
+ &.boxFullWidth {
+ flex-basis: 100%;
+ }
+ }
+
+ @include small-screen-only {
+ & + .box {
+ margin-top: 40px;
+ }
}
}
.containerList > li {
- padding: 20px;
position: relative;
transition: background-color .2s;
+ @include large-screen-only {
+ padding: 20px;
+ }
+
+ @include small-screen-only {
+ padding: 10px 0;
+ }
+
&:not(:last-child) {
border-bottom: 1px solid $wcfContentBorderInner;
}
}
.containerBoxList {
- &.doubleColumned,
- &.tripleColumned {
- display: flex;
- flex-wrap: wrap;
- margin-bottom: -15px;
-
- > li {
- overflow: hidden;
- padding-right: 15px;
- margin-bottom: 15px;
+ @include large-screen-only {
+ &.doubleColumned,
+ &.tripleColumned {
+ display: flex;
+ flex-wrap: wrap;
+ margin-bottom: -15px;
- .containerBoxContent {
+ > li {
overflow: hidden;
+ padding-right: 15px;
+ margin-bottom: 15px;
- h3 {
+ .containerBoxContent {
overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
+
+ h3 {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
}
}
}
+
+ &.doubleColumned > li {
+ flex: 0 0 50%;
+ }
+
+ &.tripleColumned > li {
+ flex: 0 0 calc(100% / 3);
+ /* work-around for IE10 */
+ width: calc(100% / 3);
+ }
}
- &.doubleColumned > li {
- flex: 0 0 50%;
- }
-
- &.tripleColumned > li {
- flex: 0 0 calc(100% / 3);
- /* work-around for IE10 */
- width: calc(unquote("100% / 3"));
+ @include small-screen-only {
+ &.doubleColumned,
+ &.tripleColumned {
+ > li + li {
+ margin-top: 10px;
+ }
+ }
}
}
.contentHeaderDescription {
color: $wcfContentDimmedText;
+ margin-top: 5px;
}
.contentHeaderMetaData {
color: $wcfContentDimmedText;
+ margin-top: 5px;
&.inlineList {
> li:not(:last-child) {
}
}
}
+
+ @include small-screen-only {
+ .contentHeaderIcon {
+ display: none;
+ }
+ }
}
/* legacy styling for sub headlines (deprecated; use .section > .sectionTitle instead) */
/* styling for content navigation area (containing pagination / page buttons) */
.contentNavigation {
- align-items: center;
- display: flex;
-
- // align <nav> to the right side
- justify-content: flex-end;
-
- > nav {
- flex: 0 0 auto;
+ & + .section {
margin-top: 30px;
- order: 3;
-
- &.pagination {
- order: 1;
-
- // use up maximum space, causing it to stick to the left while all other
- // <nav> elements will still be aligned to the right side
- flex: 1 1 auto;
- }
+ }
+
+ @include large-screen-only {
+ align-items: center;
+ display: flex;
- &.jsClipboardEditor {
- margin-right: 5px;
- order: 2;
- }
+ // align <nav> to the right side
+ justify-content: flex-end;
- & + nav {
+ > nav {
flex: 0 0 auto;
+ margin-top: 30px;
+ order: 3;
+
+ &.pagination {
+ order: 1;
+
+ // use up maximum space, causing it to stick to the left while all other
+ // <nav> elements will still be aligned to the right side
+ flex: 1 1 auto;
+ }
+
+ &.jsClipboardEditor {
+ margin-right: 5px;
+ order: 2;
+ }
+
+ & + nav {
+ flex: 0 0 auto;
+ }
+
+ &:not(.pagination) {
+ text-align: right;
+ }
}
- &:not(.pagination) {
- text-align: right;
+ ul {
+ display: inline-flex;
+
+ > li {
+ flex: 0 0 auto;
+
+ &:not(:last-child) {
+ margin-right: 5px;
+ }
+ }
}
}
- ul {
- display: inline-flex;
+ @include small-screen-only {
+ > nav + nav > ul {
+ // gap between pagination and navigation buttons
+ margin-top: 10px;
+ }
- > li {
- flex: 0 0 auto;
+ ul {
+ margin-top: 30px;
- &:not(:last-child) {
- margin-right: 5px;
+ > li {
+ & + li {
+ margin-top: 10px;
+ }
+
+ > .button {
+ display: block;
+ padding: 7px 10px;
+ text-align: center;
+ }
}
}
}
-
- & + .section {
- margin-top: 30px;
- }
}
}
}
+/* mobile arranges the sidebar and content vertically:
+
+ <leftSidebar> <content> <rightSidebar>
+
+ becomes:
+
+ <leftSidebar>
+ <content>
+ <rightSidebar>
+*/
+@include small-screen-only {
+ .sidebar {
+ margin: 0 -10px;
+ }
+
+ .sidebar + .content,
+ .content + .sidebar {
+ // gap between sidebars and content
+ margin-top: 30px;
+ }
+}
+
> fieldset,
> section:not(.box) {
background-color: $wcfSidebarBackground;
- padding: 20px;
+
+ @include large-screen-only {
+ padding: 20px;
+ }
+
+ @include small-screen-only {
+ padding: 20px 10px;
+ }
&:not(:first-child) {
margin-top: 30px;
@include small-screen-only {
flex: 0 0 auto;
+ margin: 0 -10px;
padding: 10px;
.messageAuthor {
}
.messageQuickOptions {
- @include inlineList;
+ @include large-screen-only {
+ @include inlineList;
+ }
+
+ @include small-screen-only {
+ flex: 0 0 24px;
+ height: 1.5em;
+ position: relative;
+
+ &::before {
+ content: $fa-var-bars;
+ font-family: FontAwesome;
+ font-size: 18px;
+ position: absolute;
+ right: 0;
+ top: -2px;
+ }
+
+ > li {
+ display: none;
+ }
+ }
}
/* content - body */
}
> .messageFooterButtons {
- flex: auto;
+ @include large-screen-only {
+ flex: auto;
+ }
+
+ @include small-screen-only {
+ display: none;
+ }
}
}