Commit | Line | Data |
---|---|---|
b8eab696 | 1 | .messageTabMenu { |
b8eab696 | 2 | > div, |
bf5372fc AE |
3 | > fieldset, |
4 | > section { | |
b8eab696 | 5 | display: none; |
b8eab696 AE |
6 | |
7 | &.active { | |
8 | display: block; | |
9 | } | |
10 | } | |
11 | ||
12 | > div { | |
13 | > nav { | |
b8eab696 | 14 | ul { |
b8eab696 AE |
15 | white-space: nowrap; |
16 | ||
17 | li { | |
b8eab696 | 18 | outline: 0; |
b8eab696 AE |
19 | |
20 | &.active a, | |
21 | &.active a:hover { | |
bf5372fc | 22 | color: $wcfContentLinkActive; |
b8eab696 AE |
23 | } |
24 | ||
25 | a { | |
bf5372fc | 26 | color: $wcfContentLinkActive; |
b8eab696 | 27 | display: block; |
b8eab696 | 28 | outline: 0; |
b8eab696 | 29 | |
945f563e AE |
30 | @extend .userSelectNone; |
31 | @extend .wcfFontSmall; | |
b8eab696 AE |
32 | |
33 | &:hover { | |
bf5372fc | 34 | color: $wcfContentLinkActive; |
b8eab696 AE |
35 | } |
36 | } | |
b8eab696 AE |
37 | } |
38 | } | |
39 | } | |
b8eab696 AE |
40 | } |
41 | } | |
42 | ||
45433290 | 43 | .messageTabMenu + .innerError { |
bf5372fc | 44 | margin-top: -1px; // TODO |
45433290 AE |
45 | width: 100%; |
46 | } | |
47 | ||
bf5372fc AE |
48 | .messageTabMenuNavigation { |
49 | position: relative; | |
b8eab696 | 50 | |
bf5372fc AE |
51 | > ul { |
52 | border-bottom: 1px solid $wcfContentBorderInner; | |
53 | margin-bottom: 10px; | |
54 | padding: 10px 0; | |
b8eab696 | 55 | |
bf5372fc AE |
56 | @extend .inlineList; |
57 | ||
58 | > li { | |
59 | &:not(:last-child) { | |
60 | margin-right: 20px; | |
b8eab696 AE |
61 | } |
62 | ||
b8eab696 | 63 | > a { |
bf5372fc AE |
64 | display: block; |
65 | ||
66 | @extend .userSelectNone; | |
67 | ||
68 | > span.icon { | |
69 | display: none; | |
70 | } | |
b8eab696 AE |
71 | } |
72 | } | |
73 | } | |
bf5372fc AE |
74 | |
75 | > span { | |
76 | border-top: 1px solid $wcfContentLink; | |
77 | bottom: 0; | |
78 | content: ""; | |
79 | position: absolute; | |
80 | transition: transform .2s linear, width .2s linear; | |
81 | } | |
b8eab696 AE |
82 | } |
83 | ||
84 | @media only screen and (max-width: 800px) { | |
b8eab696 AE |
85 | .messageTabMenu { |
86 | > nav > ul > li:not(.active) > a { | |
87 | > span.icon { | |
88 | display: block; | |
89 | } | |
90 | ||
91 | > span:not(.icon) { | |
92 | display: none; | |
93 | } | |
94 | } | |
95 | ||
96 | > div > nav { | |
bf5372fc | 97 | // TODO: margin: ($wcfGapTiny - $wcfGapSmall) -$wcfGapSmall $wcfGapSmall -$wcfGapSmall; |
b8eab696 AE |
98 | } |
99 | } | |
100 | } | |
101 | ||
102 | /* fix for Firefox - fieldsets are set to display: table-column which cause an odd gap between the fieldset | |
103 | and the next element, similar to gaps with display: inline-block and font-size > 0 */ | |
104 | @-moz-document url-prefix() { | |
105 | fieldset + .messageTabMenu { | |
106 | margin-top: -3px; | |
107 | } | |
108 | } | |
109 | ||
110 | .uploadButton { | |
111 | overflow: hidden; | |
112 | position: relative; | |
113 | ||
114 | > input { | |
115 | left: -4px; | |
116 | opacity: 0; | |
117 | padding: 4px; | |
118 | position: absolute; | |
119 | top: -2px; | |
120 | } | |
121 | } |