Changeset 71920 in webkit


Ignore:
Timestamp:
Nov 12, 2010 9:30:51 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2010-11-12 Luiz Agostini <luiz.agostini@openbossa.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Button's background style from default Qt Mobile Theme is overriding facebook's button style
https://bugs.webkit.org/show_bug.cgi?id=48198

Instead of creating gradients that goes from white to grey and cover the whole element the gradients
are created by varying the alpha channel of a dark color. This way the effect will not override the
background color of the elements.

  • css/themeQtMobile.css:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r71918 r71920  
     12010-11-12  Luiz Agostini  <luiz.agostini@openbossa.org>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] Button's background style from default Qt Mobile Theme  is overriding facebook's button style
     6        https://bugs.webkit.org/show_bug.cgi?id=48198
     7
     8        Instead of creating gradients that goes from white to grey and cover the whole element the gradients
     9        are created by varying the alpha channel of a dark color. This way the effect will not override the
     10        background color of the elements.
     11
     12        * css/themeQtMobile.css:
     13
    1142010-11-12  Justin Schuh  <jschuh@chromium.org>
    215
  • trunk/WebCore/css/themeQtMobile.css

    r68889 r71920  
    3434    border: 1px solid gray;
    3535    -webkit-border-radius:5px;
    36     background: -webkit-gradient(linear, left bottom, left top, color-stop(0.0, #e5e5e5), color-stop(0.4, #ffffff));
     36    background: -webkit-gradient(linear, left bottom, left top, color-stop(0.0, rgba(0, 0, 0, 0.35)), color-stop(0.4, rgba(0, 0, 0, 0.0)));
     37    background-color: #ffffff;
    3738    color: #3e3e3e;
    3839}
     
    7778textarea {
    7879    border: 1px solid gray;
    79     background: -webkit-gradient(linear, left top, left 30, color-stop(0.0, #bfbfbf), color-stop(0.2, #ffffff));
     80    background: -webkit-gradient(linear, left top, left 30, color-stop(0.0, rgba(0, 0, 0, 0.35)), color-stop(0.2, rgba(0, 0, 0, 0.0)));
     81    background-color: #ffffff;
    8082    color: #3e3e3e;
    8183    -webkit-border-radius:5px;
     
    9496textarea:disabled {
    9597    border: 1px solid gray;
    96     background: -webkit-gradient(linear, left top, left 30, color-stop(0.0, #e5e5e5), color-stop(0.2, #ffffff));
     98    background: -webkit-gradient(linear, left top, left 30, color-stop(0.0, rgba(0, 0, 0, 0.3)), color-stop(0.2, rgba(0, 0, 0, 0.0)));
     99    background-color: #ffffff;
    97100    color: #e5e5e5;
    98101}
Note: See TracChangeset for help on using the changeset viewer.