mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Calendar: Use Et2SwitchIcon for weekend toggle for mobile
This commit is contained in:
parent
18ca5a6e51
commit
0d401c2e6d
@ -149,6 +149,7 @@ export class Et2SwitchIcon extends Et2InputWidget(LitElement)
|
|||||||
{
|
{
|
||||||
return html`
|
return html`
|
||||||
<sl-switch
|
<sl-switch
|
||||||
|
part="switch"
|
||||||
exportparts="base:switch-label"
|
exportparts="base:switch-label"
|
||||||
.label=${this.label}
|
.label=${this.label}
|
||||||
.value=${live(this.value)}
|
.value=${live(this.value)}
|
||||||
|
@ -2762,6 +2762,15 @@ div.et2_toolbar.ui-widget-header {
|
|||||||
height: 18px;
|
height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.et2_toolbar .ui-toolbar-menulist et2-switch-icon::part(switch-label),
|
||||||
|
.et2_toolbar .ui-toolbar-menulist et2-switch-icon::part(switch) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.et2_toolbar .ui-toolbar-menulist et2-switch-icon::part(control) {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
}
|
||||||
et2-button.transparent-button {
|
et2-button.transparent-button {
|
||||||
border: none;
|
border: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
@ -428,7 +428,6 @@ class calendar_uiviews extends calendar_ui
|
|||||||
$actions[$key]['toolbarDefault'] = true;
|
$actions[$key]['toolbarDefault'] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$actions['weekend']['data'] = array('toggle_off' => '7', 'toggle_on' => '5');
|
|
||||||
unset($actions['pgp']);
|
unset($actions['pgp']);
|
||||||
}
|
}
|
||||||
return $actions;
|
return $actions;
|
||||||
|
Loading…
Reference in New Issue
Block a user