-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserChrome.css
91 lines (83 loc) · 2.49 KB
/
userChrome.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
/* browser.tabs.tabmanager */
#alltabs-button,
/* タブ前後のスペーサー */
.titlebar-spacer,
/* 拡張機能 */
#unified-extensions-button,
/* タブを閉じる */
.tab-close-button {
display: none;
}
/* 非アクティブなタブのファビコンを暗く */
.tabbrowser-tab[pending] {
color: light-dark(rgb(64, 64, 64), rgb(192, 192, 192)) !important;
}
/* タブラベルを複数行で表示する */
.tabbrowser-tab {
height: calc(var(--tab-min-height)*2);
}
.tab-content {
padding: 0 0 0 var(--space-xsmall) !important;
}
.tab-icon-stack {
z-index: 1;
position: absolute !important;
bottom: var(--tab-block-margin);
right: 0px;
}
.tab-label-container {
margin: auto;
}
.tab-label {
white-space: normal !important;
line-height: 1.4 !important;
max-height: 4em;
}
/* タブのタイトルを用いて、内容を色で示す */
.tabbrowser-tab > .tab-stack {
border-bottom: 2px solid;
border-color: transparent;
}
.tabbrowser-tab[label*="4k" i] > .tab-stack,
.tabbrowser-tab[label*="8k" i] > .tab-stack {
border-color: goldenrod;
}
.tabbrowser-tab[label*="MV" i] > .tab-stack,
.tabbrowser-tab[label*="PV" i] > .tab-stack,
.tabbrowser-tab[label*="ver." i] > .tab-stack,
.tabbrowser-tab[label*="feat" i] > .tab-stack,
.tabbrowser-tab[label*="cover" i] > .tab-stack,
.tabbrowser-tab[label*="歌"] > .tab-stack,
.tabbrowser-tab[label*="カバー"] > .tab-stack {
border-color: slateblue;
}
/* Container Tabs privacy.userContext.enabled に対応 */
.tab-context-line {
display: none !important;
}
.tabbrowser-tab[usercontextid] .tab-background {
background: linear-gradient(0deg, transparent 0%, var(--identity-icon-color) 100%);
}
/* 開いているタブを目立たせる */
.tabbrowser-tab[selected] > .tab-stack {
border-color: var(--toolbar-color);
}
/* ウィンドウ操作のため、タブのスクロールボタンの縮小 */
#scrollbutton-up,
#scrollbutton-down {
margin: 10px 0 !important;
}
/* プライベートブラウズのロゴを退ける */
#private-browsing-indicator-with-label {
position: fixed;
top: 6px;
right: 0;
}
/* user.jsのbrowser.uiCustomization.stateに沿うように、URLバーの長さを制限 */
#urlbar-container {
width: 40vw !important;
}
/* ブックマークキーワード入力欄(タグではない)をCtrl - Dに追加 */
#editBMPanel_keywordRow {
visibility: visible !important;
}