1 /* You can add global styles to this file, and also import other style files */
4 // Angular2-Tree Component
5 @import '~angular-tree-component/dist/angular-tree-component.css';
8 $fa-font-path: '~fork-awesome/fonts';
9 $font-family-icon: 'ForkAwesome';
13 'primary': $color-primary,
14 'secondary': $color-accent,
15 'dark': $color-mild-gray
18 $font-family-sans-serif: 'Helvetica Neue', Helvetica, Arial, 'Noto Sans', sans-serif,
19 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
21 $badge-font-size: 1rem;
22 $form-feedback-font-size: 100%;
23 $popover-max-width: 350px;
25 @import '~bootstrap/scss/bootstrap';
26 @import '~fork-awesome/scss/fork-awesome';
27 @import 'app/ceph/dashboard/info-card/info-card-popover.scss';
29 /* Reset checkbox success color */
30 .was-validated .custom-control-input:valid,
31 .custom-control-input.is-valid {
32 ~ .custom-control-label {
36 &:checked ~ .custom-control-label::before {
37 border-color: $custom-control-indicator-checked-border-color;
38 background-color: $component-active-bg;
41 ~ .custom-control-label::before {
42 border-color: $custom-control-indicator-border-color;
45 &:focus ~ .custom-control-label::before {
46 box-shadow: $custom-control-indicator-focus-box-shadow;
49 &:focus:not(:checked) ~ .custom-control-label::before {
50 border-color: $custom-control-indicator-focus-border-color;
56 background-color: $color-app-bg;
98 justify-content: center;
110 box-shadow: 0px 0px 0px !important;
122 font-family: monospace;
125 white-space: pre-wrap;
130 background-color: $color-solid-white !important;
131 border-color: $color-input-border !important;
134 background-color: $color-soft-gray !important;
135 border-color: $color-input-border-hover !important;
139 // We have some inputs that don't have a corresponding formControlName,
140 // to be able to get the same styling and no JS errors we need use a different
143 @extend .form-control;
156 .btn-primary .badge {
157 color: $color-primary;
158 background-color: $color-button-badge;
160 .btn-group > .btn > i.fa,
161 .cd-datatable-actions button.btn i.fa {
162 /** Add space between icon and text */
171 .dropdown-menu > li > a {
172 color: $color-dropdown-menu;
175 .dropdown-menu > li > a > i.fa {
176 /** Add space between icon and text */
179 .dropdown-menu > .active > a {
180 color: $color-dropdown-active-text;
181 background-color: $color-dropdown-active-bg;
186 background-color: darken($color-dropdown-active-bg, 10);
189 .dataTables_wrapper .dropdown-menu > li.dropdown-divider {
196 padding-left: 30px !important;
197 padding-right: 30px !important;
256 border: 1px solid $color-tags-border;
257 box-shadow: inset 0 1px 1px $color-tags-box-shadow;
259 uib-accordion .card-title,
260 .card .accordion-title {
261 font-size: 14px !important;
266 .card-body h2:first-child {
270 pointer-events: none;
276 :invalid .has-error-btn,
277 :invalid .has-error-btn:disabled:hover {
278 background-color: $color-error-btn-bg;
279 border-color: $color-error-btn-border;
281 /* If javascript is disabled. */
286 color: $color-noscript-text;
290 color: $color-required-text;
305 border-color: rgba($color-primary, 0.8);
307 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px 2px rgba($color-primary, 0.5);
322 @extend .col-form-label;
334 .cd-col-form-offset {
335 @extend .offset-sm-4;
336 @extend .offset-lg-3;
337 @extend .cd-col-form-input;
349 .cd-col-form-offset {
350 @extend .offset-lg-4;
355 .card-footer button.btn:not(:first-child) {
359 .modal-footer button.btn:not(:first-child) {
367 background: url('assets/Ceph_Logo_Stacked_RGB_120411_fa_228x228.png');
370 background: url('assets/prometheus_logo.svg');
375 background-clip: padding-box;
376 background-size: contain;
377 background-repeat: no-repeat;
379 /* Notification icons */
380 .toast-message .custom-icon {
381 /* Display icons in white, regardless of their origin color. */
382 filter: brightness(0) invert(1);
383 -webkit-filter: brightness(0) invert(1);
384 -moz-filter: brightness(0) invert(1);
385 -o-filter: brightness(0) invert(1);
386 -ms-filter: brightness(0) invert(1);
390 background: $color-transparent-black !important;
393 .tooltip-wide .tooltip-inner {
398 background-color: white;
399 border: 1px solid grey;
404 .toast-message > ul {
414 @extend .border-bottom;
417 @include media-breakpoint-up(sm) {
427 // Firefox is adding a white background-coor in these components
429 background-color: transparent !important;
432 // All '.fa' icons will have fixed width
448 // Display error message in 'input-group' form fields.
449 // https://github.com/twbs/bootstrap/issues/23454
450 // https://github.com/adrianhurt/play-bootstrap/issues/118
451 .form-group.has-error .invalid-feedback {
455 //Displaying the password strength
456 .password-strength-level {
463 border-radius: 0.25rem;
469 background: $color-solid-red;
473 background: $color-bright-yellow;
477 background: $color-bright-green;
481 background: $color-green;
487 color: $color-solid-white;
488 background-color: $color-blue-gray;
491 color: $color-solid-white;
492 background-color: $color-blue;
495 color: $color-solid-gray;
496 background-color: $color-light-shade-gray;
499 // angular-tree-component
502 // Fix visual bug when tree is empty