Changeset 4904


Ignore:
Timestamp:
Apr 24, 2009, 1:24:17 PM (13 years ago)
Author:
Nicklas Nordborg
Message:

References #1271: Add extension points to all toolbars

Disabled buttons were not properly/visibly disabled.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/table/Button.java

    r4889 r4904  
    239239  public String getClazz()
    240240  {
    241     return clazz;
     241    return disabled ? clazz + " disabled": clazz;
    242242  }
    243243
  • trunk/www/include/styles/table.css

    r4894 r4904  
    6464}
    6565
    66 .itemlist .toolbar .button_disabled {
    67   background: #E0E0E0;
    68   border-top: 1px solid #FFFFFF;
    69   border-left: 1px solid #FFFFFF;
    70   border-bottom: 0px solid #999999;
    71   border-right: 1px solid #999999;
    72   padding: 3px;
     66.itemlist .toolbar .button.disabled {
     67  background: #E0E0E0;
    7368  color: #666666;
    7469  cursor: default;
  • trunk/www/include/styles/toolbar.css

    r4894 r4904  
    5555}
    5656
     57.toolbar .button.disabled {
     58  background: #E0E0E0;
     59  color: #666666;
     60  cursor: default;
     61}
     62
    5763.toolbar .label {
    5864  font-weight: bold;
     
    6470}
    6571
    66 .toolbar .button_disabled {
    67   background: #E0E0E0;
    68   border-top: 1px solid #FFFFFF;
    69   border-left: 1px solid #FFFFFF;
    70   border-bottom: 0px solid #999999;
    71   border-right: 1px solid #999999;
    72   padding: 3px;
    73   color: #666666;
    74   cursor: default;
    75 }
    76 
Note: See TracChangeset for help on using the changeset viewer.