From 070b7a4ca708db41e79e05d5b2b1a2c91804595f Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Wed, 13 Nov 2024 09:52:51 +0100 Subject: [PATCH] Remove unnecessary padding for Fabric (#2005) Co-authored-by: Laurent Nguyen --- less/documentDBFabric.less | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/less/documentDBFabric.less b/less/documentDBFabric.less index c191ba8b1..900535700 100644 --- a/less/documentDBFabric.less +++ b/less/documentDBFabric.less @@ -26,7 +26,6 @@ a:focus { #divExplorer { background-color: #f5f5f5; - padding: @FabricBoxMargin; } .resourceTreeAndTabs { @@ -38,12 +37,12 @@ a:focus { } .tabsManagerContainer { - background-color: #ffffff + background-color: #ffffff; } .nav-tabs-margin { padding-top: 5px; - background-color: #ffffff + background-color: #ffffff; } .commandBarContainer { @@ -68,17 +67,16 @@ a:focus { } } - -.nav-tabs>li>.tabNavContentContainer>.tab_Content:hover { +.nav-tabs > li > .tabNavContentContainer > .tab_Content:hover { border-bottom: 2px solid #e0e0e0; } -.nav-tabs>li.active>.tabNavContentContainer>.tab_Content, -.nav-tabs>li.active>.tabNavContentContainer>.tab_Content:hover { +.nav-tabs > li.active > .tabNavContentContainer > .tab_Content, +.nav-tabs > li.active > .tabNavContentContainer > .tab_Content:hover { border-bottom: 2px solid @FabricAccentMedium; } -.nav-tabs>li.active>.tabNavContentContainer>.tab_Content>.contentWrapper>.tabNavText { +.nav-tabs > li.active > .tabNavContentContainer > .tab_Content > .contentWrapper > .tabNavText { border-bottom: 0px none transparent; } @@ -97,10 +95,10 @@ a:focus { padding-bottom: @SmallSpace; .contentWrapper { - .statusIconContainer { - margin-left: 0px; - } + .statusIconContainer { + margin-left: 0px; } + } .tabIconSection { .cancelButton { @@ -122,7 +120,6 @@ a:focus { } } - .resourceTree { padding: 12px; } @@ -159,24 +156,21 @@ a:focus { } .selected { - &>.treeNodeHeader { + & > .treeNodeHeader { background-color: @FabricAccentExtra; } } } } - .dataExplorerErrorConsoleContainer { - border-radius: 0px 0px @FabricBoxBorderRadius @FabricBoxBorderRadius; + border-radius: 0px 0px @FabricBoxBorderRadius @FabricBoxBorderRadius; box-shadow: @FabricBoxBorderShadow; margin-top: 0px; width: auto; align-self: auto; } - - .filterbtnstyle { background: #fff; color: #000; @@ -202,12 +196,10 @@ a:focus { border: solid 1px #d1d1d1; } - .gridRowSelected .tabdocumentsGridElement:hover { background-color: @FabricAccentLight !important; } - .refreshcol { filter: brightness(0) saturate(100%); } @@ -218,4 +210,4 @@ a:focus { .fileImportImg img { filter: brightness(0) saturate(100%); -} \ No newline at end of file +}