Thermodynamic theory of a specific superconducting phase transition