-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
52 additions
and
43 deletions.
There are no files selected for viewing
83 changes: 40 additions & 43 deletions
83
...standalone/coffee-warehouse/src/app/components/settings-list/settings-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,51 @@ | ||
<kendo-combobox | ||
[data]="disabilitiesData" | ||
textField="text" | ||
valueField="text"></kendo-combobox> | ||
valueField="text" class="k-mb-4 !k-w-full"></kendo-combobox> | ||
|
||
<kendo-expansionpanel title="Accessibility settings" [(expanded)]="settingsExpanded"> | ||
<form class="k-form k-form-md"> | ||
<fieldset> | ||
<legend>Accessibility Settings</legend> | ||
<kendo-formfield> | ||
<kendo-label text="Text size:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('textSize', $event)" [value]="textSize"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-label text="Color theme:"></kendo-label> | ||
<kendo-buttongroup selection="single"> | ||
<kendo-button size="large" (click)="settingChange('colorTheme', 'contrast')" [selected]="colorTheme === 'contrast'">Contrast</kendo-button> | ||
<kendo-button size="large" (click)="settingChange('colorTheme', 'dark')" [selected]="colorTheme === 'dark'">Dark</kendo-button> | ||
</kendo-buttongroup> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-label text="Text size:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('textSize', $event)" [value]="textSize"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-label text="Color theme:"></kendo-label> | ||
<kendo-buttongroup selection="single"> | ||
<kendo-button size="large" (click)="settingChange('colorTheme', 'contrast')" [selected]="colorTheme === 'contrast'">Contrast</kendo-button> | ||
<kendo-button size="large" (click)="settingChange('colorTheme', 'dark')" [selected]="colorTheme === 'dark'">Dark</kendo-button> | ||
</kendo-buttongroup> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-label text="Font:"></kendo-label> | ||
<kendo-buttongroup selection="single"> | ||
<kendo-button size="large" (click)="settingChange('font', 'legible')" [selected]="font === 'legible'">Legible Font</kendo-button> | ||
<kendo-button size="large" (click)="settingChange('font', 'dyslexia')" [selected]="font === 'dyslexia'">Dyslexia Font</kendo-button> | ||
</kendo-buttongroup> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-label text="Font:"></kendo-label> | ||
<kendo-buttongroup selection="single"> | ||
<kendo-button size="large" (click)="settingChange('font', 'legible')" [selected]="font === 'legible'">Legible Font</kendo-button> | ||
<kendo-button size="large" (click)="settingChange('font', 'dyslexia')" [selected]="font === 'dyslexia'">Dyslexia Font</kendo-button> | ||
</kendo-buttongroup> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-label text="Common:"></kendo-label> | ||
<kendo-button size="large" [toggleable]="true" (selectedChange)="settingChange('underlineLinks', $event)" [selected]="underlineLinks">Underiline Links</kendo-button> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-button size="large" [toggleable]="true" (selectedChange)="settingChange('pauseAnimations', $event)" [selected]="pauseAnimations">Pause Animation</kendo-button> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-button size="large" [toggleable]="true" (selectedChange)="settingChange('lgSizeWidgets', $event)" [selected]="lgSizeWidgets">Large Size Widgets</kendo-button> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-label text="Common:"></kendo-label> | ||
<kendo-button size="large" [toggleable]="true" (selectedChange)="settingChange('underlineLinks', $event)" [selected]="underlineLinks">Underiline Links</kendo-button> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-label text="Line Height:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('lineHeight', $event)" [value]="lineHeight"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-label text="Letter Spacing:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('letterSpacing', $event)" [value]="letterSpacing"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
</fieldset> | ||
<kendo-formfield> | ||
<kendo-button size="large" [toggleable]="true" (selectedChange)="settingChange('pauseAnimations', $event)" [selected]="pauseAnimations">Pause Animation</kendo-button> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-button size="large" [toggleable]="true" (selectedChange)="settingChange('lgSizeWidgets', $event)" [selected]="lgSizeWidgets">Large Size Widgets</kendo-button> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-label text="Line Height:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('lineHeight', $event)" [value]="lineHeight"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-label text="Letter Spacing:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('letterSpacing', $event)" [value]="letterSpacing"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
</form> | ||
</kendo-expansionpanel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters