Skip to content

Commit

Permalink
BB-21458: Cleanup UIBundle (#33113)
Browse files Browse the repository at this point in the history
* BB-21458: Cleanup UIBundle
- removed frontend styles from UIBundle
- refactored styles in ShoppingListBundle
- refactored styles in CatalogBundle
- refactored styles in InventoryBundle
- refactored styles in PricingBundle
- refactored styles in CookieConsentBundle
- refactored styles in DataGridBundle
- refactored styles in FilterBundle
- refactored styles in ResourceLibraryBundle
- refactored styles in FormBundle
- refactored styles in StyleBookBundle
- moved layouts from blank to default theme.
- updated documentation
- moved demanded files to custom theme
  • Loading branch information
ValeriyYustunyk authored Jul 19, 2022
1 parent 904fb50 commit 3e27942
Show file tree
Hide file tree
Showing 253 changed files with 1,016 additions and 2,261 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/* @theme: blank; */
/* @theme: admin.oro; */

$datagrid-blank-content-color: $additional-lighten !default;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

[data-blank-content] {
&::after {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

.grid-body-cell {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

.grid-header-cell {
.table & {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

.grid-row {
&.row-click-action {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

.grid.table-bordered {
min-width: 100%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

.launchers-list {
display: block;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

.launchers-dropdown-menu {
/* stylelint-disable declaration-no-important */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

.more-bar-holder {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

.no-data {
display: none;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

.oro-datagrid {
margin-bottom: $offset-x * 2;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

.grid-header-cell {
&.action-column {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/* @theme: blank; */
/* @theme: default; */

$datagrid-blank-content-color: get-color('additional', 'middle') !default;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

$datagrid-body-cell-offset: 12px !default;
$datagrid-body-cell-sm-offset: 8px 12px !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */
$datagrid-header-cell-border-width: 1px 0 !default;

$datagrid-header-cell-mass-action-offset-inner: 0 ($offset-y-m + 2px) 0 !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/* @theme: blank; */
/* @theme: default; */

$datagrid-table-border-width: 1px 0 !default;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

$more-bar-holder-toggle-size: 20px !default;
$more-bar-holder-toggle-offset: $offset-y-s !default;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

$no-data-background: get-color('additional', 'base') !default;
$no-data-font-size: 14px !default;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
styles:
inputs:
- 'bundles/orodatagrid/default/scss/variables/no-data-config.scss'
- 'bundles/orodatagrid/default/scss/variables/datagrid-table-config.scss'
- 'bundles/orodatagrid/default/scss/variables/datagrid-header-cell-config.scss'
- 'bundles/orodatagrid/default/scss/variables/datagrid-body-cell-config.scss'
- 'bundles/orodatagrid/default/scss/variables/more-bar-holder-config.scss'
- 'bundles/orodatagrid/default/scss/variables/data-blank-content-config.scss'

- 'bundles/orodatagrid/default/scss/components/data-blank-content.scss'
- 'bundles/orodatagrid/default/scss/components/no-data.scss'
- 'bundles/orodatagrid/default/scss/components/oro-datagrid.scss'
- 'bundles/orodatagrid/default/scss/components/datagrid-table.scss'
- 'bundles/orodatagrid/default/scss/components/datagrid-header-cell.scss'
- 'bundles/orodatagrid/default/scss/components/datagrid-body-cell.scss'
- 'bundles/orodatagrid/default/scss/components/datagrid-row.scss'
- 'bundles/orodatagrid/default/scss/components/launcher-list.scss'
- 'bundles/orodatagrid/default/scss/components/launchers-dropdown-menu.scss'
- 'bundles/orodatagrid/default/scss/components/more-bar-holder.scss'

print_styles:
inputs:
- 'bundles/orodatagrid/default/scss/components/print/datagrid-header-cell.scss'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
layout:
actions:
- '@setBlockTheme':
themes: '@OroDataGrid/layouts/default/default.html.twig'
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
layout:
actions:
- '@setBlockTheme':
themes: '@OroDataGrid/layouts/blank/imports/datagrid_toolbar/layout.html.twig'
themes: '@OroDataGrid/layouts/default/imports/datagrid_toolbar/layout.html.twig'
- '@addTree':
items:
__datagrid_toolbar:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
layout:
actions:
- '@setBlockTheme':
themes: '@OroDataGrid/layouts/blank/imports/datagrid_toolbar/layout_mobile.html.twig'
themes: '@OroDataGrid/layouts/default/imports/datagrid_toolbar/layout_mobile.html.twig'
- '@remove':
id: __datagrid_toolbar_extra_actions
- '@remove':
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
layout:
actions:
- '@setBlockTheme':
themes: '@OroDataGrid/layouts/default/page/layout.html.twig'

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
layout:
actions:
- '@setBlockTheme':
themes: '@OroEntityConfig/layouts/default/layout.html.twig'

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @theme: blank; */
/* @theme: default; */

.ui-timepicker-wrapper {
z-index: z('dropdown') + 1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* @theme: blank; */
/* @theme: default; */

$ui-timepicker-list-border: 1px solid get-color('additional', 'middle');
$ui-timepicker-list-box-shadow: 0 5px 10px rgba(0 0 0 / 20%);
$ui-timepicker-list-background: get-color('additional', 'ultra');
$ui-timepicker-list-border: 1px solid get-color('additional', 'middle') !default;
$ui-timepicker-list-box-shadow: 0 5px 10px rgba(0 0 0 / 20%) !default;
$ui-timepicker-list-background: get-color('additional', 'ultra') !default;

$ui-timepicker-list-item-color: get-color('additional', 'darker');
$ui-timepicker-list-item-hover-background: get-color('ui', 'focus');
$ui-timepicker-list-item-hover-color: get-color('additional', 'ultra');
$ui-timepicker-list-item-color: get-color('additional', 'darker') !default;
$ui-timepicker-list-item-hover-background: get-color('ui', 'focus') !default;
$ui-timepicker-list-item-hover-color: get-color('additional', 'ultra') !default;

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
styles:
inputs:
- 'bundles/orofilter/default/scss/variables/ui-timepicker-list-config.scss'

- 'bundles/orofilter/default/scss/components/ui-timepicker-list.scss'
Binary file not shown.

This file was deleted.

Loading

0 comments on commit 3e27942

Please sign in to comment.