Skip to content

Commit 8c037e8

Browse files
author
Cathy Siller
committed
chore(file-tile): add focus styles
1 parent ac6ac69 commit 8c037e8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/helix-ui/elements/HXFileTileElement.less

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
&:hover {
4444
color: @cyan-500;
4545
}
46+
47+
&:focus {
48+
border-color: @cyan-700;
49+
box-shadow: @focus-glow;
50+
outline: 0;
51+
}
4652
}
4753

4854
#hxIconWrapper {
@@ -117,6 +123,12 @@
117123
color: inherit;
118124
}
119125
}//hovered with href
126+
127+
&:focus {
128+
border-color: @cyan-700;
129+
box-shadow: @focus-glow;
130+
outline: 0;
131+
}
120132
}//#hxLink
121133

122134
#hxState--loading {

0 commit comments

Comments
 (0)