X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fsyncedtabs%2Fsidebar.css;fp=LCARStrek%2Fbrowser%2Fsyncedtabs%2Fsidebar.css;h=02ccb6ef514a3bf9d98d0d8bea4e3f3bf571a06a;hp=0000000000000000000000000000000000000000;hb=7327c957c10aeaccf57a457a9950ac380a326f29;hpb=8ab9ca8a251b25fb4a6ba8744a1c75ec9bcc4990 diff --git a/LCARStrek/browser/syncedtabs/sidebar.css b/LCARStrek/browser/syncedtabs/sidebar.css new file mode 100644 index 00000000..02ccb6ef --- /dev/null +++ b/LCARStrek/browser/syncedtabs/sidebar.css @@ -0,0 +1,350 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* === BEGIN sidebar.inc.css === */ + +/* These styles are intended to mimic XUL trees and the XUL search box. */ + +html { + height: 100%; +} + +body { + height: 100%; + margin: 0; + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; + color: #FF9F00; + -moz-user-select: none; +} + +/* The content-container holds the non-scrollable header and the scrollable + content area. +*/ +.content-container { + display: flex; + flex-flow: column; + height: 100%; +} + +/* The content header is not scrollable */ +.content-header { + flex: 0 1 auto; +} + +/* The main content area is scrollable and fills the rest of the area */ +.content-scrollable { + flex: 1 1 auto; + overflow: auto; +} + +.emptyListInfo { + cursor: default; + padding: 3em 1em; + text-align: center; +} + +.list, +.item-tabs-list { + display: flex; + flex-flow: column; + flex-grow: 1; +} + +.item.client { + opacity: 1; + max-height: unset; + display: unset; +} + +.item.client.closed .item-tabs-list { + display: none; +} + +.item { + display: inline-block; + opacity: 1; + flex: 1; + min-width: 0; + white-space: nowrap; + overflow: hidden; + outline: none; + color: #FF9F00; +} + +.item.selected > .item-title-container { + background-color: #A09090; + color: #000000; + font-weight: bold; +} + +.item.selected:focus > .item-title-container { + background-color: #008484; + color: #000000; +} + +.client .item.tab > .item-title-container { + padding-inline-start: 35px; +} + +.item.tab > .item-title-container { + padding-inline-start: 20px; +} + +.item.tab > .item-title-container > .item-icon-container { + background-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +@media (min-resolution: 1.1dppx) { +.item.tab > .item-title-container > .item-icon-container { + background-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png"); + } +} + +.item-icon-container { + min-width: 16px; + max-width: 16px; + min-height: 16px; + max-height: 16px; + margin-right: 5px; + margin-left: 5px; + background-size: 16px 16px; + background-size: contain; + background-repeat: no-repeat; + background-position: center; +} + +.item-title-container { + display: flex; + flex-flow: row; + overflow: hidden; + flex-grow: 1; + padding: 1px 0px 1px 0px; +} + +.item-title { + flex-grow: 1; + overflow: hidden; + text-overflow: ellipsis; + margin: 0px; + line-height: 1.3; +} + +.item[hidden] { + opacity: 0; + max-height: 0; + transition: opacity 150ms ease-in-out, max-height 150ms ease-in-out 150ms; +} + +.item.empty .item-title-container { + color: #A09090; +} + +.client .item.empty > .item-title-container { + padding-inline-start: 35px; +} + +.text-input-box { + display: flex; + flex-flow: row nowrap; +} + +.textbox-input-box { + display: flex; + flex-direction: row; +} + +.tabsFilter { + flex: 1; + /* min-width of anything to override the implicit "-moz-min-content" value. + 0px is safe as the sidebar itself has a constrained size meaning we will + never actually hit this minimum + */ + min-width: 0px; +} + +.sync-state > p { + padding-inline-end: 10px; + padding-inline-start: 10px; + color: #9C9CFF; +} + +.text-link { + color: #336699; + cursor: pointer; +} + +.text-link:hover { + text-decoration: underline; +} + +.text-link, +.text-link:focus { + margin: 0px; + padding: 0px; + border: 0px; +} + +.deck .sync-state { + display: none; + opacity: 0; + transition: opacity 1.5s; + border-top: 1px solid #A09090; +} + +.deck .sync-state.tabs-container { + border-top: 0px; +} + +.deck .sync-state.selected { + display: unset; + opacity: 100; +} + +.sidebar-search-container.tabs-container:not(.selected) { + display: none; +} + +.textbox-search-clear:not([disabled]) { + cursor: default; +} + +.textbox-search-icons .textbox-search-clear, +.filtered .textbox-search-icons .textbox-search-icon { + display: none; +} + +.filtered .textbox-search-icons .textbox-search-clear { + display: block; +} + +/* === END sidebar.inc.css === */ + +/* These styles are intended to mimic XUL trees and the XUL search box. */ + +html { + background-color: #000000; +} + +.item { + -moz-padding-end: 0; +} + +.item-title { + margin: 1px 0 0; +} + +.item-title { + -moz-margin-end: 6px; +} + +.search-box { +/* -moz-appearance: textfield; */ + cursor: text; + margin: 2px 4px; + padding: 2px 2px 3px; + -moz-padding-start: 4px; + color: #E7ADE7; + border: 1px solid #9C9CFF; +} + +.textbox-search-icon { + width: 16px; + height: 16px; + background-image: url(chrome://global/skin/icons/search.png); + background-repeat: no-repeat; + display: block; +} + +.textbox-search-icon:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +.textbox-search-icon[searchbutton]:not([disabled]) { + cursor: pointer; +} + +.textbox-search-clear { + width: 16px; + height: 16px; + background-image: url(chrome://global/skin/icons/search.png); + background-repeat: no-repeat; + background-position: 0 -16px; +} + +.textbox-search-clear:not([disabled]) { + cursor: default; +} + +.textbox-search-icon:not([disabled]) { + cursor: text; +} +/* +.textbox-search-clear:not([disabled]):hover , +.textbox-search-icon:not([disabled]):hover { + background-position: -16px 0; +} + +.textbox-search-clear:not([disabled]):hover:active , +.textbox-search-icon:not([disabled]):hover:active { + background-position: -32px 0; +} +*/ +.client .item.tab > .item-title-container { + padding-inline-start: 26px; +} +.item.tab > .item-title-container { + padding-inline-start: 14px; +} + +.item-icon-container { + min-width: 16px; + max-width: 16px; + min-height: 16px; + max-height: 16px; + margin-right: 5px; + background-size: 16px 16px; + background-repeat: no-repeat; + background-position: center; +} + +.item-twisty-container { + background-size: contain; + background-repeat: no-repeat; + background-position: center; + padding-top: 5px; + width: 9px; /* The image's width is 9 pixels */ + height: 9px; +} + +.item.client .item-twisty-container { + background-image: url("chrome://global/skin/tree/twisty.svg#open"); +} + +.item.client.closed .item-twisty-container { + background-image: url("chrome://global/skin/tree/twisty.svg#clsd"); +} + +.item.client .item-twisty-container:hover { + background-image: url("chrome://global/skin/tree/twisty.svg#open-hover"); +} + +.item.client.closed .item-twisty-container:hover { + background-image: url("chrome://global/skin/tree/twisty.svg#clsd-hover"); +} + +.item.client .item-twisty-container:-moz-dir(rtl) { + background-image: url("chrome://global/skin/tree/twisty.svg#open-rtl"); +} + +.item.client.closed .item-twisty-container:-moz-dir(rtl) { + background-image: url("chrome://global/skin/tree/twisty.svg#clsd-rtl"); +} + +.item.client .item-twisty-container:hover:-moz-dir(rtl) { + background-image: url("chrome://global/skin/tree/twisty.svg#open-hover-rtl"); +} + +.item.client.closed .item-twisty-container:hover:-moz-dir(rtl) { + background-image: url("chrome://global/skin/tree/twisty.svg#clsd-hover-rtl"); +}