summaryrefslogtreecommitdiff
path: root/addons/website_slides/static/src
diff options
context:
space:
mode:
authorsri-odoo <sri@odoo.com>2019-02-21 13:49:30 +0000
committerThibault Delavallée <tde@odoo.com>2019-03-04 16:13:52 +0000
commitaf41382fa182fde43f8a52cb33171071f42dcd20 (patch)
tree769ec92ac82178b495817d561ddd40e40ed96824 /addons/website_slides/static/src
parent4363598582268b40a8dd24d4a1cab2e2a58c85c1 (diff)
[REF] website_profile and dependencies: improve global layout and design
Purpose is to perform a cleaning pass on website_profile templates. It cleans the DOM, templates and CSS and proposes various improvements on general design and layouting. This includes notably * lessen custom CSS and use bootstrap 4 classes; * simplify layout when possible; * make is responsive and mobile friendly; No functional changes should occur with this commit. Sub modules are impacted as profile is extended in various other applications: eLearning, forum and certification. Commit linked to task ID 1941250 and PR #31453
Diffstat (limited to 'addons/website_slides/static/src')
-rw-r--r--addons/website_slides/static/src/scss/website_slides_profile.scss39
1 files changed, 0 insertions, 39 deletions
diff --git a/addons/website_slides/static/src/scss/website_slides_profile.scss b/addons/website_slides/static/src/scss/website_slides_profile.scss
index a2a235f3bb4..35f85b4c053 100644
--- a/addons/website_slides/static/src/scss/website_slides_profile.scss
+++ b/addons/website_slides/static/src/scss/website_slides_profile.scss
@@ -1,43 +1,4 @@
-.o_wprofile_slides_card {
- padding: 8px;
- max-height: 68px;
- min-width: 350px;
-}
-.o_wprofile_slides_title {
- top: -15px;
- padding-left: 76px;
-}
-
// Quest - Course Card
.o_wprofile_slides_course_card_body {
cursor: pointer;
- height: 66px;
- .o_wprofile_slides_course_img {
- position: absolute;
- padding: 0px;
- top: 8px;
- left: 8px;
- width: 66px;
- height: 66px;
- }
- .o_wprofile_slide_course_rating {
- position: absolute;
- top: 13px;
- right: 16px;
- }
- .o_wprofile_slide_course_progress {
- position: absolute;
- bottom: 4px;
- width: 100%;
- padding-left: 88px;
- .o_wprofile_slide_course_progress_bar {
- background-color: lightgray;
- top: 2px;
- padding: 0px;
- }
- .o_wprofile_slide_course_progress_value {
- min-width: 70px;
- text-align: right;
- }
- }
}