// MODALS body .modal { a { &:focus, &:active, &:focus:active { outline: none!important; } } &.o_website_modal { font-family: "Roboto", Roboto, sans-serif; .modal-content { border-radius: 0; background-color: @o-we-color-paper; .modal-header .o_subtitle { margin-left: 10px; } .modal-body { .o_modal_header { .o-webclient-padding(@top: 10px, @bottom: 10px); .clearfix(); } } .modal-footer { text-align: left; .btn { border-radius: 0; &.btn-primary { .button-variant(white, @odoo-brand-optional, @odoo-brand-optional); text-transform: uppercase; } &.btn-default { .button-variant(@odoo-brand-optional, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); text-transform: uppercase; } &.btn-link { .button-variant(@odoo-brand-optional, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); } } } } @media (min-width: @screen-sm-min) { .modal-dialog { height: 100%; padding: 30px 0; margin: 0 auto; .modal-content { max-height: 100%; .o-flex-display(); .o-flex-flow(column, nowrap); .modal-header, .modal-footer { .o-flex(0, 0, auto); } .modal-body { overflow: auto; } } } } } // MOBILE PREVIEW &.oe_mobile_preview { text-align: center; .modal-dialog { display: inline-block; width: auto; .close { color: lightgray; } .modal-content { background-color: black; color: lightgray; border: 3px outset gray; border-radius: 20px; box-shadow: 0 0 100em 0 white; .modal-header { border: none; cursor: pointer; } .modal-body { padding: 15px; @mobile-preview-width: 320px; @mobile-preview-height: 530px; > iframe { display: block; width: @mobile-preview-width + 15; height: @mobile-preview-height; max-height: 100%; border: none; .o-transition(all, 400ms); } &.o_invert_orientation > iframe { width: @mobile-preview-height + 15; height: @mobile-preview-width; } } .modal-footer { display: none; } } } } // ADD NEW PAGE MODAL &#o_website_add_page_modal { text-align: center; line-height: 100%; .modal-dialog { line-height: 100vh; margin: 0 auto; ul { display: inline-block; width: 100%; margin: 0; padding: 0; vertical-align: middle; line-height: 1; list-style: none; text-align: center; li { opacity: 0; .animation(fadeInDownSmall 1s forwards); display: inline-block; width: 33%; margin: 2em 0; padding: 0 15px; a { display: block; font-size: 34px; margin: auto; i { width: 110px; height: 110px; border: 3px solid lighten(#2C2C36, 10%); border-radius: 100%; line-height: 104px; background-color: #2C2C36; color: white; .o-transition(all, 0.5s, cubic-bezier(0.19, 1, 0.22, 1)); } p { color: white; margin-top: 0.7em; font-size: 0.5em; } &:hover, &:focus { text-decoration: none; i { border-color: #1cc1a9; box-shadow: 0 0 10px rgba(28, 193, 169, 0.46); } } } } } } ~ .modal-backdrop { opacity: 0.8; } } // SEO CONFIGURATION &.oe_seo_configuration { li.oe_seo_preview_g { line-height: 1.2; font-size: small; font-family: arial, sans-serif; h3 { font-size: medium; } .r { margin: 0; font-size: 16px; font-style: normal; font-weight: normal; overflow: hidden; text-overflow: ellipsis; -webkit-text-overflow: ellipsis; white-space: nowrap; a { color: #1e0fbe; text-decoration: underline; text-transform: none; em { font-style: normal !important; } } } .s { color: #444; max-width: 42em; } li.oe_seo_preview_g { &, .st { line-height: 1.24; } .kv, .slp { display: block; margin-bottom: 1px; } .f { color: #666; margin-bottom: 1px; cite { color: #006621; font-style: normal; font-size: 14px; } } } } } } // LOGIN FORM .oe_login_form { max-width: 300px; position: relative; margin: 50px auto; } // CUSTOMIZE THEME #theme_error { background: #ffc; } #theme_customize_modal { overflow: visible; z-index: 1020; display: block; .modal-dialog { .o-position-absolute(@odoo-navbar-height + 10, 10px); width: auto; margin: 0; font-family: Roboto; } .loading_backdrop { display: none; } &.loading .loading_backdrop { .o-position-absolute(0, 0, 0, 0); display: block; background: black; opacity: 0.3; z-index: 1; } label { display: block; text-align: center; > div, > img { border: 1px solid #fff; line-height: 30px; font-size: 0.9em; margin: 2px 4px; } &.checked > div, &.checked > img { box-shadow: 2px 2px 3px #888; border: 1px solid #666; } img { width: 60px; height: 35px; margin: 2px; border: 1px solid rgba(136, 136, 136, 0.5); } input { display: none; } } } // ACE EDITOR .oe_ace_view_editor { .o-position-absolute(@odoo-navbar-height, 0, 0); position: fixed; z-index: 1001; background: #2F3129; color: white; .oe_ace_view_editor_title { width: 100%; height: 30px; padding-top: 0; padding-left: 0; .oe_view_list, .btn { font-size: 14px; font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro", monospace; line-height: normal; } .oe_view_list { width: 50%; height: 30px; } .btn { height: 100%; padding: 0 4px; } } .ace_editor { .o-position-absolute(50px, 0, 0, 0); .ace_gutter { cursor: ew-resize; } } #ace-view-id { padding: 0 1em; } &.oe_ace_open { opacity: 0.97; } &.oe_ace_closed { z-index: -1000; opacity: 0; } .oe_include_bundles { font-weight: normal; padding: 0 8px; } } // PLANNER DIALOG #PlannerDialog { top: @odoo-navbar-height + 10; box-shadow: 0 3px 9px #666666; } // POPOVER NAVIGATION .tour .popover-navigation { margin-left: 13px; margin-bottom: 8px; }