summaryrefslogtreecommitdiff
path: root/view/poc/css/chat.css
blob: e0903fed1b8415729205b8e9bbafcedc3bcf18d5 (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
150
151
152
153
html,body{
    padding:0;
    margin:0;
    height:100%;
}

body{
    font-family:helvetica, arial, verdana;
    font-size:16px;
    background:rgb(231,249,255);
    color:rgb(167,185,191);
    overflow:auto;
}

body *{
    position:relative;
}

header{
    background:rgb(69,142,166);
    box-shadow:0 4px 5px rgba(167,185,191,.5);
    padding:20px;
    position:fixed;
    top:0;
    left:0;
    width:calc(100% - 40px);
    color:rgb(231,249,255);
    z-index:1000;
}

header h1 {
    margin:0;
}

main{
    height:calc(100% - 120px);
    top:80px;
}

footer{
    background:rgb(69,142,166);
    box-shadow:0 -3px 4px rgba(167,185,191,.5);
    padding:10px;
    position:fixed;
    bottom:0;
    left:0;
    width:calc(100% - 20px);
    height:20px;
    color:rgb(231,249,255);
}

.chat-primary{
    width:calc(75% - 20px);
    padding:10px;
    height:300px;
    opacity:0;
    position:absolute;
    left:0;
    top:0;
    transition:opacity 500ms;
}
        
.chat-window{
    list-style:none;
    height:250px;
    box-shadow:inset 0 0 30px rgb(212,244,255),
        0 0 4px rgb(167,185,191);
    margin:0;
    padding:2px 9px;
    z-index:100;
    margin-bottom:5px;
    overflow-y:auto;
    resize:both;
}

.chat-window img,
.chat-window video,
.chat-window audio,
.chat-window iFrame{
    max-width:100%;
}

.chat-window video,
.chat-window iFrame{
    width:100;
    resize:both;
}

.chat-input{
    width:100%;
    height:50px;
    border:none;
}

textarea,
input{
    height:50px;
    border:none;
    box-shadow:inset 0 26px 30px rgb(212, 244, 255),
    0 0 4px rgba(167,185,191,.75);
    border-radius:5px;
}

input{
    line-height:50px;
    font-size:20px;
}

.playlist{
    width:calc(25% - 10px);
    padding:5px;
    height:300px;
    opacity:0;
    position:absolute;
    right:0;
    top:0;
    transition:opacity 500ms;
}

.playlist ul{
    list-style:none;
    padding:0;
    margin:0;
    overflow:auto;
    height:83%;
}

.playlist li{
    padding:10px 0;
    background:rgba(167,185,191,.7);
    margin:2px 0;
}

.modal{
    position:absolute;
    top:200px;
    left:50%;
    padding:50px;
    margin:0 0 0 -150px;
    background:rgb(212,244,255);
    border-radius:8px;
    box-shadow:0 0 8px rgba(167,185,191,.7),
        inset 0 5px 20px rgb(231,249,255);
    transition:opacity 500ms;
}

.modal h2{
    margin-top:0;
}

.modal-join{
    opacity:0;
}