diff options
| author | Romain Estievenart <res@odoo.com> | 2018-10-31 11:09:42 +0000 |
|---|---|---|
| committer | Pierre Paridans <app@odoo.com> | 2019-02-08 15:39:58 +0000 |
| commit | 4dfd14ed0090937e0ac4d9a73b3cd9280b59c0bc (patch) | |
| tree | 72307a8f94e24bbb1a4fc1173fc441379577141e /addons/web/static/src/scss | |
| parent | b9902d961e0e14cfcf7987fbf4cb5c534baaecc5 (diff) | |
[REF] web: extract calendar mobile styling
Extract mobile calendar styling into dedicated SCSS file.
Task ID: 1891955
Diffstat (limited to 'addons/web/static/src/scss')
| -rw-r--r-- | addons/web/static/src/scss/web_calendar.scss | 22 | ||||
| -rw-r--r-- | addons/web/static/src/scss/web_calendar_mobile.scss | 21 |
2 files changed, 21 insertions, 22 deletions
diff --git a/addons/web/static/src/scss/web_calendar.scss b/addons/web/static/src/scss/web_calendar.scss index ae22efb2675..540b8710df3 100644 --- a/addons/web/static/src/scss/web_calendar.scss +++ b/addons/web/static/src/scss/web_calendar.scss @@ -197,25 +197,3 @@ display: none; } } - -// Mobile rules -@include media-breakpoint-down(sm) { - .o_calendar_container { - padding: 0; - } -} -@include media-breakpoint-down(sm) { - .o_control_panel { - .o_calendar_button_today { - float: right; - > .o_calendar_text { - margin-top: 3px; - } - } - } - .o_calendar_view { - .fc-day-header { - word-spacing: 1000px; // force line break in week mode - } - } -} diff --git a/addons/web/static/src/scss/web_calendar_mobile.scss b/addons/web/static/src/scss/web_calendar_mobile.scss new file mode 100644 index 00000000000..55d44257666 --- /dev/null +++ b/addons/web/static/src/scss/web_calendar_mobile.scss @@ -0,0 +1,21 @@ +@include media-breakpoint-down(sm) { + .o_calendar_container { + padding: 0; + } + + .o_control_panel { + .o_calendar_button_today { + float: right; + > .o_calendar_text { + margin-top: 3px; + } + } + } + + .o_calendar_view { + .fc-day-header { + word-spacing: 1000px; // force line break in week mode + } + } + +} |
