Similar to D/F#, D7F# can be played with the thumb involved as well. B7/F# and Bm7/F# could be played by using the thumb over both the fifth and sixth string. Bm7/F#, by the way, could easily be play without the thumb, but the presented fingerings may serve situational purposes.