1 /* You can add global styles to this file, and also import other style files */
2 @use './src/styles/defaults' as *;
4 // Angular2-Tree Component
5 @import '~@circlon/angular-tree-component/css/angular-tree-component.css';
8 $fa-font-path: '~fork-awesome/fonts';
9 $font-family-icon: 'ForkAwesome';
11 $badge-font-size: 1rem;
12 $form-feedback-font-size: 100%;
13 $popover-max-width: 350px;
14 $popover-font-size: 1rem;
16 // https://getbootstrap.com/docs/4.5/layout/grid/#variables
26 @import '~bootstrap/scss/bootstrap';
27 @import '~fork-awesome/scss/fork-awesome';
28 @import 'app/ceph/dashboard/info-card/info-card-popover.scss';
29 @import './src/styles/bootstrap-extends';
31 @import './src/styles/ceph-custom/basics';
32 @import './src/styles/ceph-custom/buttons';
33 @import './src/styles/ceph-custom/dropdown';
34 @import './src/styles/ceph-custom/forms';
35 @import './src/styles/ceph-custom/grid';
36 @import './src/styles/ceph-custom/icons';
37 @import './src/styles/ceph-custom/navs';
38 @import './src/styles/ceph-custom/toast';
40 /* If javascript is disabled. */
45 // TODO: Replace (cd-)col-form-label with something more generic.
46 @include media-breakpoint-up(sm) {
56 //Displaying the password strength
57 .password-strength-level {
65 border-radius: 0.25rem;
85 background: darken($success, 15%);
91 .badge-background-gray,
93 background-color: $gray-600;
97 .badge-background-primary,
99 background-color: $primary;
104 background-color: $gray-200;
108 .badge-cd-label-green {
109 background-color: $green-300;
113 .badge-cd-label-cyan {
114 background-color: $cyan-300;
118 .badge-cd-label-purple {
119 background-color: $purple-300;
123 .badge-cd-label-light-blue {
124 background-color: $light-blue-300;
128 .badge-cd-label-gold {
129 background-color: $gold-300;
133 .badge-cd-label-light-green {
134 background-color: $light-green-300;
139 // angular-tree-component
142 // Fix visual bug when tree is empty
149 border: 1px solid $gray-400;
151 box-shadow: inset 0 1px 1px rgba($black, 0.09);
158 .card-body h2:first-child {
163 pointer-events: none;
168 text-decoration: underline;
175 text-decoration: none;
180 text-decoration: none;
183 // Overrides the badge to rounded-pill
185 @extend .badge, .rounded-pill, .mb-1;
188 // Overriding badges to match the class name of badges in Bootstrap v5
190 @extend .badge, .bg-primary;
194 @extend .badge, .bg-secondary;
198 @extend .badge, .bg-success;
202 @extend .badge, .bg-danger;
206 @extend .badge, .bg-primary;
210 @extend .badge, .bg-warning, .text-dark;
214 @extend .badge, .bg-light, .text-dark;
218 @extend .badge, .bg-dark;
222 .ng-touched.ng-invalid {
226 .ng-touched.ng-valid {
231 @extend .cd-col-form-label;
236 span[aria-hidden='true'] {