Last active
August 19, 2018 19:52
-
-
Save ln-north/2c30ceb44a62caa8f3104b44f0a32cf3 to your computer and use it in GitHub Desktop.
実験放送のカスタムcss/js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :root { | |
| /* サイズ定義 */ | |
| --side-panel-width: 360px; | |
| --common-header-area-height: 48px; | |
| --comment-post-panel-height: 102px; | |
| --player-margin-height: 140px; | |
| --player-min-height: 400px; | |
| --broadcast-controller-height: 156px; | |
| /* カラー定義 */ | |
| --dark-theme-bg-prime-color: #252525; | |
| --dark-theme-bg-sub-color: #525252; | |
| --dark-theme-alt-prime-color: #f4f4f4; | |
| --dark-theme-alt-prime-calm-color: #ccc; | |
| --dark-theme-alt-sub-color: #aaa; | |
| --dark-theme-active-color: #4990e2; | |
| --dark-theme-shadow-color: rgba(0, 0, 0, .75); | |
| --dark-theme-up-color: rgba(255, 255, 255, .1); | |
| --dark-theme-down-color-calm: rgba(0, 0, 0, .1); | |
| --dark-theme-down-color: rgba(0, 0, 0, .4); | |
| --dark-theme-hover-color: rgba(255, 255, 255, .075); | |
| --dark-theme-tooltip-color: #252525; | |
| --dark-theme-restrict-color: #ee4949; | |
| } | |
| /* ページ全体の設定 */ | |
| body, html { | |
| background-color: var(--dark-theme-bg-prime-color); | |
| } | |
| [class*="___watch-page___"] { | |
| box-sizing: border-box; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background-color: var(--dark-theme-bg-prime-color); | |
| } | |
| /* ヘッダ周り */ | |
| [class*="___common-header-area___"] { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| height: var(--common-header-area-height); | |
| min-width: initial; | |
| box-shadow: 0px 1px 2px 0px var(--dark-theme-shadow-color); | |
| } | |
| [class*="___common-header-area___"] [class*="___search-form___"] { | |
| display: none; | |
| } | |
| /* メニューボード */ | |
| [class*="___menuboard-area___"], | |
| [class*="___menuboard___"] { | |
| display: none; | |
| } | |
| /* 左側 */ | |
| [class*="___watch-page-header-area___"] { | |
| margin-top: 0; | |
| } | |
| [class*="___page-content-area___"] { | |
| position: absolute; | |
| top: var(--common-header-area-height); | |
| left: 0; | |
| height: calc(100% - var(--common-header-area-height)); | |
| width: calc(100vw - var(--side-panel-width)); | |
| overflow: auto; | |
| background-color: var(--dark-theme-bg-prime-color); | |
| box-sizing: border-box; | |
| display: flex; | |
| flex-flow: column nowrap; | |
| } | |
| [class*="___page-content-area___"]::-webkit-scrollbar { | |
| width: 8px; | |
| background-color: var(--dark-theme-down-color-calm); | |
| } | |
| [class*="___page-content-area___"]::-webkit-scrollbar-track { | |
| width: 8px; | |
| background-color: var(--dark-theme-down-color-calm); | |
| } | |
| [class*="___page-content-area___"]::-webkit-scrollbar-track-piece { | |
| width: 8px; | |
| background-color: var(--dark-theme-down-color-calm); | |
| } | |
| [class*="___page-content-area___"]::-webkit-scrollbar-thumb { | |
| width: 8px; | |
| background-color: var(--dark-theme-up-color); | |
| border-radius: 4px; | |
| } | |
| [class*="___local-side-margin___"] { | |
| min-width: initial; | |
| max-width: initial; | |
| width: 100%; | |
| margin-left: auto; | |
| margin-right: auto; | |
| } | |
| [class*="___local-side-padding___"] { | |
| min-width: initial; | |
| max-width: initial; | |
| width: 100%; | |
| } | |
| [class*="___page-header-area___"] { | |
| order: 0; | |
| } | |
| [class*="___watch-page-body-area__"] { | |
| order: 1; | |
| margin-top: 0; | |
| min-height: initial; | |
| } | |
| [class*="___watch-page-header-area___"] { | |
| order: 2; | |
| } | |
| [class*="___player-footer-area___"] { | |
| order: 3; | |
| } | |
| [class*="___program-information-area___"] { | |
| order: 4; | |
| } | |
| [class*="___page-footer-area___"] { | |
| order: 5; | |
| } | |
| [class*="___player-section___"] { | |
| width: 100%; | |
| max-width: initial; | |
| margin-top: 0; | |
| } | |
| [class*="___player-section___"] [class*=___leo-player___]:not([data-fullscreen-layout]):not(#hoge) { | |
| min-width: initial; | |
| max-width: initial; | |
| width: 100%; | |
| } | |
| [class*="___leo-player___"] { | |
| width: 100%; | |
| max-height: calc(100vh - var(--player-margin-height) - var(--common-header-area-height)); | |
| min-height: var(--player-min-height); | |
| } | |
| /* 運営コメント */ | |
| [class*="___player-display-header___"] { | |
| position: absolute; | |
| top: 0; | |
| z-index: 1; | |
| height: 44px; | |
| font-weight: bold; | |
| } | |
| [class*="___background___"] { | |
| display: none; | |
| } | |
| [class*="___announcement-renderer___"] { | |
| transition: opacity .2s ease; | |
| background-color: rgba(0, 0, 0, 0); | |
| background-image: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .9)); | |
| padding: 12px; | |
| } | |
| [class*="___announcement-renderer___"][aria-hidden="true"] { | |
| opacity: 0; | |
| } | |
| [class*="___announcement-renderer___"][aria-hidden="false"] { | |
| opacity: 1; | |
| } | |
| [class*="___fitting-area___"] { | |
| text-shadow: 0px 1px 2px rgba(0, 0, 0, .5), 0px 0px 4px rgba(0, 0, 0, .3); | |
| } | |
| /* 画面 */ | |
| [class*="___player-display-screen___"] { | |
| height: calc((100vw - var(--side-panel-width)) * 9 / 16); | |
| max-height: calc(100vh - var(--player-margin-height) - var(--common-header-area-height) - 74px - 44px); | |
| min-height: calc(var(--player-min-height) - 62px - 44px); | |
| object-fit: contain; | |
| } | |
| [class*="___player-display-screen___"]:before { | |
| display: none; | |
| } | |
| /* コメントパネル */ | |
| [class*="___player-status___"], | |
| [class*="___oroshiuriIchiba-status___"], | |
| [class*="___app-appeal-section___"] { | |
| position: fixed; | |
| top: var(--common-header-area-height); | |
| right: 0; | |
| width: var(--side-panel-width); | |
| height: calc(100% - var(--common-header-area-height) - var(--comment-post-panel-height)); | |
| background-color: var(--dark-theme-bg-prime-color); | |
| padding-right: 2px; | |
| box-sizing: border-box; | |
| } | |
| [data-is-broadcaster="true"] [class*="___player-status___"] { | |
| height: calc(100% - var(--common-header-area-height) - var(--comment-post-panel-height) - var(--broadcast-controller-height)); | |
| } | |
| [class*="___app-appeal-section___"] { | |
| background-color: #fff; | |
| height: calc(100% - var(--common-header-area-height)); | |
| z-index: 100; | |
| } | |
| [class*="___comment-data-grid___"] { | |
| height: calc(100% - var(--comment-post-panel-height)); | |
| background-color: var(--dark-theme-bg-prime-color); | |
| border: 0 none; | |
| box-shadow: none; | |
| } | |
| [class*="___comment-data-grid___"] > [class*="___header___"] { | |
| width: 100%; | |
| height: 48px; | |
| border: 0 none; | |
| } | |
| [class*="___comment-data-grid___"] [class*="___header-cell___"] { | |
| background-color: transparent; | |
| color: var(--dark-theme-alt-prime-color); | |
| } | |
| [class*="___comment-data-grid___"] > [class*="___body___"] { | |
| background-color: var(--dark-theme-down-color-calm); | |
| } | |
| [class*="___comment-data-grid___"] > [class*="___body___"]::-webkit-scrollbar { | |
| width: 8px; | |
| background-color: transparent; | |
| } | |
| [class*="___comment-data-grid___"] > [class*="___body___"]::-webkit-scrollbar-track { | |
| width: 8px; | |
| background-color: transparent; | |
| } | |
| [class*="___comment-data-grid___"] > [class*="___body___"]::-webkit-scrollbar-track-piece { | |
| width: 8px; | |
| background-color: transparent; | |
| } | |
| [class*="___comment-data-grid___"] > [class*="___body___"]::-webkit-scrollbar-thumb { | |
| width: 8px; | |
| border-radius: 4px; | |
| background-color: var(--dark-theme-up-color); | |
| } | |
| [class*="___table-row___"]:hover { | |
| background-color: var(--dark-theme-hover-color); | |
| } | |
| [class*="___comment-number___"] { | |
| color: var(--dark-theme-alt-sub-color); | |
| font-size: 10.5px; | |
| } | |
| [class*="___comment-text___"] { | |
| color: var(--dark-theme-alt-prime-color); | |
| font-size: 12px; | |
| } | |
| [data-comment-type="operator"] [class*="___comment-text___"] { | |
| font-weight: bold; | |
| } | |
| /*[data-comment-type="operator"] [class*="___comment-text___"]:before {*/ | |
| /* content: "主";*/ | |
| /* background-color: var(--dark-theme-alt-prime-color);*/ | |
| /* font-weight: bold;*/ | |
| /* color: var(--dark-theme-bg-prime-color);*/ | |
| /* width: 16px;*/ | |
| /* height: 16px;*/ | |
| /* border-radius: 50%;*/ | |
| /* display: inline-block;*/ | |
| /* font-size: 11px;*/ | |
| /* line-height: 1;*/ | |
| /* vertical-align: middle;*/ | |
| /* text-align: center;*/ | |
| /*margin-right: 4px;*/ | |
| /*}*/ | |
| [class*="___comment-number___"]:empty + [class*="___comment-text___"] { | |
| color: var(--dark-theme-alt-sub-color); | |
| } | |
| [class*="___player-status___"] [class*="___tooltip___"] { | |
| background-color: var(--dark-theme-tooltip-color); | |
| border-color: var(--dark-theme-bg-sub-color); | |
| color: var(--dark-theme-alt-prime-color); | |
| font-size: 11px; | |
| z-index: 10000; | |
| } | |
| [class*="___ng-panel-controller__"] { | |
| display: none; | |
| } | |
| /* コメント投稿フォーム => コメントパネル下へ移動 */ | |
| [class*="___comment-post-panel___"] { | |
| position: fixed; | |
| bottom: 0; | |
| right: 0; | |
| width: var(--side-panel-width); | |
| z-index: 1; | |
| width: var(--side-panel-width); | |
| height: var(--comment-post-panel-height); | |
| box-sizing: border-box; | |
| padding: 8px; | |
| display: block; | |
| } | |
| [data-is-broadcaster="true"] [class*="___comment-post-panel___"] { | |
| bottom: var(--broadcast-controller-height); | |
| } | |
| [class*="___comment-post-form___"] { | |
| position: absolute; | |
| top: 12px; | |
| left: 8px; | |
| width: calc(100% - 24px); | |
| height: calc(100% - 16px); | |
| background-color: transparent; | |
| border: none; | |
| } | |
| [class*="___comment-post-form___"] [class*="___text-box___"] { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 36px; | |
| border: 0 none; | |
| padding: 0 30px 0 8px; | |
| border-radius: 4px; | |
| background-color: var(--dark-theme-up-color); | |
| color: var(--dark-theme-alt-prime-color); | |
| font-size: 13px; | |
| } | |
| [class*="___comment-post-form___"] [class*="___text-box___"]::-webkit-input-placeholder { | |
| color: var(--dark-theme-alt-sub-color); | |
| font-weight: bold; | |
| } | |
| [class*="___comment-post-form___"] [class*="___comment-length-score___"] { | |
| position: absolute; | |
| top: 0; | |
| right: 0; | |
| height: 36px; | |
| line-height: 36px; | |
| } | |
| [class*="___comment-post-form___"] [class*="___comment-length-score___"] [class*="___value___"] { | |
| color: var(--dark-theme-alt-sub-color); | |
| padding: 0; | |
| padding-right: 6px; | |
| line-height: 28px; | |
| } | |
| [class*="___comment-post-form___"] [class*="___comment-length-score___"][data-state=over] [class*="___value___"] { | |
| color: var(--dark-theme-restrict-color); | |
| } | |
| [class*="___comment-post-form___"] [class*="___button___"] { | |
| border-radius: 0; | |
| position: absolute; | |
| bottom: 6px; | |
| right: 0; | |
| background-color: var(--dark-theme-alt-prime-color); | |
| color: var(--dark-theme-bg-sub-color); | |
| font-size: 0; | |
| height: 36px; | |
| border-radius: 4px; | |
| padding: 0 12px; | |
| } | |
| [class*="___comment-post-form___"] [class*="___button___"]::before { | |
| content: "送信"; | |
| font-size: 13px; | |
| } | |
| [class*="___comment-post-form___"] [class*="___command-text-box___"] { | |
| border-radius: 0; | |
| position: absolute; | |
| bottom: 6px; | |
| left: 0; | |
| background-color: transparent; | |
| border: 0 none; | |
| color: var(--dark-theme-alt-prime-color); | |
| border-radius: 4px; | |
| background-color: var(--dark-theme-up-color); | |
| padding: 0 8px; | |
| height: 36px; | |
| font-size: 13px; | |
| } | |
| [class*="___comment-post-form___"] [class*="___command-text-box___"]::-webkit-input-placeholder { | |
| color: var(--dark-theme-alt-sub-color); | |
| font-weight: bold; | |
| } | |
| [class*="___player-display-footer___"] { | |
| background-color: var(--dark-theme-bg-prime-color); | |
| } | |
| /* コントローラー */ | |
| [class*="___player-controller___"] { | |
| order: 1; | |
| background-color: var(--dark-theme-down-color-calm); | |
| height: 44px; | |
| } | |
| [class*="___player-controller___"]::before { | |
| display: none; | |
| } | |
| /* カウンター */ | |
| [class*="___broadcast-participation-area___"] { | |
| border: 0 none; | |
| order: 0; | |
| background-color: var(--dark-theme-down-color-calm); | |
| } | |
| [class*="___ichiba-launcher___"] { | |
| padding: 5px 0; | |
| } | |
| [class*="___item-placeholder___"] { | |
| border-color: var(--dark-theme-up-color); | |
| } | |
| /* ユーザーサマリー => タイトル横にサムネ扱いで移動 */ | |
| [class*="___user-summary___"] { | |
| height: auto; | |
| padding: 0; | |
| box-sizing: border-box; | |
| max-width: initial; | |
| padding: 0 16px; | |
| margin-top: 16px; | |
| } | |
| [class*="___user-summary___"] [class*="___user-page___"] { | |
| font-size: 0; | |
| } | |
| [class*="___user-summary___"] [class*="___user-image___"] { | |
| height: 40px; | |
| width: 40px; | |
| } | |
| [class*="___user-summary___"] [class*="___user-name___"], | |
| [class*="___user-summary___"] [class*="___user-level___"] { | |
| color: var(--dark-theme-alt-prime-color); | |
| font-size: 14px; | |
| } | |
| [class*="___user-summary___"] [class*="___user-name___"] .name { | |
| font-size: 18px; | |
| } | |
| [class*="___user-summary___"] [class*="___sns-share-menu___"] { | |
| display: none; | |
| } | |
| [class*="___user-summary___"] [class*="___follow-toggle-form___"] { | |
| width: 128px; | |
| height: 32px; | |
| margin-left: auto; | |
| } | |
| [class*="___user-summary___"] [class*="___toggle-button___"] { | |
| height: 32px; | |
| border: 0 none; | |
| background-color: var(--dark-theme-active-color); | |
| color: var(--dark-theme-alt-prime-color); | |
| } | |
| [class*="___user-summary___"] [class*="___toggle-button-icon___"] > path { | |
| fill: var(--dark-theme-alt-prime-color); | |
| } | |
| /* 番組情報エリア */ | |
| [class*="___program-information-area___"] { | |
| background-color: transparent; | |
| border: 0 none; | |
| margin-top: 8px; | |
| padding: 0 16px; | |
| } | |
| [class*="___program-information-tool___"] { | |
| } | |
| [class*="___program-information-tool___"] [class*="___list___"] { | |
| display: none; | |
| } | |
| [class*="___program-information-tool___"] [class*="___content___"] { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| [class*="___program-quote-anchor___"] { | |
| background-color: var(--dark-theme-up-color); | |
| color: var(--dark-theme-alt-prime-color); | |
| padding: 6px 0; | |
| } | |
| [class*="___program-quote-anchor___"]:before { | |
| background-image: url("data:image/svg+xml;utf8, %3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Ctitle%3Equote-icon%3C%2Ftitle%3E%3Cpath%20d%3D%22M82.8%2C17.15H17.2A7.384%2C7.384%2C0%2C0%2C0%2C9.84%2C24.513V75.487A7.384%2C7.384%2C0%2C0%2C0%2C17.2%2C82.85H82.8a7.384%2C7.384%2C0%2C0%2C0%2C7.362-7.363V24.513A7.384%2C7.384%2C0%2C0%2C0%2C82.8%2C17.15Zm-1.841%2C56.5H19.043V26.354H80.957ZM75.131%2C68.3h-23.6V51.239h23.6Z%22%20style%3D%22fill-rule%3Aevenodd%22%20fill%3D%22%23F4F4F4%22%2F%3E%3C%2Fsvg%3E") | |
| } | |
| [class*="___contents-tree-anchor___"], | |
| [class*="___creator-promotion-program-anchor___"] { | |
| background-color: var(--dark-theme-up-color); | |
| color: var(--dark-theme-alt-prime-color); | |
| padding: 6px 12px; | |
| } | |
| [class*="___tree-graph-icon___"] > path, | |
| [class*="___creator-promotion-program-icon___"] > path { | |
| fill: var(--dark-theme-alt-prime-color); | |
| } | |
| [class*="___program-information-tool___"] [class*="___program-title___"] { | |
| color: var(--dark-theme-alt-prime-color); | |
| font-size: 18px; | |
| font-weight: normal; | |
| } | |
| [class*="___program-information-tool___"] [class*="___on-air-time___"] { | |
| color: var(--dark-theme-alt-prime-calm-color); | |
| margin-top: 6px; | |
| font-weight: normal; | |
| } | |
| [class*="___program-information-tool___"] [class*="___tag___"] { | |
| border: 1px solid var(--dark-theme-bg-sub-color); | |
| background-color: transparent; | |
| } | |
| [class*="___program-information-tool___"] [class*="___tag___"] [class*="___name-anchor___"] { | |
| color: var(--dark-theme-alt-prime-color); | |
| } | |
| [class*="___program-information-tool___"] [class*="___description___"] { | |
| color: var(--dark-theme-alt-prime-calm-color); | |
| font-size: 12px; | |
| } | |
| [class*="___user-contents-widget___"] { | |
| padding: 0; | |
| margin-top: 24px; | |
| border-top: 1px solid var(--dark-theme-bg-sub-color); | |
| } | |
| [class*="___program-information-area___"] [class*="___user-contents-widget___"]:first-child { | |
| margin-top: 0; | |
| } | |
| [class*="___user-contents-header___"] { | |
| display: none; | |
| } | |
| [class*="___user-contents-widget___"] [class*="___live-video-overview-list-section___"] h2, | |
| [class*="___user-contents-widget___"] [class*="___video-video-overview-list-section___"] h2, | |
| [class*="___user-contents-widget___"] [class*="___live-video-overview-list-section___"] [class*="___title___"], | |
| [class*="___user-contents-widget___"] [class*="___video-video-overview-list-section___"] [class*="___title___"], | |
| [class*="___video-overview-list-more-button___"] { | |
| color: var(--dark-theme-alt-prime-color); | |
| } | |
| [class*="___video-overview-list-more-button___"] { | |
| cursor: pointer; | |
| } | |
| [class*="___user-contents-widget___"] [class*="___live-video-overview-list-section___"] h2, | |
| [class*="___user-contents-widget___"] [class*="___video-video-overview-list-section___"] h2 { | |
| font-size: 18px; | |
| font-weight: normal; | |
| } | |
| /* 配信ツール => コメント投稿フォーム下に移動 */ | |
| [class*="___broadcast-controller___"] { | |
| position: fixed; | |
| bottom: 0; | |
| right: 0; | |
| width: var(--side-panel-width); | |
| height: var(--broadcast-controller-height); | |
| padding: 8px 8px 12px; | |
| background-color: var(--dark-theme-bg-prime-color); | |
| border-top: 1px solid var(--dark-theme-up-color); | |
| } | |
| [class*="___end-form___"] [class*="___button___"] { | |
| font-size: 13px; | |
| height: 32px; | |
| position: absolute; | |
| bottom: 58px; | |
| left: 8px; | |
| width: calc(100% - 16px); | |
| background-color: var(--dark-theme-restrict-color); | |
| } | |
| [class*="___broadcast-controller___"] [class*="___field___"] { | |
| width: calc(34% - 8px); | |
| height: 40px; | |
| position: absolute; | |
| bottom: 8px; | |
| left: 8px; | |
| /*background-color: var(--dark-theme-up-color);*/ | |
| border-radius: 0 0 0 4px; | |
| box-sizing: border-box; | |
| padding: 0; | |
| } | |
| [class*="___broadcast-controller___"] [class*="___label___"] { | |
| font-size: 11px; | |
| } | |
| [class*="___auto-extend-setting___"] { | |
| width: 40px; | |
| height: 20px; | |
| border-radius: 10px; | |
| } | |
| [class*="___auto-extend-setting___"] [class*="___radio-group-control___"] { | |
| width: 50%; | |
| height: 20px; | |
| } | |
| [class*="___auto-extend-setting___"] [class*="___radio-group-control___"] label { | |
| font-size: 0; | |
| padding: 0; | |
| width: 20px; | |
| height: 20px; | |
| border-radius: 50%; | |
| } | |
| [class*="___auto-extend-setting___"] [class*="___radio-group-control___"] [class*="___radio___"] { | |
| margin: 0; | |
| } | |
| [class*="___auto-extend-setting___"] [class*="___radio-group-control___"] [class*="___radio___"]:not(:checked) { | |
| width: 40px; | |
| height: 20px; | |
| z-index: 1; | |
| position: relative; | |
| } | |
| [class*="___auto-extend-setting___"] [class*="___radio-group-control___"] [class*="___radio___"]:checked { | |
| display: none; | |
| } | |
| [class*="___auto-extend-setting___"] [class*="___radio-group-control___"]:first-child [class*="___radio___"]:checked + label { | |
| background-color: var(--dark-theme-up-color); | |
| } | |
| [class*="___auto-extend-setting___"] [class*="___radio-group-control___"] label { | |
| pointer-events: none; | |
| } | |
| [class*="___auto-extend-setting___"] [class*="___radio-group-control___"]:last-child [class*="___radio___"] { | |
| margin-left: -20px; | |
| } | |
| [class*="___broadcast-controller___"] [class*="___field___"] [class*="___anchor___"] { | |
| display: none; | |
| } | |
| [class*="___extend-form___"] { | |
| width: calc(66% - 8px); | |
| height: 40px; | |
| position: absolute; | |
| bottom: 8px; | |
| right: 8px; | |
| /*background-color: var(--dark-theme-up-color);*/ | |
| border-radius: 0 4px 0 0; | |
| box-sizing: border-box; | |
| padding: 0 0 0 8px; | |
| } | |
| [class*="___extend-form___"] [class*="___status___"] { | |
| position: absolute; | |
| background: var(--dark-theme-bg-prime-color); | |
| padding: 0 8px; | |
| line-height: 40px; | |
| } | |
| [class*="___extend-form___"] [class*="___button___"] { | |
| background: var(--dark-theme-alt-prime-color); | |
| color: var(--dark-theme-bg-sub-color); | |
| height: 32px; | |
| } | |
| [class*="___extend-form___"] [class*="___status___"]:before { | |
| content: ""; | |
| display: block; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| /*background-color: var(--dark-theme-up-color);*/ | |
| border-radius: 0 4px 0 0; | |
| } | |
| [class*="___plus-hours-button___"]:before, | |
| [class*="___plus-minutes-button___"]:before{ | |
| top: 4px; | |
| } | |
| [class*="___minus-hours-button___"]:before, | |
| [class*="___minus-minutes-button___"]:before { | |
| bottom: 4px; | |
| } | |
| [class*="___remaining-time___"] { | |
| position: absolute; | |
| top: 8px; | |
| left: 8px; | |
| width: calc(100% - 16px); | |
| padding: 8px 0; | |
| font-size: 32px; | |
| margin: 0; | |
| border-radius: 4px; | |
| background-color: var(--dark-theme-down-color); | |
| } | |
| [class*="___broadcast-controller___"] [class*="___information-area___"] [class*="___status___"] { | |
| display: none; | |
| } | |
| [class*="___broadcast-controller___"] [class*="___information-area___"] [class*="___status___"][data-status="onAir"] + [class*="___remaining-time___"]:before { | |
| content: ""; | |
| display: inline-block; | |
| width: 12px; | |
| height: 12px; | |
| border-radius: 50%; | |
| background-color: var(--dark-theme-restrict-color); | |
| vertical-align: middle; | |
| margin-right: 12px; | |
| } | |
| [class*="___broadcaster-tool___"] [class*="___tab-area___"] { | |
| display: none; | |
| } | |
| [class*="___broadcaster-tool___"] [class*="___confirm-dialog___"] { | |
| position: fixed; | |
| z-index: 99999999; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const embeddedData = document.getElementById('embedded-data'); | |
| const props = JSON.parse(embeddedData.getAttribute('data-props')); | |
| if(props.broadcaster.isBroadcaster) { | |
| document.body.setAttribute('data-is-broadcaster', 'true'); | |
| } else { | |
| document.body.setAttribute('data-is-broadcaster', 'false'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment