Skip to content

Commit c93377d

Browse files
authored
Merge pull request #33 from topcoder-platform/develop
Version 1.4
2 parents 20a51e7 + cdda248 commit c93377d

File tree

10 files changed

+119
-19
lines changed

10 files changed

+119
-19
lines changed

design/custom.css

Lines changed: 3 additions & 3 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/_button.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,10 @@
1717
border: 1px solid $global-color_primary;
1818
color: white;
1919
width: 100%;
20+
}
21+
22+
23+
.ReactButton.Quote {
24+
vertical-align: inherit;
25+
margin: 0 0;
2026
}

src/scss/base/_index.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@
2222
@import 'mebox';
2323
@import 'editor';
2424
@import 'table';
25-
@import 'group';
25+
@import 'group';
26+
@import "lists";

src/scss/base/_lists.scss

Whitespace-only changes.

src/scss/base/_messageList.scss

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,41 @@
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+
44+
.Author {
45+
white-space: nowrap;
46+
}
47+
.DiscussionInfo {
48+
text-align: right;
49+
white-space: nowrap;
50+
overflow: hidden;
51+
text-overflow: ellipsis;
52+
}
53+
}
3854
.Username {
3955
color: $global-color_black_light;
4056
font-size: 14px;
4157
font-weight: 500;
4258
line-height: 16px;
4359
}
4460

61+
4562
.Meta.CommentMeta.CommentInfo {
4663
display: block;
4764
}
4865
}
4966

67+
.Message {
68+
font-family: $link-body_fontFamily;
69+
}
70+
5071
.Message.userContent {
51-
font-size: 16px;
52-
font-weight: 400;
72+
font-size: $global-medium_fontSize;
5373
}
5474

5575
&.CategoryHeading {
@@ -111,6 +131,28 @@
111131
}
112132
}
113133

134+
.MessageList.Discussion {
135+
.Item.ItemDiscussion {
136+
.Item-BodyWrap {
137+
.Item-Body {
138+
.Message.userContent {
139+
font-family: $global-body_fontFamily;
140+
font-size: $global-large_fontSize;
141+
}
142+
}
143+
}
144+
}
145+
}
146+
147+
.Message.userContent {
148+
a {
149+
color: $global-blue;
150+
text-decoration: underline;
151+
}
152+
}
153+
154+
155+
114156

115157
.ReactButton.Quote.js-quoteButton {
116158
font-size: 12px;
@@ -157,7 +199,7 @@
157199
.MessageList.DataList.Comments {
158200
li.Item {
159201
.PhotoWrap {
160-
left: 0;
202+
// left: 0;
161203
}
162204

163205
.AuthorWrap {

src/scss/base/_searchBox.scss

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,26 @@
99
padding-right: 56px;
1010
padding-left: 20px;
1111
font-family: $global-body_fontFamily;
12+
13+
&:focus,
14+
&:active {
15+
border-color: $global-color_grey_dark;
16+
}
1217
}
1318

1419
.InputBox.js-search {
15-
border: 1px solid #aaa;
20+
border: 1px solid $global-color_grey_dark;
1621
}
1722

1823
input.Button:hover,
1924
input.Button {
2025
height: 38px !important;
2126
width: 56px !important;
22-
background: $global-grey-bg !important;
23-
border-radius: 30px !important;
27+
background: $color-turquoise-tc-turquoise-dark-3 !important;
28+
border-radius: 20px !important;
2429
margin: 1px;
2530
}
2631

27-
&::after {
28-
color: white !important;
29-
width: 56px !important;
30-
font-size: 18px !important;
31-
top: 1px !important;
32-
}
3332
}
3433
}
3534
}

src/scss/components/_index.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import "flyouts";
22
@import 'mebox';
33
@import "lists";
4-
@import "easymde";
4+
@import "easymde";
5+
@import "searchbox";

src/scss/components/_lists.scss

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,43 @@
22
.ItemContent {
33
margin-left: #{$component-horizontal_padding};
44
}
5-
}
5+
}
6+
7+
.MessageList.DataList.Comments {
8+
.Item-Header.CommentHeader {
9+
.DiscussionInfo {
10+
a.ParentCommentLink, a.DiscussionLink {
11+
color: $global-blue;
12+
}
13+
}
14+
}
15+
}
16+
17+
.MessageList {
18+
.ItemDiscussion , .ItemComment {
19+
.Item-Body {
20+
.Controls {
21+
a {
22+
color: $global-blue;
23+
}
24+
.MiddleDot{
25+
margin: 0px 8px;
26+
font-weight: bold;
27+
}
28+
.left {
29+
text-align: left;
30+
}
31+
.center {
32+
text-align: center;
33+
}
34+
35+
.right {
36+
text-align: right;
37+
}
38+
}
39+
40+
}
41+
}
42+
}
43+
44+

src/scss/components/_searchbox.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.SearchForm form > div::after,
2+
.SearchBox form > div::after {
3+
content: " ";
4+
background-image: url('/themes/topcoder/design/images/icon-search.svg');
5+
background-size: cover;
6+
position: absolute;
7+
margin: 12px 20px;
8+
color: $global-color_white !important;
9+
height: 16px;
10+
width: 16px;
11+
display: inline-block;
12+
}

0 commit comments

Comments
 (0)