Fixed box css class name being incorrectly handled
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / style / layout / layout.scss
CommitLineData
b8eab696
AE
1/* @TODO */
2.userAvatarImage { border-radius: 50%; }
3/* @TODO END */
4
5html, body {
b8eab696 6 height: 100%;
826d165f
AE
7 line-height: 1.61803399;
8
9 @extend .wcfFontDefault;
b8eab696
AE
10}
11
12body {
b3ac08d1 13 font-family: $wcfFontFamily;
b8eab696
AE
14 position: relative;
15 word-wrap: break-word;
b8eab696
AE
16}
17
18a {
b8eab696
AE
19 cursor: pointer;
20
b8eab696
AE
21 &:not(:hover) {
22 text-decoration: none;
23 }
24}
25
b8eab696
AE
26#pageContainer {
27 display: flex;
28 height: 100%;
29 flex-direction: column;
30}
31
32/* COLUMN LAYOUT */
55b402a0 33.pageHeaderContainer {
f2b50825 34 flex: 0 0 auto;
b8eab696
AE
35 z-index: 100;
36}
37
38.main {
954d51cf
AE
39 background-color: $wcfContentBackground;
40 color: $wcfContentText;
f2b50825 41 flex: 1 0 auto;
b8eab696
AE
42 padding: 40px 0;
43 z-index: 50;
44
45 > div {
46 display: flex;
47 }
48
49 a {
954d51cf 50 color: $wcfContentLink;
b8eab696
AE
51 text-decoration: none;
52
53 &:hover {
954d51cf 54 color: $wcfContentLinkActive;
b8eab696
AE
55 }
56 }
57}
58
59#content {
60 flex: 1 auto;
61}
62
63.sidebar {
64 flex: 0 0 310px;
65
66 &:first-child {
67 margin-right: 30px;
68 }
69}
70
71#content + .sidebar {
72 margin-left: 30px;
73}
74
b8eab696
AE
75/* CONTENT AREA */
76.boxHeadline {
ed8c9052 77 border-bottom: 1px solid $wcfContentBorderInner;
954d51cf 78 color: $wcfContentHeadlineText;
b8eab696
AE
79 margin-bottom: 30px;
80 padding-bottom: 10px;
81
82 > h1 {
b3ac08d1 83 @extend .wcfFontTitle;
b8eab696
AE
84 }
85
954d51cf
AE
86 a {
87 color: $wcfContentHeadlineLink;
88
89 &:hover {
90 color: $wcfContentHeadlineLinkActive;
91 }
92 }
93
b8eab696
AE
94 &.labeledHeadline {
95 font-size: 0;
96
97 > h1,
98 > h2 {
99 display: inline-block;
100 margin-right: 10px;
101 }
102
103 > ul {
104 display: inline-block;
105 font-size: 1rem;
106
107 &:not(:empty) {
108 margin-right: 10px;
109 }
110 }
111 }
112}
113
114.containerHeadline {
115 > h3 {
b3ac08d1 116 @extend .wcfFontHeadline;
b8eab696
AE
117
118 > .badge {
119 margin-left: 5px;
120 }
121 }
122}