Fix some glitches in ACL table display
| | |
| | | // ACL table initialization |
| | | rcube_webmail.prototype.acl_list_init = function() |
| | | { |
| | | $('#acl-switch')[this.env.acl_advanced ? 'addClass' : 'removeClass']('selected'); |
| | | var method = this.env.acl_advanced ? 'addClass' : 'removeClass'; |
| | | $('#acl-switch')[method]('selected'); |
| | | $(this.gui_objects.acltable)[method]('advanced'); |
| | | |
| | | this.acl_list = new rcube_list_widget(this.gui_objects.acltable, |
| | | {multiselect:true, draggable:false, keyboard:true, toggleselect:true}); |
| | |
| | | $labels['sharing'] = 'Sharing'; |
| | | $labels['myrights'] = 'Access Rights'; |
| | | $labels['username'] = 'User:'; |
| | | $labels['advanced'] = 'advanced mode'; |
| | | $labels['advanced'] = 'Advanced mode'; |
| | | $labels['newuser'] = 'Add entry'; |
| | | $labels['actions'] = 'Access right actions...'; |
| | | $labels['anyone'] = 'All users (anyone)'; |
| | |
| | | border-left: #BBD3DA dotted 1px; |
| | | font-size: 11px; |
| | | font-weight: bold; |
| | | width: auto; |
| | | } |
| | | |
| | | #acltable tbody td |
| | | { |
| | | border-bottom: #DDDDDD 1px solid; |
| | | text-align: center; |
| | | padding: 2px; |
| | | height: 16px; |
| | | cursor: default; |
| | | } |
| | | |
| | | #acltable thead td.user |
| | | { |
| | | border-left: none; |
| | | width: 30%; |
| | | } |
| | | |
| | | #acltable.advanced thead td.user { |
| | | width: 25%; |
| | | } |
| | | |
| | | #acltable tbody td.user |
| | |
| | | text-overflow: ellipsis; |
| | | -o-text-overflow: ellipsis; |
| | | border-left: none; |
| | | width: 50px; |
| | | } |
| | | |
| | | #acltable tbody td.partial |
| | |
| | | <li><roundcube:button command="acl-edit" label="edit" class="icon" classAct="icon active" innerclass="icon edit" /></li> |
| | | <li><roundcube:button command="acl-delete" label="delete" class="icon" classAct="icon active" innerclass="icon delete" /></li> |
| | | <roundcube:if condition="!in_array('acl_advanced_mode', (array)config:dont_override)" /> |
| | | <li><roundcube:button name="acl-switch" id="acl-switch" label="acl.advanced" onclick="rcmail.command('acl-mode-switch')" class="active" /></li> |
| | | <li><roundcube:button name="acl-switch" id="acl-switch" label="acl.advanced" onclick="rcmail.command('acl-mode-switch');return false" class="active" /></li> |
| | | <roundcube:endif /> |
| | | </ul> |
| | | </div> |
| | |
| | | |
| | | .records-table tr.unfocused td { |
| | | color: #fff !important; |
| | | background: #4db0d2 !important; |
| | | background-color: #4db0d2 !important; |
| | | } |
| | | |
| | | .records-table tr.unfocused td a, |