-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV: fixes for sonarqube errors and responsive design
- Loading branch information
1 parent
b0df1c3
commit 52a67ca
Showing
23 changed files
with
368 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,8 @@ | |
"mixin", | ||
"return", | ||
"warn", | ||
"while" | ||
"while", | ||
"use" | ||
] | ||
} | ||
] | ||
|
51 changes: 26 additions & 25 deletions
51
src/app/core/layout/wallet-layout/wallet-layout-header/wallet-layout-header.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,35 @@ | ||
@use '/src/template' as temp; | ||
@use '/src/layout-breakpoint' as points; | ||
|
||
:host { | ||
width: inherit; | ||
height: 5rem; | ||
border-bottom: 1px; | ||
border-color: map-get(map-get(map-get(temp.$palette, general), divider), dark); | ||
border-style: solid; | ||
border-top: none; | ||
display: flex; | ||
align-items: center; | ||
img { | ||
left: temp.$left; | ||
position: relative; | ||
padding: temp.$spaceBasic; | ||
cursor: pointer; | ||
} | ||
align-items: center; | ||
border-bottom: 1px; | ||
border-color: map-get(map-get(map-get(temp.$palette, general), divider), dark); | ||
border-style: solid; | ||
border-top: none; | ||
display: flex; | ||
height: 5rem; | ||
width: inherit; | ||
|
||
@media (max-width: map-get(points.$breakpoints, xs)) and (min-width: map-get(points.$breakpoints, sm)){ | ||
img { | ||
left: 3%; | ||
cursor: pointer; | ||
left: temp.$left; | ||
padding: temp.$spaceBasic; | ||
position: relative; | ||
} | ||
} | ||
@media (max-width: map-get(points.$breakpoints, sm)) { | ||
img { | ||
left: 3%; | ||
@media (max-width: map-get(points.$breakpoints, xs)) and (min-width: map-get(points.$breakpoints, sm)){ | ||
img { | ||
left: 3%; | ||
} | ||
} | ||
} | ||
@media (max-width: map-get(points.$breakpoints, md)) and (min-width: map-get(points.$breakpoints, sm)){ | ||
img { | ||
left: 15%; | ||
@media (max-width: map-get(points.$breakpoints, sm)) { | ||
img { | ||
left: 3%; | ||
} | ||
} | ||
@media (max-width: map-get(points.$breakpoints, md)) and (min-width: map-get(points.$breakpoints, sm)){ | ||
img { | ||
left: 15%; | ||
} | ||
} | ||
} | ||
} |
43 changes: 23 additions & 20 deletions
43
src/app/core/layout/wallet-layout/wallet-layout.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,32 @@ | ||
@use '/src/template' as temp; | ||
@use '/src/layout-breakpoint' as points; | ||
|
||
:host { | ||
width: 100vw; | ||
height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
.body { | ||
left: temp.$left; | ||
position: relative; | ||
width: fit-content; | ||
} | ||
display: flex; | ||
flex-direction: column; | ||
height: 100vh; | ||
width: 100vw; | ||
|
||
@media (max-width: map-get(points.$breakpoints, xs)) and (min-width: map-get(points.$breakpoints, sm)){ | ||
.body { | ||
left: 3%; | ||
left: temp.$left; | ||
position: relative; | ||
width: fit-content; | ||
} | ||
} | ||
@media (max-width: map-get(points.$breakpoints, sm)) { | ||
.body { | ||
left: 3%; | ||
@media (max-width: map-get(points.$breakpoints, xs)) and (min-width: map-get(points.$breakpoints, sm)){ | ||
.body { | ||
left: 3%; | ||
width: 92%; | ||
} | ||
} | ||
} | ||
@media (max-width: map-get(points.$breakpoints, md)) and (min-width: map-get(points.$breakpoints, sm)){ | ||
.body { | ||
left: 15%; | ||
@media (max-width: map-get(points.$breakpoints, sm)) { | ||
.body { | ||
left: 3%; | ||
width: 92%; | ||
} | ||
} | ||
@media (max-width: map-get(points.$breakpoints, md)) and (min-width: map-get(points.$breakpoints, sm)){ | ||
.body { | ||
left: 15%; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
@use '/src/template' as temp; | ||
|
||
:host { | ||
.container { | ||
max-width: temp.$max-body-panel; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
src/app/features/presentation-definition/components/home/home.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
@use '/src/template' as temp; | ||
|
||
:host { | ||
.wrapper { | ||
background-color: map-get(map-get(map-get(temp.$palette, general), bg), default); | ||
padding: temp.$spaceBasic; | ||
border-radius: 16px; | ||
background-color: map-get(map-get(map-get(temp.$palette, general), bg), default); | ||
border-radius: 16px; | ||
padding: temp.$spaceBasic; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
...esentation-definition/components/presentation-request/presentation-request.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
@use '/src/template' as temp; | ||
|
||
:host { | ||
vc-editor { | ||
max-width: temp.$max-body-width; | ||
max-height: temp.$max-body-height; | ||
max-width: temp.$max-body-width; | ||
min-height: temp.$min-body-height;; | ||
min-width: temp.$min-body-height;; | ||
} | ||
|
||
.vc-box-display-error p { | ||
color: map-get(map-get(temp.$palette, color), error); | ||
font-style: italic; | ||
} | ||
color: map-get(map-get(temp.$palette, color), error); | ||
font-style: italic; | ||
} | ||
} |
114 changes: 61 additions & 53 deletions
114
src/app/features/siop-custom/components/create-a-scenario/create-a-scenario.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,73 @@ | ||
@use '/src/template' as temp; | ||
@use '/src//layout-breakpoint' as points; | ||
|
||
:host { | ||
max-width: 40rem; | ||
::ng-deep { | ||
.mat-expansion-panel { | ||
padding: 0 !important; | ||
} | ||
max-width: 40rem; | ||
|
||
::ng-deep { | ||
.mat-expansion-panel { | ||
padding: 0 !important; | ||
} | ||
|
||
} | ||
.mb { | ||
margin-bottom: temp.$spaceBasic; | ||
} | ||
.creation { | ||
display: flex; | ||
flex-direction: column; | ||
height: temp.$body-height; | ||
overflow-y: auto; | ||
.creation-header { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
align-items: baseline; | ||
position: sticky; | ||
top: 0; | ||
z-index: 50; | ||
background: temp.$backgroundDefault; | ||
h3 { | ||
letter-spacing: 0px; | ||
text-decoration: none; | ||
word-break: break-word; | ||
overflow-wrap: break-word; | ||
-webkit-font-smoothing: antialiased; | ||
font-size: 16px; | ||
line-height: 20px; | ||
color: temp.$textDarkSecondary; | ||
} | ||
span { | ||
color: temp.$textDarkSecondary; | ||
padding-right: temp.$spaceBasic; | ||
} | ||
} | ||
.controls { | ||
display: flex; | ||
flex-direction: row; | ||
} | ||
.presentation-definition { | ||
margin-top: 1rem; | ||
|
||
.mb { | ||
margin-bottom: temp.$spaceBasic; | ||
} | ||
} | ||
|
||
@media (max-width: map-get(points.$breakpoints, xs)) and (min-width: map-get(points.$breakpoints, sm)){ | ||
.creation { | ||
width: temp.$body-width-xs; | ||
height: 24.25rem; | ||
display: flex; | ||
flex-direction: column; | ||
height: temp.$body-height; | ||
overflow-y: auto; | ||
|
||
.creation-header { | ||
align-items: baseline; | ||
background: temp.$backgroundDefault; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
position: sticky; | ||
top: 0; | ||
z-index: 50; | ||
|
||
h3 { | ||
color: temp.$textDarkSecondary; | ||
font-size: 16px; | ||
-webkit-font-smoothing: antialiased; | ||
letter-spacing: 0; | ||
line-height: 20px; | ||
overflow-wrap: break-word; | ||
text-decoration: none; | ||
word-break: break-word; | ||
} | ||
|
||
span { | ||
color: temp.$textDarkSecondary; | ||
padding-right: temp.$spaceBasic; | ||
} | ||
} | ||
|
||
.controls { | ||
display: flex; | ||
flex-direction: row; | ||
} | ||
|
||
.presentation-definition { | ||
margin-top: 1rem; | ||
} | ||
} | ||
} | ||
@media (max-width: map-get(points.$breakpoints, sm)) { | ||
.creation { | ||
width: temp.$body-width-sm; | ||
height: 24.25rem; | ||
@media (max-width: map-get(points.$breakpoints, xs)) and (min-width: map-get(points.$breakpoints, sm)){ | ||
.creation { | ||
height: 24.25rem; | ||
width: temp.$body-width-xs; | ||
} | ||
} | ||
@media (max-width: map-get(points.$breakpoints, sm)) { | ||
.creation { | ||
height: 24.25rem; | ||
width: temp.$body-width-sm; | ||
} | ||
} | ||
} | ||
|
||
} |
Oops, something went wrong.