@use 'sass:math'; .indicator { $width: 160px; position: fixed; top: 0; right: 50%; left: 50%; height: 40px; margin-left: -(math.div($width, 2)); width: $width; border-radius: 8px; z-index: 5; span { color: var(--iqser-grey-1); text-align: center; line-height: 18px; font-weight: 600; height: 18px; width: 100%; } } .offline { background: var(--iqser-yellow-2); } .online { background: var(--iqser-green-2); }