| /* |
| Copyright 2020 TATA ELXSI |
| |
| Licensed under the Apache License, Version 2.0 (the 'License'); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| Author: SANDHYA JS (sandhya.j@tataelxsi.co.in) |
| */ |
| @import "../../../assets/scss/variable.scss"; |
| @import "../../../assets/scss/mixins/mixin.scss"; |
| |
| .text-dark { |
| color: $gray-800; |
| } |
| |
| .font-weight-bold { |
| font-weight: 700; |
| } |
| |
| button.bg-light { |
| background-color: $gray-200; |
| &:hover, |
| &:focus { |
| background-color: $paleblue; |
| } |
| } |
| |
| .btn-group { |
| display: flex; |
| &.list.action { |
| justify-content: center; |
| align-items: flex-start; |
| flex-wrap: wrap; |
| .btn { |
| border-top: 2px solid $primary; |
| transition: |
| transform 0.3s ease-in-out, |
| background-color 0.3s, |
| color 0.3s; |
| &.active { |
| background-color: $theme-bg-color; |
| font-weight: bold; |
| margin: 5px 0 0; |
| transform: scale(1); |
| .circle { |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| width: 40px; |
| height: 40px; |
| border-radius: 50%; |
| background-color: $primary; |
| color: white; |
| position: absolute; |
| top: 0; |
| transform: translateY(-50%); |
| } |
| b { |
| font-size: 1.2em; |
| } |
| p { |
| font-size: 1em; |
| } |
| } |
| &:not(.active) { |
| transform: scale(0.97); |
| opacity: 0.8; |
| .circle { |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| width: 40px; |
| height: 40px; |
| border-radius: 50%; |
| background-color: $gray-200; |
| color: black; |
| position: absolute; |
| top: 0; |
| transform: translateY(-50%); |
| border: 1px solid $primary; |
| } |
| } |
| } |
| .collapse { |
| transition: |
| background-color 0.3s, |
| color 0.3s; |
| } |
| } |
| } |
| .collapse { |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: flex-start; |
| padding: 5px; |
| background-color: $theme-bg-color; |
| } |
| |
| .btn p { |
| margin: 0; |
| padding-top: 20px; |
| } |
| |
| .label-value-pair, |
| .label-value-pair-description { |
| display: flex; |
| justify-content: space-between; |
| margin-bottom: 10px; |
| @include padding-value(3, 10, 0, 10); |
| align-items: center; |
| gap: 8px; |
| position: relative; |
| } |
| |
| .label, |
| .label1 { |
| font-weight: bold; |
| color: #343a40; |
| white-space: nowrap; |
| } |
| |
| .value, |
| .value1 { |
| display: -webkit-box; |
| -webkit-line-clamp: 2; |
| line-clamp: 2; |
| -webkit-box-orient: vertical; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| cursor: pointer; |
| max-height: 3em; |
| line-height: 1.5em; |
| position: relative; |
| margin-left: 5px; |
| color: #343a40; |
| flex: 1; |
| min-width: 0; |
| overflow: visible; |
| } |
| |
| .custom-card { |
| @include wh-value(null, 290px); |
| @include roundedCorners(5); |
| position: relative; |
| @include border(all, 1, solid, rgba(238, 238, 238, 0.75)); |
| @include box-shadow(0px, 1px, 15px, 0px, rgba(69, 90, 100, 0.1)); |
| background-color: $white; |
| } |
| |
| .d-flex { |
| display: flex; |
| flex-wrap: nowrap; |
| align-items: center; |
| gap: 2px; |
| width: 100%; |
| } |
| |
| .search-container { |
| position: relative; |
| width: 100%; |
| max-width: 300px; |
| height: 30px; |
| display: flex; |
| } |
| |
| .search-input { |
| width: 100%; |
| padding-right: 40px; |
| box-sizing: border-box; |
| border: 1px solid $primary; |
| } |
| |
| .search-icon { |
| position: absolute; |
| right: 10px; |
| top: 50%; |
| transform: translateY(-50%); |
| color: $primary; |
| } |
| |
| .sort-dropdown { |
| display: flex; |
| align-items: center; |
| position: relative; |
| flex-shrink: 0; |
| min-width: 150px; |
| max-width: 200px; |
| margin-left: 2px; |
| } |
| |
| #sort-icon { |
| margin-right: 10px; |
| cursor: pointer; |
| } |
| |
| #sort-options { |
| padding: 2px; |
| cursor: pointer; |
| } |
| |
| .custom-card-header { |
| background-color: $primary; |
| @include box-shadow(0px, 1px, 15px, 0px, rgba(69, 90, 100, 0.1)); |
| @include roundedCorners(5); |
| color: white; |
| } |
| |
| .version { |
| background-color: $secondary; |
| width: 40px; |
| } |
| |
| .short-description { |
| display: -webkit-box; |
| -webkit-line-clamp: 2; |
| -webkit-box-orient: vertical; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| cursor: pointer; |
| max-height: 3em; |
| line-height: 1.5em; |
| white-space: normal; |
| line-clamp: 2; |
| } |
| |
| /* Tooltip Styling */ |
| .popover-description { |
| position: absolute; |
| background-color: $primary; |
| color: white; |
| padding: 8px; |
| border-radius: 5px; |
| font-size: 12px; |
| max-width: 300px; |
| white-space: normal; |
| display: none; |
| z-index: 1000; |
| } |
| |
| .value1:hover .popover-description { |
| display: block; |
| } |
| |
| .card-header, |
| .card-footer { |
| padding: 12px; |
| font-weight: bold; |
| } |
| |
| .card-body { |
| padding: 0; |
| margin: 0; |
| border-top: 1px solid #ddd; |
| border-bottom: 1px solid #ddd; |
| } |
| |
| .no-data { |
| display: flex; |
| justify-content: center; |
| align-items: center; |
| padding: 20px 0; |
| text-align: center; |
| height: 260px; |
| } |
| |
| ::ng-deep .carousel-indicators { |
| display: none; |
| } |
| |
| /* Hide default Bootstrap background images for arrows */ |
| ::ng-deep .carousel-control-prev-icon, |
| ::ng-deep .carousel-control-next-icon { |
| background-image: none; |
| display: none; |
| } |
| |
| /* Add Font Awesome icons for Previous & Next Arrows */ |
| ::ng-deep .carousel-control-prev::before { |
| content: "\f104"; |
| font-family: "Font Awesome 5 Free"; |
| font-weight: 900; |
| width: 20px; |
| height: 20px; |
| position: relative; |
| color: white; |
| right: 22px; |
| bottom: 35px; |
| background-color: $primary; |
| border-radius: 50%; |
| } |
| |
| ::ng-deep .carousel-control-next::before { |
| content: "\f105"; |
| font-family: "Font Awesome 5 Free"; |
| font-weight: 900; |
| position: relative; |
| left: 22px; |
| bottom: 35px; |
| width: 20px; |
| height: 20px; |
| color: white; |
| background-color: $primary; |
| border-radius: 50%; |
| } |