[watch] sports bay

A new userstyle

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name           [watch] sports bay
@namespace      github.com/openstyles/stylus
@version        0.1.2
@description    A new userstyle
@author         Me
==/UserStyle== */

@-moz-document domain("sportsbay.global")
              ,domain("sportsbay.fun")
              ,domain("sportsbay.org")
              ,domain("sportsbay.es")
              ,domain("sportsbay.sx")
{
	/* cinema-like: title, tabs and video */
	#content > div:not([class]),
	#header,
	#footer {
		display:  none  !important;
	}
}

@-moz-document domain("sportsbay.fun"),
               domain("sportsbay.org"),
               domain("sportsbay.es"),
               domain("sportsbay.sx")
{
	/**
	 * Player 100% width
	 */
	#content.streamview {
		max-width:  99%;
		width:  auto;
	}
	.Video {
		min-height: calc(100vh - 5.5rem);
	}
	.VideoPlayer.Bglg {
		margin: 0 -1rem;
	}


	/**
	 * Colors
	 */
	body {
		background: #bbb;
		color: #ccc;
	}
	#header h2,
	#header h1 {
		display:  none;
	}
	.filter {
		--padding:  .5rem 0 0;
		padding:  0;
	}
	.filter #searchInput {
		top:  .5rem  !important;
	}


	#container {
		background: #666;
		padding:  0;
		color: #ccc;
	}
	#content h1,
	#content h2 {
		color: inherit;

		padding:  .5rem 0;
		border-bottom:  none;
	}

	#events table {
		color: inherit;
	}

	tr.date {
		border: none;
	}
	.sticky-header {
		background: #555;
	}
	tr:hover > td {
		background: #fff3;
	}
	#content ul a,
	.event a,
	a {
		color: #9db;
	}

	.buttons[style] {
		margin-top: 0  !important;
	}


	#searchInput {
		box-shadow: 0 0 0 1px #6667,
			inset 0 2px 5px #ccc5,
			0 2px 0 #fff8;
	}
	.Video::before,
	.Basketball .basketball,
	.Football:not(.NFL):not(.NCAA) .football,
	.NFL .nfl,
	.NCAA .ncaa,
	.Tennis .tennis,
	.Hockey .hockey,
	.Baseball .baseball,
	.Golf .golf,
	.Cycling .cycling,
	.Motorsports .motorsports,
	.All .all,
	.Others .others,
	.Cricket .cricket,
	.TV .tv-channels
	{
		background: linear-gradient(0deg, transparent, #fff3, transparent);
	}

	#nwmlay,
	h1 a div {
		display:  none;
	}
}


@-moz-document url-prefix("http") {
	.media-control[data-media-control] .media-control-background[data-background] {
		max-height: 50px;
		background-image: linear-gradient(transparent, #0009);
	}

	div#overlay:empty {
		display:  none  !important;
	}
}


@-moz-document domain("X-sportsonline.to"),
	domain("X-casptv.xyz"),
	domain("X-worlwidestream.net"),
	domain("X-wigistream.to")
{
	.media-control[data-media-control] .media-control-background[data-background] {
		max-height: 50px;
	}

	#overlay {
		display:  none;
	}
}


@-moz-document domain("sportsonline.to") {
	body > iframe ~ div {
		display:  none;
	}
}

@-moz-document domain("casptv.xyz") {
	#overlay,
	body ~ div {
		display:  none;
	}
}

@-moz-document domain("worlwidestream.net") {
	#player ~ div {
		display:  none;
	}
}