}
> li {
+ padding: 5px 0;
+
&.active {
pointer-events: none;
+
> a::after {
content: $fa-var-caret-down;
font-family: FontAwesome;
margin-top: 10px;
position: relative;
- > ul > li > a {
- display: block;
- padding: 5px 0;
-
- @include wcfFontHeadline;
- }
-
- > ul {
- border-bottom: 1px solid $wcfContentBorderInner;
-
- @include inlineList;
-
- > li {
- position: relative;
+ @include screen-md-up {
+ > ul {
+ border-bottom: 1px solid $wcfContentBorderInner;
- &::before {
- border-top: 1px solid $wcfContentLink;
- bottom: -1px;
- content: "";
- left: 50%;
- position: absolute;
- width: 0;
- }
+ @include inlineList;
- &.active::before {
- left: 0;
- transition: left .12s linear, width .12s linear;
- width: 100%;
+ > li {
+ position: relative;
+
+ &::before {
+ border-top: 1px solid $wcfContentLink;
+ bottom: -1px;
+ content: "";
+ left: 50%;
+ position: absolute;
+ width: 0;
+ }
+
+ &.active::before {
+ left: 0;
+ transition: left .12s linear, width .12s linear;
+ width: 100%;
+ }
+
+ &:not(:last-child) {
+ margin-right: 20px;
+ }
+
+ &.active > a {
+ cursor: default;
+ }
+
+ > a {
+ display: block;
+ padding: 5px 0;
+
+ @include wcfFontHeadline;
+ }
}
+ }
+ }
+
+ @include screen-sm-down {
+ > ul {
+ border-bottom: 1px solid $wcfContentLink;
+ display: block;
+ padding-bottom: 5px;
- &:not(:last-child) {
- margin-right: 20px;
+ &:not(.active) > li:not(.active) {
+ display: none;
}
- &.active > a {
- cursor: default;
+ > li {
+ padding: 5px 0;
+
+ &.active {
+ pointer-events: none;
+
+ > a::after {
+ content: $fa-var-caret-down;
+ font-family: FontAwesome;
+ margin-left: 7px;
+ }
+ }
}
}
+
+ > span {
+ display: none;
+ }
}
& + .tabMenuContent {