Skip to content

Commit

Permalink
Merge pull request #6122 from deNBI/feat/coreui_5_fix
Browse files Browse the repository at this point in the history
Feat/coreui 5 fix
  • Loading branch information
dweinholz authored Aug 14, 2024
2 parents 7bddcb8 + 1a4e201 commit a709d69
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 46 deletions.
65 changes: 29 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@denbi/cloud-portal-webapp",
"version": "4.848.0",
"version": "4.849.0",
"description": "de.NBI Cloud Portal",
"scripts": {
"ng": "ng serve",
Expand Down Expand Up @@ -31,9 +31,9 @@
"@angular/router": "17.3.10",
"@angular/service-worker": "17.3.10",
"@angular/upgrade": "17.3.10",
"@coreui/angular": "4.7.19",
"@coreui/coreui": "4.3.2",
"@coreui/icons-angular": "5.0.4",
"@coreui/angular": "5.1.11",
"@coreui/coreui": "5.1.1",
"@coreui/icons-angular": "5.1.11",
"@ng-bootstrap/ng-bootstrap": "16.0.0",
"@ng-select/ng-select": "12.0.7",
"@sindresorhus/transliterate": "1.6.0",
Expand Down Expand Up @@ -113,7 +113,7 @@
"npm-run-all2": "6.1.2",
"prettier": "3.2.5",
"raw-loader": "4.0.2",
"sass-loader": "14.2.1",
"sass-loader": "16.0.0",
"script-loader": "0.7.2",
"source-map-loader": "5.0.0",
"style-loader": "4.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ <h5>
<tr>
<td>Project Member Names Visibility</td>
<td>
<span *ngIf="application?.show_member_names" class="badge bg-light">Visible</span>
<span *ngIf="application?.show_member_names" class="badge bg-secondary">Visible</span>
<!-- <span *ngIf="!application?.show_member_names" class="badge bg-info">Hidden</span>-->
<span *ngIf="!application?.show_member_names" class="badge bg-primary">Hidden</span>
<span *ngIf="!application?.show_member_names" class="badge bg-secondary">Hidden</span>
</td>
</tr>

Expand Down
5 changes: 5 additions & 0 deletions src/scss/_custom-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@
$gray-lighter: #cfd8dc;
$border-color: $gray-lighter;


$primary: #00adef;
// $navbar-brand-logo-size: 120px auto;
// $navbar-brand-logo: url('../img/denbi_cloud_logo.svg');

$theme-colors: ('primary': $primary);
$--cui-primary: $primary !important;
30 changes: 27 additions & 3 deletions src/scss/_custom.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Here you can add other styles
@use "sass:math";

@import "../node_modules/bootstrap/scss/bootstrap";
//@import "../node_modules/bootstrap/scss/bootstrap";


// due to change from ngx-perfect-scrollbar to ngx-scrollbar
Expand Down Expand Up @@ -339,6 +339,14 @@ $kubernetescolor: #326ce5;
width: 13rem;
}

.sidebar-nav .nav-item {
padding: 0;
}

.sidebar-nav {
padding: 2px 0;
}

.row>.ng-star-inserted {
width: unset;
}
Expand Down Expand Up @@ -875,6 +883,14 @@ app-dashboard {
border-color: #BBC1C7;
}

.alert-link {
color: $deNBI_blue;
}

.alert-link:hover {
color: $deNBI_cyan;
}

.btn-secondary,
.btn-info {
background-color: $deNBI_lightgrey !important;
Expand Down Expand Up @@ -1071,6 +1087,8 @@ header {
color: $deNBI_darkgrey;
}



.nav-link:hover,
.nav-link:hover {
color: $deNBI_lightgrey;
Expand Down Expand Up @@ -1113,8 +1131,14 @@ header {
}

.sidebar-nav .nav-item:hover,
.sidebar .nav-item:hover>.nav-link {
background-color: $deNBI_lightgrey
.sidebar .nav-item:hover>.nav-link,
.sidebar .nav-item:hover>.nav-link .nav-icon {
background-color: $deNBI_lightgrey;
color: white;
}

.sidebar .nav-item .nav-link.active .nav-icon {
color: white;
}

.sidebar-nav .nav-group-toggle::after {
Expand Down
2 changes: 2 additions & 0 deletions src/scss/_variables-dark.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Override Boostrap variables

0 comments on commit a709d69

Please sign in to comment.