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

[NIFI-6547] update hover state, font colors, and line height of tab b… #51

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all 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
14 changes: 14 additions & 0 deletions platform/core/common/styles/_buttonToggles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,18 @@
color: $grey1;
border: 1px solid $grey4;
}

body[fds] .tab-toggle-group > .mat-button-toggle-checked.mat-button-toggle-appearance-standard {
color: rgba(0, 0, 0, 0.54);
}

body[fds] .tab-toggle-group > .mat-button-toggle-appearance-standard {
color: rgba(0, 0, 0, 0.38);
background: transparent;
border-left: 0;
}

body[fds] .tab-toggle-group > .mat-button-toggle-appearance-standard .mat-button-toggle-label-content {
line-height: 38px;
}
}
4 changes: 1 addition & 3 deletions webapp/components/flow-design-system/fds-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,14 +270,12 @@ <h3 class="md-title">Usage</h3>
</mat-button-toggle-group>
<div fxLayout="row" class="pad-top-md pad-bot-md"></div>
<mat-button-toggle-group name="fds-administration-perspective" fxLayout="row" class="tab-toggle-group">
<mat-button-toggle value="general">
<mat-button-toggle disabled value="general">
general
</mat-button-toggle>
<div fxLayout="row" class="pad-left-md"></div>
<mat-button-toggle value="users">
Users
</mat-button-toggle>
<div fxLayout="row" class="pad-left-md"></div>
<mat-button-toggle value="workflow">
Workflow
</mat-button-toggle>
Expand Down