Skip to content

Commit 1382d38

Browse files
authored
Merge pull request #36 from topcoder-platform/issues-487
Issues-487: Home page redesign
2 parents 86cd5c0 + 93d331c commit 1382d38

File tree

6 files changed

+85
-5
lines changed

6 files changed

+85
-5
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: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
.DataList.DataList-Search,
1818
.DataList.CategoryList,
1919
.DataList.GroupList,
20+
.DataList.CategoryAccordion,
2021
.MessageList.DataList.Comments {
2122
li.Item {
2223
border-bottom: none;
@@ -99,6 +100,74 @@
99100
}
100101
}
101102

103+
104+
105+
.CategoryAccordion {
106+
.CategoryAccordionItem {
107+
margin-bottom: 20px;
108+
}
109+
110+
.ui-accordion-header-icon {
111+
float: right;
112+
top: 12px;
113+
background: no-repeat;
114+
margin-right: 25px;
115+
}
116+
117+
.icon-chevron-down:before, .icon-chevron-up:before {
118+
content: " ";
119+
background-size: cover;
120+
background-image: url("/themes/topcoder/design/images/icon-chevron-down.svg");
121+
position: absolute;
122+
margin-top: 12px;
123+
color: #fff!important;
124+
height: 12px;
125+
width: 20px;
126+
display: inline-block;
127+
}
128+
129+
.icon-chevron-down:before{
130+
131+
}
132+
.icon-chevron-up:before {
133+
transform: rotate(-180deg);
134+
}
135+
136+
.CategoryAccordionHeader {
137+
border-radius: 10px;
138+
padding: 15px 20px 15px 26px !important;
139+
background-color: $global-grey-very-dark-bg;
140+
141+
&.ui-state-active {
142+
border-radius: 10px 10px 0px 0px;
143+
}
144+
145+
a {
146+
@include barlowcondensed-medium;
147+
text-transform: uppercase;
148+
color: $global-color_black_light !important;
149+
font-size: $global-mediumTitle_fontSize !important;
150+
}
151+
}
152+
153+
.DataList.CategoryList {
154+
li.Item {
155+
border-radius: 0px ;
156+
padding: 20px 20px 19px 26px!important;
157+
margin: 0px;
158+
159+
&.Depth2 {
160+
border-right: solid 1px #E9E9E9;
161+
border-left: solid 1px #E9E9E9;
162+
border-bottom: solid 1px #E9E9E9;
163+
background: transparent;
164+
}
165+
}
166+
167+
}
168+
169+
}
170+
102171
.DataList.CategoryList, .DataList.GroupList {
103172
li.Item {
104173
padding: 18px 20px 17px 25px !important;
@@ -195,7 +264,7 @@
195264
.Content.MainContent,
196265
.CommentsWrap {
197266
.DataList.DataList-Search,
198-
.DataList.CategoryList,
267+
.DataList.CategoryList, .DataList.CategoryAccordion
199268
.MessageList.DataList.Comments {
200269
li.Item {
201270
.PhotoWrap {

src/scss/base/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ $global-small_fontSize: 12px !default;
6969
$global-very_small_fontSize: 9px !default;
7070

7171
$global-title_fontSize: 32px !default;
72+
$global-mediumTitle_fontSize: 24px !default;
7273
$global-smallTitle_fontSize: 20px !default;
7374
$global-title_mobile_fontSize: 26px !default;
7475
$global-subTitle_fontSize: 18px !default;

src/scss/components/_breadcrumbs.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#plugins\/groups_groups_mine, #vanilla_drafts_index, #plugins\/topcoder_watching_index {
2+
.BreadcrumbsBox {
3+
display: none;
4+
}
5+
}
6+
7+
#vanilla_categories_index .BreadcrumbsBox .HomeCrumb.Last {
8+
display: none;
9+
}

src/scss/components/_index.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
@import "lists";
44
@import "easymde";
55
@import "searchbox";
6-
@import "popup";
6+
@import "popup";
7+
@import "breadcrumbs";

0 commit comments

Comments
 (0)