mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
This commit is contained in:
committed by
Sergey Shebanin
parent
06e505bed0
commit
a5552e0ed6
@@ -42,8 +42,7 @@ $chatter_zone_width: 35%;
|
||||
}
|
||||
|
||||
.o_menu_sections,
|
||||
.o_menu_systray,
|
||||
{
|
||||
.o_menu_systray {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
@@ -56,8 +55,7 @@ $chatter_zone_width: 35%;
|
||||
// Hide big things
|
||||
.o_menu_brand,
|
||||
.o_menu_sections,
|
||||
.oe_topbar_name,
|
||||
{
|
||||
.oe_topbar_name {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -85,8 +83,7 @@ $chatter_zone_width: 35%;
|
||||
|
||||
> li,
|
||||
.o_menu_entry_lvl_1,
|
||||
.o_menu_header_lvl_1,
|
||||
{
|
||||
.o_menu_header_lvl_1 {
|
||||
// Homogeneous background color
|
||||
background-color: $dropdown-bg;
|
||||
color: $dropdown-link-color;
|
||||
@@ -137,7 +134,6 @@ $chatter_zone_width: 35%;
|
||||
|
||||
// Iconized full screen apps menu
|
||||
.o_menu_apps {
|
||||
|
||||
.search-input:focus {
|
||||
border-color: $o-brand-primary;
|
||||
}
|
||||
@@ -238,8 +234,7 @@ html .o_web_client .o_action_manager .o_action {
|
||||
.o_cp_buttons,
|
||||
.o_cp_left,
|
||||
.o_cp_right,
|
||||
.o_cp_searchview,
|
||||
{
|
||||
.o_cp_searchview {
|
||||
flex: 1 1 100%;
|
||||
@include media-breakpoint-up(md) {
|
||||
flex-basis: 50%;
|
||||
@@ -251,8 +246,7 @@ html .o_web_client .o_action_manager .o_action {
|
||||
}
|
||||
|
||||
.o_cp_searchview,
|
||||
.o_cp_right,
|
||||
{
|
||||
.o_cp_right {
|
||||
flex-basis: 10%;
|
||||
}
|
||||
|
||||
@@ -276,7 +270,7 @@ html .o_web_client .o_action_manager .o_action {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
&:nth-last-of-type(1n+3) {
|
||||
&:nth-last-of-type(1n + 3) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -333,7 +327,8 @@ html .o_web_client .o_action_manager .o_action {
|
||||
}
|
||||
|
||||
// Normal views
|
||||
.o_content, .modal-content {
|
||||
.o_content,
|
||||
.modal-content {
|
||||
max-width: 100%;
|
||||
|
||||
// Form views
|
||||
@@ -380,14 +375,13 @@ html .o_web_client .o_action_manager .o_action {
|
||||
.oe_button_box {
|
||||
.o_dropdown_more {
|
||||
button:last-child {
|
||||
border-right: 1px solid gray('400');
|
||||
border-right: 1px solid gray("400");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Avoid overflow on forms with title and/or button box
|
||||
.oe_title,
|
||||
{
|
||||
.oe_title {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@@ -442,8 +436,7 @@ html .o_web_client .o_action_manager .o_action {
|
||||
|
||||
// Full width in form sheets
|
||||
.o_form_sheet,
|
||||
.oe_chatter,
|
||||
{
|
||||
.oe_chatter {
|
||||
min-width: auto;
|
||||
max-width: 98%;
|
||||
}
|
||||
@@ -460,7 +453,7 @@ html .o_web_client .o_action_manager .o_action {
|
||||
|
||||
// Display send button on small screens
|
||||
.o_thread_composer {
|
||||
padding-left: $o-mail-thread-avatar-size*0.5;
|
||||
padding-left: $o-mail-thread-avatar-size * 0.5;
|
||||
|
||||
.o_composer_button_send {
|
||||
display: initial !important; // Forced in core
|
||||
@@ -508,7 +501,7 @@ html .o_web_client .o_action_manager .o_action {
|
||||
}
|
||||
|
||||
.o_chatter {
|
||||
border-left: 1px solid gray('400');
|
||||
border-left: 1px solid gray("400");
|
||||
flex: 0 0 $chatter_zone_width;
|
||||
max-width: initial;
|
||||
min-width: initial;
|
||||
@@ -544,10 +537,11 @@ html .o_web_client .o_action_manager .o_action {
|
||||
|
||||
// Sticky Header & Footer in List View
|
||||
.o_list_view {
|
||||
.table-responsive {
|
||||
.table-responsive {
|
||||
.o_list_table {
|
||||
// th & td are here for compatibility with chrome
|
||||
thead, thead tr:nth-child(1) th {
|
||||
thead,
|
||||
thead tr:nth-child(1) th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
@@ -555,7 +549,8 @@ html .o_web_client .o_action_manager .o_action {
|
||||
thead tr:nth-child(1) th {
|
||||
background-color: $o-list-footer-bg-color;
|
||||
}
|
||||
tfoot, tfoot tr:nth-child(1) td {
|
||||
tfoot,
|
||||
tfoot tr:nth-child(1) td {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
}
|
||||
@@ -568,7 +563,7 @@ html .o_web_client .o_action_manager .o_action {
|
||||
|
||||
// Waiting Cursor
|
||||
.oe_wait {
|
||||
cursor: progress;
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
// Document Viewer
|
||||
@@ -585,10 +580,12 @@ html .o_web_client .o_action_manager .o_action {
|
||||
right: 0;
|
||||
|
||||
/* Show/Hide control buttons (next, prev, etc..) */
|
||||
&:hover .arrow, &:hover .o_viewer_toolbar {
|
||||
&:hover .arrow,
|
||||
&:hover .o_viewer_toolbar {
|
||||
display: flex;
|
||||
}
|
||||
.arrow, .o_viewer_toolbar {
|
||||
.arrow,
|
||||
.o_viewer_toolbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -611,7 +608,8 @@ html .o_web_client .o_action_manager .o_action {
|
||||
}
|
||||
}
|
||||
@include media-breakpoint-down(lg) {
|
||||
.o_minimize_btn, .o_maximize_btn {
|
||||
.o_minimize_btn,
|
||||
.o_maximize_btn {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -619,7 +617,8 @@ html .o_web_client .o_action_manager .o_action {
|
||||
}
|
||||
/* Max/Min buttons only are usefull in sided mode */
|
||||
.o_web_client:not(.o_chatter_position_sided) {
|
||||
.o_minimize_btn, .o_maximize_btn {
|
||||
.o_minimize_btn,
|
||||
.o_maximize_btn {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user