-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #647 from adshares/develop
Responsiveness
- Loading branch information
Showing
7 changed files
with
80 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
86 changes: 43 additions & 43 deletions
86
src/app/common/components/targeting/targeting-select/targeting-select.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,56 @@ | ||
@import '../../../../../styles.scss'; | ||
|
||
button { | ||
width: 100%; | ||
display: flex; | ||
align-items: center; | ||
|
||
&:focus { | ||
background-color: darken(pal(gray, extreme-light), 1%); | ||
.targeting-select { | ||
&__input { | ||
@include input($max-width: initial); | ||
width: 100%; | ||
} | ||
} | ||
|
||
.inactive { | ||
display: inline-block; | ||
width: 14px; | ||
height: 14px; | ||
border-radius: 50%; | ||
border: 1px solid pal(gray, mid-light); | ||
position: absolute; | ||
margin-right: 10px; | ||
top: 7px; | ||
right: 4px; | ||
} | ||
|
||
.search-icon { | ||
top: 15px; | ||
right: 15px; | ||
} | ||
&__input-icon { | ||
margin-right: 10px; | ||
} | ||
|
||
.go-to-category { | ||
position: absolute; | ||
top: 10px; | ||
right: 20px; | ||
} | ||
&__search-icon, | ||
&__option-arrow { | ||
position: absolute; | ||
top: 13px; | ||
right: 20px; | ||
} | ||
|
||
.parent-option { | ||
@include font(14, normal); | ||
&__search-icon { | ||
top: 15px; | ||
} | ||
|
||
&-box { | ||
padding: 6px 15px; | ||
&__option { | ||
@include container( | ||
$border-color: pal(gray, light), | ||
$padding-vertical: 8px, | ||
$padding-horizontal: 15px, | ||
$margin-top: 0 | ||
); | ||
@include copy( | ||
$color: pal(navy, light), | ||
$font-weight: semi); | ||
border-top: none; | ||
cursor: pointer; | ||
position: relative; | ||
width: 100%; | ||
display: flex; | ||
align-items: center; | ||
|
||
&:hover, | ||
&:focus { | ||
background-color: darken(pal(gray, extreme-light), 1%); | ||
transition: background-color 0.2s ease; | ||
cursor: pointer; | ||
} | ||
|
||
&--back { | ||
padding: 6px 15px; | ||
} | ||
} | ||
} | ||
|
||
.option { | ||
&:hover { | ||
background-color: darken(pal(gray, extreme-light), 1%); | ||
transition: background-color 0.2s ease; | ||
cursor: pointer; | ||
&__parent-option { | ||
@include copy($font-size: 14) | ||
} | ||
} | ||
|
||
.targeting-custom-option { | ||
display: flex; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters