Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* oneliner (no tabs on top) and sidebar (no header) */
- #main-window:not([tabsintitlebar="true"]) #TabsToolbar {
- visibility: collapse !important;
- }
- #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
- display: none;
- }
- }
- /* no header for all sidebars */
- #sidebar-header {
- visibility: collapse;
- }
- /* moving bookmarks pannel on botomm */
- #PersonalToolbar {
- bottom:0;
- position:fixed;
- bottom: 0 !important;
- display: flex;
- width:100%;
- }
- /* bookmarks pannel height */
- #personal-bookmarks {
- height:28px !important;
- }
- /* space for the pannel on bottom */
- #main-window:not([inFullscreen="true"]) > body::after{
- display: -moz-box;
- content: "";
- height: 28px;
- border-top: solid 0px #505050;
- }
- /* Move address bar to titlebar with tabs up,right,down,left*/
- #nav-bar {
- margin: -38px 66px -1px 0px !important;
- height: 37px !important;
- border-bottom: none !important;
- }
- #nav-bar {
- border-color: transparent !important;
- border-width: 0px !important;
- }
- /* URL bar color */
- #urlbar #urlbar-background{
- background-color: var(--toolbar-bgcolor, currentColor) !important;
- border: none !important;
- }
- /* URL bar width adjustments */
- #searchbar-container {
- border: none !important;
- }
- /*position window controls*/
- .titlebar-buttonbox-container {
- min-height: var(--tab-min-height);
- background: #2b2a33 !important
- }
- .titlebar-min {
- padding: 0px !important;
- padding-left: 4px !important;
- padding-right: 3px !important;
- margin-left: 1px !important;
- margin-right: 1px !important;
- margin-top: -5px !important;
- margin-bottom: 1px !important;
- }
- .titlebar-restore {
- padding: 0px !important;
- padding-left: 4px !important;
- padding-right: 3px !important;
- margin-left: 1px !important;
- margin-right: 1px !important;
- margin-top: -5px !important;
- margin-bottom: 1px !important;
- }
- .titlebar-close {
- padding: 0px !important;
- padding-left: 4px !important;
- padding-right: 3px !important;
- margin-left: 1px !important;
- margin-right: 5px !important;
- margin-top: -5px !important;
- margin-bottom: 1px !important;
- }
- /* Constrain drop-down width */
- }
- #PopupAutoCompleteRichResult .autocomplete-richlistbox {
- padding-right: 0px !important;
- }
- /* Constrains urlbar popup to urlbar width */
- /* Firefox 70+ */
- #urlbar-container {
- transform: translateY(0);
- position: relative;
- z-index: 10;
- padding-block: 3px !important;
- padding-inline: 0px !important;
- margin-inline: 5px !important;
- }
- #nav-bar-customization-target {
- overflow: visible !important;
- }
- #urlbar[open] {
- border-bottom-right-radius: 0px !important;
- border-bottom-left-radius: 0px !important;
- }
- .urlbarView-row {
- padding: 6px 0px !important;
- }
- #urlbar-results>.autocomplete-richlistbox{
- --item-padding-start: 0px !important;
- --item-padding-end: 0px !important;
- .urlbarView:not(.megabar){
- left: unset !important;
- right: unset !important;
- }
- }
- /*интервал между строчками*/
- panel#urlbar-results .autocomplete-richlistitem {
- min-height: 24px !important;
- }
- /*скругление*/
- #urlbar,#searchbar, .searchbar-textbox {
- border:none !important;
- border-radius: 50px !important;
- }
- #urlbar-results .search-one-offs,
- #PopupSearchAutoComplete #searchbar-anon-search-settings-compact,
- #PopupSearchAutoComplete .search-panel-current-engine,
- #PopupSearchAutoComplete .search-panel-current-input,
- #PopupSearchAutoComplete .search-panel-one-offs .dummy {
- display: none !important;
- }
- /* hide native tabs and sidebar header */
- #TabsToolbar-customization-target {
- visibility: collapse;
- }
- #navigator-toolbox[inFullscreen="true"] #titlebar {
- visibility: collapse;
- /* realign elements */
- #nav-bar {
- margin-top: calc(-1 * var(--tab-min-height));
- margin-right: 144px;
- box-shadow: none !important;
- }
- #nav-bar[inFullscreen="true"] {
- margin-top: unset;
- margin-right: unset;
- }
- #PopupAutoCompleteRichResult richlistitem:first-of-type[actiontype="visiturl"] +
- richlistitem[actiontype="searchengine"] {
- display:none !important;
- }
- /* recolor elements and enable window dragging */
- #navigator-toolbox {
- background-color: var(--toolbar-bgcolor);
- background-image: var(--toolbar-bgimage);
- background-clip: padding-box;
- color: var(--toolbar-color);
- -moz-window-dragging: drag;
- }
- /* realign elements end*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement