X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fsearchbar.css;h=ee833eb100c0787ac76868b5a9d15c1afd81fd80;hp=a7c3127bde6526bcf1c3415b9598a51619a81fb3;hb=58036cb8df01894560483ebc2abd3115258e8a90;hpb=759fdd424b9de78a5576f76223420184cb489964 diff --git a/LCARStrek/browser/searchbar.css b/LCARStrek/browser/searchbar.css index a7c3127b..ee833eb1 100644 --- a/LCARStrek/browser/searchbar.css +++ b/LCARStrek/browser/searchbar.css @@ -82,3 +82,172 @@ .searchbar-engine-menuitem[selected="true"] > .menu-iconic-text { font-weight: bold; } + + +.searchbar-search-button-container { + -moz-box-align: center; + padding: 3px 4px; + -moz-padding-end: 2px; +} + +.searchbar-search-button { + list-style-image: url("chrome://browser/skin/search-indicator.png"); + -moz-image-region: rect(0, 20px, 20px, 0); + margin: -2px -2px; +} + +.searchbar-search-button:hover, +.searchbar-search-button:hover:active { + -moz-image-region: rect(0, 40px, 20px, 20px); +} + +searchbar[oneoffui] .search-go-button { + list-style-image: url("chrome://browser/skin/reload-stop-go.png"); + -moz-image-region: rect(0, 42px, 14px, 28px); +} + +searchbar[oneoffui] .search-go-button:hover { + -moz-image-region: rect(14px, 42px, 28px, 28px); +} + +searchbar[oneoffui] .search-go-button:hover:active { + -moz-image-region: rect(28px, 42px, 42px, 28px); +} + +searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + + +.search-panel-current-engine { + border-top: none !important; + border-bottom: 1px solid #9C9CFF; + -moz-box-align: center; +} + +.search-panel-header { + font-weight: normal; + background-color: #A09090; + border-top: 1px solid #9C9CFF; + margin: 0; + padding: 3px 6px; + color: #000000; +} + +.search-panel-current-input > label { + margin: 0 0 !important; +} + +.search-panel-input-value { + color: black; +} + +.search-panel-one-offs { + margin: 0 0 !important; + border-top: 1px solid #9C9CFF; +} + +.searchbar-engine-one-off-item { + -moz-appearance: none; + display: inline-block; + border: none; + min-width: 48px; + height: 32px; + margin: 0 0; + padding: 0 0; + background: none; + background-image: url('chrome://browser/skin/search-oneoff-bg-border.png'); + background-repeat: no-repeat; + background-position: right center; +} + +.searchbar-engine-one-off-item:not(.last-row) { + box-sizing: padding-box; + border-bottom: 1px solid #9C9CFF; +} + +.searchbar-engine-one-off-item.last-of-row { + background-image: none; +} + +.searchbar-engine-one-off-item:hover:not(.dummy), +.searchbar-engine-one-off-item[selected] { + background-color: #008484; + background-image: none; +} + +.searchbar-engine-one-off-item > .button-box { + border: none; + padding: 0 0; +} + +.searchbar-engine-one-off-item > .button-box > .button-text { + display: none; +} + +.searchbar-engine-one-off-item > .button-box > .button-icon { + width: 16px; + height: 16px; +} + +.addengine-item { + -moz-appearance: none; + border: none; + height: 32px; + margin: 0 0; + padding: 0 10px; +} + +.addengine-item > .button-box { + -moz-box-pack: start; +} + +.addengine-item:first-of-type { + border-top: 1px solid #9C9CFF; +} + +.addengine-item:hover { + background-color: #FFCF00; + color: #000000; +} + +.addengine-item > .button-box > .button-icon { + width: 16px; +} + +.addengine-item > .button-box > .button-text { + -moz-box-flex: 1; + text-align: start; + -moz-padding-start: 10px; +} + +.addengine-item:not([image]) { + list-style-image: url("chrome://browser/skin/search-engine-placeholder.png"); +} + +searchbar[oneoffui] .searchbar-engine-button { + display: none; +} + +.search-panel-tree > .autocomplete-treebody::-moz-tree-cell { + -moz-padding-start: 15px; + border-top: none !important; +} + +searchbar[oneoffui] .searchbar-engine-image { + -moz-margin-start: -1px; +} + +.search-setting-button { + -moz-appearance: none; + border-bottom: none; + border-left: none; + border-right: none; + -moz-border-top-colors: none; + min-height: 32px; +} + +.search-setting-button:hover { + background-color: #FFCF00; + border-top-color: #9C9CFF; +}