[IMP] web: increase $border-radius-lg value
Before this commit, the gap between `$border-radius` and `$border-radius-lg` was too small and couldn't be differentiated easily. After this commit, the value of `$border-radius-lg` is higher and can be used for elements that need larger rounded corners (e.g. Discuss components). enterprise: https://github.com/odoo/enterprise/pull/25737 task-2810274 closes odoo/odoo#87521 Related: odoo/enterprise#25737 Signed-off-by: Pierre Paridans (app) <app@odoo.com>
This commit is contained in:
+12
-1
@@ -64,7 +64,8 @@ $grid-gutter-width: $o-horizontal-padding * 2 !default;
|
||||
//
|
||||
// Define common padding and border radius sizes and more.
|
||||
|
||||
$border-radius: 3px !default;
|
||||
$border-radius: $o-border-radius !default;
|
||||
$border-radius-lg: $o-border-radius-lg !default;
|
||||
$border-color: $o-gray-300 !default;
|
||||
|
||||
$component-active-color: $o-brand-primary !default;
|
||||
@@ -98,6 +99,10 @@ $table-accent-bg: rgba($black, .01) !default;
|
||||
$table-hover-bg: rgba($black, .04) !default;
|
||||
$table-border-color: $gray-200 !default;
|
||||
|
||||
// Buttons
|
||||
//
|
||||
$btn-border-radius-lg: $border-radius !default;
|
||||
|
||||
// Dropdowns
|
||||
//
|
||||
// Dropdown menu container and contents.
|
||||
@@ -151,6 +156,10 @@ $nav-pills-border-radius: 0 !default;
|
||||
$nav-pills-link-active-color: $white !default;
|
||||
$nav-pills-link-active-bg: $o-brand-primary !default;
|
||||
|
||||
// Popovers
|
||||
|
||||
$popover-border-radius: $border-radius !default;
|
||||
|
||||
// Toasts
|
||||
|
||||
$toast-max-width: 320px !default;
|
||||
@@ -168,6 +177,8 @@ $modal-inner-padding: $o-horizontal-padding !default;
|
||||
$modal-lg: $o-modal-lg !default;
|
||||
$modal-md: $o-modal-md !default;
|
||||
|
||||
$modal-content-border-radius: $border-radius !default;
|
||||
|
||||
// Breadcrumbs
|
||||
|
||||
$breadcrumb-padding-y: 0 !default;
|
||||
|
||||
@@ -167,3 +167,9 @@ $o-kanban-dashboard-dropdown-complex-gap: 5px !default;
|
||||
// Form view
|
||||
|
||||
$o-form-view-sheet-max-width: 1140px !default;
|
||||
|
||||
// Border-radius
|
||||
|
||||
$o-border-radius: .25rem !default;
|
||||
$o-border-radius-lg: .6rem !default;
|
||||
$o-border-radius-sm: .2rem !default;
|
||||
|
||||
Reference in New Issue
Block a user