mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Merge pull request #45818 from nextcloud/feat/add-new-clickable-area-variables
Feat: add new clickable area variables
This commit is contained in:
commit
018a0ae66f
2 changed files with 6 additions and 2 deletions
|
|
@ -60,7 +60,9 @@
|
|||
/* Border radius of interactive elements such as buttons, input, navigation and list items. Available since Nextcloud 30. */
|
||||
--border-radius-element: 8px;
|
||||
--border-radius-pill: 100px;
|
||||
--default-clickable-area: 44px;
|
||||
--default-clickable-area: 34px;
|
||||
--clickable-area-large: 48px;
|
||||
--clickable-area-small: 24px;
|
||||
--default-line-height: 24px;
|
||||
--default-grid-baseline: 4px;
|
||||
--header-height: 50px;
|
||||
|
|
|
|||
|
|
@ -172,7 +172,9 @@ class DefaultTheme implements ITheme {
|
|||
// pill-style button, value is large so big buttons also have correct roundness
|
||||
'--border-radius-pill' => '100px',
|
||||
|
||||
'--default-clickable-area' => '44px',
|
||||
'--default-clickable-area' => '34px',
|
||||
'--clickable-area-large' => '48px',
|
||||
'--clickable-area-small' => '24px',
|
||||
'--default-line-height' => '24px',
|
||||
'--default-grid-baseline' => '4px',
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue