!extend:checked:vvvvv:1000:512
次スレを立てる方は↑を二行重ねて書いてください
●※前スレ
userChrome.css・userContent.cssスレ Part12
https://egg.5ch.net/test/read.cgi/software/1650551086/
●拡張機能
Stylish
https://addons.mozilla.org/ja/firefox/addon/stylish/
Stylus
https://addons.mozilla.org/ja/firefox/addon/styl-us/
User Style Manager (レガシーアドオン・要Classic Add-ons Archive)
https://addons.mozilla.org/ja/firefox/addon/user-style-manager/
●スクリプト
userChromeJS/UserCSSLoader at master ・ Griever/userChromeJS
https://github.com/Griever/userChromeJS/tree/master/UserCSSLoader
UserCSSManager (要userChromeES)
https://greasyfork.org/scripts/35880
●CSS(ユーザースタイルを記入するべきファイル)
userChrome.css(UI) / userContent.css(Web Site)
●関連サイト
Userstyles.org
https://userstyles.org/
CSS: カスケーディングスタイルシート | MDN
https://developer.mozilla.org/ja/docs/Web/CSS
とほほのスタイルシート入門
http://www.tohoho-web.com/css/
VIPQ2_EXTDAT: checked:vvvvv:1000:512:: EXT was configured
探検
userChrome.css・userContent.cssスレ Part13
■ このスレッドは過去ログ倉庫に格納されています
1名無しさん@お腹いっぱい。 (ワッチョイW 73c8-igId)
2023/11/25(土) 08:56:40.96ID:K9T8+5GH02名無しさん@お腹いっぱい。 (ワッチョイ 7f76-GgRN)
2023/11/26(日) 18:31:47.52ID:Ix+ya4T60 おつ
3名無しさん@お腹いっぱい。 (ワッチョイ 6753-LbrA)
2023/11/27(月) 22:04:58.90ID:j8bt8tGW0 >>1おつです
ついでに
●CSS有効化
userChrome.css / userContent.css を使う場合
about:config もしくは user.js で「toolkit.legacyUserProfileCustomizations.stylesheets」を「true」に設定
●自力で調べるには
Browser Toolbox
https://firefox-source-docs.mozilla.org/devtools-user/browser_toolbox/index.html
https://web.archive.org/web/20220328185954/https://developer.mozilla.org/ja/docs/Tools/Browser_Toolbox
Select an element
https://firefox-source-docs.mozilla.org/devtools-user/page_inspector/how_to/select_an_element/index.html
セレクタやプロパティなどはどうやって調べるの(例)
https://egg.5ch.net/test/read.cgi/software/1650551086/43
ついでに
●CSS有効化
userChrome.css / userContent.css を使う場合
about:config もしくは user.js で「toolkit.legacyUserProfileCustomizations.stylesheets」を「true」に設定
●自力で調べるには
Browser Toolbox
https://firefox-source-docs.mozilla.org/devtools-user/browser_toolbox/index.html
https://web.archive.org/web/20220328185954/https://developer.mozilla.org/ja/docs/Tools/Browser_Toolbox
Select an element
https://firefox-source-docs.mozilla.org/devtools-user/page_inspector/how_to/select_an_element/index.html
セレクタやプロパティなどはどうやって調べるの(例)
https://egg.5ch.net/test/read.cgi/software/1650551086/43
4名無しさん@お腹いっぱい。 (ワッチョイ bfb9-gnkD)
2023/11/28(火) 17:59:10.39ID:FUU3DSOI0 Firefoxは121でようやっと設定しなくても:has()使えるようになるのか
試用期間長すぎ
試用期間長すぎ
5名無しさん@お腹いっぱい。 (ワッチョイ 5fd4-B8PW)
2023/12/01(金) 01:15:01.23ID:GeHpoaxB0 userContent.cssで、
about:preferences や about:addons
などのFirefox関連のページだけに効かせる場合にアドレス指定をするには
どう記述したらよいですか?
about:preferences や about:addons
などのFirefox関連のページだけに効かせる場合にアドレス指定をするには
どう記述したらよいですか?
6名無しさん@お腹いっぱい。 (ワッチョイ 5f11-d+hN)
2023/12/01(金) 01:35:36.77ID:glpvQQSx0 @-moz-document url-prefix("about:preferences")
@-moz-document url-prefix("about:addons")
@-moz-document url-prefix("about:addons")
75 (ワッチョイ 5fd4-B8PW)
2023/12/01(金) 02:35:15.24ID:GeHpoaxB08名無しさん@お腹いっぱい。 (ワッチョイ 2302-/274)
2023/12/19(火) 07:45:16.02ID:HKP7JPcV0 #statuspanel-label {
transform: scale(1, 1.3);
}
リンクにポイントした時などにウィンドウの左下に表示される、ステータスパネルをもっと大きくしたくて
CSSの書式を調べ、↑のようにしてみたのですが、一応大きくはなったものの
この数字以外だとリンクが全部表示されなかったり、縦横の比率がおかしくなったりしてウマく行きません。
正確に2倍とかにするにはどうしたらいいでしょうか?
transform: scale(1, 1.3);
}
リンクにポイントした時などにウィンドウの左下に表示される、ステータスパネルをもっと大きくしたくて
CSSの書式を調べ、↑のようにしてみたのですが、一応大きくはなったものの
この数字以外だとリンクが全部表示されなかったり、縦横の比率がおかしくなったりしてウマく行きません。
正確に2倍とかにするにはどうしたらいいでしょうか?
9名無しさん@お腹いっぱい。 (ワッチョイ 6fbe-STVn)
2023/12/19(火) 08:02:39.28ID:VMEZHrol010名無しさん@お腹いっぱい。 (ワッチョイ 2302-/274)
2023/12/19(火) 16:32:44.02ID:HKP7JPcV011名無しさん@お腹いっぱい。 (ワッチョイ ebb7-oME/)
2023/12/22(金) 08:02:01.35ID:4bfpJVZs0 スクリプトスに間違ってしまい再度お聞きします
アクティブタブの背景色が効かなくなった
何方かわかる方お願いします
12.10
/*アクティブタブの背景色*/
/* active tabs background color */
.tab-background[selected=true] {
background-color: MediumTurquoise !important;
background-image: none !important;
}
/*非アクティブタブの文字色*/
/* inactive tabs text color */
.tabbrowser-tab:not([visuallyselected=true]) {
color: black !important;
}
/*非アクティブタブの背景色*/
/* intactive tabs background color */
.tab-background:not([selected=true]) {
background-color: YellowGreen !important;
}
/*非アクティブタブにマウスオンしたときの背景色*/
/* inactive tabs background color (hover) */
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]) {
background-color:red !important;
}
アクティブタブの背景色が効かなくなった
何方かわかる方お願いします
12.10
/*アクティブタブの背景色*/
/* active tabs background color */
.tab-background[selected=true] {
background-color: MediumTurquoise !important;
background-image: none !important;
}
/*非アクティブタブの文字色*/
/* inactive tabs text color */
.tabbrowser-tab:not([visuallyselected=true]) {
color: black !important;
}
/*非アクティブタブの背景色*/
/* intactive tabs background color */
.tab-background:not([selected=true]) {
background-color: YellowGreen !important;
}
/*非アクティブタブにマウスオンしたときの背景色*/
/* inactive tabs background color (hover) */
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]) {
background-color:red !important;
}
12名無しさん@お腹いっぱい。 (ワッチョイ b227-Lmmi)
2023/12/22(金) 09:24:01.71ID:/D8qsSKm0 [selected=true]
を
[selected]
に
を
[selected]
に
13名無しさん@お腹いっぱい。 (ワッチョイ ebba-oME/)
2023/12/22(金) 17:53:33.06ID:4bfpJVZs0 >>12
正常に表示出来ました 有り難うございました
正常に表示出来ました 有り難うございました
14名無しさん@お腹いっぱい。 (スップーT Sd1f-ah8i)
2023/12/23(土) 15:07:42.55ID:PSsY06e5d こんにちは。
前スレの677でYouTubeプレイヤーのシアターモードのコントロールバーを
下に移動する方法を訊ねた者です。
/* 標準プレイヤーの高さをコントロールバーの分増やす */
ytd-watch-flexy:not([theater]) #player-container-inner {
height: 51px !important
}
標準プレイヤーは自分で作った上の方法で一応うまく行っています。
が、これはプレイヤーコンテナを高くしてコンテナ内で移動する方法であり、
Chromeのアドオンではコンテナの枠の下に出して移動させていることがわかりました。
その方がいろいろと都合がいいので自分でもやってみようと試行錯誤しましたが、
うまく行きません。
もしよろしければご指南ください。
前スレの677でYouTubeプレイヤーのシアターモードのコントロールバーを
下に移動する方法を訊ねた者です。
/* 標準プレイヤーの高さをコントロールバーの分増やす */
ytd-watch-flexy:not([theater]) #player-container-inner {
height: 51px !important
}
標準プレイヤーは自分で作った上の方法で一応うまく行っています。
が、これはプレイヤーコンテナを高くしてコンテナ内で移動する方法であり、
Chromeのアドオンではコンテナの枠の下に出して移動させていることがわかりました。
その方がいろいろと都合がいいので自分でもやってみようと試行錯誤しましたが、
うまく行きません。
もしよろしければご指南ください。
1514 (スップーT Sd1f-ah8i)
2023/12/23(土) 21:29:54.38ID:wUhvmNqId > 前スレの677で
前スレの607の間違いでした。
あと、標準プレイヤーの丸い角を取り除くのにこれを使っています。
/* 標準プレイヤーの丸い角を四角くする */
ytd-watch-flexy[rounded-player-large][default-layout] #ytd-player.ytd-watch-flexy {
border-radius: 0! important
}
前スレの607の間違いでした。
あと、標準プレイヤーの丸い角を取り除くのにこれを使っています。
/* 標準プレイヤーの丸い角を四角くする */
ytd-watch-flexy[rounded-player-large][default-layout] #ytd-player.ytd-watch-flexy {
border-radius: 0! important
}
16名無しさん@お腹いっぱい。 (ワッチョイ f3db-kk31)
2023/12/23(土) 21:48:12.90ID:tXSyYCyq0 すまん
タブとURLバーを画面の下に置くだけのシンプルなの頼む
タブとURLバーを画面の下に置くだけのシンプルなの頼む
17名無しさん@お腹いっぱい。 (中止 c358-y73S)
2023/12/24(日) 00:51:33.29ID:0muToCvD0EVE な、age厨だろ👆
18名無しさん@お腹いっぱい。 (中止 43cf-C9Ql)
2023/12/24(日) 09:55:08.68ID:ckGDlojO0EVE >>9もageてるけど厨なのか
19名無しさん@お腹いっぱい。 (中止 43aa-ah8i)
2023/12/24(日) 11:04:20.94ID:LKACSGJF0EVE >>14
よくわからんけどシアターモードと同じでいいのか?
角も四角になる
/* 動画コントローラーを動画下に表示する */
:root {
--controller-height: 51px;
}
ytd-watch-flexy[theater] #full-bleed-container {
margin-bottom: var(--controller-height) !important;
}
ytd-watch-flexy:not([theater]) #player-container-outer {
margin-bottom: calc(var(--controller-height) + 10px) !important;
}
#ytd-player, .html5-video-player {
overflow: visible !important;
}
html:not([data-cast-api-enabled]) #movie_player > .ytp-chrome-bottom {
margin-bottom: calc(var(--controller-height) * -1) !important;
}
#player-container:not(.ytd-video-preview)::after {
content: '';
position: absolute;
width: 100%;
height: var(--controller-height);
background: #000;
}
/* ツールチップサムネイルの表示を下げる */
html:not([data-cast-api-enabled]) .ytp-tooltip {
margin-top: var(--controller-height) !important;
}
よくわからんけどシアターモードと同じでいいのか?
角も四角になる
/* 動画コントローラーを動画下に表示する */
:root {
--controller-height: 51px;
}
ytd-watch-flexy[theater] #full-bleed-container {
margin-bottom: var(--controller-height) !important;
}
ytd-watch-flexy:not([theater]) #player-container-outer {
margin-bottom: calc(var(--controller-height) + 10px) !important;
}
#ytd-player, .html5-video-player {
overflow: visible !important;
}
html:not([data-cast-api-enabled]) #movie_player > .ytp-chrome-bottom {
margin-bottom: calc(var(--controller-height) * -1) !important;
}
#player-container:not(.ytd-video-preview)::after {
content: '';
position: absolute;
width: 100%;
height: var(--controller-height);
background: #000;
}
/* ツールチップサムネイルの表示を下げる */
html:not([data-cast-api-enabled]) .ytp-tooltip {
margin-top: var(--controller-height) !important;
}
20名無しさん@お腹いっぱい。 (中止 f3db-kk31)
2023/12/24(日) 22:31:27.91ID:PuTO5TTn0EVE タブとURLバーを画面の下に置くだけのシンプルなの頼む
2回目だぞ
2回目だぞ
2114 (中止T Sd1f-ah8i)
2023/12/24(日) 22:56:04.72ID:Yz84EE62dEVE >>19
いつも本当にありがとうございます。
今回はうまく行ってなくて、コントロールバーの部分が真っ黒で、ボタンが表示されません。
#player-container:not(.ytd-video-preview)::after {
content: '';
position: absolute;
width: 100%;
height: var(--controller-height);
background: #000;
}
上の部分を無効にしたら背景が真っ白で薄いボタンが表示されたので、
自分でいじってみたのですが、どうもうまく行きません。
お手数かけて申し訳ありませんが、よろしくお願いします。
もしおま環だったらすみません。
いつも本当にありがとうございます。
今回はうまく行ってなくて、コントロールバーの部分が真っ黒で、ボタンが表示されません。
#player-container:not(.ytd-video-preview)::after {
content: '';
position: absolute;
width: 100%;
height: var(--controller-height);
background: #000;
}
上の部分を無効にしたら背景が真っ白で薄いボタンが表示されたので、
自分でいじってみたのですが、どうもうまく行きません。
お手数かけて申し訳ありませんが、よろしくお願いします。
もしおま環だったらすみません。
22名無しさん@お腹いっぱい。 (中止 4338-ah8i)
2023/12/24(日) 23:45:16.20ID:LKACSGJF0EVE >>21
/* 動画コントローラーを動画下に表示する */
:root {
--controller-height: 51px;
}
ytd-watch-flexy {
z-index: 0 !important;
}
ytd-watch-flexy[theater] #full-bleed-container {
margin-bottom: var(--controller-height) !important;
}
ytd-watch-flexy:not([theater]) #player-container-outer {
margin-bottom: calc(var(--controller-height) + 10px) !important;
}
#ytd-player, .html5-video-player {
overflow: visible !important;
}
html:not([data-cast-api-enabled]) #movie_player > .ytp-chrome-bottom {
margin-bottom: calc(var(--controller-height) * -1) !important;
}
#player-container:not(.ytd-video-preview)::after {
content: '';
position: absolute;
width: 100%;
height: var(--controller-height);
background: #000;
z-index: -1;
}
/* ツールチップサムネイルの表示を下げる */
html:not([data-cast-api-enabled]) .ytp-tooltip {
margin-top: var(--controller-height) !important;
}
/* 動画コントローラーを動画下に表示する */
:root {
--controller-height: 51px;
}
ytd-watch-flexy {
z-index: 0 !important;
}
ytd-watch-flexy[theater] #full-bleed-container {
margin-bottom: var(--controller-height) !important;
}
ytd-watch-flexy:not([theater]) #player-container-outer {
margin-bottom: calc(var(--controller-height) + 10px) !important;
}
#ytd-player, .html5-video-player {
overflow: visible !important;
}
html:not([data-cast-api-enabled]) #movie_player > .ytp-chrome-bottom {
margin-bottom: calc(var(--controller-height) * -1) !important;
}
#player-container:not(.ytd-video-preview)::after {
content: '';
position: absolute;
width: 100%;
height: var(--controller-height);
background: #000;
z-index: -1;
}
/* ツールチップサムネイルの表示を下げる */
html:not([data-cast-api-enabled]) .ytp-tooltip {
margin-top: var(--controller-height) !important;
}
23名無しさん@お腹いっぱい。 (中止 4338-ah8i)
2023/12/24(日) 23:46:02.64ID:LKACSGJF0EVE■ このスレッドは過去ログ倉庫に格納されています
ニュース
- 国民 居住目的でない住宅所有者に「空室税」課せる法案を提出 [少考さん★]
- 「働いて働いて」の流行語大賞に懸念 「言葉が独り歩き」 過労自殺遺族 [尺アジ★]
- アメリカ、入国時に「日本人を含む外国人観光客の最大5年分のSNS履歴の提出」義務化へ 過去10年間に使用のメールアドレスや電話番号等も★3 [Hitzeschleier★]
- 【画像】消えた美人女優 上原多香子さん(42)、沖縄で目撃される [牛丼★]
- 「暖房が使えない」「食費が高くて子どもの栄養が…」 物価高に苦しむ子育て世帯、政府に期待する支援は ★2 [蚤の市★]
- バイク事故で入院ゆたぼん、見舞金「1円」振り込みの名義に衝撃「悲しい人ですね」「こういう人がいるから…」 [muffin★]
- 【高市朗報】中国、歴史上日本に一度も侵攻したことがない親日国だった [931948549]
- 【実況】博衣こよりのえちえちダンガンロンパ2🧪★1
- 高市早苗、森元総理の愛人だった [347751896]
- (´・ω・`)派遣社員だけどボーナス無いから会社のアイスパクるね
- 躁鬱病って甘えじゃね?
- 【声優】亡くなった人で好きだった声優👈誰を思いつく?? [519998392] [839143615]
