/
subway.css
226 lines (187 loc) · 3.76 KB
/
subway.css
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
/* Here are the styles for the sidebar */
.sidebar > h2 {
text-align: center;
}
#overview{
width: 50%;
margin:10% auto 0px auto;
text-align: center;
padding: 10px;
background: whiteSmoke;
border: 2px solid #DDD;
}
#overview ul li{
display: inline-block;
padding: 10px;
margin:0px 10px 0px 10px;
text-align: center;
width: 130px;
}
#overview ul li:hover{
background: #A7DBD8;
cursor: pointer;
border-radius: 5px;
}
#overview ul li img{
height: 75px;
}
#overview li span{
display: block;
font-weight: bold;
}
#overview #home_parent {
height: 20px;
width: 100%;
}
#overview #home {
color: black;
font-weight: bold;
float: right;
cursor: pointer;
}
#overview form #loading_image{
position: fixed;
margin-left: 10px;
}
#channels{
margin-top: 25px;
}
#channels > .channel{
padding: 5% 10% 5% 20%;
color: #333333;
border-bottom: 1px solid #CCCCCC;
}
#channels > .channel:not(.active):hover{
background: #A7DBD8;
color: #444444;
cursor: pointer;
}
#channels > .active{
background: #315857;
color: whiteSmoke;
font-weight: bold;
}
.channel > .unread, .channel > .unread_mentions {
padding: 2px 6px 2px 6px;
color: whiteSmoke;
font-weight: bold;
border-radius: 4px;
-webkit-border-radius: 4px;
float: right;
}
.unread{
background: #980000;
}
.unread_mentions{
background: #0B2666;
margin-right: 0.3em;
}
#logo{
text-align: center;
}
#logo > img{
margin-top: 10%;
}
/* Here are the styles for the chat window */
#chat_window{
min-height: 100%;
width: 80%;
border-right: 1px solid #DDD;
float: left;
box-sizing: border-box;
-moz-box-sizing: border-box; // for Mozilla
-webkit-box-sizing: border-box; // for WebKit
-ms-box-sizing: border-box; // for IE8
}
#chat_bar, #users_bar{
height: 5%;
background: whiteSmoke;
border-bottom: 1px solid #DDD;
background-image: linear-gradient(bottom, rgb(230,230,230) 22%, rgb(241,241,241) 53%, rgb(245,245,245) 77%);
background-image: -o-linear-gradient(bottom, rgb(230,230,230) 22%, rgb(241,241,241) 53%, rgb(245,245,245) 77%);
background-image: -moz-linear-gradient(bottom, rgb(230,230,230) 22%, rgb(241,241,241) 53%, rgb(245,245,245) 77%);
background-image: -webkit-linear-gradient(bottom, rgb(230,230,230) 22%, rgb(241,241,241) 53%, rgb(245,245,245) 77%);
background-image: -ms-linear-gradient(bottom, rgb(230,230,230) 22%, rgb(241,241,241) 53%, rgb(245,245,245) 77%);
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.22, rgb(230,230,230)),
color-stop(0.53, rgb(241,241,241)),
color-stop(0.77, rgb(245,245,245))
);
}
.titlebar{
padding-top: 0.5em;
font-size: 1.2em;
padding-left: 0.5em;
}
.window_title{
font-weight:bold;
margin-right: 2%;
}
#titlebar #topic{
color: #777;
}
#chat_words{
height: 85%;
overflow: hidden;
overflow-y: auto;
padding: 0% 3% 0% 3%;
}
#chat_input_container{
height: 10%;
border-top: 2px solid #DDD;
}
#chat_input_container .input{
padding-top: 2%;
}
#chat_input_container .input input{
width: 83%;
margin-right: 5%;
float: left;
margin-left: 2%;
}
#chat_input_container .input a{
font-size: 1.3em;
}
.chat_time {
width: 100%;
color: #888888;
text-align: right;
}
.chat_time span{
display: inline-block;
}
.chat_time span.timeline {
border-top: 1px solid #BBBBBB;
display: block;
height: 1px;
width: 79%;
position: relative;
left: 0;
top: 1em;
}
.chat_message{
padding: 0.3em 0em 0.3em 0em;
}
.chat_message .embed img{
display: block;
max-width: 100%;
max-height: 60%;
padding: 10px;
}
.mention{
color: #0B2666;
font-weight: bold;
}
/* Here are the styles for the user window */
#users_window{
min-height: 100%;
width: 20%;
float: left;
}
#users_list{
overflow-y: auto;
height: 95%;
}