[REF] web: extract calendar mobile styling
Extract mobile calendar styling into dedicated SCSS file. Task ID: 1891955
This commit is contained in:
committed by
Pierre Paridans
parent
b9902d961e
commit
4dfd14ed00
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -174,6 +174,7 @@
|
||||
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/kanban_view.scss"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/kanban_view_mobile.scss"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/web_calendar.scss"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/web_calendar_mobile.scss"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/search_view.scss"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/search_view_mobile.scss"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/dropdown_menu.scss"/>
|
||||
|
||||
Reference in New Issue
Block a user