[IMP] * : add missing borders

Depending on Milk, this commit adds some missing borders.

Also adapts default `border-radius` to apply milk design.

task-2818586

Part-of: odoo/odoo#116641
This commit is contained in:
Brieuc-brd
2023-05-12 22:59:15 +02:00
committed by Pierre Paridans
parent 580db954fc
commit d17743e34e
5 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<div class="o_lunch_content d-flex flex-column h-100">
<LunchDashboard openOrderLine.bind="openOrderLine"/>
<div class="overflow-auto">
<div class="overflow-auto border-top border-bottom">
<t t-call="web.KanbanRenderer"/>
</div>
</div>
@@ -2,7 +2,7 @@
<templates xml:space="preserve">
<t t-name="mail.Discuss" owl="1">
<div class="o-mail-Discuss d-flex h-100 flex-grow-1" t-att-class="{ 'flex-column align-items-center bg-view': store.isSmall }" t-ref="root">
<div class="o-mail-Discuss d-flex h-100 flex-grow-1 border-top" t-att-class="{ 'flex-column align-items-center bg-view': store.isSmall }" t-ref="root">
<div t-if="store.isSmall and store.discuss.activeTab === 'mailbox'" class="w-100 border-bottom" t-call="mail.Discuss.mobileTopbar" t-ref="mobileTopbar"/>
<div t-if="thread and !(store.isSmall and ['chat', 'channel'].includes(store.discuss.activeTab))" class="o-mail-Discuss-content d-flex flex-column h-100 w-100 bg-view overflow-auto" t-ref="content">
<div class="o-mail-Discuss-header px-3 bg-100 border-bottom d-flex flex-shrink-0" style="height:42px;">
@@ -214,9 +214,9 @@ $o-card-body-bg-opacity: 0.9 !default;
// Border-radius
$o-border-radius: .25rem !default;
$o-border-radius-lg: .6rem !default;
$o-border-radius-sm: .2rem !default;
$o-border-radius: o-to-rem(4px) !default;
$o-border-radius-sm: o-to-rem(3px) !default;
$o-border-radius-lg: o-to-rem(6px) !default;
// touch
$o-touch-btn-padding: 7px 14px !default;
@@ -23,6 +23,10 @@
.o_search_panel {
width: var(--SearchPanel-width, #{$o-search-panel-width});
font-size: var(--SearchPanel-fontSize, #{$o-search-panel-font-size});
@include media-breakpoint-up(md) {
border-right: $border-width solid $border-color;
}
.o_search_panel_category_value,
.o_search_panel_filter_value input,
@@ -12,7 +12,8 @@
<div class="o_website_preview" t-ref="container"
t-att-class="{ 'editor_enable editor_has_snippets': this.websiteContext.snippetsLoaded,
'o_is_blocked': this.blockedState.isBlocked,
'o_is_mobile': this.websiteContext.isMobile }">
'o_is_mobile': this.websiteContext.isMobile,
'border-top': !this.websiteContext.snippetsLoaded }">
<BlockPreview t-if="this.blockedState.showLoader"/>
<div class="o_iframe_container">
<iframe t-if="!testMode"