summaryrefslogtreecommitdiffstats
path: root/assets/sass/@primer/css/autocomplete/suggester.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/@primer/css/autocomplete/suggester.scss')
-rw-r--r--assets/sass/@primer/css/autocomplete/suggester.scss75
1 files changed, 0 insertions, 75 deletions
diff --git a/assets/sass/@primer/css/autocomplete/suggester.scss b/assets/sass/@primer/css/autocomplete/suggester.scss
deleted file mode 100644
index 5ac5421..0000000
--- a/assets/sass/@primer/css/autocomplete/suggester.scss
+++ /dev/null
@@ -1,75 +0,0 @@
-// Needs refactoring
-// stylelint-disable selector-max-type, selector-no-qualifying-type
-
-.suggester {
- position: relative;
- top: 0;
- left: 0;
- min-width: 180px;
- padding: 0;
- margin: 0;
- margin-top: $spacer-4;
- list-style: none;
- cursor: pointer;
- background: $bg-white;
- border: $border;
- border-radius: $border-radius;
- box-shadow: $box-shadow-medium;
-
- li {
- display: block;
- padding: $spacer-1 $spacer-2;
- font-weight: $font-weight-bold;
- border-bottom: $border;
-
- small {
- font-weight: $font-weight-normal;
- color: $text-gray;
- }
-
- &:last-child {
- border-bottom: 0;
- border-bottom-right-radius: $border-radius;
- border-bottom-left-radius: $border-radius;
- }
-
- &:first-child {
- border-top-left-radius: $border-radius;
- border-top-right-radius: $border-radius;
- }
-
- &:hover,
- &[aria-selected="true"],
- &.navigation-focus {
- color: $text-white;
- text-decoration: none;
- background: $bg-blue;
-
- small {
- color: $text-white;
- }
- }
- }
-}
-
-.suggester-container {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 30;
-}
-
-// Responsive
-
-.page-responsive {
- @media (max-width: $width-sm) {
- .suggester-container {
- right: $spacer-2 !important;
- left: $spacer-2 !important;
- }
-
- .suggester li {
- padding: $spacer-2 $spacer-3;
- }
- }
-}