Closed thomcc closed 6 years ago
Great idea!
However I'm seeing a weird curving on the shadow which is most probably caused by the .tab-title-wrapper::after
rule.
I've been fiddling a little bit with CSS and finally found a solution that seems to work: https://github.com/eoger/tabcenter-redux/commit/c5df16f6a9fe29c5500f38799de1ab160f9df8d1. Does it cover all the edge cases you may have found when you implemented your first version?
Can you add a brief animation for the drop shadow? Or what code can I use?
Good suggestion, try this and tell me what you think:
#topshadow {
transition: box-shadow 0.3s ease-in-out;
}
@eoger Looks good to me :+1:
We could also follow the Photon design principles and use cubic-bezier(.07,.95,0,1)
.
Merged in https://github.com/eoger/tabcenter-redux/commit/45558bbd933aaab7230688a76ddbd24c1eeb7894, thanks @thomcc and @Keith94 !
Also, fixes that there's no visible border between pinned and normal tabs in compact mode (in general, but especially when scrolled to top).
Fixes #240