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

Commit 3e02706

Browse files
author
Nick Litwin
committed
Refactor ui-kit organization to only include a subset of partials per file
1 parent a84d71c commit 3e02706

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+174
-233
lines changed

app/index.jade

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ html
2727
2828
// build:css /styles/app.css
2929
//- inject:css
30-
link(rel="stylesheet", href="assets/css/reset.css")
3130
link(rel="stylesheet", href="assets/css/vendors/angucomplete.css")
3231
link(rel="stylesheet", href="assets/css/topcoder.css")
3332
link(rel="stylesheet", href="assets/css/skill-picker/skill-picker.css")
@@ -72,7 +71,6 @@ html
7271
link(rel="stylesheet", href="assets/css/directives/profile-widget.css")
7372
link(rel="stylesheet", href="assets/css/directives/page-state-header.directive.css")
7473
link(rel="stylesheet", href="assets/css/directives/ios-card.css")
75-
link(rel="stylesheet", href="assets/css/directives/input-sticky-placeholder.css")
7674
link(rel="stylesheet", href="assets/css/directives/history-graph.css")
7775
link(rel="stylesheet", href="assets/css/directives/external-link-data.css")
7876
link(rel="stylesheet", href="assets/css/directives/external-account.css")
@@ -84,8 +82,6 @@ html
8482
link(rel="stylesheet", href="assets/css/directives/challenge-tile.css")
8583
link(rel="stylesheet", href="assets/css/directives/challenge-links.directive.css")
8684
link(rel="stylesheet", href="assets/css/directives/badge-tooltip.css")
87-
link(rel="stylesheet", href="assets/css/community/statistics.css")
88-
link(rel="stylesheet", href="assets/css/community/members.css")
8985
link(rel="stylesheet", href="assets/css/account/reset-password.css")
9086
link(rel="stylesheet", href="assets/css/account/registered-successfully.css")
9187
link(rel="stylesheet", href="assets/css/account/register.css")

assets/css/account/account.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.login-container,
54
.register-container,
@@ -98,7 +97,7 @@
9897
.password-tips {
9998
@media screen and (min-width: 915px) {
10099
left: 395px;
101-
}
100+
}
102101
}
103102

104103
// Autocomplete
@@ -257,7 +256,7 @@
257256
display: flex;
258257
flex-flow: row wrap;
259258
margin-top: 30px;
260-
justify-content: center;
259+
justify-content: center;
261260
text-transform: uppercase;
262261
font-size: $label-small;
263262
@include font-with-weight('Sofia Pro', 500);
@@ -290,7 +289,7 @@
290289
.copyright-notice {
291290
color: $gray-dark;
292291
}
293-
292+
294293
}
295294

296295

assets/css/account/login.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.login-container {
54

@@ -56,6 +55,6 @@
5655
@media (min-width: 768px) {
5756
margin-bottom: 60px;
5857
}
59-
58+
6059
}
61-
}
60+
}

assets/css/account/register.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.register-container {
54

assets/css/account/registered-successfully.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.registered-successfully-container {
54
p {

assets/css/account/reset-password.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.reset-password-container {
54

assets/css/community/_community.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
11
.community-view {
22
background: $gray-lighter;
33
color: $community-text-dark;
4+
45
.header-community {
56
@include module-full-width;
67
background-color: $white;
78
@include font-with-weight('Sofia Pro', 500);
89
box-shadow: 0 0 3px 0 rgba(0, 0, 0, .3);
10+
911
header {
1012
text-align: center;
1113
margin: 0 auto;
1214
padding: 16px 0 13px;
15+
1316
h1 {
1417
font-size: 22px;
1518
line-height: 26px;
1619
text-transform: uppercase;
1720
}
1821
}
22+
1923
@media only screen and (min-width: 1000px) {
2024
box-shadow: none;
25+
2126
header {
2227
text-align: left;
2328
padding: 33px 0 37px 128px;
29+
2430
h1 {
2531
font-size: 32px;
2632
}

assets/css/community/members.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@import '../partials/combined';
2-
@import 'community';
1+
// @import 'community';
2+
33
.members-container {
44
padding: 15px 0 0;
55
a {

assets/css/community/statistics.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@import '../partials/combined';
2-
@import 'community';
1+
// @import 'community';
2+
33
.statistics-container {
44
margin-top: 15px;
55

assets/css/directives/challenge-links.directive.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.challenge-links.tile-view {
54
display: flex;
@@ -57,7 +56,7 @@
5756
@include background-image-size(20px, 17px);
5857
background-image: url(/images/ico-posts.svg);
5958
}
60-
}
59+
}
6160

6261
.challenge-links.list-view {
6362
display: flex;
@@ -115,4 +114,4 @@
115114
@include background-image-size(30px, 27px);
116115
background-image: url(/images/ico-posts.svg);
117116
}
118-
}
117+
}

assets/css/directives/challenge-tile.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
// Default Challenge Tile Stylings
54
challenge-tile .challenge.tile-view {
@@ -232,7 +231,7 @@ challenge-tile .challenge.tile-view {
232231
&.DATA_SCIENCE {
233232
flex: 2;
234233
justify-content: center;
235-
}
234+
}
236235

237236
.marathon-score {
238237
margin-bottom: 70px;
@@ -331,7 +330,7 @@ challenge-tile .challenge.list-view {
331330
color: $gray-darkest;
332331
@include ellipsis;
333332

334-
333+
335334
span:first-child {
336335
color: $accent-gray;
337336
white-space: nowrap;

assets/css/directives/design-challenge-user-place.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
// styling for tile view
54
design-challenge-user-place {

assets/css/directives/dev-challenge-user-place.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
// styling for tile view
54
dev-challenge-user-place {
@@ -48,7 +47,7 @@ dev-challenge-user-place {
4847
}
4948
}
5049
}
51-
50+
5251
}
5352

5453
// styling for list view
@@ -122,4 +121,4 @@ dev-challenge-user-place {
122121
}
123122
}
124123
}
125-
}
124+
}

assets/css/directives/distribution-graph.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.distribution-graph-directive {
54
display: flex;

assets/css/directives/empty-state-placeholder.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.empty-state-placeholder {
54
display: flex;
@@ -125,4 +124,4 @@
125124
}
126125
}
127126
}
128-
}
127+
}

assets/css/directives/external-account.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.ext-tile {
54
display: flex;

assets/css/directives/external-link-data.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
external-accounts {
54
display: flex;

assets/css/directives/history-graph.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.history-graph-directive {
54
display: flex;

assets/css/directives/input-sticky-placeholder.scss

Lines changed: 0 additions & 2 deletions
This file was deleted.

assets/css/directives/ios-card.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
// Default Challenge Tile Stylings
54
ios-card .challenge.tile-view {

assets/css/directives/page-state-header.directive.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.page-state-header {
54
background-color: $gray-lightest;

assets/css/directives/profile-widget.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.profile-widget-directive {
54
display: flex;
@@ -93,7 +92,7 @@
9392
display: flex;
9493
flex-direction: row;
9594
justify-content: center;
96-
95+
9796
.track {
9897
cursor: pointer;
9998
display: flex;

assets/css/directives/responsive-carousel.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.tc-carousel {
54

assets/css/directives/skill-tile.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
skill-tile {
54
display: flex;

assets/css/directives/srm-tile.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
// common styles for both list and tile view
54
.srm {

assets/css/directives/tc-paginator.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
3-
1+
@import 'tc-includes';
42

53
.tc-paginator {
64
display: flex;

assets/css/directives/tc-section.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
.tc-section {
54
min-height: 100px;

assets/css/directives/tc-tabs.scss

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
2+
33
.tab-panel {
44
.tab-set {
55
display: flex;
@@ -11,37 +11,39 @@
1111
border-top: 1px solid $gray-light;
1212
border-bottom: 1px solid $gray-light;
1313
background-color: $gray-lightest;
14+
1415
li {
1516
height: 30px;
17+
1618
a {
1719
text-align: center;
1820
color: $accent-gray;
1921
// padding-top: 6px;
22+
2023
.header {
2124
font-size: 18px;
2225
line-height: 24px;
2326
@include sofia-pro-medium;
2427
text-transform: uppercase;
2528
margin: auto 45px;
29+
2630
&.selected {
2731
color: $gray-darkest;
2832
padding-bottom: 14px;
2933
border-bottom: solid 2px $primary;
3034
}
3135
}
3236
}
37+
3338
a:hover {
3439
color: $accent-gray-dark;
3540
}
3641
}
3742
}
38-
.tab-view {}
3943
}
4044

4145
.page-header + tc-tab-set {
42-
.tab-panel .tab-set {
43-
border-top: none;
44-
}
46+
.tab-panel .tab-set {
47+
border-top: none;
4548
}
46-
47-
49+
}

assets/css/directives/toggle-password-with-tips.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@import 'topcoder-includes';
2-
@import '../partials/combined';
1+
@import 'tc-includes';
32

43
// Toggle password with password tips directive
54
toggle-password-with-tips {

0 commit comments

Comments
 (0)