summaryrefslogtreecommitdiff
path: root/share/web_surfaces/builtin/transport/main.css
blob: d4d9253f930bf07a434ec777997200bc3587df84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
body {
    margin: 0;
    background: #000;
    color: rgb(248,248,242);
    font-family: Helvetica, Arial, sans-serif;
}

button {
    outline: none;
    border: none;
    background: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

button::-moz-focus-inner {
    border: 0;
}

#main {
    position: fixed;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(62,61,61);
}

#ui {
    display: flex;
    flex-direction: column;
    width: 800px;
    height: 480px;
    max-width: 100%;
    max-height: 100%;
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
    cursor: default;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#time {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    font-family: Menlo, monospace;
    font-size: 64px;
}

@media screen and (max-width: 320px) {
    #time {
        font-size: 32px;
    }
}

#buttons {
    display: flex;
    flex: 2;
    justify-content: space-evenly;
    align-items: center;
}

#buttons > button {
    height: 176px;
    width: 176px;
    max-height: 100%;
    max-width: 100%;
    border: solid 24px transparent;
}

#fullscreen {
    position: fixed;
    top: 16px;
    right: 12px;
    width: 24px;
    height: 24px;
    opacity: 0.5;
    background-image: url('img/expand.svg');
}

.pulse {
    animation: pulse 1s infinite ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}