| /********************************************************************* |
| * Copyright (c) 2022 Boeing |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Boeing - initial API and implementation |
| **********************************************************************/ |
| $mat-column: '.mat-column-'; |
| |
| @mixin table-column-width($header, $width) { |
| #{$mat-column}#{$header} { |
| max-width: $width; |
| } |
| } |
| |
| @mixin common-table-classes { |
| .cursor-pointer { |
| cursor: pointer; |
| } |
| |
| .nowrap { |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
| } |