.. sectionauthor:: John Molakvoæ .. codeauthor:: John Molakvoæ .. _html: ============= HTML elements ============= Progress bar ------------ Nextcloud support and provides an already themed progress bar. Please use the html5 ``progress`` element. .. figure:: ../images/progress.png :alt: Progress html5 :figclass: figure-with-code .. code-block:: html .. _checkboxes-and-radios: Checkboxes and radios --------------------- As default html5 checkboxes & radios are **not** customizable, we created an override using label and ``::after`` elements. There are 2 colors: * Default themed with the primary color. * White colored. Requirements: * You need to have a ``label`` element **directly** after the ``input`` element. * The input **must** have the ``checkbox`` or ``radio`` class. * To use the white theme, you **need** to also add the ``checkbox--white`` or ``radio--white`` class. * Your label **must** have an associated text for accessibility. .. figure:: ../images/checkboxes.png :alt: Nextcloud's themed checkboxes :figclass: figure-with-code .. code-block:: html



.. figure:: ../images/radios.png :alt: Nextcloud's themed radios :figclass: figure-with-code .. code-block:: html



Buttons -------