Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Fix chevron positioning #26

Merged
merged 4 commits into from
Jan 15, 2019
Merged
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
13 changes: 7 additions & 6 deletions src/app/public/modules/chevron/chevron.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
padding: 0;
width: $sky-context-menu-size;
cursor: pointer;
position: relative;

&:hover .sky-chevron-part {
border-color: darken($sky-text-color-icon-borderless, 20%);
Expand All @@ -23,33 +24,33 @@
border-width: 3px 0 0 0;
display: inline-block;
height: 10px;
position: relative;
top: 6px;
position: absolute;
top: 8px;
transition: transform $sky-transition-time-medium, left $sky-transition-time-medium;
vertical-align: top;
width: 10px;
}

.sky-chevron-up {
.sky-chevron-left {
left: 7px;
left: 6px;
transform: rotate(-45deg);
}

.sky-chevron-right {
left: -6px;
left: 6px;
transform: rotate(45deg);
}
}

.sky-chevron-down {
.sky-chevron-left {
left: 2px;
left: 1px;
transform: rotate(45deg);
}

.sky-chevron-right {
left: -1px;
left: 11px;
transform: rotate(-45deg);
}
}