Skip to content

Commit 0a921f2

Browse files
authored
Merge pull request #54 from topcoder-platform/develop
v1.7
2 parents f54aafe + 6821cd8 commit 0a921f2

23 files changed

+676
-507
lines changed

design/custom.css

Lines changed: 26 additions & 26 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.

design/images/topcoder-image.png

1.2 MB
Loading

js/custom.js

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

js/custom.js.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/js/groups.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"use strict"
2+
$( document ).ready(function() {
3+
$( "ul.DataList.GroupList li.Item .ItemContent.Group" ).each(function( index ) {
4+
var originalMeta = $( this ).find('.Meta.Meta-Group');
5+
$(this).append(originalMeta.clone().addClass('view-comment-container hide-desktop'));
6+
originalMeta.addClass('status-container');
7+
});
8+
})

src/js/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import "../../node_modules/@vanillaforums/theme-boilerplate/src/js/index";
88
import "./header";
99
import "./body";
1010
import "./discussions";
11+
import "./groups";
1112
import "./pageControls";
1213
import "./categories";
1314
import "./formsFields";

src/scss/base/_button.scss

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,28 @@
55
.Button:not(.GroupOptionsTitle), .Buttons .btn-primary,
66
.BoxButtons.BoxNewDiscussion .Button.Primary,
77
.PageControls .Button-Controls .Button.Primary,
8-
.Form-BodyWrap .FormTitleWrapper .Buttons .Button.Primary,
9-
.Form-BodyWrap .FormWrapper .Buttons .Button.Primary
8+
.FormTitleWrapper .Buttons .Button, .FormWrapper .Buttons .Button,
9+
.FormTitleWrapper .Buttons .Button.Primary, .FormWrapper .Buttons .Button.Primary,
10+
body.Post .FormTitleWrapper .Buttons .Button.Primary, body.Post .FormWrapper .Buttons .Button.Primary,
11+
body.Post .FormTitleWrapper .Buttons .Button, body.Post .FormWrapper .Buttons .Button,
12+
form .Buttons .Button, form .Buttons .Button.Cancel,
13+
form .Buttons .Button.PreviewButton,
14+
form .Buttons .Button.WriteButton,
15+
form .Buttons .Button.Primary.CommentButton,
16+
.Button.CancelReplyComment,
17+
.FormTitleWrapper .Buttons .Button.CancelReplyComment, .FormWrapper .Buttons .Button.CancelReplyComment
1018
{
1119
font-size: $global-small_fontSize !important;
1220
font-weight: $global-medium_fontWeight !important;
1321
letter-spacing: 0.69px !important;
1422
height: 30px;
15-
line-height: 34px;
23+
min-height: 30px;
24+
line-height: 30px;
1625
text-transform: uppercase;
1726
border-radius: 20px !important;
1827
padding: 0 20px !important;
28+
min-width: 100px;
29+
text-align: center;
1930
}
2031
.Button.Primary.Delete, .Buttons .Close {
2132
letter-spacing: 0.8px !important;
@@ -30,6 +41,19 @@
3041
height: 40px;
3142
}
3243

44+
.watchButton{
45+
vertical-align: top;
46+
}
47+
h1 .watchButton {
48+
padding: 5px 10px;
49+
display: inline-block;
50+
line-height: 22px !important;
51+
52+
&.isWatching {
53+
padding: 1px 10px;
54+
line-height: 21px !important;
55+
}
56+
}
3357

3458
.ReactButton.Quote {
3559
vertical-align: inherit;

src/scss/base/_common.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@
3131
flex: auto;
3232
}
3333

34+
.block {
35+
clear: both;
36+
overflow: hidden;
37+
}
38+
.col-span-1 {
39+
flex-grow: 1;
40+
}
41+
42+
.col-span-2 {
43+
flex-grow: 2;
44+
}
45+
.flex-grow, .flex-grow-1 {
46+
flex-grow: 1;
47+
}
48+
3449
@media screen and (max-width: 768px) {
3550
.hide-mobile {
3651
display: none !important;

src/scss/base/_drafts.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
.Options {
1111
a.Delete {
12-
color: #555555;
12+
color: $global-color_grey;
1313
font-family: $global-image_fontFamily;
1414
font-size: 32px;
1515
font-weight: $global-image_fontWeight;

src/scss/base/_editor.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,3 @@
6464
border-right: 2px solid #EF476F;
6565
}
6666
}
67-
.DiscussionForm {
68-
.countOfRemainingChars {
69-
display: none;
70-
}
71-
}

0 commit comments

Comments
 (0)