is mientras preterite or imperfect?
Yes. it is perfectly acceptable to use mientras with both preterite and imperfect. With mientras you can have either two imperfect conjugations or one with a preterite.