[IMP] odoo_theme: design improvements
Revamp of the side menu;
Round all borders for consistency with the buttons;
Improve .sig-* and .o_code elements;
Improve sphinx-tabs hover effect;
task-3046383
closes odoo/documentation#4113
X-original-commit: 3056c7b62d
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
committed by
Antoine Vandevenne (anv)
parent
5e421c692f
commit
bee4b04ca3
@@ -64,19 +64,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
@mixin o-content-tab-selected {
|
||||
font-weight: $font-weight-bolder;
|
||||
border-bottom: 1px solid $white;
|
||||
border-left: 1px solid $o-gray-border;
|
||||
border-right: 1px solid $o-gray-border;
|
||||
background: $white;
|
||||
}
|
||||
|
||||
@mixin o-code {
|
||||
display: inline-block;
|
||||
overflow-wrap: anywhere;
|
||||
background: $o-literals-bg;
|
||||
font-size: 0.875rem;
|
||||
font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
|
||||
font-weight: inherit;
|
||||
color: inherit;
|
||||
|
||||
@@ -136,7 +136,7 @@ $o-codecol-width: 43%;
|
||||
// Paddings and margins
|
||||
$o-padding-xs: .5rem;
|
||||
$o-padding-s: 1rem;
|
||||
$o-padding-m: 2rem;
|
||||
$o-padding-m: 1.5rem;
|
||||
$o-padding-l: 3rem;
|
||||
$o-margin-s: $o-padding-s;
|
||||
$o-margin-m: $o-padding-m;
|
||||
|
||||
Reference in New Issue
Block a user