Replaced custom slice mode with CSSCalcValue
Extracted the display mode
Extracted the clear values
Extracted the float enumeration