1 | @import '~tfstyleguide/vars';
|
2 |
|
3 | .button.button__white.dd-button {
|
4 | width: 420px;
|
5 | max-width: 100%;
|
6 | position: relative;
|
7 | text-align: left;
|
8 | color: @gray75;
|
9 |
|
10 | &:focus, &:hover, &:active, &:visited {
|
11 | outline: none;
|
12 | background-color: @white;
|
13 | color: @gray75;
|
14 | }
|
15 |
|
16 | &::after {
|
17 | position: absolute;
|
18 | content: '';
|
19 | right: 15px;
|
20 | top: 18px;
|
21 | border-top: 9px solid @gray75;
|
22 | border-left: 6px solid transparent;
|
23 | border-right: 6px solid transparent;
|
24 | }
|
25 |
|
26 | p {
|
27 | text-align: left;
|
28 | color: @gray75;
|
29 | margin-bottom: 0;
|
30 | overflow: hidden;
|
31 | white-space: nowrap;
|
32 | text-overflow: ellipsis;
|
33 | }
|
34 |
|
35 | .dd-open {
|
36 | margin-top: 15px;
|
37 | margin-left: -1em;
|
38 | margin-right: -1em;
|
39 | max-height: 300px;
|
40 | overflow: scroll;
|
41 | border-top: 1px solid @gray15;
|
42 | p {
|
43 | font-size: 16px;
|
44 | padding-top: 7px;
|
45 | padding-bottom: 8px;
|
46 | padding-left: 1em;
|
47 | padding-right: 1em;
|
48 | &:hover {
|
49 | background-color: @gray5;
|
50 | }
|
51 | }
|
52 | }
|
53 |
|
54 | &.button.button__white:hover {
|
55 | background-color: @white;
|
56 | }
|
57 | }
|