summaryrefslogtreecommitdiff
path: root/webcards/styles/client/desktop.css
blob: f072a71708a9b184a1d846f25aec4ea6823525c2 (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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
@media (min-width: 600px) and (min-height: 501px) {
    body {
        display: flex;
    
        align-items: center;
        justify-content: center;
    }

    /*
        TopBar rules
    */

    button#newgame:before{
        content: "Create Game";
    }

    button#settings {
        display: none;
    }

    button#reset:before{
        content: "Reset Connection";
    }

    /*
        Lobby rules
    */
    div.lobby {
        min-width: 70vw;
        min-height: 70vh;
    
        display: flex;
        text-align: center;
        flex-direction: column;
    
        align-items: center;
    }

    div.server {
        width: 100%;
        display: flex;
        flex-direction: row;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    span.status {
        box-sizing: border-box;
        font-size: larger;

        margin-right: 10px;
        padding: 10px;
        border-radius: 10px;
        flex-basis: content;

        background-color: var(--server-bg-loading);
        color: var(--server-color-loading);
    }

    span.status[s=loading] {
        background-color: var(--server-bg-loading);
        color: var(--server-color-loading);
    }
    
    span.status[s=ok] {
        background-color: var(--server-bg-ok);
        color: var(--server-color-ok);
    }
    
    span.status[s=closed] {
        background-color: var(--server-bg-closed);
        color: var(--server-color-closed);
    }

    span.addr {
        font-size: larger;
        padding: 10px;
        border-radius: 10px;

        background-color: var(--gui-bg-main);

        flex: 1;
    }

    div.content {
        min-width: 70vw;
        min-height: 70vh;
    
        display: flex;
        flex-direction: row;

        box-sizing: border-box;
    }

    div.info {
        display: flex;
        text-align: center;
        flex-direction: column;

        flex: 1;

        margin-left: 10px;

        box-sizing: border-box;
    }

    div.games {
        box-sizing: border-box;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 10px;
        border-radius: 10px;
        background-color: var(--gui-bg-main);
        flex: 2;

        border: 5px solid var(--gui-bg-main);
    }

    div.stats, div.settings {
        border-radius: 10px;
        background-color: var(--gui-bg-main);

        box-sizing: border-box;

        flex: 1;

        height: auto;
        width: 100%;

        text-align: left;
    }

    div.settings {
        margin-top: 10px;
    }

    div.game {
        height: 20%;
    }

    /*
        Table rules
    */

    /*
        Chat
    */
    
}