File tree Expand file tree Collapse file tree 2 files changed +27
-8
lines changed
components/hds/advanced-table Expand file tree Collapse file tree 2 files changed +27
-8
lines changed Original file line number Diff line number Diff line change 3
3
SPDX-License-Identifier: MPL-2.0
4
4
}}
5
5
<Hds::Dropdown class ={{ this.classNames }} ...attributes as |D|>
6
- <D .ToggleIcon
7
- class =" hds-advanced-table__th-button"
8
- @icon =" more-vertical"
9
- @text =" Context menu"
10
- @hasChevron ={{ false }}
11
- @size =" small"
12
- />
6
+ <D .ToggleIcon @icon =" more-vertical" @text =" Context menu" @hasChevron ={{ false }} @size =" small" />
13
7
14
8
{{ #each this._options as |option |}}
15
9
<D .Interactive
Original file line number Diff line number Diff line change @@ -259,8 +259,33 @@ $hds-advanced-table-cell-padding-tall: 22px 16px 21px 16px; // the 1px differenc
259
259
min-width : 0 ;
260
260
}
261
261
262
- .hds-advanced-table__th-button ,
263
262
.hds-advanced-table__th-context-menu .hds-dropdown-toggle-icon {
263
+ width : 24px ;
264
+ height : 24px ;
265
+ margin : -2px 0 ;
266
+ padding : 0 ;
267
+ color : var (--token-color-foreground-faint );
268
+ background-color : transparent ;
269
+ border : 1px solid transparent ;
270
+ border-radius : 3px ;
271
+
272
+ & :hover ,
273
+ & .mock-hover {
274
+ color : var (--token-color-foreground-primary );
275
+ background-color : var (--token-color-surface-interactive );
276
+ border-color : var (--token-color-border-strong );
277
+ box-shadow : var (--token-elevation-low-box-shadow );
278
+ cursor : pointer ;
279
+ }
280
+
281
+ & :focus ::before {
282
+ border-color : transparent ;
283
+ }
284
+
285
+ @include hds-focus-ring-basic ();
286
+ }
287
+
288
+ .hds-advanced-table__th-button {
264
289
display : flex ;
265
290
flex : none ;
266
291
align-items : center ;
You can’t perform that action at this time.
0 commit comments