@trilogy-ds/styles 0.0.1-beta.49 → 0.0.1-beta.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/components/_all.scss +0 -1
- package/framework/src/components/_tabs.scss +0 -3
- package/framework/src/elements/_textarea.scss +1 -1
- package/package.json +1 -1
- package/framework/src/components/_dropdown.scss +0 -122
package/package.json
CHANGED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
.dropdown {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
position: relative;
|
|
4
|
-
vertical-align: top;
|
|
5
|
-
width: 100%;
|
|
6
|
-
|
|
7
|
-
#{$hoverSelector}, &:active {
|
|
8
|
-
.dropdown-menu {
|
|
9
|
-
display: block;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
select {
|
|
14
|
-
width: 95% !important;
|
|
15
|
-
border: none;
|
|
16
|
-
height: 97% !important;
|
|
17
|
-
margin-left: 16px;
|
|
18
|
-
-moz-appearance: none; /* Firefox */
|
|
19
|
-
-webkit-appearance: none; /* Safari and Chrome */
|
|
20
|
-
appearance: none;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&.is-active {
|
|
24
|
-
.dropdown-menu {
|
|
25
|
-
z-index: zindex('dropdown');
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.is-right {
|
|
30
|
-
.dropdown-menu {
|
|
31
|
-
left: auto;
|
|
32
|
-
right: 0;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&.is-up {
|
|
37
|
-
.dropdown-menu {
|
|
38
|
-
bottom: 100%;
|
|
39
|
-
padding-bottom: $spacing-1;
|
|
40
|
-
padding-top: initial;
|
|
41
|
-
top: auto;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.react-autosuggest__container {
|
|
46
|
-
width: 100%;
|
|
47
|
-
|
|
48
|
-
.dropdown-menu .dropdown-content {
|
|
49
|
-
overflow-y: auto;
|
|
50
|
-
max-height: 25vh;
|
|
51
|
-
|
|
52
|
-
.dropdown-item {
|
|
53
|
-
cursor: pointer;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.dropdown-trigger {
|
|
59
|
-
width: 100%;
|
|
60
|
-
|
|
61
|
-
.select {
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
|
|
64
|
-
select {
|
|
65
|
-
pointer-events: none;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.dropdown-menu {
|
|
71
|
-
display: none;
|
|
72
|
-
left: 0;
|
|
73
|
-
min-width: 120px;
|
|
74
|
-
padding-top: $spacing-1;
|
|
75
|
-
position: absolute;
|
|
76
|
-
top: 100%;
|
|
77
|
-
width: 100%;
|
|
78
|
-
z-index: 20;
|
|
79
|
-
|
|
80
|
-
.dropdown-content {
|
|
81
|
-
border-radius: var(--radius);
|
|
82
|
-
box-shadow: 0 2px 3px rgba(#000, 0.1),
|
|
83
|
-
0 0 0 1px rgba(#000, 0.1);
|
|
84
|
-
font-size: inherit;
|
|
85
|
-
|
|
86
|
-
.dropdown-item {
|
|
87
|
-
display: block;
|
|
88
|
-
font-size: inherit;
|
|
89
|
-
line-height: 1.5;
|
|
90
|
-
padding: 3.75px 10px;
|
|
91
|
-
position: relative;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.control.has-dynamic-placeholder .select > select:active ~ label,
|
|
97
|
-
.control.has-dynamic-placeholder .select > select:focus ~ label {
|
|
98
|
-
display: flex;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.dropdown-item {
|
|
103
|
-
@include hover();
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
a.dropdown-item {
|
|
107
|
-
padding-right: 30px;
|
|
108
|
-
white-space: nowrap;
|
|
109
|
-
|
|
110
|
-
&.is-active {
|
|
111
|
-
background-color: getColor('main');
|
|
112
|
-
color: invertColor('main');
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.dropdown-divider {
|
|
117
|
-
background-color: rgba(getColor('neutral'), 0.5);
|
|
118
|
-
border: none;
|
|
119
|
-
display: block;
|
|
120
|
-
height: 1px;
|
|
121
|
-
margin: 5px 0;
|
|
122
|
-
}
|