forked from weijohn/Douyu-Cleaner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Douyu Cleaner 清爽斗鱼.css
407 lines (402 loc) · 10.5 KB
/
Douyu Cleaner 清爽斗鱼.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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
@-moz-document domain("douyu.com") {
/*====================================================
Douyu Cleaner 清爽斗鱼
by Another_Dreams
Blog: weijohn.me
v3.1.2
Last updated: 2017/12/04
======================================================*/
/*====================================================
基于 Chrome 50+ 进行编写,配合ABP或uBlock
主要针对登陆后的斗鱼,不登陆时有些细节未调整!!!
=====================================================*/
/*临时活动屏蔽区*/
/*去酬勤榜*/
.fans-rank {
display: none!important;
height: 0px!important;
}
/*聊天弹幕*/
.PlayerCaseSub-Main .chat-cont {
top: 0px !important;
border-radius: 4px 4px 0px 0px;
}
/* 斗鱼活动按钮 去除视频下方竞猜、活动等 */
.action-list,
.more-action-btn-wrap,
/*去分类广告*/
#header .head-nav .assort-ad,
/*去历史和关注的广告条*/
.f-sign-cont,
.his-sign-cont,
/*去个人中心我的任务、贵族、头像圆点*/
.o-login .l-menu .task,
.nobility-privilege,
.umes-icon,
/*房间头部广告*/
.room-ad-top,
/*去广告*/
.chat-top-ad,
.chat_top_pic,
.rank-video-ad,
/*去视频下方主播发帖 直播公告 视频推荐*/
.PlayerSub,
/*去弹幕公告*/
#js-chat-notice,
/*去视频下方任务*/
.fl.task-btn,
/*去聊天区广告*/
.chat-ad,
/*去领鱼丸提示*/
.pay-task,
/*去分享扫一扫*/
.room-mes .btn-group .sq-wrap,
/*去领鱼丸主播推荐*/
#js-yw-rmd-rooms,
.vcode9-sign,
.myvip--guide--oncar,
/*去超管推荐*/
.js-live-room-recommend,
/*去缩放提示*/
.pop-zoom-container,
/*去聊天框粉丝徽章*/
.fans-entrance,
/*去顶部游戏选项*/
#header .head-nav>li.funny,
#header .head-nav .wxr-menu,
/*去顶部鱼吧选项*/
#header .head-nav>li.yuba,
/*主播房间信息*/
.catagory-order-container,
/*主播土豪排行榜*/
.feedback-report-button,
/*去举报按钮*/
.focus-lead,
/*关注提醒*/
.anchor-task-icon,
.anchor-task-progress,
/*等级上线提醒*/
.normallevel-lead,
/*主播商品推荐*/
.day-pay-wrap,
.fishop-anchor-push-box.expanded,
.fishop-anchor-recommands-box.expanded,
/*输入框首充徽章*/
.firstpay-award-icon,
.firstpay-entrance,
.firstpay-modal,
.firstpay-warp {
display: none !important;
}
/*修复屏蔽粉丝徽章导致聊天框的问题*/
.chat-feat textarea.cs-textarea {
padding-left: 13px !important;
width: 250px !important;
}
/*修复抢飞机宝箱验证码偏移出屏幕的问题*/
.geetest_fullpage_click.geetest_float.geetest_wind.geetest_slide3 {
left: 79%!important;
}
/*房间头部广告*/
.room-ad-top {
width: 0px;
left: 0px;
}
/*主播房间信息调整*/
.btn-group .focus-box {
top: auto!important;
bottom: 5px;
-moz-transform: scale(0.6);
zoom: 0.6;
}
.relate-text .headline {
width: calc(42% + 105px) !important;
}
.relate-text .acinfo-fs-con {
min-width: calc(42% + 105px) !important;
}
.relate-text .headline,
.relate-text .acinfo-fs-con,
.relate-text .tag-fs-con {
float: left;
}
.relate-text .anchor-impress {
margin: 3px 0 0!important;
}
/*去皇帝推荐*/
.room-emperor-recommend {
display: none !important;
}
.room-mes.roommes-bg-small,
.room-mes.roommes-bg-big {
background: #fff;
}
/*主播头像*/
.relate-text {
margin-left: 62px !important;
}
.room-mes {
height: auto !important;
}
.room-mes .anchor-pic {
margin: 2px 0px 0px 2px;
width: 55px !important;
height: 55px !important;
}
.room-mes .anchor-pic img {
border-radius: 50% !important;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}
.anchor-pic .anchor-cover-wrap .cover {
background: none;
}
@media screen and (max-width: 1900px) {
.relate-text .acinfo-fs-con {
width: 100% !important;
}
.relate-text .anchor-impress {
margin: 0!important;
-moz-transform: scale(0.9);
zoom: 0.9;
}
/*主播头像*/
.relate-text {
margin-left: 85px !important;
}
.room-mes {
height: 82px !important;
}
/*主播头像*/
.room-mes .anchor-pic {
margin: 4px 0px 0px 3px;
width: 75px !important;
height: 75px !important;
}
/*1080P以上不屏蔽分区排行榜*/
.catagory-order-container {
display: none !important;
}
}
@media screen and (max-width: 1500px) {
.relate-text .headline {
width: 350px !important;
max-width: 350px!important;
}
}
/*视频录像按钮*/
.video-recording {
display: none!important;
/*background: url(https://vupload.douyucdn.cn//201612/04/13/cb708f6f76e1d3135bb9ab63e126cd84.png) center no-repeat;*/
border-radius: 20px;
padding: 1px;
}
/*直播间*/
.body-flash-fullpage .room-video {
border-left-width: 0px;
border-right-width: 0px;
}
.room-video {
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 5px;
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
}
/*使用HTML5播放器时*/
/*.room-video,*/
.danmu-container {
border: 0;
}
.danmu-ctrl {
background: #23272b!important;
border: 0!important;
color: #9a9a9a!important;
}
/*礼物*/
.get-yw .yw-collect-box.ywrmd {
min-height: 140px !important;
}
.yw-collect-box {
top: -180px !important;
margin-left: -50px !important;
}
#js-stats-and-actions {
margin-top: 5px;
padding: 2px 22px 2px 19px;
height: 40px;
border: 1px solid #e5e4e4;
border-radius: 5px;
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
}
.body-flash-fullpage .m-wealth {
padding-top: 0px!important;
margin-top: 0px!important;
}
/*鱼翅和充值图标*/
span.y2.fl,
a.r-com-btn.getYc.fl {
display: none!important;
}
/*鱼丸可领取时间*/
.task-Getyw .tip {
-moz-transform: scale(0.8);
zoom: 0.8;
}
.uinfo-ywyc {
clear: none !important;
height: 0px!important;
margin-top: 10px!important;
}
.uinfo-ywyc .m-wealth {
display: flex !important;
height: 0px;
}
/*去鱼丸领取时的APP下载提示 */
p.yw-app-des,
.ft-sign-cont,
/*微博分享提示*/
.room-wbshare
/*未登陆聊天区一个区域*/
.no-login {
display: none !important;
}
/*去聊天区的特效礼物*/
.giftbatter-box {
display: none !important;
height: 0px;
}
/*粉丝聊天条*/
.chat-cont li.fans-chart,
.chat-cont li.noble-chart {
padding: 0px!important;
margin-left: 0px!important;
background: none!important;
}
/*精简聊天区图标*/
.chat-task-madel,
.user-level-wel,
.task-wel,
.f-phone,
.pc-client-icon,
.user-noble-lv,
.enter-welcome1,
.status-low-enter,
img.lw-imgs,
.chat-icon-pad/*:not([data-msg=fans]):not(.user-level)*//*粉丝牌和等级牌*/
{
display: none !important;
}
/*当导航栏在其他页面展开时,宽高会自动调整,不介意左侧抽屉,可以注释掉*/
#left,
/*去左边抽屉菜单*/
.small-nav>ul>li:nth-of-type(9),
/*抽屉菜单的游戏*/
/*抽屉菜单的页游中心*/
.channel-cate>ul>li:nth-of-type(5) {
display: none !important;
}
/*背景*/
html {
background: #EEEEEE;
}
}
@-moz-document url-prefix("https://www.douyu.com/directory"),
url-prefix("https://www.douyu.com/room/my_follow") {
/* 背景 */
#mainbody {
background: #EEEEEE;
}
/*左抽屉菜单*/
#left {
display: block !important;
}
/* <!-- web直播页广告位 --> */
.lol-ad {
display: none !important;
}
/* http://www.douyu.com/directory/下的列表 */
.item-data .unit {
border: 1px solid #eee;
background: #eee;
}
.left-menu {
background: #2c2c2c;
}
}
@-moz-document domain("douyu.com") {
/*====斗鱼首页====*/
/*<!--第五行:官方活动-->*/
.row-5,
/*<!--第一行:广告、新闻、推广-->*/
.row-1,
.row-3,
.row-4 {
display: none !important;
}
}
@-moz-document url-prefix("https://www.douyu.com/cms/zt/") {
/****** 特别直播间的一些调整 ******/
/*去分享按钮*/
.r_share,
.room_qrcode {
display: none !important;
}
/*关注按钮*/
.room_mes .btn-group .focus-box {
top: 0px;
}
/***** 活动直播间 *****/
/*去网页头的游戏*/
.head .header_nav>li:nth-of-type(4) {
display: none !important;
}
/* 去个人任务 */
#header .head .header_r .head_user .task {
display: none !important;
}
/**** 礼物区 ****/
.stats_and_actions {
height: auto !important;
}
/* 任务 */
.task-Getyw .task {
display: none !important;
}
/* 鱼丸 */
.uinfo-ywyc {
position: static;
}
.c_cont.clearfix.chat_cont.c_gift_cont_height {
padding: 5px 2px;
}
div#cq_fans {
margin: 0 -2px;
}
.mb15 {
margin-bottom: 1px;
}
.column01 {
margin-top: 10px;
margin-bottom: 10px;
}
#get_rem {
top: -180px !important;
}
}
@-moz-document domain("douyu.com") {
/* 滚动条美化 */
/* Let's get this party started */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
/* Track */
::-webkit-scrollbar-track {
/* -webkit-box-shadow: inset 0 0 5px rgba(255, 153, 0, 0.6);*/
background-color: #F5F5F5;
}
/* Handle */
::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: #FF9900;
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
}
}