Skip to content

Commit

Permalink
aligning midpoint adminlte template to figma designs (primary color n…
Browse files Browse the repository at this point in the history
…ow lightblue, default and secondary also changed a bit)
  • Loading branch information
1azyman committed May 27, 2022
1 parent 0bc0b62 commit 1495cc3
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 2 deletions.
Empty file.
18 changes: 18 additions & 0 deletions gui/admin-gui/src/frontend/scss/_bootstrap-variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*!
* Copyright (c) 2022 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/

// taken from adminlte and bootstrap, also based on figma
$gray-700: #495057 !default;
$lightblue: #3c8dbc !default;

$midpoint-secondary: #818D98 !default;

// override bootstrap defaults where necessary
$primary: $lightblue;
$secondary: $midpoint-secondary;

$body-color: $gray-700;
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@

@import "../../../node_modules/admin-lte/node_modules/bootstrap/scss/functions.scss";

@import "bootstrap-variables";

@import "../../../node_modules/admin-lte/build/scss/bootstrap-variables";

@import "admin-lte-variables";

@import "../../../node_modules/admin-lte/build/scss/variables";
@import "../../../node_modules/admin-lte/build/scss/variables-alt";

Expand Down
8 changes: 8 additions & 0 deletions gui/admin-gui/src/frontend/scss/bs-stepper-custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@
.active .bs-stepper-circle {
background-color: $lightblue;
}

.bs-stepper-circle {
background-color: $secondary;
}

.bs-stepper-label {
color: $secondary;
}
4 changes: 2 additions & 2 deletions gui/admin-gui/src/frontend/scss/midpoint.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ th.debug-list-buttons {

&:hover,
&.active {
border: 2px solid $lightblue;
border: 2px solid $primary;
border-radius: $border-radius;
}
}
Expand All @@ -1776,7 +1776,7 @@ th.debug-list-buttons {

&:hover,
&.active {
border: 2px solid $lightblue;
border: 2px solid $primary;
border-radius: $border-radius;
}
}
Expand Down

0 comments on commit 1495cc3

Please sign in to comment.