Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Python 开发
  4. odoo11页面颜色更改

odoo11页面颜色更改

Scheduled Pinned Locked Moved Python 开发
28 Posts 6 Posters 29.2k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ap1689
    wrote on last edited by
    #21

    @hui 你好!我通过在odoo目录及其子目录对*.css进行全文搜索background-color,发现有300多处用到,请指点该从哪些css入手?前端编程我是新手,只想调一调Odoo社区版的主色调,浅灰色太沉了,个人喜欢Office2007那种的主色调,或者分享一下你的调试效果,谢谢!

    H 1 Reply Last reply
    0
    • A ap1689

      @hui 你好!我通过在odoo目录及其子目录对*.css进行全文搜索background-color,发现有300多处用到,请指点该从哪些css入手?前端编程我是新手,只想调一调Odoo社区版的主色调,浅灰色太沉了,个人喜欢Office2007那种的主色调,或者分享一下你的调试效果,谢谢!

      H Offline
      H Offline
      hui
      wrote on last edited by
      #22

      @ap1689
      我只能说前端让我也很崩溃的。
      我是在浏览器里面调试的,我截图的是form视图里面的,你看看.o_form_sheet .o_form_sheet_bg这个里面,在odoo的全局搜索这个class就可以找到的。然后你重写css进行覆盖就行了,当然你写好了还要在浏览器里面看效果,看你的css是否生效。

      list视图你就自己调试喽。

      0_1531275050057_background.png

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ap1689
        wrote on last edited by
        #23

        @hui 谢谢你的回复,我试过直接将\odoo\addons\web\static\src\img\form_sheetbg.png修改为想要的浅绿色后,form视图的背景色是可以生效的,但,其他地方(如:菜单栏)等的颜色还是原来的浅灰色,不协调,应该是对应不同的png文件。谢谢你的指点!

        1 Reply Last reply
        0
        • A Offline
          A Offline
          ap1689
          wrote on last edited by
          #24

          @hui 你好!请教如何调小odoo10的Form View上下(top/bottom)的边距padding或margin呢? 如下图浅绿色部分,谢谢!

          ![0_1531556126325_1d9cf408-236d-4f01-963f-2b9405452be5-undefined](正在上传 100%)

          1 Reply Last reply
          0
          • A Offline
            A Offline
            ap1689
            wrote on last edited by
            #25

            ![替代文字](0_1531556410308_PO.png 图片地址)

            H 1 Reply Last reply
            0
            • A ap1689

              ![替代文字](0_1531556410308_PO.png 图片地址)

              H Offline
              H Offline
              hui
              wrote on last edited by
              #26

              @ap1689 form视图中的这个是背景颜色,你修改后不容易看见。如果你的form视图有footer,就是有关注者这些信息的话,在关注者这里很容易看到变化的。

              1 Reply Last reply
              0
              • D digitalsatori

                @cooper 可以看看 demo.openerp.cn, 社区版11.0,不一样的主题😄

                I Offline
                I Offline
                ieitzyb
                wrote on last edited by
                #27

                @digitalsatori 在 odoo11页面颜色更改 中说:

                @cooper 可以看看 demo.openerp.cn, 社区版11.0,不一样的主题😄

                看了

                http://www.OuduPLM.com/ 苏州欧度软件,专注服装行业(鳴謝:37signals,Trello,ProcessON,重庆慧积,上海开阖)

                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  ieitzyb
                  wrote on last edited by
                  #28

                  @digitalsatori 在 odoo11页面颜色更改 中说:

                  @cooper

                  可以创建模块来更改。可以参照这个改:https://apps.odoo.com/apps/themes/10.0/backend_theme_v10/

                  赚了,真是赚大发了

                  http://www.OuduPLM.com/ 苏州欧度软件,专注服装行业(鳴謝:37signals,Trello,ProcessON,重庆慧积,上海开阖)

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Tags
                  • Popular
                  • Users
                  • Groups