Skip to content

Commit 8e98cb4

Browse files
authored
Merge pull request #283 from maxceem/issue-1608-connect-app
Issue 1608 connect app - setup topcoder-react-utils as a dependency of Connect App
2 parents b441efa + 4d9529b commit 8e98cb4

Some content is hidden

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

52 files changed

+2580
-2434
lines changed

components/Avatar/Avatar.scss

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
$avatar-diameter: 35px;
22

3-
.Avatar {
4-
width : $avatar-diameter;
5-
height : $avatar-diameter;
6-
border-radius : 50%;
7-
background-color: #eee;
8-
overflow : hidden;
9-
10-
img {
11-
width : 100%;
12-
height: 100%;
3+
:global {
4+
.Avatar {
5+
width : $avatar-diameter;
6+
height : $avatar-diameter;
7+
border-radius : 50%;
8+
background-color: #eee;
9+
overflow : hidden;
10+
11+
img {
12+
width : 100%;
13+
height: 100%;
14+
}
1315
}
1416
}
17+

components/Carousel/Carousel.scss

Lines changed: 40 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,48 @@
1-
@import 'tc-includes';
1+
@import '~tc-ui/src/styles/tc-includes';
22

33
$pager-bg-color: #737380;
44

5-
.Carousel {
6-
display: flex;
7-
flex-direction: row;
8-
9-
.page-down {
10-
width: 20px;
11-
margin-right: 15px;
12-
background-color: $pager-bg-color;
5+
:global {
6+
.Carousel {
137
display: flex;
14-
justify-content: center;
15-
align-items: center;
16-
cursor: pointer;
17-
18-
&.hidden {
19-
display: none;
8+
flex-direction: row;
9+
10+
.page-down {
11+
width: 20px;
12+
margin-right: 15px;
13+
background-color: $pager-bg-color;
14+
display: flex;
15+
justify-content: center;
16+
align-items: center;
17+
cursor: pointer;
18+
19+
&.hidden {
20+
display: none;
21+
}
2022
}
21-
}
22-
23-
.page-up {
24-
width: 20px;
25-
background-color: $pager-bg-color;
26-
display: flex;
27-
justify-content: center;
28-
align-items: center;
29-
cursor: pointer;
30-
31-
&.hidden {
32-
display: none;
23+
24+
.page-up {
25+
width: 20px;
26+
background-color: $pager-bg-color;
27+
display: flex;
28+
justify-content: center;
29+
align-items: center;
30+
cursor: pointer;
31+
32+
&.hidden {
33+
display: none;
34+
}
3335
}
34-
}
35-
36-
.visible-area {
37-
display: flex;
38-
flex-direction: row;
39-
overflow: hidden;
40-
41-
.carousel-item:not(:first-child) {
42-
margin-left: 30px;
36+
37+
.visible-area {
38+
display: flex;
39+
flex-direction: row;
40+
overflow: hidden;
41+
42+
.carousel-item:not(:first-child) {
43+
margin-left: 30px;
44+
}
4345
}
4446
}
45-
}
47+
}
48+
Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
@import 'tc-includes';
1+
@import '~tc-ui/src/styles/tc-includes';
22

3-
.Carousel {
4-
.StandardListItem {
5-
padding: 0px;
3+
:global {
4+
.Carousel {
5+
.StandardListItem {
6+
padding: 0px;
7+
}
68
}
7-
}
8-
9-
.CarouselExamples {
10-
> p {
11-
border: 1px solid $tc-gray-40;
12-
margin: 20px 0px;
9+
10+
.CarouselExamples {
11+
> p {
12+
border: 1px solid $tc-gray-40;
13+
margin: 20px 0px;
14+
}
15+
.limited-width {
16+
width: 200px;
17+
}
1318
}
14-
.limited-width {
15-
width: 200px;
16-
}
17-
}
19+
}
20+

components/Checkbox/Checkbox.scss

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11

2-
.Checkbox {
3-
label {
4-
margin-left: 10px;
2+
:global {
3+
.Checkbox {
4+
label {
5+
margin-left: 10px;
6+
}
7+
8+
.icon, button {
9+
width : 24px;
10+
height : 24px;
11+
/* fixing jumping issues on webkit */
12+
outline : none;
13+
overflow: hidden;
14+
}
515
}
6-
7-
.icon, button {
8-
width : 24px;
9-
height : 24px;
10-
/* fixing jumping issues on webkit */
11-
outline : none;
12-
overflow: hidden;
13-
}
14-
}
16+
}

0 commit comments

Comments
 (0)