odoo from样式更新

news2024/9/19 11:45:58

在这里插入图片描述

在这里插入图片描述

.xodoo_form {
    .o_form_sheet {
        padding-bottom: 0 !important;
        border-style: solid !important;
        border-color: white;
    }

    .o_inner_group {
        /* 线框的样式 */
        /*--line-box-border: 1px solid #666;*/
        /*box-shadow: 0 1px 0 #e6e6e6;*/
        margin: 0;
    }

    .grid {
        display: grid;
        gap: 0;
    }

    .row {
        --gutter-x: 0px !important;
        --gutter-y: 0;
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-top: calc(-1 * var(--gutter-y));
        margin-right: calc(-.5 * var(--gutter-x));
        margin-left: calc(-.5 * var(--gutter-x));
    }

    .o_form_view .o_inner_group {
        gap: 0px 0px;
        margin-bottom: 0 !important;
    }

    .o_form_view .o_form_sheet_bg {
        --formView-sheetBg-padding-x: 16px;
        padding-top: 8px;
        padding-left: var(--formView-sheetBg-padding-x);
        padding-right: var(--formView-sheetBg-padding-x);
        width: 100%;
        max-width: 100%;
        margin-right: auto;
    }

    /*.o_form_label {*/
    /*    font-size: 0.875rem;*/
    /*    line-height: 1.5;*/
    /*    font-weight: 500;*/
    /*    color: #000000;*/

    /*}*/


    .o_cell {
        padding: 0;
        background-color: #ffffff;

        border-top: 1px solid #cccccc; /* 上边线 */
        border-left: 1px solid #cccccc; /* 左边线 */
        border-right: 1px solid #cccccc; /* 右边线 */
        border-bottom: 1px solid #cccccc; /* 下边线 */


        &.o_wrap_label {
            text-align: right;
            width: 140px;
            background-color: #eee;

        }

        &.o_wrap_label .o_form_label {
            height: 100%;
        }


        /*数值文本*/

        .o_field_integer .o_input {
            height: 40px !important;
            margin-left: 10px;
            width: 98%;
        }

        /*文本框*/

        .o_field_char .o_input {
            height: 40px !important;
            margin-left: 10px;
            width: 98%;
            /*border: 1px solid #ccc; !* 设置1像素的黑色实线边框 *!*/
            /*padding: 3px; !* 内边距 *!*/
            /*margin: 3px; !* 外边距 *!*/
        }


        /*长日期*/

        .o_field_datetime .o_input {
            height: 40px !important;
            margin-left: 10px;
            width: 98%;
        }

        /*短日期*/

        .o_field_date .o_input {
            height: 40px !important;
            margin-left: 10px;
            width: 98%;
        }

        /*下拉选择*/

        .o_field_selection .o_input {
            height: 40px !important;
            margin-left: 10px;
            width: 98%;
        }

        /*Many2one下拉选择*/

        .o_field_many2one .o_input {
            height: 40px !important;
            margin-left: 10px;
            width: 98%;
        }

        /*多对多*/

        .o_field_many2many_tags {
            background-color: #FFF;
            height: 85.5px !important;
            overflow: auto; /* 当内容超出div大小时显示滚动条 */
        }

        .o_field_many2many_tags .o_input {
            margin-left: 10px;
            width: 98%;
            border-width: 0 0 0 0 !important;
        }


        /*标签 直角*/

        .o_field_many2many_tags .badge {
            border-radius: 0 !important;
            margin-top: 5px;
        }


        /*下拉框 水平*/

        .o_field_radio {
            background-color: #FFF;
        }

        .o_field_radio .o_form_label {
            line-height: 22px;
        }


        /*判断*/

        .o_field_boolean_toggle {
            margin-left: 10px;
            margin-top: 9px;
        }

        .form-check-input {
            /*width: 98%;*/
        }


        /*大文本*/

        .o_field_text {
            width: 98%;
            overflow: auto;
            height: 96px !important;
            margin-left: 5px;
        }

        /*大文本*/

        .o_field_text.o_input {
            height: 100px !important;
            width: 98%;

        }

        /*大文本*/

        .text-info {
            height: 100px !important;
            width: 98%;
        }


        /*进度条*/

        .o_progressbar {
            height: 40px !important;
            margin-left: 10px;
            width: 98%;
        }

        /*单选*/

        .o_radio_input {
            margin-left: 10px;
            margin-top: 15px;
        }

        /*单选文本*/

        .form-check .form-check-label {
            margin-left: 5px;
            background-color: #FFF !important;
            margin-top: 5px;
            /*line-height: 30px;*/
            margin-bottom: 0.1rem;
        }


        /*小部件*/

        .o_field_widget {
            margin-bottom: 0px !important;
        }

        /*.o_field_widget .o_input {*/
        /*    margin-top: 10px;*/
        /*}*/

        .o_field_email {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*网址*/

        .o_field_url {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*时间 小时*/

        .o_field_float_time {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*金额*/

        .o_field_monetary {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*图片*/

        .o_field_image {
            margin-top: 2px;
            margin-left: 10px;
            margin-right: 10px;
        }

        /*星级*/

        .o_field_priority {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*百分号*/

        .o_field_percentage {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*颜色*/

        .o_field_color_picker {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*小图标 emojis*/

        .o_field_char_emojis {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
        }

        /*收藏*/

        .o_field_boolean_favorite {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*用户头像*/

        .o_field_many2many_selection {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*过滤*/

        .o_field_domain {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*关联标签*/

        .o_field_reference {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*HTML*/

        .o_field_html {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*颜色*/

        .o_field_int_color {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*附件*/

        .o_field_binary {
            margin-top: 10px;
            margin-left: 10px;
            width: 97%;
            line-height: 30px;
        }

        /*按钮下拉*/

        .o_field_state_selection {
            margin-top: 10px;
            margin-left: 10px !important;
            width: 97%;
            line-height: 30px;
        }

        /*多对多用户*/

        .o_field_many2many_tags_avatar {
            margin-top: 10px;
            margin-left: 10px !important;
            width: 97%;
            overflow: auto; /* 当内容超出div大小时显示滚动条 */
            height: 85.5px !important;
        }


        /*大文件框高度*/

        .text-info {
            height: 100px !important;
        }


        .o_wrap_input {
            background-color: #eee;
            line-height: 40px;

        }

        /*字段标签*/

        .o_form_label {
            background-color: #eee;
            /*padding-right: 8px;*/
            /*padding-left: 8px;*/
            font-size: 14px;
            color: #333;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 100px;
            line-height: 40px;
            height: 100%;
            margin-bottom: 0px !important;

            /*padding-right: 20px;*/
            /*margin-right: 0;*/
            /*min-width: 0;*/
            /*white-space: nowrap;*/
            /*&:after {*/
            /*    content: ":";*/
            /*}*/
        }

    }


}

.xodoo_text {
    height: 100% !important;
    /*border-top: 1px solid black; !* 上边线 *!*/
    border-left: 1px solid #cccccc;; /* 左边线 */
    /*border-right: 1px solid #5f636f; !* 右边线 *!*/
    border-bottom: 1px solid #cccccc; /* 下边线 */
}

/*.xodoo_char {*/
/*    height: 40px !important;*/
/*}*/

/*.xodoo_char .o_input {*/
/*    height: 40px !important;*/
/*    margin-left: 10px;*/
/*    width: 98%;*/
/*}*/
/*.xodoo_date {*/
/*    height: 40px !important;*/
/*}*/

/*.xodoo_date .o_input {*/
/*    height: 40px !important;*/
/*    margin-left: 10px;*/
/*    width: 98%;*/
/*}*/

/*.xodoo_datetime {*/
/*    height: 40px !important;*/
/*}*/

/*.xodoo_datetime .o_input {*/
/*    height: 40px !important;*/
/*    margin-left: 10px;*/
/*    width: 98%;*/
/*}*/

/*.o_field_integer {*/
/*    height: 40px !important;*/
/*}*/

/*.o_field_integer .o_input {*/
/*    height: 40px !important;*/
/*    margin-left: 10px;*/
/*    width: 98%;*/
/*}*/

.o_form_view .o_horizontal_separator:not(:empty) {
    box-shadow: none !important;
    font-size: 18px;
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1987292.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

【数据结构】排序 —— 归并排序(mergeSort)、计数排序、基数排序

Hi~!这里是奋斗的明志,很荣幸您能阅读我的文章,诚请评论指点,欢迎欢迎 ~~ 🌱🌱个人主页:奋斗的明志 🌱🌱所属专栏:数据结构、LeetCode专栏 📚本系…

【数据结构】哈希应用-STL-位图

目录 1、位图的概念 2、位图的设计与实现 2.1 set 2.2 reset 2.3 test 3、C库中的位图 4、位图的优缺点 5、位图相关题目 1、位图的概念 面试题:给40亿个不重复的无符号整数,没排过序。给一个无符号整数,如何快速判断一个数是否在这4…

【Material-UI】按钮组件中的实验性API:Loading按钮详解

文章目录 一、LoadingButton 组件概述1. 组件介绍2. 基本用法 二、LoadingButton 组件的高级用法1. 自定义加载指示器2. 图标与加载位置 三、已知问题与解决方法1. Chrome 翻译工具与 LoadingButton 的兼容性问题 四、实用性与未来展望1. 应用场景2. 未来展望 五、总结 Materia…

共享内存的原理及初识线程

char *str"hello world"; *str-H; 运行时报错,RWX只有R权限。 外设和内存交互以4KB为单位。 虚拟地址32位的划分为10 10 12 前10位对应页表的页目录。 在10位即为页表,页表中存放指定页框的起始物理地址虚拟地址的低12位作为页内偏移。 共…

RedLock算法分析

Redis分布式锁-RedLock算法 手写分布式锁的缺点 Redlock算法设计理念 Redis也提供了Redlock算法,用来实现基于多个实例的分布式锁。 锁变量由多个实例维护,即使有实例发生了故障,锁变量仍然是存在的,客户端还是可以完成锁操作。…

第一篇Linux介绍

目录 1、操作系统 2、Windows和Linux操作系统的区别 3、 Linux 的发行版本 4、 linux 分支 5、 Linux 的含义 6、Linux 特点 1、操作系统 常见操作系统有:Windows、MacOS、Unix/Linux。 类 UNIX Windows:其是微软公司研发的收费操作系统&#xff…

【漏洞复现】JBoss 中间件漏洞

JBoss介绍 JBoss是⼀个基于J2EE的开发源代码的应⽤服务器。JBoss代码遵循LGPL许可,可以在任何商业应⽤中免费使⽤。JBoss是⼀个管理EJB的容器和服务器,⽀持EJB1.1、EJB 2.0和EJB3的规范。但JBoss核⼼服务不包括⽀持servlet/JSP的WEB容器,⼀般…

QTableView使用示例-Qt模型视图委托(MVD)(Model-View-Delegate)

模型视图委托(MVD)是Qt中特有的设计模式,类似MVC设计模式,将MVC设计模式中的Controller当做MVD中的Delegate,两者的概念基本相同。不同的是委托不是独立存在,而是包含在视图里面。 模型视图委托设计模式中&…

步进电机驱动调试问题

工作中,调试24-byj48步进电机遇到一个怪现象: 1. 偶现 2. 出现问题时其中一个马达反转无法驱动,正转正常。 排查思路: 1. 将两个电机交叉验证,发现始终跟M2接口有关。排除电机问题。 2. 检查电机IO口配置&#xf…

大数据项目——广告数仓之HTTP概述

目录 第一章、理解URL 1.1 客户端、服务器 1.1.1 服务器与服务 1.1.2 客户端 1.2 URL 1.3 查询参数 第一章、理解URL 1.1 客户端、服务器 1.1.1 服务器与服务 所谓服务器,其实就是一台24小时不关机的计算机,它也有自己的cpu、内存、网卡、…

Docker更新镜像源小记

Docker镜像源无法访问 进入docker目录 cd /etc/docker/编辑daemon.json文件,如果没有,则新建 {"registry-mirrors": ["https://dockerproxy.cn"] }收集一些镜像源地址,未测是否能用 “https://hub.uuuadc.top”,“htt…

Android 埋点信息分析——内存篇

源码基于:Android U 0. 前言 在前一篇《Android statsd 埋点简析》一文中简单剖析了Android 埋点采集、传输的框架,本文在其基础对埋点信息进行解析,来看下Android 中埋下的内存信息有哪些。 1. 通过代码剖析google 埋点内容 1.1 PROCESS_M…

网络安全之sql靶场(11-23)

sql靶场(11-23) 目录 第十一关(post注入) 第十二关 第十三关 第十四关 第十五关 第十六关 第十七关 第十八关 第十九关 第二十关 第二十一关 第二十二关 第二十三关 第十一关(post注入) 查看…

echart 制作 Grafana 面板之仪表盘

目录 前言准备工作实现代码代码详解总结相关阅读 前言 Grafana 是一个开源的可视化监控工具,支持多种数据源,并且可以创建丰富的仪表盘。ECharts 是一个强大的开源数据可视化库,通过结合这两者,我们可以创建自定义的仪表盘&…

GPIO输出控制之LED闪烁、LED流水灯以及蜂鸣器应用案例

系列文章目录 STM32之GPIO(General Purpose Input/Output,通用型输入输出) 文章目录 系列文章目录前言一、LED和蜂鸣器简介1.1 LED1.2 蜂鸣器1.3 面包板 二、LED硬件电路2.1 低电平驱动电路2.2 高电平驱动电路 三、蜂鸣器硬件电路3.1 PNP型三…

使用idea 把一个git分支的部分提交记录合并到另一个git分支上

一、需求 需要将A(合并分支)分支上的提交记录中的某一次(或几次)提交合并到B(被合并分支)分支上 说明:熟练使用idea可以直接看下图即可,若不熟悉可以根据下列步骤进行操作&#xf…

富士乐施5070-V打印机驱动安装

富士乐施5070-V打印机驱动安装 特指打印A3纸张需求,即驱动中能够选择纸张类型(安装选择305df驱动只能打印A4类型) 富士乐施打印机驱动下载网址: https://m3support-fb.fujifilm-fb.com.cn/driver_downloads/www/ 安装流程&…

C#自定义快捷操作键的实现 - 开源研究系列文章

这次想到应用程序的快捷方式使用的问题。 Windows已经提供了API函数能够对窗体的热键进行注册,然后就能够在窗体中使用这些注册的热键进行操作了。于是笔者就对这个操作进行了整理,将注册热键操作写成了帮助类,并且用此博文来记录这个使用DEM…

【教程】linux-ubuntu安装并配置docker

linux-ubuntu安装并配置docker 一、在线安装1.卸载历史版本情况一:如果之前是手动安装的话,一步一步卸载情况二:通过APT安装 2.使用APT安装(推荐)(1) 添加https软件包(2)在apt源中添加docker软件…

kubernets学习笔记——使用kubeadm构建kubernets集群及排错

使用kubeadm构建kubernets集群 一、准备工作1、repo源配置:阿里巴巴开源镜像源2、更新软件包并安装必要的系统工具3、同步时间4、禁用selinux5、禁用交换分区swap6、关闭防火墙 二、安装docker-ce、docker、cri-docker1、安装docker-ce2、开启内核转发,转…