view sat_templates/templates/bulma/components/media_player.html @ 289:f1a39607d6a5

bulma (base/base.html): `full_screen_body` parameter + body_wrapper: - if `full_screen_body` is set in template, the `body--fullscreen` class will be added to `<body>` element. It will then be a flexbox container (in columns), and displayed on the whole viewport. - new `body_wrapper` block, if a page needs to replace the `#body` container.
author Goffi <goffi@goffi.org>
date Mon, 28 Sep 2020 17:25:26 +0200
parents 742c59641bf5
children
line wrap: on
line source

<div class="media_player">
    <div class="media_elt"></div>
    <div class="media_overlay_play is-flex has-items-centered">
        <span class="icon">
            <i class="icon-play-circled"></i>
        </span>
    </div>
    <div class="media_controls columns is-mobile has-items-vcentered">
        <div class="column is-narrow click_to_play">
            <span class="icon is-medium">
                <i class="icon-play media_play is-size-4"></i>
                <i class="icon-pause media_pause is-size-4"></i>
            </span>
        </div>
        <div class="column">
            <progress class="progress" value="0"></progress>
        </div>
        <div class="column is-narrow click_to_change_timer_mode">
            <div class="content timer">
                0:00/0:00
            </div>
        </div>
        <div class="column is-narrow click_to_change_volume">
            <span class="icon is-medium">
                <i class="icon-volume-up media_sound_on is-size-4"></i>
                <i class="icon-volume-off media_sound_off is-size-4"></i>
            </span>
        </div>
        <div class="column is-narrow click_to_fullscreen">
            <span class="icon is-medium">
                <i class="icon-resize-full media_resize_full is-size-4"></i>
                <i class="icon-resize-small media_resize_small is-size-4"></i>
            </span>
        </div>
    </div>
</div>