Skip to content

Commit

Permalink
Merge 90d3cfb into 6190505
Browse files Browse the repository at this point in the history
  • Loading branch information
hartra344 committed Sep 25, 2018
2 parents 6190505 + 90d3cfb commit 5e17cb7
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ <h2>{{ 'functionNew_chooseTemplate' | translate }}</h2>
[ariaLabel]="'Create Function'"
[animate]="true"
[closeOnClickBackdrop]="false"
[showBackdrop]="true">
[showBackdrop]="true"
>

<extension-checker *ngIf="sidePanelOpened"
[functionCard]="createFunctionCard"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ h2{
display: inline;
}

:host /deep/ .ng-sidebar__backdrop {
background-color: $sidebar-backdrop-color-light !important;
}

.newfunc-container{
padding: 20px;
}
Expand Down Expand Up @@ -170,6 +174,9 @@ drop-down{
box-shadow: $card-box-shadow-hover-dark;
}
}
:host /deep/ .ng-sidebar__backdrop {
background-color: $sidebar-backdrop-color-dark !important;
}
}

.search-and-sort{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
padding: 10px 20px 12px 20px;
}

:host /deep/ .ng-sidebar__backdrop {
background-color: $sidebar-backdrop-color-light
}

.essentials-col {
min-width: 175px;
display: inline-block;
Expand Down Expand Up @@ -55,4 +59,13 @@

.time-column {
width: 5%;
}


#app-root[theme=dark]{

:host /deep/ .ng-sidebar__backdrop {
background-color: $sidebar-backdrop-color-dark;
}

}
7 changes: 7 additions & 0 deletions client/src/sass/common/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,10 @@ $card-footer-border-color: rgba(204, 204, 204, 0.5);

// Card dark mode
$card-box-shadow-hover-dark: 0px 4px 8px rgba(255, 255, 255, .14);


//sidebar
$sidebar-backdrop-color-light: rgba(255, 255, 255, 0.80);
$sidebar-backdrop-color-dark: rgba(0, 0, 0, 0.80);
$sidebar-flyout-border-shadow-light: rgba(0, 0, 0, 0.16) 0px 8px 16px 0px;
$sidebar-flyout-border-shadow-dark: rgba(255, 255, 255, 0.16) 0px 8px 16px 0px;
13 changes: 13 additions & 0 deletions client/src/sass/pages/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
&.ng-sidebar--opened.ng-sidebar--push {
border-left: $border;
}
&.ng-sidebar--opened.ng-sidebar--over {
box-shadow: $sidebar-flyout-border-shadow-light;
}

}

.sidebar-ftp-dashboard {
Expand All @@ -19,6 +23,9 @@
.sidebar-new-function {
background-color: $body-bg-color;
z-index: 11 !important;
&.ng-sidebar--opened.ng-sidebar--over {
box-shadow: $sidebar-flyout-border-shadow-light;
}
}

.sidebar-new-function {
Expand Down Expand Up @@ -55,6 +62,9 @@
#app-root[theme=dark]{
.sidebar{
background-color: $body-bg-color-dark;
&.ng-sidebar--opened.ng-sidebar--over {
box-shadow: $sidebar-flyout-border-shadow-dark;
}
}

.sidebar-ftp-dashboard {
Expand All @@ -63,6 +73,9 @@

.sidebar-new-function {
background-color: $body-bg-color-dark;
&.ng-sidebar--opened.ng-sidebar--over {
box-shadow: $sidebar-flyout-border-shadow-dark;
}
}
.sidebar-monitor-details {
background-color: $body-bg-color-dark;
Expand Down
6 changes: 3 additions & 3 deletions server/Resources/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -3944,13 +3944,13 @@ Set to "External URL" to use an API definition that is hosted elsewhere.</value>
<value>Description</value>
</data>
<data name="no_vsts_repos" xml:space="preserve">
<value>You don not own any VSTS Repositories</value>
<value>You do not own any VSTS Repositories</value>
</data>
<data name="no_vsts_accounts" xml:space="preserve">
<value>You don not have any valid VSTS Accounts</value>
<value>You do not have any valid VSTS Accounts</value>
</data>
<data name="no_vsts_accounts_kudu" xml:space="preserve">
<value>You don not have any valid VSTS Accounts. App Service Kudu Build also requires you to be account owner</value>
<value>You do not have any valid VSTS Accounts. App Service Kudu Build also requires you to be account owner</value>
</data>
<data name="create_one" xml:space="preserve">
<value>Create one now</value>
Expand Down

0 comments on commit 5e17cb7

Please sign in to comment.