Server IP : 127.0.0.2 / Your IP : 3.17.4.144 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/odoo/doc/_extensions/odoo_ext/static/ |
Upload File : |
.pseudo-col(){ position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; float: left; width: 100%; } .code-col(){ content: ""; background: @doc_code-bg; .box-shadow(inset 40px 0 40px -18px rgba(22, 24, 29, 0.3)); position: absolute; width: 43%; height: 100%; top: 0; right: 0; } body, header { position: relative; } // Index layout #wrap { > .container.index { background-color: @gray-lightest; width: 100%; position: relative; > .index { .container; } } } #main_title { margin: 10px; @media (min-width:@screen-md-min) { margin: 0 0 9px 0; } } .container .container { max-width: 100%; padding:0; margin:0; } article.doc-content *[class^="col-"] { padding:0; } main{ aside, article.doc-body, .doc-content, .doc-aside { .pseudo-col(); } .doc-content, .doc-aside { position:relative; } aside { width: 25%; max-width: 300px; position:static; padding:0; display:block; float:left; @media (max-width:@screen-md-min) { display: none; } } article.doc-body { background: @doc_paper; border-left: 1px solid @gray-lighter; padding: 15px 30px; @media (min-width: @screen-md-min) { width: 75%; &.doc-toc { width: 100%; } } > *{ max-width: 100%; } } } main.has_code_col{ .container; aside { display: none; } article.doc-body { width: 100%; > *{ max-width: 100%; } section { position: relative; display:block; float: left; width: 100%; } @media (min-width: @screen-lg-min) { width: 100%; padding-right: 0; &:before { .code-col(); } section { > * { width: 54.633333%; max-width: 600px; float: left; clear: left; } > h1, > h2, > h3, > h4, > h5, > h6 { width: 100%; float: none; clear: none; } .doc-aside { width: 41%; float: none; clear: none; margin-right: 15px; margin-left: 57%; .content-switcher{ margin-top:0; > ul { margin-bottom: 0; } > ul > li { color: @gray-light; } } } } } } } main.index .toctree-wrapper{ @media screen and(min-width: @screen-md){ > .row:first-child { //trigg first section > .col-md-3:nth-child(3), > .col-md-3:nth-child(5) { //trig cards (title + 2, title + 4) margin-right: 50%; } } position: relative; .toc-single-entry{ position: absolute; top: 0; right: 0; width: 50%; padding-right: floor((@grid-gutter-width / 2)); // compensate bootstrap default gutter > .col-md-3 { width: 100%; } > *[class^="col-"] { padding-left: 0; //remove Bootstrap default gutter } .card { min-height: (@card_min-height * 2 ) + @card_margin-bottom; } } } } article.doc-toc .toctree-wrapper > ul > li > span { display: block; font-size: 28px; } .code-fields{ display: table; width: 100%; .code-field{ display: table-row; } .code-field-body{ display: block; padding-left: 15px; @media screen and (min-width: @screen-md-min){ display: table-cell; padding-left: 0; } } .code-field-name{ width:auto; display:block; @media screen and (min-width: @screen-md-min){ width:20%; padding-right: 20px; display: table-cell; } } ul { margin: .2em 0; padding: 0; } }