diff options
| author | Christophe Matthieu <chm@odoo.com> | 2015-07-07 16:02:53 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2015-07-10 17:00:11 +0200 |
| commit | 8c559044a5e1be111dcb577ad7e5ab462c1002a0 (patch) | |
| tree | ba1602e15b2bca38babd6cca63a41da1d05b4321 /addons/website/static/src/css/website.sass | |
| parent | a616c57c609da0e5e56835dcb45e1c05590d25b8 (diff) | |
[IMP] web_editor: split website into web_editor (to use editor in backend for html field) and website
Diffstat (limited to 'addons/website/static/src/css/website.sass')
| -rw-r--r-- | addons/website/static/src/css/website.sass | 181 |
1 files changed, 1 insertions, 180 deletions
diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index cb526b29b01..f8f8c4fe05f 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -10,93 +10,6 @@ * */ -/* ----- GENERIC LAYOUTING HELPERS ---- */ - -/* Vertical Spacing */ -.mt128 - margin-top: 128px !important -.mt92 - margin-top: 92px !important -.mt64 - margin-top: 64px !important -.mt48 - margin-top: 48px !important -.mt32 - margin-top: 32px !important -.mt16 - margin-top: 16px !important -.mt8 - margin-top: 8px !important -.mt4 - margin-top: 4px !important -.mt0 - margin-top: 0px !important - -.mb128 - margin-bottom: 128px !important -.mb92 - margin-bottom: 92px !important -.mb64 - margin-bottom: 64px !important -.mb48 - margin-bottom: 48px !important -.mb32 - margin-bottom: 32px !important -.mb16 - margin-bottom: 16px !important -.mb8 - margin-bottom: 8px !important -.mb4 - margin-bottom: 4px !important -.mb0 - margin-bottom: 0px !important - -.ml8 - margin-left: 8px !important -.ml4 - margin-left: 4px !important -.ml0 - margin-left: 0px !important - -.mr8 - margin-right: 8px !important -.mr4 - margin-right: 4px !important -.mr0 - margin-right: 0px !important - -img, .img, span.fa, iframe - &.padding-small - padding: 4px - &.padding-medium - padding: 8px - &.padding-large - padding: 16px - &.padding-xl - padding: 32px -div.media_iframe_video - &.padding-small iframe - padding: 4px - &.padding-medium iframe - padding: 8px - &.padding-large iframe - padding: 16px - &.padding-xl iframe - padding: 32px - -.fa-6x - font-size: 6em -.fa-7x - font-size: 7em -.fa-8x - font-size: 8em -.fa-9x - font-size: 9em -.fa-10x - font-size: 10em -.fa.center-block - text-align: center - ul list-style-type: disc li > ul @@ -158,9 +71,6 @@ font[style*='background'], font[class*='bg-'] /* Extra Styles */ -img.shadow - +box-shadow(0px 3px 8px rgba(0, 0, 0, 0.2)) - h1.text-muted, h2.text-muted, h3.text-muted margin-top: 10px @@ -175,17 +85,6 @@ hr margin-bottom: 10px padding-bottom: 10px -td - min-width: 20px - -/* ----- Editor (for public user, like forum) ----- */ - -.note-toolbar - margin-left: 0 !important - -.note-popover .popover > .arrow - display: none - /* ----- Snippets Styles ----- */ .para_large @@ -197,11 +96,6 @@ td margin-left: auto margin-right: auto -/* ----- EDITOR ----- */ - -.css_non_editable_mode_hidden - display: none !important - /* ----- BOOTSTRAP FIX ----- */ .container, .readable @@ -241,7 +135,7 @@ body > nav.navbar width: 100% position: absolute z-index: 10000 -@media (max-min: 767px) +@media (min-width: 767px) nav.navbar + #wrapwrap padding-top: 34px @@ -255,33 +149,9 @@ body > nav.navbar .table .img-responsive width: 100% -/* ---- HACK FOR COVERING UP EDITOR BOGUS P INSERTION --- */ -.oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child - position: static - -.oe_structure.oe_empty:empty:before, [data-oe-type=html]:empty:before, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before - content: ' ' - text-align: center - display: block - min-height: 1em - color: grey - font-size: 24px - padding-top: 160px - -.css_editable_display - display: none - -/* ---- HACK FOR COVERING UP EDITOR BOGUS P INSERTION --- */ - .navbar .nav > li > p margin-bottom: 0px -// .navbar .nav > li a -// text-shadow: none - -// .nav > li a -// display: block - /* ---- HOMEPAGE THEME CUSTOMIZATION ---- */ .nav-hierarchy @@ -659,15 +529,6 @@ table.well tr a color: white -address - .fa.fa-mobile-phone - margin: 0 3px 0 2px - .fa.fa-file-text-o - margin-right: 1px - -span[data-oe-type="monetary"] - white-space: nowrap - .oe_template_fallback @include column-count(3) @@ -685,46 +546,6 @@ span[data-oe-type="monetary"] input text-align: center -div.media_iframe_video - margin: 0 auto - text-align: center - position: relative - overflow: hidden - iframe - width: 100% - height: 100% - top: 0 - position: absolute - margin: 0 auto - margin-left: -50% - .media_iframe_video_size - padding-bottom: 66.5% - position: relative - width: 100% - height: 0 - .css_editable_mode_display - position: absolute - width: 100% - height: 100% - display: none - z-index: 2 - -html[data-browser^="msie"] div.media_iframe_video iframe - margin-left: 0 - -/* Mobile view */ - -@media (max-width: 768px) - img:not(.cke_iframe), .media_iframe_video, span.fa, i.fa - -webkit-transform: none !important - -moz-transform: none !important - -ms-transform: none !important - -o-transform: none !important - transform: none !important - - -/* Fix: backward compatibility saas-3 */ - div.carousel .container > .carousel-caption |
