| /******************************************************************************** |
| * Copyright (c) 2020 Contributors to the Eclipse Foundation |
| * |
| * See the NOTICE file(s) distributed with this work for additional |
| * information regarding copyright ownership. |
| * |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0 |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| ********************************************************************************/ |
| // This file contains a collection of SCSS variables and mixins and is imported by Angular components. |
| // Note that this file shall not include any CSS classes (this should be done in the ../theme/openk.theme.scss file). |
| @import "colors/colors.styles"; |
| |
| @mixin user-select-mixin($userSelect: none, $outline: none, $highlight-color: transparent) { |
| outline: $outline; |
| -webkit-tap-highlight-color: $highlight-color; |
| -webkit-user-select: $userSelect; |
| -moz-user-select: $userSelect; |
| -ms-user-select: $userSelect; |
| user-select: $userSelect; |
| } |
| |
| @mixin prevent-text-overflow-mixin($text-overflow: ellipsis) { |
| overflow: hidden; |
| text-overflow: $text-overflow; |
| white-space: nowrap; |
| } |