/*
 * Copyright (C) 2011 Google Inc. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
 *
 *     * Redistributions of source code must retain the above copyright
 * notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above
 * copyright notice, this list of conditions and the following disclaimer
 * in the documentation and/or other materials provided with the
 * distribution.
 *     * Neither the name of Google Inc. nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

/* These styles override other user-agent styles for Chromium. */

::-webkit-validation-bubble {
    opacity: 1;
}

::-webkit-validation-bubble-message {
    background: white;
    border-color: #ccc #aaa #888;
    border-width: 1px;
    box-shadow: 2px 2px 4px rgba(100,100,100,0.3);
    max-width: 300px;
    top: -1px;
}

::-webkit-validation-bubble-arrow {
    background: white;
    border-color: #ccc;
    border-width: 1px;
    box-shadow: none;
}

::-webkit-validation-bubble-arrow-clipper {
    height: 13px;
}

::-webkit-validation-bubble-icon {
    /* The image was taken from http://src.chromium.org/viewvc/chrome/trunk/src/chrome/app/theme/update_available.png?revision=50754&view=markup */
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAACVklEQVQ4T6WRMWsUURSFv/t2ZjObZNUkREUFlYiIYGWl2Cj+AEs7wdZG0NpGwcJGxcpaWwWttbMQAmqRwoAEEiKohGTXdXdnZ+YeizebRAsbHzweXO4995zvmST+99izm+3EjOt7p+zhfDu0shQwgUAOKF4J5HVd8e10Bw8OXbp3J8mazKYN7h+fb7QOzxnNxs6glwVeFFhoYKGJ3GthQxLdtLx96NzV10mWWJo1ac+3oZWAezQyKks6xQx5coQk/05b38iaAXdAwgTTTUyj7rEQTAqmqhF2Wxa9zS7pqRssXHvH3otP2NjoURVCLrwCLwUVAEmQx+zuUUAuJFGOIEwdAWBi31EGfTHKHVzIHXdtM0u2wVVAJVSBrG7wEoCqGOIlVIXA4lI89sIuEeTILcaxKCoZAEJ1VHYc1AkQJDGCxaEq5pSJAJTDTQCK/iZVAVSCymqB2jUai9TFmg0Sk5MTdD4+5cv6JzqrSwSlBItO3PWXE9Uwq4BqJi4IIaXaWGZrZYkgY3ZfRiD+ihQXjZkEtvN5LLrARW+rx8TZm5y51+XglceMBoPIawy1nvtTpGYyFipHoMkDWNamMbtArwdloehg1wzCklG/TzqdNfAdYO7QmmyytfiUldUP/Fz7DJ6ACx9/MWMm2hMu3HrbIWQv8199ymEfzweU+YBEI/Z0lrHF52Tri8xNlViZ48Mc5Tk+yGnsP/HDWjMTJsm+fnx1uvf+0ZO5tHcmCRbGm/AdiNubEapKs2x2OH357pvm0fMvTFIKzAALwElgqpb41wmAgDVg8TfGt7U0pM19vgAAAABJRU5ErkJggg==');
    height: 17px;
    margin-right: 6px;
    width: 17px;
}

::-webkit-validation-bubble-heading {
    font-weight: normal;
}

::-webkit-validation-bubble-body {
    font-size: smaller;
    color: #444;
}

input:disabled, isindex:disabled, textarea:disabled {
    color: #545454; /* Color::light() for #000000. See RenderTextControl.cpp:disabledTextColor */
}

