File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ function Figure(props) {
4040 } , [ ] ) ;
4141
4242 return (
43- < figure className = "figure" >
43+ < figure className = "figure" aria-selected = { props . isSelected } >
4444 < FigBody { ...props } >
4545 < FileTags tags = { props . tags } >
46- < img src = { props . thumbnail_url } { ...props . listeners } { ...props . attributes } aria-selected = { props . isSelected } />
46+ < img src = { props . thumbnail_url } { ...props . listeners } { ...props . attributes } />
4747 </ FileTags >
4848 </ FigBody >
4949 < figcaption >
Original file line number Diff line number Diff line change @@ -215,13 +215,21 @@ dialog {
215215 border-radius : 0.25rem ;
216216 }
217217
218- img [aria-selected = " true" ] {
219- box-shadow : 0 0 0.5rem colors .$active-rectangle ;
220- border : 1px solid colors .$active-rectangle ;
218+ & [aria-selected = " false" ] {
219+ img :not ([src $= " .svg" ]), video {
220+ box-shadow : 0 0 0.5rem #808080 ;
221+ }
221222 }
222223
223- img [aria-selected = " false" ]:not ([src $= " .svg" ]), video {
224- box-shadow : 0 0 0.5rem #808080 ;
224+ & [aria-selected = " true" ] {
225+ img {
226+ box-shadow : 0 0 1.5rem colors .$active-rectangle ;
227+ outline : 2px solid colors .$active-rectangle ;
228+ }
229+
230+ figcaption {
231+ font-weight : bold ;
232+ }
225233 }
226234
227235 figcaption {
You can’t perform that action at this time.
0 commit comments