Skip to content

Commit

Permalink
[IMP] web_responsive: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kobros-tech committed Jan 27, 2025
1 parent 585a154 commit 7400bf3
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
flex-direction: column;
border-radius: 4px;
gap: 0.25rem;
transition: ease box-shadow, transform, 0.3s;
transition:
ease box-shadow,
transform,
0.3s;
background: unset;
outline: unset;
border: unset;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
background-color: rgba(255, 255, 255, 0.2);
text-shadow: 0 0 rgba(30, 30, 30, 0.8);
box-shadow: 0 0 1px 0 rgba(30, 30, 30, 0.4);
transition: background-color 0.2s, box-shadow 0.2s;
transition:
background-color 0.2s,
box-shadow 0.2s;

&:hover {
background-color: rgba(255, 255, 255, 0.8);
Expand Down
18 changes: 12 additions & 6 deletions web_responsive/static/src/legacy/scss/primary_variable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@
$app-menu-text-color: #374151 !default;
$app-menu-background-color: rgb(233, 230, 249) !default;
$app-menu-item-highlight: rgb(243, 240, 259) !default;
$app-menu-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16),
0 2px 2px rgba(0, 0, 0, 0.016), 0 4px 4px rgba(0, 0, 0, 0.016),
0 8px 8px rgba(0, 0, 0, 0.016), 0 16px 16px rgba(0, 0, 0, 0.016) !default;
$app-menu-box-shadow-highlight: inset 0 0 0 1px rgba(0, 0, 0, 0.26),
0 2px 2px rgba(0, 0, 0, 0.026), 0 4px 4px rgba(0, 0, 0, 0.026),
0 8px 8px rgba(0, 0, 0, 0.026), 0 16px 16px rgba(0, 0, 0, 0.026) !default;
$app-menu-box-shadow:
inset 0 0 0 1px rgba(0, 0, 0, 0.16),
0 2px 2px rgba(0, 0, 0, 0.016),
0 4px 4px rgba(0, 0, 0, 0.016),
0 8px 8px rgba(0, 0, 0, 0.016),
0 16px 16px rgba(0, 0, 0, 0.016) !default;
$app-menu-box-shadow-highlight:
inset 0 0 0 1px rgba(0, 0, 0, 0.26),
0 2px 2px rgba(0, 0, 0, 0.026),
0 4px 4px rgba(0, 0, 0, 0.026),
0 8px 8px rgba(0, 0, 0, 0.026),
0 16px 16px rgba(0, 0, 0, 0.026) !default;
4 changes: 3 additions & 1 deletion web_responsive/static/src/legacy/scss/web_responsive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ $chatter_zone_width: 35% !important;
// Some UX improvements for form in edit mode
@include media-breakpoint-down(sm) {
&.o_form_editable .o_field_widget {
&:not(.o_stat_info):not(.o_readonly_modifier):not(.oe_form_field_html):not(.o_field_image) {
&:not(.o_stat_info):not(.o_readonly_modifier):not(
.oe_form_field_html
):not(.o_field_image) {
min-height: 35px;
}

Expand Down
2 changes: 0 additions & 2 deletions web_responsive/static/src/legacy/xml/custom_favorite_item.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<templates>

<t
t-name="web_responsive.CustomFavoriteItem"
t-inherit="web.CustomFavoriteItem"
Expand All @@ -16,5 +15,4 @@
<attribute name="class" add="o_add_favorite_name" separator=" " />
</xpath>
</t>

</templates>
2 changes: 0 additions & 2 deletions web_responsive/static/src/views/form/status_bar_buttons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
-->
<templates>

<t
t-name="web_responsive.StatusBarButtons"
t-inherit="web.StatusBarButtons"
Expand All @@ -20,5 +19,4 @@
</t>
</xpath>
</t>

</templates>

0 comments on commit 7400bf3

Please sign in to comment.