Changeset 68393 in webkit


Ignore:
Timestamp:
Sep 27, 2010 8:56:51 AM (14 years ago)
Author:
diegohcg@webkit.org
Message:

2010-09-27 Ragner Magalhaes <ragner.magalhaes@openbossa.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] New input style for Qt Mobile theme
https://bugs.webkit.org/show_bug.cgi?id=46461

Rename themeQtMaemo5.css to themeQtMobile.css since it is the theme for all Qt mobile platform.
Adjust new input style.

  • WebCore.pri:
  • css/themeQtMobile.css: Renamed from css/themeQtMaemo5.css (select): (select:disabled): (select:active): (select:active:disabled): (textarea): (textarea:disabled): (textarea:active):
  • platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::extraDefaultStyleSheet): Renamed themeQtMaemo5UserAgentStyleSheet to themeQtMobileUserAgentStyleSheet to match renamed file.
Location:
trunk/WebCore
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r68390 r68393  
     12010-09-27  Ragner Magalhaes  <ragner.magalhaes@openbossa.org>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] New input style for Qt Mobile theme
     6        https://bugs.webkit.org/show_bug.cgi?id=46461
     7
     8        Rename themeQtMaemo5.css to themeQtMobile.css since it is the theme for all Qt mobile platform.
     9        Adjust new input style.
     10
     11        * WebCore.pri:
     12        * css/themeQtMobile.css: Renamed from css/themeQtMaemo5.css
     13        (select):
     14        (select:disabled):
     15        (select:active):
     16        (select:active:disabled):
     17        (textarea):
     18        (textarea:disabled):
     19        (textarea:active):
     20        * platform/qt/RenderThemeQt.cpp:
     21        (WebCore::RenderThemeQt::extraDefaultStyleSheet): Renamed themeQtMaemo5UserAgentStyleSheet to themeQtMobileUserAgentStyleSheet to match renamed file.
     22
    1232010-09-27  Girish Ramakrishnan  <girish@forwardbias.in>
    224
  • trunk/WebCore/WebCore.pri

    r67898 r68393  
    6262    $$PWD/css/mediaControlsQt.css \
    6363    $$PWD/css/themeQtNoListboxes.css \
    64     $$PWD/css/themeQtMaemo5.css
     64    $$PWD/css/themeQtMobile.css
    6565
    6666v8 {
  • trunk/WebCore/css/themeQtMobile.css

    r68392 r68393  
    6868input[type="password"],
    6969input[type="email"],
     70input[type="tel"],
    7071input[type="color"],
    7172input[type="search"],
     
    7475input[type="url"],
    7576textarea {
    76     border: 1px solid black;
     77    border: 1px solid gray;
     78    background: -webkit-gradient(linear, left top, left 30, color-stop(0.0, #bfbfbf), color-stop(0.2, #ffffff));
     79    color: #3e3e3e;
     80    -webkit-border-radius:5px;
    7781}
    7882
     
    8185input[type="password"]:disabled,
    8286input[type="email"]:disabled,
     87input[type="tel"]:disabled,
    8388input[type="color"]:disabled,
    8489input[type="search"]:disabled,
     
    8792input[type="url"]:disabled,
    8893textarea:disabled {
    89     border: 1px solid grey;
    90     background-color:ButtonHighlight;
     94    border: 1px solid gray;
     95    background: -webkit-gradient(linear, left top, left 30, color-stop(0.0, #e5e5e5), color-stop(0.2, #ffffff));
     96    color: #e5e5e5;
    9197}
    9298
     
    95101input[type="password"]:active,
    96102input[type="email"]:active,
     103input[type="tel"]:active,
    97104input[type="color"]:active,
    98105input[type="search"]:active,
     
    101108input[type="url"]:active,
    102109textarea:active {
    103     background-color:ButtonShadow;
     110    background: ButtonShadow;
    104111}
  • trunk/WebCore/platform/qt/RenderThemeQt.cpp

    r67531 r68393  
    220220#endif
    221221#if USE(QT_MOBILE_THEME)
    222     result += String(themeQtMaemo5UserAgentStyleSheet, sizeof(themeQtMaemo5UserAgentStyleSheet));
     222    result += String(themeQtMobileUserAgentStyleSheet, sizeof(themeQtMobileUserAgentStyleSheet));
    223223#endif
    224224    return result;
Note: See TracChangeset for help on using the changeset viewer.