Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions components/Avatar/Avatar.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
$avatar-diameter: 35px;

.Avatar {
width : $avatar-diameter;
height : $avatar-diameter;
border-radius : 50%;
background-color: #eee;
overflow : hidden;

img {
width : 100%;
height: 100%;
:global {
.Avatar {
width : $avatar-diameter;
height : $avatar-diameter;
border-radius : 50%;
background-color: #eee;
overflow : hidden;

img {
width : 100%;
height: 100%;
}
}
}

77 changes: 40 additions & 37 deletions components/Carousel/Carousel.scss
Original file line number Diff line number Diff line change
@@ -1,45 +1,48 @@
@import 'tc-includes';
@import '~tc-ui/src/styles/tc-includes';

$pager-bg-color: #737380;

.Carousel {
display: flex;
flex-direction: row;

.page-down {
width: 20px;
margin-right: 15px;
background-color: $pager-bg-color;
:global {
.Carousel {
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;

&.hidden {
display: none;
flex-direction: row;

.page-down {
width: 20px;
margin-right: 15px;
background-color: $pager-bg-color;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;

&.hidden {
display: none;
}
}
}

.page-up {
width: 20px;
background-color: $pager-bg-color;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;

&.hidden {
display: none;

.page-up {
width: 20px;
background-color: $pager-bg-color;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;

&.hidden {
display: none;
}
}
}

.visible-area {
display: flex;
flex-direction: row;
overflow: hidden;

.carousel-item:not(:first-child) {
margin-left: 30px;

.visible-area {
display: flex;
flex-direction: row;
overflow: hidden;

.carousel-item:not(:first-child) {
margin-left: 30px;
}
}
}
}
}

31 changes: 17 additions & 14 deletions components/Carousel/CarouselExamples.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
@import 'tc-includes';
@import '~tc-ui/src/styles/tc-includes';

.Carousel {
.StandardListItem {
padding: 0px;
:global {
.Carousel {
.StandardListItem {
padding: 0px;
}
}
}

.CarouselExamples {
> p {
border: 1px solid $tc-gray-40;
margin: 20px 0px;

.CarouselExamples {
> p {
border: 1px solid $tc-gray-40;
margin: 20px 0px;
}
.limited-width {
width: 200px;
}
}
.limited-width {
width: 200px;
}
}
}

26 changes: 14 additions & 12 deletions components/Checkbox/Checkbox.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@

.Checkbox {
label {
margin-left: 10px;
:global {
.Checkbox {
label {
margin-left: 10px;
}

.icon, button {
width : 24px;
height : 24px;
/* fixing jumping issues on webkit */
outline : none;
overflow: hidden;
}
}

.icon, button {
width : 24px;
height : 24px;
/* fixing jumping issues on webkit */
outline : none;
overflow: hidden;
}
}
}
Loading