Merge pull request #733 from expsa/dev_base_temp

customized filter and group by and fav options on mobile view
This commit is contained in:
MohamedGad100 2024-08-14 16:41:38 +03:00 committed by GitHub
commit 3f495222a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 165 additions and 1 deletions

View File

@ -0,0 +1,54 @@
@media screen and (min-width: 700px) and (max-width: 950px) and (max-device-height: 550px) {
.o_action_manager .o_action .o_control_panel .o_cp_top .o_cp_top_left {
width: 30% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_top .o_cp_top_right {
width: 70% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_left {
width: 30% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right {
width: 70% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right .o_search_options .o_filter_menu button, .o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right .o_search_options .o_group_by_menu button, .o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right .o_search_options .o_favorite_menu button {
padding: 7px 0px !important;
margin-inline-end: 10px;
}
}
@media screen and (max-width: 699px) and (max-device-height: 550px) {
.o_action_manager .o_action .o_control_panel .o_cp_top .o_cp_top_left {
width: 30% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_top .o_cp_top_right {
width: 70% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_left {
width: 30% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right {
width: 70% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right .o_search_options .o_filter_menu button, .o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right .o_search_options .o_group_by_menu button, .o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right .o_search_options .o_favorite_menu button {
padding: 7px 0px !important;
margin-inline-end: 10px;
}
}
@media screen and (max-width: 699px) and (max-device-height: 319px) {
.o_action_manager .o_action .o_control_panel .o_cp_top .o_cp_top_left {
width: 30% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_top .o_cp_top_right {
width: 70% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_left {
width: 30% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right {
width: 70% !important;
}
.o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right .o_search_options .o_filter_menu button, .o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right .o_search_options .o_group_by_menu button, .o_action_manager .o_action .o_control_panel .o_cp_bottom .o_cp_bottom_right .o_search_options .o_favorite_menu button {
padding: 7px 0px !important;
margin-inline-end: 10px;
}
}/*# sourceMappingURL=mobile_view_customization.css.map */

View File

@ -0,0 +1 @@
{"version":3,"sources":["mobile_view_customization.scss","mobile_view_customization.css"],"names":[],"mappings":"AAUA;EAKoB;IACI,qBAAA;ECbtB;EDekB;IACI,qBAAA;ECbtB;EDiBkB;IACI,qBAAA;ECftB;EDiBkB;IACI,qBAAA;ECftB;EDkB8B;IACI,2BAAA;IACA,uBAAA;EChBlC;AACF;AD0BA;EAKoB;IACI,qBAAA;EC5BtB;ED8BkB;IACI,qBAAA;EC5BtB;EDgCkB;IACI,qBAAA;EC9BtB;EDgCkB;IACI,qBAAA;EC9BtB;EDiC8B;IACI,2BAAA;IACA,uBAAA;EC/BlC;AACF;ADyCA;EAKoB;IACI,qBAAA;EC3CtB;ED6CkB;IACI,qBAAA;EC3CtB;ED+CkB;IACI,qBAAA;EC7CtB;ED+CkB;IACI,qBAAA;EC7CtB;EDgD8B;IACI,2BAAA;IACA,uBAAA;EC9ClC;AACF","file":"mobile_view_customization.css"}

View File

@ -0,0 +1,108 @@
@media screen and (max-width: 319px){}
@media screen and (min-width: 320px) and (max-width: 420px){}
@media screen and (min-width: 320px) and (max-width: 420px) and (min-device-height: 751px){}
@media screen and (min-width: 320px) and (max-width: 420px) and (max-device-height: 750px){}
@media screen and (min-width: 320px) and (max-width: 420px) and (max-device-height: 600px){}
@media screen and (min-width: 700px) and (max-width: 950px) and (max-device-height: 550px){
.o_action_manager{
.o_action{
.o_control_panel{
.o_cp_top{
.o_cp_top_left{
width: 30%!important;
}
.o_cp_top_right{
width: 70%!important;
}
}
.o_cp_bottom{
.o_cp_bottom_left{
width: 30%!important;
}
.o_cp_bottom_right{
width: 70%!important;
.o_search_options{
.o_filter_menu, .o_group_by_menu, .o_favorite_menu{
button{
padding: 7px 0px!important;
margin-inline-end: 10px;
}
}
}
}
}
}
}
}
}
@media screen and (max-width: 699px) and (max-device-height: 550px){
.o_action_manager{
.o_action{
.o_control_panel{
.o_cp_top{
.o_cp_top_left{
width: 30%!important;
}
.o_cp_top_right{
width: 70%!important;
}
}
.o_cp_bottom{
.o_cp_bottom_left{
width: 30%!important;
}
.o_cp_bottom_right{
width: 70%!important;
.o_search_options{
.o_filter_menu, .o_group_by_menu, .o_favorite_menu{
button{
padding: 7px 0px!important;
margin-inline-end: 10px;
}
}
}
}
}
}
}
}
}
@media screen and (max-width: 699px) and (max-device-height: 319px){
.o_action_manager{
.o_action{
.o_control_panel{
.o_cp_top{
.o_cp_top_left{
width: 30%!important;
}
.o_cp_top_right{
width: 70%!important;
}
}
.o_cp_bottom{
.o_cp_bottom_left{
width: 30%!important;
}
.o_cp_bottom_right{
width: 70%!important;
.o_search_options{
.o_filter_menu, .o_group_by_menu, .o_favorite_menu{
button{
padding: 7px 0px!important;
margin-inline-end: 10px;
}
}
}
}
}
}
}
}
}

View File

@ -67,7 +67,8 @@
<link rel="stylesheet" type="text/scss" href="/odex25_web/static/src/scss/kanban_view_mobile.scss"/>
<link rel="stylesheet" type="text/scss" href="/odex25_web/static/src/scss/modal_mobile.scss"/>
<link rel="stylesheet" type="text/scss" href="/odex25_web/static/src/scss/web_calendar_mobile.scss"/>
<link rel="stylesheet" type="text/css" href="/odex25_web/static/src/scss/mobile_view_customization.css"/>
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/navbar_mobile.scss"/>
</xpath>