-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5251136
Showing
6 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 2021 Akretion (https://www.akretion.com). | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Custom Background", | ||
"summary": "change background", | ||
"version": "14.0.1.0.0", | ||
"category": "Theme/Creative", | ||
"author": " Akretion", | ||
"license": "AGPL-3", | ||
"application": False, | ||
"installable": True, | ||
"depends": [ | ||
"web_responsive", | ||
], | ||
"data": [ | ||
"views/assets.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1. mettre une image dans static/src/img | ||
2. mettre son nom ligne 8 dans static/src/css/custom_background.scss | ||
par exemple : background: url("../img/randonnee-montagne-tohapi.jpg"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */ | ||
// customized background image | ||
.o_menu_apps { | ||
user-select: none; | ||
|
||
.dropdown-menu { | ||
@include full-screen-dropdown(); | ||
background: url("../img/randonnee-montagne-tohapi.jpg"); | ||
background-size: cover; | ||
background-position: center; | ||
|
||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<template | ||
id="assets_backend" | ||
name="Custom Background" | ||
inherit_id="web.assets_backend" | ||
> | ||
<xpath expr="//link[last()]" position="after"> | ||
<link | ||
rel="stylesheet" | ||
href="/custom_background/static/src/css/custom_background.scss" | ||
/> | ||
</xpath> | ||
</template> | ||
</odoo> |