Skip to content

Commit aee39ed

Browse files
committed
[FIX] odoo_theme: fix CSS issues and warnings
closes #1713 X-original-commit: cb7a41b Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
1 parent 112b6c1 commit aee39ed

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ $(HTML_BUILD_DIR)/_static/style.css: extensions/odoo_theme/static/style.scss ext
7777
fast: SPHINXOPTS += -A collapse_menu=True
7878
fast: html
7979

80-
static: $(HTML_BUILD_DIR)/static/style.css
80+
static: $(HTML_BUILD_DIR)/_static/style.css
8181
cp -r extensions/odoo_theme/static/* $(HTML_BUILD_DIR)/_static/
8282
cp -r static/* $(HTML_BUILD_DIR)/_static/

extensions/odoo_theme/static/scss/_variables.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ $website-2x-prefix: "2x_";
249249
$o-ease: cubic-bezier(.55,0,.1,1);
250250

251251
// Paddings and margins
252-
253252
$padding-xs: .5rem;
254253
$padding-s: 1rem;
255254
$padding-m: 2rem;

extensions/odoo_theme/static/style.scss

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,6 @@ header.o_main_header {
277277

278278
}
279279
}
280-
scrollbar-width: thin;
281-
scrollbar-color: $o-violet-darker transparent;
282280

283281
&::-webkit-scrollbar {
284282
width: 5px;
@@ -521,7 +519,7 @@ header.o_main_header {
521519
}
522520

523521
.o_git_link {
524-
right: calc(#{$o-codecol-width} + $padding-l);
522+
right: calc(#{$o-codecol-width} + #{$padding-l});
525523
}
526524

527525
section {
@@ -723,7 +721,7 @@ header.o_main_header {
723721

724722
&:after {
725723
content: '#{$i-link}';
726-
font-family: icomoon !important;
724+
font-family: icomoon, sans-serif !important;
727725
@include font-size($font-size-base);
728726
margin: 0 0 0 .3rem;
729727
visibility: hidden;
@@ -758,7 +756,7 @@ header.o_main_header {
758756
margin: 1px 0 24px 0;
759757

760758
div[class^="highlight"] {
761-
padding: 0px;
759+
padding: 0;
762760
border: none;
763761
margin: 0;
764762
}
@@ -959,10 +957,6 @@ header.o_main_header {
959957
&.alert-go_to {
960958
border-color: $o-violet;
961959
background-color: $gray-lightest;
962-
@include media-breakpoint-up(lg){
963-
display: inline-block;
964-
width: calc(50% - 1rem);
965-
}
966960

967961
a {
968962
color: $o-violet-dark;

0 commit comments

Comments
 (0)