diff options
| author | Frédéric van der Essen <fva@openerp.com> | 2013-08-26 11:29:05 +0200 |
|---|---|---|
| committer | Frédéric van der Essen <fva@openerp.com> | 2013-08-26 11:29:05 +0200 |
| commit | 7e8ad30842870a876e1fdca0ba1fea237be303ca (patch) | |
| tree | c2cb165e43388cb4729576d2e08ab3674e39e588 /addons/website/static/src/css | |
| parent | 306138327ff4e54f1c403559378cfbde3014d0ae (diff) | |
| parent | 6c220f78bb30aca9f17f004d2d707539cb37c564 (diff) | |
[MERGE] from upstream
bzr revid: fva@openerp.com-20130826092905-jvrvnnskmwhv61le
Diffstat (limited to 'addons/website/static/src/css')
| -rw-r--r-- | addons/website/static/src/css/editor.css | 17 | ||||
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 17 |
2 files changed, 26 insertions, 8 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index 60a7906f429..8a20e94bec0 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -225,6 +225,7 @@ background-color: black; border: 2px solid; border-radius: 10px; + border-color: #1a1a1a; margin: auto; top: 0; left: 0; @@ -232,17 +233,24 @@ right: 0; max-width: 330px; } - -#mobile-preview .modal-header { +#mobile-preview.modal .modal-header { + background-color: black; border-bottom: 0; border-top-left-radius: 10px; border-top-right-radius: 10px; } -#mobile-preview .modal-body { +#mobile-preview.modal .modal-header .oe_mobile_preview_title { + color: #1a1a1a; +} +#mobile-preview.modal .modal-body { + background-color: black; max-height: 600px; padding: 0; margin: 0; } +#mobile-preview.modal .modal-footer { + background-color: black; +} .oe_mobile_viewport { width: 320px; @@ -256,5 +264,6 @@ opacity: 1; } .oe_mobile_preview_header .close:hover { - color: darkgrey; + color: #e00101; + opacity: 1; } diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index dade66519a8..29621f95e4b 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -192,27 +192,35 @@ height: 100% overflow: hidden +$mobile_preview_background: #000000 +$mobile_preview_border: #1A1A1A +$mobile_preview_close: #E00101 #mobile-preview.modal height: 660px - background-color: black + background-color: $mobile_preview_background border: 2px solid border-radius: 10px + border-color: $mobile_preview_border margin: auto top: 0 left: 0 bottom: 0 right: 0 max-width: 330px - -#mobile-preview .modal-header + background-color: $mobile_preview_background border-bottom: 0 border-top-left-radius: 10px border-top-right-radius: 10px + .oe_mobile_preview_title + color: $mobile_preview_border .modal-body + background-color: $mobile_preview_background max-height: 600px padding: 0 margin: 0 + .modal-footer + background-color: $mobile_preview_background .oe_mobile_viewport width: 320px @@ -225,4 +233,5 @@ color: lightgrey opacity: 1 .close:hover - color: darkgrey + color: $mobile_preview_close + opacity: 1 |
