Skip to content

Commit

Permalink
chore: purge arrow style
Browse files Browse the repository at this point in the history
  • Loading branch information
mcataford committed Mar 1, 2020
1 parent 8c6b08b commit e7793f4
Showing 1 changed file with 2 additions and 27 deletions.
29 changes: 2 additions & 27 deletions src/styles/intlTelInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,10 @@ $flagPadding: 8px !default;
// assumed to be the border width of the input, which we do not control
$borderWidth: 1px !default;

$arrowHeight: 4px !default;
$arrowWidth: 6px !default;
$triangleBorder: 3px !default;
$arrowPadding: 6px !default;
$arrowColor: #555 !default;

$inputPadding: 6px !default;
$selectedFlagWidth: $flagWidth + (2 * $flagPadding) !default;
$selectedFlagArrowWidth: $flagWidth + $flagPadding + $arrowWidth + (2 * $arrowPadding) !default;
// 18px previously arrow width and padding, 6px ea.
$selectedFlagArrowWidth: $flagWidth + $flagPadding + 18px !default;
$selectedFlagArrowDialCodeWidth: $selectedFlagArrowWidth + $flagPadding !default;

// enough space for them to click off to close
Expand Down Expand Up @@ -90,26 +85,6 @@ $mobilePopupMargin: 30px;
// this must be full-height both for the hover highlight, and to push down the
// dropdown so it appears below the input
height: 100%;

.iti-arrow {
position: absolute;
// split the difference between the flag and the arrow height to verically center
top: 50%;
margin-top: -1 * ($arrowHeight / 2);
right: $arrowPadding;

// css triangle
width: 0;
height: 0;
border-left: $triangleBorder solid transparent;
border-right: $triangleBorder solid transparent;
border-top: $arrowHeight solid $arrowColor;

&.up {
border-top: none;
border-bottom: $arrowHeight solid $arrowColor;
}
}
}

// the dropdown
Expand Down

0 comments on commit e7793f4

Please sign in to comment.