#: include force signage/base.kv

<MainContainer>:
    AnchorLayout:
        anchor_x: 'right'
        anchor_y: 'top'

        Fader:
            interval: 2

            AsyncImage:
                source: "https://i.imgur.com/i5xTVVY.jpg"

            BrowserNode:
                interval: 3.0
                url: "https://monitoring.hackerspace.pl"

            ClockNode:
                update_interval: 1.0
                format: "%H:%M:%S"

        SideClock:


#: import sm kivy.uix.screenmanager

<SideClock@Fader>:
    size_hint: 0.2, 0.1
    show_progress: False

    transition: sm.SlideTransition(direction='down')

    ClockNode:
        interval: 10.0
        format: "[b]%H:%M[/b]:%S"
        markup: True
        font_size: dp(30)

        halign: "right"
        valign: "top"
        padding: self.font_size/2, self.font_size/2
        text_size: self.size

    ClockNode:
        interval: 2.0
        format: "%Y/[b]%m/%d[/b]"
        markup: True
        font_size: dp(30)

        halign: "right"
        valign: "top"
        padding: self.font_size/2, self.font_size/2
        text_size: self.size
