Commit | Line | Data |
---|---|---|
e9f3957f MW |
1 | /* legacy styling for sidebars (deprecated) */ |
2 | .sidebar { | |
e370309c MW |
3 | fieldset { |
4 | margin-top: 0; | |
8a52619a | 5 | |
e370309c MW |
6 | > legend { |
7 | float: left; | |
8 | width: 100%; | |
8a52619a | 9 | |
e370309c MW |
10 | & + * { |
11 | clear: left; | |
12 | } | |
b8eab696 AE |
13 | } |
14 | } | |
8a52619a | 15 | |
e9f3957f | 16 | .boxContainer { |
68b767c7 | 17 | > div:not(.box), |
e9f3957f MW |
18 | > fieldset, |
19 | > section:not(.box) { | |
20 | background-color: $wcfSidebarBackground; | |
8a52619a | 21 | |
f216765b | 22 | @include screen-md-up { |
63e2f52f AE |
23 | padding: 20px; |
24 | } | |
8a52619a | 25 | |
f216765b | 26 | @include screen-sm-down { |
63e2f52f AE |
27 | padding: 20px 10px; |
28 | } | |
8a52619a | 29 | |
e9f3957f | 30 | &:not(:first-child) { |
95961bdf | 31 | margin-top: 30px; |
f2b50825 | 32 | } |
e9f3957f | 33 | } |
8a52619a | 34 | |
e9f3957f MW |
35 | section:not(.box) > h1, |
36 | fieldset > legend { | |
37 | color: $wcfSidebarHeadlineText; | |
95961bdf | 38 | border-bottom-width: 0; |
06a511ea | 39 | margin-bottom: 15px; |
95961bdf | 40 | padding: 0; |
8a52619a | 41 | |
5908f54f | 42 | @include wcfFontHeadline; |
8a52619a | 43 | |
e9f3957f MW |
44 | > a { |
45 | color: $wcfSidebarHeadlineLink; | |
8a52619a | 46 | |
f2b50825 | 47 | > .icon { |
e9f3957f MW |
48 | color: $wcfSidebarHeadlineLink; |
49 | } | |
8a52619a | 50 | |
e9f3957f | 51 | &:hover { |
1223c43c | 52 | color: $wcfSidebarHeadlineLinkActive; |
8a52619a | 53 | |
e9f3957f MW |
54 | > .icon { |
55 | color: $wcfSidebarHeadlineLinkActive; | |
56 | } | |
f2b50825 AE |
57 | } |
58 | } | |
59 | } | |
60 | } | |
8a52619a | 61 | |
e9f3957f MW |
62 | .formSubmit:not(:first-child) { |
63 | margin-top: 20px; | |
64 | } | |
8a52619a | 65 | |
929f7e47 MW |
66 | .boxContainer { |
67 | > div, | |
68 | > fieldset, | |
69 | > section { | |
cd358fd9 AE |
70 | .boxContent { |
71 | @include clearfix; | |
72 | } | |
8a52619a | 73 | |
929f7e47 MW |
74 | .button.more { |
75 | float: right; | |
06a511ea | 76 | margin-top: 15px; |
929f7e47 MW |
77 | } |
78 | } | |
79 | } | |
8a52619a | 80 | |
929f7e47 MW |
81 | .boxTitle { |
82 | .badge { | |
83 | float: right; | |
95961bdf | 84 | top: 2px; |
929f7e47 MW |
85 | } |
86 | } | |
8a52619a | 87 | |
2aa9dc9e | 88 | .sidebarItemList, |
8a52619a TD |
89 | .sidebarBoxList { |
90 | // deprecated | |
66dba3c5 MW |
91 | > li { |
92 | &:not(:last-child) { | |
93 | margin-bottom: 10px; | |
94 | } | |
95 | } | |
b8eab696 AE |
96 | } |
97 | } |