From 2c8f3260bddf18fa87fddb6cf490b9ff7a9c071f Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Mon, 1 Dec 2008 01:32:00 +0100 Subject: [PATCH] even cleaner and fully working method of ensuring nice spacing in URLbar and go/search buttons with matching height --- LCARStrek/navigator/navigator.css | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/LCARStrek/navigator/navigator.css b/LCARStrek/navigator/navigator.css index 256d0ee6..5b698244 100644 --- a/LCARStrek/navigator/navigator.css +++ b/LCARStrek/navigator/navigator.css @@ -184,18 +184,18 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { -moz-padding-start: 1px; -moz-padding-end: 1px; min-width: 0px; - /*margin: 0px 4px; */ -moz-box-align: center; } #urlbar { -moz-border-radius: 5px; - /*outline: none; - border: 1px solid #9C9CFF; - background-color: #000000; */ margin: 0; -moz-margin-start: 3px; - padding: 1px 0; +} + +#urlbar > .autocomplete-textbox-container { + -moz-border-radius: 3px 0 0 3px; + padding: 2px; } #urlbar[level="high"] > .autocomplete-textbox-container, @@ -215,7 +215,7 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { #page-proxy-deck { cursor: -moz-grab; - margin: 1px 1px 1px 2px; + margin: 0; } #page-proxy-button { @@ -287,6 +287,13 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { background-color: #FFCF00; } +/* care that those buttons base on the same min height of 16px that the urlbar + autocomplete box gets through site icon and urlbar icons at the right */ +#search-button > .button-box , +#go-button > .button-box { + min-height: 16px; +} + #search-button { /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ font-weight: bold; @@ -401,10 +408,6 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { -moz-image-region: rect(48px 32px 64px 16px); } -#urlbar-icons { - -moz-margin-end: 2px; -} - toolbar[iconsize="small"] > #back-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); -moz-image-region: rect(32px 16px 48px 0); -- 2.43.0