]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
lint fixes
authorIvo Almeida <ialmeida@redhat.com>
Thu, 30 May 2024 10:25:33 +0000 (11:25 +0100)
committerIvo Almeida <ialmeida@redhat.com>
Thu, 30 May 2024 10:25:48 +0000 (11:25 +0100)
src/pybind/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.scss
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.scss
src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.scss
src/pybind/mgr/dashboard/frontend/src/styles/carbon-overrides.scss
src/pybind/mgr/dashboard/frontend/src/styles/defaults/_bootstrap-defaults.scss
src/pybind/mgr/dashboard/frontend/src/styles/themes/_upstream.scss

index 3730420d3756aad07f39b7443d2aa18af2e7dcee..c44a42c5126c4559141dde5c27838f9b5edcbb6a 100644 (file)
@@ -2,7 +2,9 @@
 <!-- HEADER  -->
 <!-- ************************ -->
 <ng-template #header>
-<cds-header name="Ceph Dashboard" [brand]="brandTemplate" [isTemplate]="true">
+<cds-header name="Ceph Dashboard"
+            [brand]="brandTemplate"
+            [isTemplate]="true">
   <cds-hamburger [active]="showMenuSidebar"
                  (selected)="showMenuSidebar = !showMenuSidebar"></cds-hamburger>
   <cds-header-global>
              size="20"></svg>
         <cds-sidenav-item route="/rgw/overview"
                           [useRouter]="true"
-                          class="tc_submenuitem tc_submenuitem_rgw_overview"><span i18n>Overview</span></cds-sidenav-item>        
+                          class="tc_submenuitem tc_submenuitem_rgw_overview"><span i18n>Overview</span></cds-sidenav-item>
         <cds-sidenav-item route="/rgw/bucket"
                           [useRouter]="true"
                           class="tc_submenuitem tc_submenuitem_rgw_buckets"><span i18n>Buckets</span></cds-sidenav-item>
index f716d696651c88025749e404ad2ce5f50bb4b2e4..e3b4e80e5e30ee7568e8a84c24b7d94fc0b1356d 100644 (file)
@@ -194,9 +194,9 @@ $sidebar-width: 20.8rem;
     left: 0;
     overflow-y: auto;
     position: relative;
-    z-index: 999;
     transition: all 0.3s;
     width: $sidebar-width;
+    z-index: 999;
 
     &.active {
       // margin-left: -$sidebar-width;
index 6e2d072976cd6202d4ca7062a41d2d4c8d137505..21d333cc0f90a331fe8dd5c5e7e80b1d0e2af8a3 100644 (file)
@@ -80,7 +80,7 @@ import { UpgradableComponent } from './upgradable/upgradable.component';
     NgbTimepickerModule,
     UIShellModule,
     ButtonModule,
-    NotificationModule,
+    NotificationModule
   ],
   declarations: [
     SparklineComponent,
@@ -162,4 +162,4 @@ import { UpgradableComponent } from './upgradable/upgradable.component';
     UpgradableComponent
   ]
 })
-export class ComponentsModule {}
\ No newline at end of file
+export class ComponentsModule {}
index 4faa60684a1a37226515b38c488fe6fb75da4dcc..53efbe18980ff1feb99d17b0762b1e7d5e9f87f0 100644 (file)
@@ -23,9 +23,9 @@ a {
 }
 
 .telemetry-notification {
-  z-index: 99999;
-  position: absolute;
   bottom: 25px;
+  position: absolute;
   right: 50%;
   transform: translateX(50%);
+  z-index: 99999;
 }
index 7a276343831e0585b0230164890ce42eec003818..ffdc83655ce489340d560d994992ac1fe3682ada 100644 (file)
@@ -1,16 +1,16 @@
-@use "@carbon/styles/scss/config" with (
-  $font-path: "~@ibm/plex",
+@use '@carbon/styles/scss/config' with (
+  $font-path: '~@ibm/plex',
   $flex-grid-columns: 16,
   $use-flexbox-grid: true,
 );
-@use "./themes/upstream";
+@use './themes/upstream';
 @use '@carbon/styles/scss/compat/themes' as compat;
 @use '@carbon/styles/scss/themes';
 @use '@carbon/styles/scss/theme' with (
   $theme: compat.$g90,
   $fallback: upstream.$theme,
 );
-@use "@carbon/styles";
+@use '@carbon/styles';
 @use '@carbon/type';
 
 /**********************************************************************************
@@ -55,7 +55,7 @@ a.cds--side-nav__link > .cds--side-nav__link-text {
 
 a.cds--header__menu-item,
 .cds--header__action,
-.cds--header{
+.cds--header {
   block-size: 3.9rem;
   font-size: calc(type.type-scale(4) + 0.5px);
 }
index 76fce50bd1ba45f923dfcbdf3b05e339a7b8f94f..16cbcac3e321d07230527e2f290d007509569702 100644 (file)
@@ -110,7 +110,7 @@ $code-block-bg: #f7f7f9 !default;
 
 // Typography
 
-// WARNING: This was clashing with Carbon's font-family  
+// WARNING: This was clashing with Carbon's font-family
 // $font-family-sans-serif: 'Helvetica Neue', Helvetica, Arial, 'Noto Sans', sans-serif,
 //   'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !default;
 
index 189663b0de8f8b5f6b354b283be72327b5b949ad..970d5303314b094ad4bf621aafc5efaefb4df97c 100644 (file)
@@ -5,5 +5,5 @@ $theme: (
   text-secondary: #c6c6c6,
   btn-primary: vv.$primary,
   border-interactive: vv.$primary,
-  background: vv.$secondary,
-);
\ No newline at end of file
+  background: vv.$secondary
+);