Changeset 71920 in webkit
- Timestamp:
- Nov 12, 2010 9:30:51 AM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r71918 r71920 1 2010-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 1 14 2010-11-12 Justin Schuh <jschuh@chromium.org> 2 15 -
trunk/WebCore/css/themeQtMobile.css
r68889 r71920 34 34 border: 1px solid gray; 35 35 -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; 37 38 color: #3e3e3e; 38 39 } … … 77 78 textarea { 78 79 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; 80 82 color: #3e3e3e; 81 83 -webkit-border-radius:5px; … … 94 96 textarea:disabled { 95 97 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; 97 100 color: #e5e5e5; 98 101 }
Note: See TracChangeset
for help on using the changeset viewer.