Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 33f4f49

Browse files
author
Nick Litwin
committed
Refactor community
1 parent 3e02706 commit 33f4f49

File tree

4 files changed

+28
-2
lines changed

4 files changed

+28
-2
lines changed

app/index.jade

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ html
8282
link(rel="stylesheet", href="assets/css/directives/challenge-tile.css")
8383
link(rel="stylesheet", href="assets/css/directives/challenge-links.directive.css")
8484
link(rel="stylesheet", href="assets/css/directives/badge-tooltip.css")
85+
link(rel="stylesheet", href="assets/css/community/statistics.css")
86+
link(rel="stylesheet", href="assets/css/community/members.css")
87+
link(rel="stylesheet", href="assets/css/community/community.css")
8588
link(rel="stylesheet", href="assets/css/account/reset-password.css")
8689
link(rel="stylesheet", href="assets/css/account/registered-successfully.css")
8790
link(rel="stylesheet", href="assets/css/account/register.css")

assets/css/community/_community.scss renamed to assets/css/community/community.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import 'tc-includes';
2+
13
.community-view {
24
background: $gray-lighter;
35
color: $community-text-dark;

assets/css/community/members.scss

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
// @import 'community';
1+
@import 'tc-includes';
22

33
.members-container {
44
padding: 15px 0 0;
5+
56
a {
67
text-decoration: none;
78
}
9+
810
@media only screen and (min-width: 1070px) {
911
padding: 60px 67px 0;
1012
}
13+
1114
%reviewboard-panel {
1215
background: $white;
1316
padding: 10px;
@@ -37,17 +40,20 @@
3740
}
3841
}
3942
}
43+
4044
.platform-stats-container {
4145
background: $white;
4246
padding: 10px;
4347
margin-bottom: 6px;
4448
height: 70px;
4549
font-family: "Sofia Pro",Arial,Helvetica,sans-serif;
50+
4651
.stat {
4752
float: left;
4853
width: 25% ;
4954
text-align: center;
5055
}
56+
5157
.statVal {
5258
color: #3d3d3d;
5359
font-size: 32px;
@@ -61,13 +67,15 @@
6167
font-weight: 400;
6268
}
6369
}
70+
6471
.search-container {
6572
@include module-full-width;
6673
background: $white;
6774
padding: 15px;
6875
@media only screen and (min-width: 1070px) {
6976
padding: 30px 40px 30px 41px;
7077
}
78+
7179
form {
7280
@include module-full-width;
7381
@include community-form-placeholder;
@@ -80,6 +88,7 @@
8088
border-radius: 7px;
8189
}
8290
}
91+
8392
input[type="text"] {
8493
@include module-full-width;
8594
@include font-with-weight('Sofia Pro', 300);
@@ -91,6 +100,7 @@
91100
font-size: 22px;
92101
}
93102
}
103+
94104
.search-ico {
95105
display: inline-block;
96106
height: 15px;
@@ -112,6 +122,7 @@
112122
}
113123
}
114124
}
125+
115126
h2 {
116127
@include font-with-weight('Sofia Pro', 500);
117128
font-size: 20px;
@@ -120,6 +131,7 @@
120131
padding-top: 31px;
121132
padding-bottom: 17px;
122133
position: relative;
134+
123135
small {
124136
@include font-with-weight;
125137
font-size: 16px;
@@ -128,9 +140,11 @@
128140
color: $gray-dark-alt;
129141
padding-top: 8px;
130142
}
143+
131144
span {
132145
color: $member-search-highlight;
133146
}
147+
134148
@media only screen and (min-width: 1070px) {
135149
font-size: 28px;
136150
padding-top: 92px;
@@ -141,12 +155,14 @@
141155
}
142156
}
143157
}
158+
144159
.default-show-container > div,
145160
.search-result-container {
146161
margin-top: 6px;
147162
background: $white;
148163
position: relative;
149164
}
165+
150166
%members-gray-wrapper {
151167
background: $gray-lightest;
152168
border: {

assets/css/community/statistics.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @import 'community';
1+
@import 'tc-includes';
22

33
.statistics-container {
44
margin-top: 15px;
@@ -10,10 +10,12 @@
1010
@media only screen and (min-width: 1030px) {
1111
margin: 60px 67px;
1212
}
13+
1314
%statistics-panel {
1415
background: $white;
1516
padding: 10px;
1617
margin-bottom: 6px;
18+
1719
h2 {
1820
@include font-with-weight('Sofia Pro', 700);
1921
font-size: 18px;
@@ -26,18 +28,21 @@
2628
padding-top: 82px;
2729
padding-bottom: 82px;
2830
}
31+
2932
small {
3033
font-size: 16px;
3134
display: block;
3235
text-transform: capitalize;
3336
color: $gray-dark-alt;
3437
padding-top: 8px;
3538
}
39+
3640
span {
3741
color: $member-search-highlight;
3842
}
3943
}
4044
}
45+
4146
.winner-tile {
4247
@include font-with-weight;
4348
display: flex;

0 commit comments

Comments
 (0)