Bug 512461: Theme the fennec search fields, r=gavin

This commit is contained in:
Mark Finkle 2009-09-09 23:48:20 -04:00
parent af56472f2a
commit 5316e57922
10 changed files with 39 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

View File

@ -86,6 +86,8 @@ chrome.jar:
images/check-30.png (images/check-30.png)
images/fullscreen-close-40.png (images/fullscreen-close-40.png)
images/fullscreen-up-40.png (images/fullscreen-up-40.png)
images/search-glass-30.png (images/search-glass-30.png)
images/search-clear-30.png (images/search-clear-30.png)
images/section-expanded-16.png (images/section-expanded-16.png)
images/section-collapsed-16.png (images/section-collapsed-16.png)
images/geo-16.png (images/geo-16.png)

View File

@ -355,3 +355,12 @@ colorpicker > panel {
colorpicker > vbox {
background-color: #36373b;
}
/* textbox ----------------------------------------------------------------- */
.textbox-search-icon {
list-style-image: url("chrome://browser/skin/images/search-glass-30.png");
}
.textbox-search-clear {
list-style-image: url("chrome://browser/skin/images/search-clear-30.png");
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

View File

@ -66,6 +66,8 @@ chrome.jar:
images/check-30.png (images/check-30.png)
images/fullscreen-close-40.png (images/fullscreen-close-40.png)
images/fullscreen-up-40.png (images/fullscreen-up-40.png)
images/search-glass-30.png (images/search-glass-30.png)
images/search-clear-30.png (images/search-clear-30.png)
images/section-expanded-16.png (images/section-expanded-16.png)
images/section-collapsed-16.png (images/section-collapsed-16.png)
images/geo-16.png (images/geo-16.png)
@ -162,3 +164,5 @@ chrome.jar:
images/buttondark-active-36.png (images/buttondark-active-36.png)
images/toolbarbutton-default-36.png (images/toolbarbutton-default-36.png)
images/toolbarbutton-active-36.png (images/toolbarbutton-active-36.png)
images/search-glass-16.png (images/search-glass-16.png)
images/search-clear-16.png (images/search-clear-16.png)

View File

@ -503,3 +503,27 @@ colorpicker > panel {
colorpicker > vbox {
background-color: #36373b;
}
/* textbox ----------------------------------------------------------------- */
/* high-res screens */
@media all and (min-device-width: 401px) {
.textbox-search-icon {
list-style-image: url("chrome://browser/skin/images/search-glass-30.png");
}
.textbox-search-clear {
list-style-image: url("chrome://browser/skin/images/search-clear-30.png");
}
}
/* low-res screens */
@media all and (max-device-width: 400px) {
.textbox-search-icon {
list-style-image: url("chrome://browser/skin/images/search-glass-16.png");
}
.textbox-search-clear {
list-style-image: url("chrome://browser/skin/images/search-clear-16.png");
}
}