Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(components): change visibility style #5552

Merged
merged 4 commits into from
Mar 10, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@mixin content-visible {
height: 100%;
visibility: visible;
visibility: inherit;
opacity: 1;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@
.#{$prefix}--toolbar-search-container-active
.#{$prefix}--search
.#{$prefix}--search-input {
visibility: visible;
visibility: inherit;
}

.#{$prefix}--toolbar-search-container-active
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
visibility: visible;
visibility: inherit;
white-space: nowrap;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
visibility: visible;
visibility: inherit;
overflow: visible;
max-height: 640px;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
visibility 0ms linear $duration--moderate-02;

&.is-visible {
visibility: visible;
visibility: inherit;
opacity: 1;
background-color: $overlay-01;
transition: background-color $duration--slow-02
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
//OVERFLOW STYLING
.#{$prefix}--progress-label-overflow:hover ~ .#{$prefix}--tooltip,
.#{$prefix}--progress-label-overflow:focus ~ .#{$prefix}--tooltip {
visibility: visible;
visibility: inherit;
}

.#{$prefix}--progress-step .#{$prefix}--tooltip .#{$prefix}--tooltip__caret {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/search/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
outline $duration--fast-02 motion(standard, productive),
border $duration--fast-02 motion(standard, productive);
cursor: pointer;
visibility: visible;
visibility: inherit;
opacity: 1;
height: rem(40px);
width: rem(40px);
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/tile/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
}

.#{$prefix}--tile-content__below-the-fold {
visibility: visible;
visibility: inherit;
opacity: 1;
transition: opacity $duration--fast-02 motion(standard, productive),
visibility $duration--fast-02 motion(standard, productive);
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/ui-shell/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
visibility: visible;
visibility: inherit;
white-space: nowrap;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/ui-shell/_side-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
.#{$prefix}--side-nav--fixed &,
.#{$prefix}--side-nav--expanded & {
@if $visibility == true {
visibility: visible;
visibility: inherit;
}
@if $opacity == true {
opacity: 1;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/globals/scss/_css--helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
visibility: visible;
visibility: inherit;
white-space: nowrap;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/globals/scss/_helper-mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
visibility: visible;
visibility: inherit;
white-space: nowrap;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/globals/scss/_keyframes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

@mixin content-visible {
visibility: visible;
visibility: inherit;
opacity: 1;
}

Expand Down