[FIX] odoo_theme: fix CSS issues and warnings

closes odoo/documentation#1715

X-original-commit: cb7a41b75b
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Antoine Vandevenne (anv) 2022-03-18 11:30:56 +00:00
parent e4b94e9d46
commit 04cae556ea
3 changed files with 4 additions and 11 deletions

View File

@ -77,6 +77,6 @@ $(HTML_BUILD_DIR)/_static/style.css: extensions/odoo_theme/static/style.scss ext
fast: SPHINXOPTS += -A collapse_menu=True fast: SPHINXOPTS += -A collapse_menu=True
fast: html fast: html
static: $(HTML_BUILD_DIR)/static/style.css static: $(HTML_BUILD_DIR)/_static/style.css
cp -r extensions/odoo_theme/static/* $(HTML_BUILD_DIR)/_static/ cp -r extensions/odoo_theme/static/* $(HTML_BUILD_DIR)/_static/
cp -r static/* $(HTML_BUILD_DIR)/_static/ cp -r static/* $(HTML_BUILD_DIR)/_static/

View File

@ -249,7 +249,6 @@ $website-2x-prefix: "2x_";
$o-ease: cubic-bezier(.55,0,.1,1); $o-ease: cubic-bezier(.55,0,.1,1);
// Paddings and margins // Paddings and margins
$padding-xs: .5rem; $padding-xs: .5rem;
$padding-s: 1rem; $padding-s: 1rem;
$padding-m: 2rem; $padding-m: 2rem;

View File

@ -277,8 +277,6 @@ header.o_main_header {
} }
} }
scrollbar-width: thin;
scrollbar-color: $o-violet-darker transparent;
&::-webkit-scrollbar { &::-webkit-scrollbar {
width: 5px; width: 5px;
@ -521,7 +519,7 @@ header.o_main_header {
} }
.o_git_link { .o_git_link {
right: calc(#{$o-codecol-width} + $padding-l); right: calc(#{$o-codecol-width} + #{$padding-l});
} }
section { section {
@ -723,7 +721,7 @@ header.o_main_header {
&:after { &:after {
content: '#{$i-link}'; content: '#{$i-link}';
font-family: icomoon !important; font-family: icomoon, sans-serif !important;
@include font-size($font-size-base); @include font-size($font-size-base);
margin: 0 0 0 .3rem; margin: 0 0 0 .3rem;
visibility: hidden; visibility: hidden;
@ -758,7 +756,7 @@ header.o_main_header {
margin: 1px 0 24px 0; margin: 1px 0 24px 0;
div[class^="highlight"] { div[class^="highlight"] {
padding: 0px; padding: 0;
border: none; border: none;
margin: 0; margin: 0;
} }
@ -959,10 +957,6 @@ header.o_main_header {
&.alert-go_to { &.alert-go_to {
border-color: $o-violet; border-color: $o-violet;
background-color: $gray-lightest; background-color: $gray-lightest;
@include media-breakpoint-up(lg){
display: inline-block;
width: calc(50% - 1rem);
}
a { a {
color: $o-violet-dark; color: $o-violet-dark;