Back to front pageView on Hacker News (opens in a new tab)Show HN: UI Concept – Focus Transition (opens in a new tab)n12v.com388 pointsby NVI (on Hacker News)13 years agon12v.com (opens in a new tab)Focus transitionComments (72) 31 threadsShow all commentsShowing thread 7 of 31[-]Skalman13 years ago1 reply#Such a simple idea - but it does make it easier to follow. The only problem I have is that it's very mac-centric. On my system the focus color is orange and it looks a bit off.I'd suggest to use the highlight color: box-shadow: 0px 0px 2px 3px highlight, 0px 0px 2px highlight inset[-]NVI13 years ago2 replies#Unfortunately, this will make colors look off on OS X. "highlight" color is different from the focus color on OS X.Hardcoding colors for different OS-s might be more reliable.Skalman13 years ago#Oh, didn't know. You could even force highlight colors, by explicitly setting border or outline colors.[-]thomasahle13 years ago1 reply#And different OS themes... And updating the list every time they change...rorrr213 years ago1 reply#I doubt you can detect an OS theme with Javascript or CSS.Continue this thread — 1 reply
Show HN: UI Concept – Focus Transition (opens in a new tab)n12v.com388 pointsby NVI (on Hacker News)13 years ago
Skalman13 years ago1 reply#Such a simple idea - but it does make it easier to follow. The only problem I have is that it's very mac-centric. On my system the focus color is orange and it looks a bit off.I'd suggest to use the highlight color: box-shadow: 0px 0px 2px 3px highlight, 0px 0px 2px highlight inset
NVI13 years ago2 replies#Unfortunately, this will make colors look off on OS X. "highlight" color is different from the focus color on OS X.Hardcoding colors for different OS-s might be more reliable.
Skalman13 years ago#Oh, didn't know. You could even force highlight colors, by explicitly setting border or outline colors.
thomasahle13 years ago1 reply#And different OS themes... And updating the list every time they change...
Comments (72) 31 threads
Show all comments
Showing thread 7 of 31
I'd suggest to use the highlight color:
Hardcoding colors for different OS-s might be more reliable.
Continue this thread — 1 reply