Skip to content

Commit 04b098a

Browse files
authored
Merge pull request #31 from topcoder-platform/issues-490
Issues-490: updated styles for comment/discussion
2 parents 3f6745e + 5217ac0 commit 04b098a

File tree

4 files changed

+51
-8
lines changed

4 files changed

+51
-8
lines changed

design/custom.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

design/custom.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/base/_messageList.scss

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,31 @@
3535
padding-top: 0;
3636
min-height: 0;
3737

38+
.AuthorWrap {
39+
max-width: 100%;
40+
display: flex;
41+
font-family: $global-body_fontFamily;
42+
font-size: $global-medium_fontSize;
43+
}
3844
.Username {
3945
color: $global-color_black_light;
4046
font-size: 14px;
4147
font-weight: 500;
4248
line-height: 16px;
4349
}
4450

51+
4552
.Meta.CommentMeta.CommentInfo {
4653
display: block;
4754
}
4855
}
4956

57+
.Message {
58+
font-family: $link-body_fontFamily;
59+
}
60+
5061
.Message.userContent {
51-
font-size: 16px;
52-
font-weight: 400;
62+
font-size: $global-medium_fontSize;
5363
}
5464

5565
&.CategoryHeading {
@@ -111,6 +121,28 @@
111121
}
112122
}
113123

124+
.MessageList.Discussion {
125+
.Item.ItemDiscussion {
126+
.Item-BodyWrap {
127+
.Item-Body {
128+
.Message.userContent {
129+
font-family: $global-body_fontFamily;
130+
font-size: $global-large_fontSize;
131+
}
132+
}
133+
}
134+
}
135+
}
136+
137+
.Message.userContent {
138+
a {
139+
color: $global-blue;
140+
text-decoration: underline;
141+
}
142+
}
143+
144+
145+
114146

115147
.ReactButton.Quote.js-quoteButton {
116148
font-size: 12px;

src/scss/components/_lists.scss

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,22 @@
44
}
55
}
66

7+
.MessageList.DataList.Comments {
8+
.Item-Header.CommentHeader {
9+
.DiscussionInfo {
10+
a.ParentComment {
11+
color: $global-blue;
12+
}
13+
}
14+
}
15+
}
16+
717
.MessageList {
818
.ItemDiscussion , .ItemComment {
919
.Item-Body {
10-
.Controls {
20+
.Controls {
1121
a {
12-
color: $global-blue;
22+
color: $global-blue;
1323
}
1424
.MiddleDot{
1525
margin: 0px 8px;
@@ -29,5 +39,6 @@
2939

3040
}
3141
}
32-
3342
}
43+
44+

0 commit comments

Comments
 (0)