|
1 | 1 | @import "variables";
|
2 | 2 | $color-border: #3A33D1;
|
3 |
| -$color-border-light: #9D99E8; |
| 3 | +$color-border-light: lighten($color-border, 15%); |
4 | 4 | $color-category-header: #4B54DE;
|
5 | 5 | $color-highlight-header: #4D47D5;
|
6 |
| -$color-highlight: #3A33D1; |
7 |
| -$color-selected-text: #272296; |
| 6 | +$color-highlight: $color-border; |
8 | 7 | $color-selected-background: #EBEBFB;
|
9 | 8 | $color-left-column-bg: #F2F2FF;
|
10 | 9 | $color-left-column: #4E4726;
|
| 10 | + |
11 | 11 | $breakpoint-medium: 568px;
|
12 | 12 | $breakpoint-large: 768px;;
|
13 | 13 |
|
14 | 14 |
|
15 |
| -// Need to add to the readme something along the lines of: |
16 |
| -// |
17 |
| -// The dropdown adapts to screen size. It more or less follows the breakpoints |
18 |
| -// of Bootstrap (need to list them). The code is written mobile-first. The |
19 |
| -// larger the screen size, the more rules we add to overwrite the previous one, |
20 |
| -// moving from one to two column. |
21 |
| -// |
22 |
| -// It is expected that the page layout also follow those breakpoints. The |
23 |
| -// breakpoints are defined as variables in the SCSS, so one can update them. |
| 15 | +// The dropdown adapts to screen size, to provide three different displays. |
| 16 | +// - A simple list of matching results |
| 17 | +// - Same list, but with text snippetting added if size is large enough |
| 18 | +// - Adding a second colum to let the content breath if enough room available |
24 | 19 |
|
25 | 20 | // Main autocomplete wrapper
|
26 | 21 | .aa-dropdown-menu {
|
|
0 commit comments