Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,7 @@ <h2>Welcome to Testrun!</h2>
</p>
</app-callout>
</section>
<section class="section-container-pilot">
<app-callout [type]="CalloutType.InfoPilot">
<span class="section-title">Pilot Assessment</span>
<p class="section-content">
Pilot project support is now offered through Testrun. Follow the
instructions set out to get your pilot recommendation.
</p>
</app-callout>
</section>
<section>
<section class="section-container-info">
<app-callout [type]="CalloutType.Info">
Testrun uses Google Analytics to learn about how our users use the
application. By installing and running Testrun, you understand and accept
Expand All @@ -114,7 +105,7 @@ <h2>Welcome to Testrun!</h2>
(click)="confirm(optOut)"
class="confirm-button"
color="primary"
mat-raised-button
mat-flat-button
aria-label="OK and Proceed to Testrun"
type="button">
OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
@use 'colors';
@use 'mixins';
@use 'variables';

::ng-deep :root {
--mat-dialog-container-max-width: 570px;
Expand Down Expand Up @@ -57,30 +58,65 @@
}

.consent-main-content {
padding: 0 66px 16px 66px;
font-family: Roboto, sans-serif;
padding: 0 34px 16px 54px;
font-family: variables.$font-text;
font-size: 14px;
line-height: 20px;
letter-spacing: 0.2px;
color: colors.$grey-800;
letter-spacing: 0;
color: colors.$on-surface;

h2 {
font-size: 14px;
font-size: 16px;
font-weight: 500;
line-height: 24px;
}

ul {
padding-inline-start: 24px;
margin-bottom: 0;

li::marker {
color: colors.$primary;
}
}

.message-link {
color: colors.$primary;
}
}

.section-container {
::ng-deep .callout-context {
padding: 0 0 4px;
}

.section-title {
font-size: 18px;
font-size: 16px;
line-height: 24px;
letter-spacing: 0;
font-weight: 500;
font-family: variables.$font-text;
}

.section-content {
margin: 0;
font-family: variables.$font-text;
}

.section-action-container {
text-align: end;
margin-bottom: 0;
margin: 12px 0 0;
}

.download-link {
color: colors.$orange-40;
font-family: variables.$font-text;
font-size: 14px;
margin-right: -2px;

::ng-deep .mat-focus-indicator {
display: none;
}
}
}

Expand All @@ -95,14 +131,47 @@
}
}

.section-container-info {
::ng-deep .callout-container {
padding: 10px 16px 14px 16px;
}

::ng-deep .callout-icon {
padding: 6px 0;
}
}

.consent-actions {
border-top: 1px solid colors.$lighter-grey;
margin: 0 -16px;
padding: 16px 16px 0 16px;
border-top: 1px solid colors.$outline-variant;
padding: 16px 0 0;
margin: 0;
min-height: 30px;
justify-content: space-between;
}

.consent-actions-opt-out ::ng-deep label {
font-weight: 500;
.consent-actions-opt-out {
::ng-deep label {
font-family: variables.$font-text;
}

::ng-deep .mdc-checkbox__native-control:focus ~ .mat-focus-indicator::before {
content: none;
}

::ng-deep
.mdc-checkbox__native-control:focus-visible
~ .mat-focus-indicator::before {
content: '';
}
}

.confirm-button {
border-radius: 12px;
padding: 0 6px;
min-width: 54px;
margin-right: 24px;

::ng-deep .mat-focus-indicator {
display: none;
}
}
12 changes: 11 additions & 1 deletion modules/ui/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@
);
}

.consent-dialog {
@include mat.dialog-overrides(
(
container-color: colors.$white,
)
);
}

.filter-result {
@include mat.checkbox-overrides(
(
Expand Down Expand Up @@ -116,7 +124,9 @@ body {
.consent-dialog,
.device-form-dialog,
.initiate-test-run-dialog {
max-height: 100vh;
&.cdk-overlay-pane {
max-height: 100vh;
}
}

.device-form-dialog .mat-mdc-dialog-container .mdc-dialog__surface {
Expand Down
Loading