Skip to content

Commit

Permalink
chore: format files
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderMelox committed Nov 29, 2022
1 parent 065835f commit 9a28d00
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,15 @@
}

// remove the hover behaviour from the side nav
.#{$prefix}--side-nav.#{$prefix}--side-nav--rail:not(.#{$prefix}--side-nav--fixed):not(.#{$prefix}--side-product-nav):hover {
.#{$prefix}--side-nav.#{$prefix}--side-nav--rail:not(
.#{$prefix}--side-nav--fixed
):not(.#{$prefix}--side-product-nav):hover {
width: carbon--mini-units(6);
}

.#{$prefix}--side-nav.#{$prefix}--side-nav--rail:not(.#{$prefix}--side-nav--fixed):not(.#{$prefix}--side-product-nav):hover.#{$prefix}--side-nav--expanded {
.#{$prefix}--side-nav.#{$prefix}--side-nav--rail:not(
.#{$prefix}--side-nav--fixed
):not(.#{$prefix}--side-product-nav):hover.#{$prefix}--side-nav--expanded {
width: carbon--mini-units(32);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@
.#{$block-class}.#{$carbon-prefix}--btn-set.#{$block-class}--max
.#{$block-class}__action-button:not(.#{$block-class}__action-button--ghost),
.#{$block-class}.#{$carbon-prefix}--btn-set.#{$block-class}--row-quadruple
.#{$block-class}__action-button:not(.#{$block-class}__action-button--ghost) {
.#{$block-class}__action-button:not(
.#{$block-class}__action-button--ghost
) {
max-width: rem(232px);
flex: 0 1 25%;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@
.#{$block-class} .#{$carbon-prefix}--structured-list-row,
.#{$block-class}
.#{$block-class}__selections.#{$carbon-prefix}--structured-list--selection
.#{$carbon-prefix}--structured-list-row:hover:not(.#{$carbon-prefix}--structured-list-row--header-row):not(.#{$carbon-prefix}--structured-list-row--selected) {
.#{$carbon-prefix}--structured-list-row:hover:not(
.#{$carbon-prefix}--structured-list-row--header-row
):not(.#{$carbon-prefix}--structured-list-row--selected) {
border-bottom: 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,9 @@
}

.#{$block-class}
.#{$carbon-prefix}--data-table--selected:not(.#{$block-class}__active-row)::before {
.#{$carbon-prefix}--data-table--selected:not(
.#{$block-class}__active-row
)::before {
position: absolute;
left: 0;
width: $spacing-02;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ $row-heights: (
justify-content: flex-start;
}
// Always show renderIcon if inline edit columns are less than half of total columns
&:not(.#{$block-class}__inline-edit-button--edit-less-than-half-of-total-cols) {
&:not(
.#{$block-class}__inline-edit-button--edit-less-than-half-of-total-cols
) {
.#{$block-class}__inline-edit-button-icon {
display: none;
}
Expand All @@ -132,7 +134,9 @@ $row-heights: (
}

.#{$block-class}__inline-edit--outer-cell-button
.#{$block-class}__inline-edit-button.#{$block-class}__inline-edit-button--active:not([data-disabled='true']) {
.#{$block-class}__inline-edit-button.#{$block-class}__inline-edit-button--active:not(
[data-disabled='true']
) {
background-color: $active-ui;
color: $text-01;
cursor: text;
Expand All @@ -144,7 +148,9 @@ $row-heights: (
}

.#{$block-class}__inline-edit--outer-cell-button
.#{$block-class}__inline-edit-button--disabled:not(.#{$block-class}__inline-edit-button--edit-less-than-half-of-total-cols) {
.#{$block-class}__inline-edit-button--disabled:not(
.#{$block-class}__inline-edit-button--edit-less-than-half-of-total-cols
) {
color: $disabled-02;
cursor: not-allowed;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@
}

&.#{$block-class}--editing
.#{$block-class}__toolbar--animation:not(.#{$block-class}__toolbar--saveable)
.#{$block-class}__toolbar--animation:not(
.#{$block-class}__toolbar--saveable
)
.#{$block-class}__save {
overflow: hidden;
width: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ $right-section-alt-width: 100% - $left-section-alt-width;
}
}

.#{$block-class}__breadcrumb-row:not(.#{$block-class}__breadcrumb-row--has-action-bar) {
.#{$block-class}__breadcrumb-row:not(
.#{$block-class}__breadcrumb-row--has-action-bar
) {
// lifts up page title when there is no action bar
min-height: $spacing-07;
}
Expand Down Expand Up @@ -200,7 +202,9 @@ $right-section-alt-width: 100% - $left-section-alt-width;
transition: all $duration--moderate-01 ease-out;
}

.#{$block-class}__breadcrumb-row--next-to-tabs:not(.#{$block-class}__has-page-actions-without-action-bar)::after,
.#{$block-class}__breadcrumb-row--next-to-tabs:not(
.#{$block-class}__has-page-actions-without-action-bar
)::after,
.#{$block-class}__breadcrumb-row--has-action-bar::after {
/* creates a full width box shadow without causing scroll */
box-shadow: 25vw 1px 0 0 $ui-03, -25vw 1px 0 0 $ui-03;
Expand Down

0 comments on commit 9a28d00

Please sign in to comment.