タブバーをブラウザ最下部に移動するやつ

2023-05-18
113に対応

最下部へ移動する

:root {
  --tab-min-height: 36px;
}
#main-window:not([inFullscreen]) #browser,
#main-window:not([inFullscreen]) #customization-container{
  margin-bottom: calc(var(--tab-min-height) + var(--tab-block-margin) + var(--tab-block-margin)) !important;
}
#TabsToolbar > .toolbar-items {
  width: 100vw !important;
}
.titlebar-spacer {
  width: 0 !important;
}
#TabsToolbar > .toolbar-items {
  display: unset !important;
  position: fixed !important;
  bottom: 0 !important;
  min-height: var(--tab-min-height) !important;
  padding: 0 !important;
  z-index: 1000000000 !important;
}
/*フルスクリーン時は隠しておく*/
#main-window[inFullscreen] #TabsToolbar > .toolbar-items {
  background-color: var(--lwt-accent-color-inactive, var(--lwt-accent-color)) !important;
}
#main-window[inFullscreen] #TabsToolbar > .toolbar-items:not(:hover) {
  height: 1px !important;
  opacity: 0 !important;
}
更新履歴
2023-05-18
113に対応
2021-06-03
89に対応
2020-08-14
背景色
2020-08-07
公開

タブバーを下段に移動させる

2023-04-17
113

上から、タイトルバー、メニューバー、ツールバー、タブバーの順で常時表示させたい
それ以外は知らない

タブバーを下段に移動させる.css

:root {
  --menubar-height: 22px;
}
:root[inFullscreen]:not([macOSNativeFullscreen]) toolbar:not([fullscreentoolbar="true"]) {
  visibility: visible !important;
}
#titlebar {
  order: 2 !important;
}
#main-window:not([chromehidden="menubar toolbar location directories status extrachrome "]) #navigator-toolbox {
  padding-top: var(--menubar-height) !important;
}
/*フルスクリーン時コンテンツ領域に被る*/
#main-window:not([chromehidden="menubar toolbar location directories status extrachrome "]) #navigator-toolbox[inFullscreen][style*="margin-top:"] #toolbar-menubar {
  display: none !important;
}
#main-window:not([chromehidden="menubar toolbar location directories status extrachrome "]) #toolbar-menubar{
  position: absolute !important;
  display: flex !important;
  top: 0 !important;
  height: var(--menubar-height) !important;
  width: 100vw !important;
}

cssがまた駄目になった時用に

css書いたけどまたすぐ使えなくなりそうなのでuserChrome.jsで切り貼りしてみた。
多分色んな不具合あるだろうけど知らない。

document.getElementById("navigator-toolbox").appendChild(document.getElementById("TabsToolbar")); 
更新履歴
2023-04-17
113
2021-06-08
フルスクリーン時メニューバーが消えてた
2021-06-04
微修正
2021-05-05
公開

ページ内検索バーを右上に配置する.css

2023-04-17
113に対応

右上findbar

findbar {
  display: table !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  margin: -1px 20px 0 0 !important;
  border: 1px solid var(--chrome-content-separator-color) !important;
  border-top: 0 !important;
  background-color: var(--toolbar-bgcolor) !important;
  background-image: none !important;
  z-index: 1002 !important;
}
#main-window[inFullscreen] findbar{
  margin-top: 0 !important;
}
.findbar-textbox {
/*  font-size: medium !important; */
}
.findbar-container {
  float: left !important;
}
.findbar-container checkbox.tabbable {
  border-radius: 4px !important;
  margin: 0px 1px !important;
  padding: 3px 7px !important;
  line-height: 16px !important;
}
/*テーマによっては背景色が消えてしまう*/
#main-window[lwtheme-mozlightdark] .findbar-container checkbox.tabbable:hover {
  background: var(--button-hover-bgcolor) !important;
}
#main-window[lwtheme-mozlightdark] .findbar-container checkbox[checked].tabbable {
  background: var(--button-active-bgcolor) !important;
}
.findbar-container checkbox.tabbable:hover {
  background: rgba(190,190,190,.4) !important;
}
.findbar-container checkbox[checked].tabbable {
  background: rgba(190,190,190,.6)!important;
}
.findbar-container .checkbox-check,
.findbar-highlight .checkbox-label,
.findbar-case-sensitive .checkbox-label,
.findbar-match-diacritics .checkbox-label {
  display: none !important;
}
.findbar-highlight:after,
.findbar-case-sensitive:after,
.findbar-match-diacritics:after {
  display: inline-block !important;
  box-sizing: border-box !important;
  margin: 1px 0 !important;
}
.findbar-highlight:after {
  content: "\00a0\00a0\00a0\00a0";
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAABlElEQVR42mL8//8/Ay0BQAAxMdAYAAQQzS0ACCCaWwAQQDS3ACCAWEjVsGzLvv/HLlxjsDLQYojycWIkpB4ggJhINZyfl5thcnU2Aw83J8OijbsJJkGAAGIi1XAvOzOG33/+MDia6TMwMzExzF69Da8lAAHERI7hP3/9Zvj24yeDlaE2mD9l6UaclgAEEBMphv/5+xdu+LfvQPzjB4OpjjrD4aNHceoHCCAWclwOMxxE7z1xnsHc3BynGQABxIivqNC3dPh/4dh+rIZ///GLYc/xcwxsbKwMRfHBOFMTQADhDaJLJw4yxBU1gA1DdzkxhoMAQADhDKL44kaw15ZMaALzm4oz4YbvO3mBKMNBACCAcFrw8d0bOBtmSV5SFDjMiTUcBAACiAEUB+h4w96j/0HYyt0f5As41rOw/9+7YM1/bHpwYYAAwumD4xeuM9i6+YLZKtqGDAt76xnJKYsAAogFl+GHd20Gs4/u2MBISWEHEECMtK7RAAKI5sU1QADR3AKAAKK5BQABRHMLAAKI5hYABBgAGVz2EZX7WKAAAAAASUVORK5CYII=) center no-repeat !important;
}
.findbar-case-sensitive:after {
  content: "Aa" !important;
}
.findbar-match-diacritics:after {
  content: "eê" !important;
}
.found-matches {
  order: -1 !important;
  margin: 0 8px 0 0 !important;
}
.findbar-find-status {
  display: none !important;
}
.findbar-container,
.findbar-closebutton {
  vertical-align: middle !important;
}
.close-icon {
  padding: 4px !important;
  margin-right: 0!important;
}

旧タイトル:ページ内検索バーをChrome風にする.css

更新履歴
2023-04-17
113に対応
2022-11-10
107で消えてた
2021-08-30
横幅、多分92から
2021-06-08
テーマによってはボタンの背景色が消えてた
2021-06-07
微修正
2021-04-22
89に対応
2020-11-27
84ぐらいから消えてた
2020-08-21
細々修正
2019-12-08
72からfindbarが見えなくなったので直した
2017-11-24
2017-11-20
×ボタンが改行しないように
2017-11-18
Firefox57
2015-04-05
2015-04-02
2014-05-04
微修正
2013-11-08
公開

Status-4-EvarをCSSで

2023-01-18
109に対応

Status-4-Evarもどき

あまってるツールバーを代わりに使います

メニューバーVer

:root{
  --addonbar-height: 22px; /* バーの高さ */
}
/* メニューを消す
#menubar-items {
  visibility: collapse !important;
}
*/
#main-window:not([inFullscreen]) #a11y-announcement {
  margin-bottom: var(--addonbar-height) !important;
}
#main-window:not([inFullscreen]) #toolbar-menubar {
  visibility: visible !important;
}
#main-window[inFullscreen] #toolbar-menubar {
  visibility: collapse !important;
}
#main-window #toolbar-menubar {
  display: unset;
  position: fixed;
  bottom: 0px;
  right: 0px;
  left: 0px;
  direction: rtl !important;
  height: var(--addonbar-height) !important;
  min-height: var(--addonbar-height) !important;
  max-height: var(--addonbar-height) !important;
  padding: 0 !important;
  border: solid var(--chrome-content-separator-color) !important;
  border-width: 1px 0 0 !important;
  background-color: var(--toolbar-bgcolor);
  -moz-window-dragging: no-drag !important;
}
#toolbar-menubar:-moz-lwtheme {
  background-position: bottom left !important;
  background-image: var(--lwt-header-image) !important;
}
#toolbar-menubar toolbarbutton,
#toolbar-menubar toolbaritem {
  direction: ltr !important;
  height: var(--addonbar-height) !important;
}
#toolbar-menubar toolbarbutton:not(.bookmark-item) > .toolbarbutton-icon,
#toolbar-menubar toolbarbutton > .toolbarbutton-badge-stack {
  padding: 0px var(--toolbarbutton-inner-padding) !important;
}
#main-window:not([inFullscreen]) #statuspanel {
  position: fixed !important;
  bottom: 0 !important;
  left: 0px !important;
  max-width: 80% !important;
}
#main-window:not([inFullscreen]) #statuspanel-inner {
  -moz-box-align: center !important;
  height: var(--addonbar-height) !important;
}
#main-window:not([inFullscreen]) #statuspanel-label {
  background: transparent !important;
  border: none !important;
  color: #000 !important;
}
#main-window:not([inFullscreen]) #statuspanel:-moz-lwtheme-brighttext #statuspanel-label {
  color: #fff !important;
}
#main-window:not([inFullscreen]) #statuspanel-label[mirror] {
  margin-left: unset !important;
}

ブックマークツールバーVer

:root{
  --addonbar-height: 22px; /* バーの高さ */
}
#main-window:not([inFullscreen]) #a11y-announcement {
  margin-bottom: var(--addonbar-height) !important;
}
#main-window:not([inFullscreen]) #PersonalToolbar {
  visibility: visible !important;
}
#main-window[inFullscreen] #PersonalToolbar {
  visibility: collapse !important;
}
#PersonalToolbar {
  display: flex;
  position: fixed;
  bottom: 0px;
  right: 0px;
  left: 0px;
  direction: rtl !important;
  height: var(--addonbar-height) !important;
  min-height: var(--addonbar-height) !important;
  max-height: var(--addonbar-height) !important;
  padding: 0 !important;
  border: solid var(--chrome-content-separator-color) !important;
  border-width: 1px 0 0 !important;
  background-color: var(--toolbar-bgcolor);
  -moz-window-dragging: no-drag !important;
}
#PersonalToolbar:-moz-lwtheme {
  background-position: bottom left !important;
  background-image: var(--lwt-header-image) !important;
}
#PersonalToolbar toolbarbutton,
#PersonalToolbar toolbaritem {
  direction: ltr !important;
}
#personal-toolbar-empty {
  display: none !important;
}
#main-window:not([inFullscreen]) #statuspanel {
  position: fixed !important;
  bottom: 0 !important;
  left: 0px !important;
  max-width: 80% !important;
}
#main-window:not([inFullscreen]) #statuspanel-inner {
  -moz-box-align: center !important;
  height: var(--addonbar-height) !important;
}
#main-window:not([inFullscreen]) #statuspanel-label {
  background: transparent !important;
  border: none !important;
  color: #000 !important;
}
#main-window:not([inFullscreen]) #statuspanel:-moz-lwtheme-brighttext #statuspanel-label {
  color: #fff !important;
}
#main-window:not([inFullscreen]) #statuspanel-label:-moz-locale-dir(ltr) {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
更新履歴
2023-01-18
109に対応
2021-06-03
89に対応
2020-08-21
ステータスがガタガタ動くのを直した
2019-12-10
フルスクリーンにした時消えてなかった
2019-12-08
Firefox70ぐらい?から使えなくなってたので直した
2017-12-10
強制表示とテーマによってはステータスが見えなかったので
2017-11-19
ボタンが潰れてた
2017-11-18
Firefox57でS4Eが死んでたので
2013-11-01
25で色々変わったから直した
2012-09-04
2011-11-28
公開

プロフィール

豆腐

最新記事

最新コメント

カテゴリ

月別アーカイブ