From: Rob G. <svn...@pl...> - 2009-01-31 17:36:20
|
Author: robgietema Date: Sat Jan 31 17:36:12 2009 New Revision: 24798 Modified: sandbox/plone4uidemo/trunk/css/deco.css sandbox/plone4uidemo/trunk/css/themes/base/ui.dialog.css sandbox/plone4uidemo/trunk/css/themes/base/ui.theme.css sandbox/plone4uidemo/trunk/index.html sandbox/plone4uidemo/trunk/js/deco.toolbar.js Log: Minor style updates. Modified: sandbox/plone4uidemo/trunk/css/deco.css ============================================================================== --- sandbox/plone4uidemo/trunk/css/deco.css (original) +++ sandbox/plone4uidemo/trunk/css/deco.css Sat Jan 31 17:36:12 2009 @@ -962,4 +962,23 @@ margin-left: 18px; } +.deco-text-button:hover { + background-color:#666 !important; +} +.deco-text-button { + cursor: pointer; +-moz-border-radius-bottomleft:1em; +-moz-border-radius-bottomright:1em; +-moz-border-radius-topleft:1em; +-moz-border-radius-topright:1em; +background-color:#AAA !important; +border-style:none; +color:white !important; +cursor:pointer; +font-size:0.9em; +line-height:1.4em; +margin-right:0px; +margin-top: 3px; +padding:1px 20px; +} /* @end */ Modified: sandbox/plone4uidemo/trunk/css/themes/base/ui.dialog.css ============================================================================== --- sandbox/plone4uidemo/trunk/css/themes/base/ui.dialog.css (original) +++ sandbox/plone4uidemo/trunk/css/themes/base/ui.dialog.css Sat Jan 31 17:36:12 2009 @@ -29,7 +29,7 @@ border-style:none; color:white !important; cursor:pointer; -font-size:1em; +font-size:0.9em; line-height:1.8em; margin-right:10px; padding:1px 20px; Modified: sandbox/plone4uidemo/trunk/css/themes/base/ui.theme.css ============================================================================== --- sandbox/plone4uidemo/trunk/css/themes/base/ui.theme.css (original) +++ sandbox/plone4uidemo/trunk/css/themes/base/ui.theme.css Sat Jan 31 17:36:12 2009 @@ -17,7 +17,7 @@ /* Interaction states ----------------------------------*/ -.ui-state-default, .ui-widget-content .ui-state-default { background: #e6e6e6/*{bgColorDefault}*/ 0/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; outline: none; } +.ui-state-default, .ui-widget-content .ui-state-default { background: #e7e7e7/*{bgColorDefault}*/ 0/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; outline: none; } .ui-state-default a { color: #555555/*{fcDefault}*/; text-decoration: none; outline: none; } .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { background: #dadada/*{bgColorHover}*/ 0/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #000/*{fcHover}*/; outline: none; } .ui-state-hover a { color: #000/*{fcHover}*/; text-decoration: none; outline: none; } Modified: sandbox/plone4uidemo/trunk/index.html ============================================================================== --- sandbox/plone4uidemo/trunk/index.html (original) +++ sandbox/plone4uidemo/trunk/index.html Sat Jan 31 17:36:12 2009 @@ -103,7 +103,7 @@ </select> </span> <span class="deco-toolbar-group deco-toolbar-group-edit" title="Edit"> - <input type="button" class="deco-button-edit" value="Edit" title="Edit" style="display: inline;"/> + <input type="button" class="deco-button-edit deco-text-button" value="Edit" title="Edit" style="display: inline;"/> </span> </div> </div> Modified: sandbox/plone4uidemo/trunk/js/deco.toolbar.js ============================================================================== --- sandbox/plone4uidemo/trunk/js/deco.toolbar.js (original) +++ sandbox/plone4uidemo/trunk/js/deco.toolbar.js Sat Jan 31 17:36:12 2009 @@ -204,6 +204,7 @@ "type": "button", "value": "Page properties" }) + .addClass("deco-text-button") // On click open dialog .click(function() { |