Earlier quoted context omitted.
Maybe the OP hasn't shared all information but if asking someone out and/or complimenting someone's appearance (albeit crudely) is now the equivalent of sexual harassment then be prepared for a rapid decline in population since no one will want to be the first one to make a move.
Continuing sexual advances in a work context after being explicitly rebuffed is textbook harassment. This is, perhaps, nearly the most minor incident possible of that basic pattern, but it also pretty clearly fits it.
2