[ADD] Custom RTL Stylesheet

This commit is contained in:
Chintan Ambaliya 2018-01-24 12:58:38 +05:30 committed by chintan-ambaliya
parent b70bbf4028
commit 15cfca3e68
2 changed files with 254 additions and 2 deletions

View File

@ -0,0 +1,252 @@
/* Flectra 1.0 */
nav#oe_main_menu_navbar .f_menu_systray .oe_systray {
float: left !important;
}
.o_form_view .o_form_input_dropdown .o_dropdown_button,
.o_datepicker .o_datepicker_button {
left: 4px;
right: auto;
}
body .o_form_view .o_group.o_inner_group.oe_subtotal_footer {
float: left !important;
}
.nav-pills > li > a {
border-radius: 0px;
}
.o_form_view > header ul:not(.oe_tooltip_technical):not(.oe_dropdown_menu) {
float: left;
}
.o_form_view ul.oe_form_status li > .arrow span {
box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.2), inset -1px 1px 1px rgba(255, 255, 255, 0.2);
margin-right: -12px;
margin-left: 0px;
}
.o_form_view ul.oe_form_status li > .label {
padding-left: 7px;
padding-right: 42px;
line-height: 13px;
}
.o_form_view ul.oe_form_status li:last-child {
border-left: 1px solid #cacaca;
border-right: 0px;
}
.o_form_view ul.oe_form_status li {
margin: 0 0 0 -13px;
}
.o_form_view ul.oe_form_status li:first-child > .label {
border-right: 1px solid #cacaca;
border-left: 0px;
padding-left: 7px;
padding-right: 20px;
}
.o_form_view ul.oe_form_status li > .arrow {
margin-left: -16px;
}
.o_form_view ul.oe_form_status li:last-child > .label {
margin-left: 10px;
margin-right: 30px;
}
.o_form_view .oe_button_box {
float: left;
text-align: left;
}
.o_form_view .oe_avatar {
float: right;
padding-left: 10px;
}
.o_control_panel .o_cp_right .o_cp_pager {
margin: auto auto auto 0;
}
.o_control_panel > .o_cp_right > .o_cp_pager .btn {
float: left;
}
.o_searchview .o_searchview_facet .o_facet_remove {
left: 0px;
right: auto;
}
.o_searchview .o_searchview_facet .o_facet_values {
padding: 0 5px 0 18px;
}
.o_field_widget .o_input_dropdown .o_dropdown_button {
top: 6px;
left: 4px;
right: unset;
}
.o_form_view .o_group .o_td_label + td {
padding: 2px 8px 2px 40px;
}
.o_form_view .o_group .o_td_label {
border-right: 0px solid #ddd;
border-right-width: 0px;
border-left: 1px solid #ddd;
border-left-width: 1px;
}
.o_list_view .o_data_row.o_selected_row > .o_data_cell:not(.o_readonly_modifier) .o_input_dropdown > .o_dropdown_button, .o_list_view .o_data_row.o_selected_row > .o_data_cell:not(.o_readonly_modifier) .o_datepicker > .o_dropdown_button, .o_list_view .o_data_row.o_selected_row > .o_data_cell:not(.o_readonly_modifier) .o_input_dropdown .o_datepicker_button, .o_list_view .o_data_row.o_selected_row > .o_data_cell:not(.o_readonly_modifier) .o_datepicker .o_datepicker_button {
top: 25%;
left: 5px;
right: auto;
}
.o_search_options input[type="text"], .o_search_options select {
font-size: 11px;
}
.o_search_options .o_filters_menu .o_searchview_extended_delete_prop {
right: auto;
left: -18px;
}
.o_search_options .o_filters_menu .o_filter_condition .o_or_filter {
right: -18px;
left: auto;
}
.o_control_panel > .o_cp_right > .o_cp_switch_buttons > .btn:first-child {
margin-left: 0px;
}
.o_planner_dialog > .modal-dialog > .modal-content > .modal-body > .o_planner_menu {
float: right;
border-right: 0px;
border-left: 1px solid #e6e6e6;
}
.oe_module_action .pull-right {
left: 8px;
right: auto;
}
.oe_searchview .oe_searchview_facets {
margin-left: 30px;
margin-right: 20px;
}
.oe_searchview_drawer {
text-align: right;
}
.oe_searchview .oe_searchview_facets .oe_searchview_facet .oe_facet_value {
border-left: 0px;
}
.alert-dismissable .close, .alert-dismissible .close {
right: 0px;
}
.oe_sidebar .oe_dropdown_menu li .oe_sidebar_delete_item {
right: auto;
left: 4px;
}
.oe_secondary_menu_section {
text-align: right !important;
padding: 8px 8px 8px 0px !important;
}
.dropdown-menu {
left: 0 !important;
right: auto !important;
}
.o_searchview .o_searchview_facet {
margin: 1px 0 0 3px;
}
.o_form_view .oe_avatar + .oe_title {
padding-left: 0;
padding-right: 15px;
}
.o_form_view.o_form_editable .o_row > .o_field_widget, .o_form_view.o_form_editable .o_row > div {
width: 100% !important;
}
.o_kanban_view .o_kanban_record .oe_kanban_details ul {
padding: 0;
}
.o_form_view .oe_button_box .oe_stat_button .o_stat_info, .o_form_view .oe_button_box .oe_stat_button > span {
text-align: right;
}
.o_form_view .o_form_statusbar > .o_statusbar_status > ul > li > .btn-default, .o_form_view .oe_button_box .oe_stat_button {
text-align: right;
}
/* --------- Menu Launcher --------- */
.o_web_client > .o_main .f_launcher {
border-right: none;
border-left: 1px solid #eaeaea;
}
.o_web_client > .o_main .f_launcher .f_launcher_content .user_profile > img {
margin-left: unset;
margin-right: -8px;
}
.o_web_client > .o_main .f_launcher .f_launcher_content .oe_secondary_submenu .oe_secondary_submenu > li > a {
padding-left: unset !important;
padding-right: 30px !important;
}
.o_web_client > .o_main .f_launcher .f_launcher_content .oe_secondary_submenu > li > a {
padding: 10px 18px 10px 4px !important;
}
.o_web_client > .o_main .f_launcher .f_launcher_content .oe_secondary_submenu .oe_menu_toggler:before {
margin-left: 4px;
margin-right: -12px;
border-bottom: 4px solid transparent;
border-top: 4px solid transparent;
border-right: 4px solid #a8a8a8;
border-left: unset;
}
.o_web_client > .o_main .f_launcher .f_launcher_content .oe_secondary_submenu .oe_menu_opened {
font-weight: bolder;
}
.o_web_client > .o_main .f_launcher .f_launcher_content .oe_secondary_submenu .oe_menu_opened:before {
margin-right: -16px;
margin-left: 4px;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
border-top: 4px solid #a8a8a8;
}
/* ----------------------------------- */
/* --------- Search Launcher --------- */
.o_web_client > .o_main .f_search_launcher .f_search_launcher_content .f_apps_container .f_apps_content .f_app {
float: right;
}
.o_web_client > .o_main .f_search_launcher {
left: auto;
right: 266px;
}
/* ----------------------------------- */

View File

@ -55,7 +55,7 @@
position: absolute;
margin-top: -8px;
margin-left: -8px;
max-height: 30px;
max-height: 20px;
}
.profile_info {
width: 100%;
@ -114,7 +114,7 @@
height: 45px;
> a {
display: flex;
width: 100%;
width: 161px;
position: relative;
.app_icon, .app_name {
padding: 8px 5px 8px 10px;