Commit b0f99ad3 authored by csilv@chromium.org's avatar csilv@chromium.org

[uber page] Fix font-family for button and select elements on uber pages.

BUG=112360
TEST=Manual.
Review URL: https://chromiumcodereview.appspot.com/9307039

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120136 0039d316-1c4b-4281-b951-d872f2087c98
parent 3b18fe66
...@@ -100,12 +100,13 @@ html[dir="rtl"] .search-field-container { ...@@ -100,12 +100,13 @@ html[dir="rtl"] .search-field-container {
right: auto; right: auto;
} }
/* TODO(csilv): M19 Move this styling to a shared location for all webui. */
#search-field { #search-field {
-webkit-appearance: none; -webkit-appearance: none;
-webkit-margin-end: 18px; -webkit-margin-end: 18px;
border: 1px solid rgba(0, 0, 0, 0.25); border: 1px solid rgba(0, 0, 0, 0.25);
border-radius: 2px; border-radius: 2px;
font: normal 12px 'Open Sans'; font: inherit;
margin: 0; margin: 0;
/* NOTE: Keep a relatively high min-width for this so we don't obscure the end /* NOTE: Keep a relatively high min-width for this so we don't obscure the end
* of the default text in relatively spacious languages (i.e. German). */ * of the default text in relatively spacious languages (i.e. German). */
......
...@@ -12,7 +12,9 @@ input[type='submit']:not(.custom-appearance) { ...@@ -12,7 +12,9 @@ input[type='submit']:not(.custom-appearance) {
background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5);
border: 1px solid #aaa; border: 1px solid #aaa;
color: #444; color: #444;
font-size: inherit; /* Input elements have -webkit-small-control which can override the body font.
* Resolve this by using 'inherit'. */
font: inherit;
margin-bottom: 0; margin-bottom: 0;
min-width: 4em; min-width: 4em;
padding: 3px 12px; padding: 3px 12px;
...@@ -79,9 +81,6 @@ input[type='search']:not(.custom-appearance):focus { ...@@ -79,9 +81,6 @@ input[type='search']:not(.custom-appearance):focus {
border: none !important; border: none !important;
color: rgb(17, 85, 204) !important; color: rgb(17, 85, 204) !important;
cursor: pointer; cursor: pointer;
/* Input elements have -webkit-small-control which overrides the body font.
* Resolve this by using 'inherit'. */
font-family: inherit;
margin: 0; margin: 0;
padding: 0 4px !important; padding: 0 4px !important;
} }
......
/* Copyright (c) 2011 The Chromium Authors. All rights reserved. /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be * Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. * found in the LICENSE file.
*
* This is the generic select css used on various WebUI implementations.
*/ */
select { select {
...@@ -18,7 +16,7 @@ select { ...@@ -18,7 +16,7 @@ select {
background-repeat: no-repeat; background-repeat: no-repeat;
border: 1px solid #aaa; border: 1px solid #aaa;
color: #555; color: #555;
font-size: inherit; font: inherit;
margin: 0; margin: 0;
overflow: hidden; overflow: hidden;
padding-top: 2px; padding-top: 2px;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment