// --- Variables for Forms ---

// form themes
@formThemeStandardBackgroundColor: @white;

// --- Standards
@formInputLabelPaddingBottom: 4px;
@formInputLabelHelperTextVertical: 6px;
@formInputControlMarginBetweenControlAndLabel: 10px;
@formInputControlPaddingHorizontal: 11px;
@formInputControlPaddingVertical: 10px;
// Make the height explicit so we can calculate placements with it
// and so the label aligns itself vertically with the form input control.
@formInputControlLabelHeight: 20px;

// The focus element is the highlight that appears when navigating to a form
// input via keyboard.
// Setting a very small size here because the box-shadow we use for the
// background leaves a hole in the middle the size of its corresponding element.
@formInputControlFocusElementSize: 2px;
@formInputControlFocusIndicatorSize: 18px;

@formInputCheckboxSize: 14px;
@forminputCheckboxVerticalOffset: 2px;
@formInputCheckboxCheckmarkBorderWidth: 2px;
@formInputCheckboxCheckmarkHeight: 9px;
@formInputCheckboxCheckmarkWidth: 3px;
@formInputCheckboxCheckmarkVerticalOffset: 12px;
@formInputCheckboxCheckmarkHorizontalOffset: 17px;

@formInputRadioSize: 16px;
@formInputRadioVerticalOffset: 2px;
@formInputRadioDotSize: 12px;
@formInputRadioDotPlacementMarginHorizontal: -@formInputControlMarginBetweenControlAndLabel - @formInputRadioSize / 2 - @formInputRadioDotSize / 2 + @borderWidthStandard + 2;
@formInputRadioDotPlacementMarginVertical: 14px;

@formInputToggleSwitchHeight: 24px;
@formInputToggleSwitchWidth: 40px;
@formInputToggleSwitchBorderRadius: 12px;
@formInputToggleSwitchThumbSize: 22px;
@formInputToggleSwitchThumbMargin: 1px;
@formInputToggleSwitchFocusElementHeight: @formInputControlFocusElementSize;
@formInputToggleSwitchFocusElementWidth: @formInputToggleSwitchWidth / 2 - 2 * @formInputToggleSwitchThumbMargin;
@formInputToggleSwitchPlacementMarginVertical: @formInputToggleSwitchHeight / 2;
@formInputToggleSwitchVerticalOffset: -2px;

@formElementHeight:  40px;

@horizontalDistanceBetweenFormElements: 12px;
@formElementInnerHorizontalMargin: 12px;
@formElementInnerVerticalMargin: 12px;
@formElementMarginBetweenIconAndText: 8px;
@formElementIconSize: 24px;
@formElementUnitSize: 16px;
@formElementBorderThickness: 1px;
@formElementTextWithIconMargin: 44px;

@formLabelBottomMargin: 2px;
