summaryrefslogtreecommitdiff
path: root/addons/website/static/src/less
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-03-29 12:22:41 +0200
committerRomain Derie <rde@odoo.com>2018-03-29 13:08:57 +0200
commit5c2b42bbf7705b77b7d7d39805f2652b406b507a (patch)
treec6e2967893a7756a4952f34da5746feb1a4f5c6e /addons/website/static/src/less
parent4c08b98c8a7ed43a6ef65f5a1eda9c0bb71901ec (diff)
[FIX] website: remove ribbon on unpublished pages (new specs)
This commit reverts part of f5912cb since the spec changed afterwards. Unpublished page will have a red toggle, which even if it is small should be enough to draw user attention, and not a ribbon anymore. Task-44005
Diffstat (limited to 'addons/website/static/src/less')
-rw-r--r--addons/website/static/src/less/website.ui.components.less33
1 files changed, 0 insertions, 33 deletions
diff --git a/addons/website/static/src/less/website.ui.components.less b/addons/website/static/src/less/website.ui.components.less
index 132fd7ba70d..52ee0f4d791 100644
--- a/addons/website/static/src/less/website.ui.components.less
+++ b/addons/website/static/src/less/website.ui.components.less
@@ -482,36 +482,3 @@ body .modal {
}
}
}
-
-// Unpublished page's ribbon
-.ribbon-publish.ribbon-wrapper {
- width: 200px;
- height: 200px;
- z-index: 5;
- position: absolute;
- right: 0;
- overflow: hidden;
- &.css_published {
- display:none;
- }
- &.css_unpublished {
- display:block;
- }
-}
-.ribbon-publish .ribbon {
- font: bold 15px Sans-Serif;
- color: white;
- text-align: center;
- -webkit-transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- -o-transform: rotate(45deg);
- position: relative;
- padding: 7px 65px;
- right: 27px;
- top: 44px;
- width: 300px;
- cursor: default;
- white-space: unset;
- word-wrap:break-word;
-}