From 75c3b1afc4e2062f7761014476e8257c478bb657 Mon Sep 17 00:00:00 2001 From: Ryan Carpenter Date: Wed, 29 Apr 2026 21:54:13 -0600 Subject: [PATCH 01/19] Fix Teams Dropdown --- .../admin/admin-users/dashboard/user-dashboard.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-app/admin/src/app/admin/admin-users/dashboard/user-dashboard.component.ts b/web-app/admin/src/app/admin/admin-users/dashboard/user-dashboard.component.ts index dfdea1c0e..6ea1d1c13 100644 --- a/web-app/admin/src/app/admin/admin-users/dashboard/user-dashboard.component.ts +++ b/web-app/admin/src/app/admin/admin-users/dashboard/user-dashboard.component.ts @@ -137,8 +137,8 @@ export class UserDashboardComponent implements OnInit, OnDestroy { }) .pipe(takeUntil(this.destroy$)) .subscribe((results: any) => { - const items = Array.isArray(results) ? results : results?.items; - this.teams = (items || []) as Team[]; + const page = Array.isArray(results) ? results[0] : results; + this.teams = (page?.items ?? []) as Team[]; }); } From c1bc7835c718ab8380749826d72dc145ae087bbf Mon Sep 17 00:00:00 2001 From: Ryan Carpenter Date: Thu, 30 Apr 2026 07:38:36 -0600 Subject: [PATCH 02/19] style fixes --- .../create-device.component.scss | 5 + ...n-event-form-preview-dialog.component.html | 29 +- ...n-event-form-preview-dialog.component.scss | 60 +++- .../field-dialog/field-dialog.component.html | 240 +++++++++++---- .../field-dialog/field-dialog.component.scss | 288 +++++++++++------- .../form-details/form-details.component.scss | 6 +- .../create-event/create-event.component.scss | 5 + .../event-details.component.html | 12 +- .../event-details.component.scss | 92 +++++- .../admin-service.component.html | 61 ++-- .../admin-service.component.scss | 200 ++++++++---- .../create-layer/create-layer.component.scss | 5 + .../create-team/create-team.component.scss | 5 + .../team-details/team-details.component.html | 6 +- .../team-details/team-details.component.scss | 17 +- .../create-user/create-user.component.scss | 9 +- .../search-modal/search-modal.component.scss | 25 +- web-app/admin/src/styles.scss | 57 ---- 18 files changed, 780 insertions(+), 342 deletions(-) diff --git a/web-app/admin/src/app/admin/admin-devices/create-device/create-device.component.scss b/web-app/admin/src/app/admin/admin-devices/create-device/create-device.component.scss index 208541232..a646c7924 100644 --- a/web-app/admin/src/app/admin/admin-devices/create-device/create-device.component.scss +++ b/web-app/admin/src/app/admin/admin-devices/create-device/create-device.component.scss @@ -166,4 +166,9 @@ mat-form-field { .mat-autocomplete-panel { z-index: 10000 !important; } +} + +.btn-primary { + background-color: #1e88e5; + color: #fff; } \ No newline at end of file diff --git a/web-app/admin/src/app/admin/admin-event/admin-event-form/admin-event-form-preview/form-preview-dialog/admin-event-form-preview-dialog.component.html b/web-app/admin/src/app/admin/admin-event/admin-event-form/admin-event-form-preview/form-preview-dialog/admin-event-form-preview-dialog.component.html index 131cdd4a3..32cadcf98 100644 --- a/web-app/admin/src/app/admin/admin-event/admin-event-form/admin-event-form-preview/form-preview-dialog/admin-event-form-preview-dialog.component.html +++ b/web-app/admin/src/app/admin/admin-event/admin-event-form/admin-event-form-preview/form-preview-dialog/admin-event-form-preview-dialog.component.html @@ -1,14 +1,21 @@ -

{{formDefinition.name}}

- -
- - +

{{ formDefinition.name }}

+ + +
+
+ + +
+ - - \ No newline at end of file + + diff --git a/web-app/admin/src/app/admin/admin-event/admin-event-form/admin-event-form-preview/form-preview-dialog/admin-event-form-preview-dialog.component.scss b/web-app/admin/src/app/admin/admin-event/admin-event-form/admin-event-form-preview/form-preview-dialog/admin-event-form-preview-dialog.component.scss index 5c4b94481..9e30d16d6 100644 --- a/web-app/admin/src/app/admin/admin-event/admin-event-form/admin-event-form-preview/form-preview-dialog/admin-event-form-preview-dialog.component.scss +++ b/web-app/admin/src/app/admin/admin-event/admin-event-form/admin-event-form-preview/form-preview-dialog/admin-event-form-preview-dialog.component.scss @@ -1,3 +1,59 @@ -.admin-event-form-preview { - margin: 8px 0; +:host { + display: block; +} + +.form-preview-dialog-content { + padding: 0 !important; + margin: 0; + overflow: hidden; +} + +.form-preview-viewport { + width: 100%; + max-height: 70vh; + overflow: auto; + background: #fff; + border-top: 1px solid #eee; +} + +.form-preview-scale { + width: 600px; + transform-origin: top left; + margin-bottom: -24%; + padding: 5px; +} + +:host ::ng-deep .form-preview-scale { + font-family: 'Times New Roman', Times, serif; + color: #000; + font-size: 14px; + line-height: 1.15; +} + +:host ::ng-deep .form-preview-scale table { + width: 100%; + border-collapse: collapse; + border-spacing: 0; + table-layout: fixed; +} + +:host ::ng-deep .form-preview-scale td, +:host ::ng-deep .form-preview-scale th { + border: 1px solid #444; + padding: 2px 6px; + vertical-align: middle; + color: #000; +} + +:host ::ng-deep .form-preview-scale input, +:host ::ng-deep .form-preview-scale textarea, +:host ::ng-deep .form-preview-scale select { + font-family: 'Times New Roman', Times, serif; + font-size: 14px; + color: #000; +} + +:host ::ng-deep h2[mat-dialog-title], +:host ::ng-deep .mat-mdc-dialog-title { + color: #1e88e5; } \ No newline at end of file diff --git a/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/field-dialog/field-dialog.component.html b/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/field-dialog/field-dialog.component.html index a9bf93fe8..0b3265e12 100644 --- a/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/field-dialog/field-dialog.component.html +++ b/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/field-dialog/field-dialog.component.html @@ -3,15 +3,20 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

- +
Field Type
- @@ -29,8 +34,14 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

Field Title *
- +

A field with this name already exists. Please choose a different title. @@ -38,9 +49,16 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

-
+

@@ -50,7 +68,11 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

@@ -64,8 +86,13 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

Minimum Attachments
- +
@@ -74,8 +101,13 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

Maximum Attachments
- +
@@ -89,10 +121,17 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

-
@@ -111,7 +150,13 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

Minimum Value
- +
@@ -120,7 +165,13 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

Maximum Value
- +
@@ -129,21 +180,34 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

Default Value
- +
-
+
Default Value
- +
@@ -152,8 +216,13 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

Default Value
- +
@@ -164,46 +233,87 @@

{{ isEditMode ? 'Edit Field' : 'Add New Field' }}

-
+
Field Options
-
-
- - {{ option.title }} -
- -
-
+ " + class="config-inline-item" + >
Default Value
-
-
+ " + class="config-inline-item" + >
Default Values
-
+ " + >
- - - + - \ No newline at end of file + diff --git a/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/field-dialog/field-dialog.component.scss b/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/field-dialog/field-dialog.component.scss index ce12bcf05..8763ae6b7 100644 --- a/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/field-dialog/field-dialog.component.scss +++ b/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/field-dialog/field-dialog.component.scss @@ -9,49 +9,116 @@ $font-xs: 12px; ::ng-deep .add-field-dialog { .mat-mdc-dialog-container { --mdc-dialog-container-color: #ffffff; + --mdc-dialog-subhead-color: #1976d2; + --mdc-text-button-label-text-color: #333333; + --mat-text-button-state-layer-color: transparent; + padding: 0; } - .mdc-dialog__surface { - border-radius: 16px; + .mdc-dialog__surface, + .mat-mdc-dialog-surface { + border-radius: 8px; overflow: hidden; + background: #ffffff; + } + + .mat-mdc-dialog-title { + padding: 0; } - mat-dialog-content { - padding: 0 24px 24px 24px; + .mat-mdc-dialog-content.dialog-body-padding { + padding: 20px 20px 0 20px !important; + margin: 0 !important; max-height: 70vh; + overflow: auto; } - mat-dialog-actions { - padding: 16px 24px 20px 24px; - border-top: 1px solid #e5e7eb; - margin: 0; - gap: 8px; + .mat-mdc-dialog-actions.dialog-actions { + padding: 18px 20px 18px 20px !important; + margin: 0 !important; + min-height: 72px; + gap: 12px; + border-top: none; + } + + .dialog-action-button { + min-width: 88px !important; + height: 38px !important; + min-height: 38px !important; + padding: 0 16px !important; + border-radius: 4px !important; + font-size: $font-sm !important; + font-weight: 600 !important; + line-height: 38px !important; + text-transform: none !important; + letter-spacing: normal !important; + box-shadow: none !important; + border: 1px solid transparent !important; + } + + .dialog-action-button .mdc-button__label { + line-height: 38px; + } + + .dialog-action-button-cancel { + background-color: #ffffff !important; + color: #333333 !important; + border-color: transparent !important; + } + + .dialog-action-button-cancel:hover { + background-color: #f5f5f5 !important; + } + + .dialog-action-button-primary { + background-color: #e3f2fd !important; + color: #1976d2 !important; + border-color: #e3f2fd !important; + } + + .dialog-action-button-primary:hover:not(:disabled) { + background-color: #d7ebfd !important; + border-color: #d7ebfd !important; + } + + .dialog-action-button-primary:disabled { + background-color: #eef3f7 !important; + color: rgba(25, 118, 210, 0.45) !important; + border-color: #eef3f7 !important; + } + + .dialog-action-button .mat-mdc-button-persistent-ripple, + .dialog-action-button .mat-ripple, + .dialog-action-button .mdc-button__ripple { + display: none; } } .dialog-modal { background: #ffffff; + width: 100%; } .dialog-header { - padding: 20px 24px 16px 24px; - border-bottom: 1px solid #e5e7eb; - background: #f9fafb; + padding: 0; + border-bottom: none; + background: #ffffff; h2[mat-dialog-title] { margin: 0; + padding: 0; font-size: $font-lg; - font-weight: 700; + font-weight: 500; line-height: 1.25; - color: #111827; + color: #1976d2; } } .dialog-form { min-width: 500px; - background-color: white; - border-radius: 12px; - padding-top: 20px; + background-color: #ffffff; + border-radius: 0; + padding: 0; @media (max-width: 640px) { min-width: 0; @@ -59,31 +126,31 @@ $font-xs: 12px; .config-inline-item { display: grid; - grid-template-columns: 175px 1fr; + grid-template-columns: 175px 320px; gap: 16px; - align-items: start; + align-items: center; margin-bottom: 20px; @media (max-width: 768px) { grid-template-columns: 1fr; - gap: 10px; + gap: 8px; } .config-inline-label { display: flex; flex-direction: column; gap: 6px; - padding-top: 8px; + padding-top: 0; strong { font-weight: 700; - color: #111827; + color: #333333; font-size: $font-sm; } .field-hint { font-size: $font-xs; - color: #6b7280; + color: #666666; margin: 0; line-height: 1.45; } @@ -119,7 +186,7 @@ $font-xs: 12px; padding: 8px 10px; background-color: #fffbeb; border: 1px solid #fde68a; - border-radius: 6px; + border-radius: 4px; i { color: #d97706; @@ -128,53 +195,90 @@ $font-xs: 12px; .field-hint { font-size: $font-xs; - color: #6b7280; + color: #666666; margin: 0; line-height: 1.45; } .form-input { width: 100%; - min-height: 40px; - padding: 10px 14px; - border: 1px solid #d1d5db; - border-radius: 8px; + height: 38px; + min-height: 38px; + padding: 8px 12px; + border: 1px solid #dddddd; + border-radius: 3px; font-size: $font-sm; - color: #111827; + color: #555555; background: #ffffff; - transition: all 0.2s ease; box-sizing: border-box; + box-shadow: none; + transition: border-color 0.2s ease; + } - &:focus { - outline: none; - border-color: #3b82f6; - background-color: #ffffff; - box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); - } + .form-input:focus { + outline: none; + border-color: #1976d2; + background-color: #ffffff; + box-shadow: none; } textarea.form-input { - min-height: 96px; + height: auto; + min-height: 84px; resize: vertical; } select.form-input { - min-height: 40px; - background-color: #fff; + height: 38px; + min-height: 38px; + background-color: #ffffff; cursor: pointer; - appearance: none; - padding-right: 40px; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); - background-position: right 12px center; - background-repeat: no-repeat; - background-size: 18px 18px; - - &:hover { - border-color: #9ca3af; - background-color: #f9fafb; - } + appearance: auto; + padding-right: 12px; + background-image: none; + } + + select.form-input:hover { + border-color: #bbbbbb; + background-color: #ffffff; + } + } + } + + .checkbox-section { + display: flex; + flex-direction: column; + gap: 8px; + margin-bottom: 20px; + margin-left: 0; + + .checkbox-label { + display: flex; + align-items: center; + gap: 8px; + cursor: pointer; + user-select: none; + + input[type='checkbox'] { + width: 18px; + height: 18px; + cursor: pointer; + accent-color: #9a6a45; + } + + span { + font-size: $font-sm; + font-weight: 400; + color: #333333; } } + + .field-hint { + font-size: $font-xs; + color: #666666; + margin: 0 0 0 26px; + line-height: 1.45; + } } .options-list { @@ -185,30 +289,29 @@ $font-xs: 12px; display: flex; align-items: center; gap: 8px; - padding: 12px; - background: #f9fafb; - border: 1px solid #e5e7eb; - border-radius: 8px; - margin-bottom: 8px; + padding: 8px 0; + background: transparent; + border: none; + border-radius: 0; + margin-bottom: 4px; .option-title { flex: 1; font-size: $font-sm; - color: #111827; + color: #333333; } .icon-button { padding: 4px 8px; border: none; background: transparent; - color: #6b7280; + color: #555555; cursor: pointer; border-radius: 4px; - transition: all 0.2s; &:hover { - background: #e5e7eb; - color: #374151; + background: #eeeeee; + color: #333333; } &.delete-button:hover { @@ -227,30 +330,30 @@ $font-xs: 12px; } .action-button { - padding: 10px 14px; + padding: 0 14px; border: none; - border-radius: 8px; + border-radius: 4px; font-size: $font-sm; font-weight: 600; cursor: pointer; - transition: all 0.2s; white-space: nowrap; - min-height: 40px; + height: 38px; + min-height: 38px; display: inline-flex; align-items: center; gap: 8px; &.btn-primary { - background-color: #2563eb; - color: white; + background-color: #1976d2; + color: #ffffff; &:hover:not(:disabled) { - background-color: #1d4ed8; + background-color: #1565c0; } &:disabled { - background-color: #d1d5db; - color: #6b7280; + background-color: #dddddd; + color: #777777; cursor: not-allowed; } } @@ -270,51 +373,8 @@ $font-xs: 12px; span { font-size: $font-sm; - color: #111827; + color: #333333; } } } - - .checkbox-section { - display: flex; - flex-direction: column; - gap: 8px; - margin-bottom: 20px; - - .checkbox-label { - display: flex; - align-items: center; - gap: 8px; - cursor: pointer; - user-select: none; - - input[type='checkbox'] { - width: 18px; - height: 18px; - cursor: pointer; - } - - span { - font-size: $font-sm; - font-weight: 500; - color: #333; - } - } - - .field-hint { - font-size: $font-xs; - color: #6b7280; - margin: 0 0 0 26px; - line-height: 1.45; - } - } } - -:host ::ng-deep .add-field-dialog .mat-mdc-button, -:host ::ng-deep .add-field-dialog button[mat-button] { - min-height: 40px; - border-radius: 8px; - font-size: $font-sm; - font-weight: 600; - text-transform: none; -} \ No newline at end of file diff --git a/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/form-details.component.scss b/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/form-details.component.scss index 7ad67b18f..67676db32 100644 --- a/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/form-details.component.scss +++ b/web-app/admin/src/app/admin/admin-event/admin-event-form/form-details/form-details.component.scss @@ -39,13 +39,14 @@ $font-xs: 12px; margin-bottom: 20px; .field-label { - display: block; + display: inline-flex; font-size: $font-sm; font-weight: 700; color: #374151; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; + align-items: flex-end; } .field-content { @@ -825,7 +826,7 @@ $font-xs: 12px; .item-header { display: flex; flex-direction: row; - padding-bottom: 16px; + padding: 16px; gap: 16px; } @@ -910,6 +911,7 @@ $font-xs: 12px; .actions__location-button { padding: 4px; + left: 15px; } .actions__location-icon { diff --git a/web-app/admin/src/app/admin/admin-event/create-event/create-event.component.scss b/web-app/admin/src/app/admin/admin-event/create-event/create-event.component.scss index 79a6c56f5..a528b50bb 100644 --- a/web-app/admin/src/app/admin/admin-event/create-event/create-event.component.scss +++ b/web-app/admin/src/app/admin/admin-event/create-event/create-event.component.scss @@ -132,4 +132,9 @@ mat-form-field { padding: 0 !important; margin: 0 !important; } +} + +.btn-primary { + background-color: #1e88e5; + color: #fff; } \ No newline at end of file diff --git a/web-app/admin/src/app/admin/admin-event/event-details/event-details.component.html b/web-app/admin/src/app/admin/admin-event/event-details/event-details.component.html index 54418eeb4..9a19d4ca9 100644 --- a/web-app/admin/src/app/admin/admin-event/event-details/event-details.component.html +++ b/web-app/admin/src/app/admin/admin-event/event-details/event-details.component.html @@ -113,7 +113,10 @@

Delete Event

observation and location data. This cannot be undone, and all event data will be unrecoverable.

- @@ -153,6 +156,7 @@

Delete Event

>
@@ -419,7 +423,11 @@

Delete Event

>
-
-
-
+
+
+
- - Configuration + + + Configuration + - + +
-
+
- - Feeds + + Feeds - - + + + - - rss_feed -
{{ feed.title }}
-
{{ feed.summary }}
+ + + rss_feed + + +
+ {{ feed.title }} +
+ +
+ {{ feed.summary }} +
- +
+ +
No feeds configured.
+
+
+ -
Loading
+
Loading
diff --git a/web-app/admin/src/app/admin/admin-feeds/admin-service/admin-service.component.scss b/web-app/admin/src/app/admin/admin-feeds/admin-service/admin-service.component.scss index 46407fd61..b7581bcd9 100644 --- a/web-app/admin/src/app/admin/admin-feeds/admin-service/admin-service.component.scss +++ b/web-app/admin/src/app/admin/admin-feeds/admin-service/admin-service.component.scss @@ -1,13 +1,9 @@ @use '@angular/material' as mat; -@import "variables.scss"; +@import 'variables.scss'; .page { - background-color: #F0F0F0; - position: relative; - top: 0; - bottom: 0; - right: 0; - left: 0; + min-height: 100%; + background-color: #f0f0f0; overflow-y: auto; } @@ -15,30 +11,28 @@ display: flex; flex-direction: row; padding: 16px; - background-color: white; + background-color: #ffffff; } .heading { display: flex; flex-direction: column; - background-color: white; + background-color: #ffffff; margin-top: 16px; - margin-bottom: 32px; + margin-bottom: 24px; z-index: 1; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); } .heading__content { display: flex; flex-direction: row; - padding: 32px 16px; -} - -.heading__content { - display: flex; - flex-direction: row; + align-items: flex-start; + padding: 32px 24px 20px; } .heading__icon { + flex: 0 0 auto; color: mat.get-color-from-palette($app-primary); margin-right: 16px; font-size: 40px; @@ -46,25 +40,33 @@ width: 40px; } -.heading__actions { - margin-left: 16px; - margin-bottom: 16px; -} - -.heading__action { - margin-right: 16px; -} - .heading__info { flex: 1; + min-width: 0; } .heading__title { - color: rgba(0, 0, 0, .87) + color: rgba(0, 0, 0, 0.87); + font-size: 24px; + font-weight: 500; + line-height: 1.25; + margin-bottom: 6px; } .heading__summary { - color: rgba(0, 0, 0, .6) + color: rgba(0, 0, 0, 0.6); + font-size: 14px; + line-height: 1.5; +} + +.heading__actions { + display: flex; + justify-content: flex-end; + padding: 0 24px 20px; +} + +.heading__action { + margin-left: 8px; } .content { @@ -72,49 +74,129 @@ margin: 16px; } -.row__card { - display: flex; - flex-direction: row; - flex-wrap: wrap; - margin: -8px; +.content__layout { + display: grid; + grid-template-columns: minmax(360px, 1fr) minmax(0, 2fr); + gap: 16px; + align-items: start; } -.column__card { - flex-direction: column; - display: flex; - flex: 1; - margin: 8px; +.content__column { + min-width: 0; } -.column__config { - flex-direction: column; - display: flex; - flex: 1; - margin: 8px; +.content__card { + width: 100%; + border-radius: 8px; + background-color: #ffffff; } -.column__feeds { - flex-direction: column; - display: flex; - flex: 2; - margin: 8px; - min-width: 0; +.content__card-header { + padding: 20px 20px 12px; } -@media screen and (max-width: 1200px) { - .column__config { - flex-basis: 100%; - } +.content__card-title { + color: mat.get-color-from-palette($app-primary); + font-size: 20px; + font-weight: 500; + line-height: 1.25; + margin: 0; +} - .column__feeds { - flex-basis: 100%; - } +.content__card-content { + padding: 0 20px 20px; } -.content__card { - width: 100% +.feed-list { + padding: 0; } -mat-card-header { +.feed-list__item { + height: auto !important; + min-height: 72px; + padding: 8px 0; +} + +.feed-list__icon { + color: mat.get-color-from-palette($app-primary); + margin-right: 16px !important; + margin-top: 27px !important; +} + +.feed-list__title { + color: rgba(0, 0, 0, 0.87); + font-size: 14px; + font-weight: 500; + line-height: 1.35; +} + +.feed-list__summary { + color: rgba(0, 0, 0, 0.6); + font-size: 13px; + line-height: 1.35; + margin-top: 2px; +} + +.feed-list__empty { + padding: 24px 0; + color: rgba(0, 0, 0, 0.6); + font-size: 14px; + text-align: center; +} + +.feed-paginator { + margin-top: 8px; + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +.primary-color { color: mat.get-color-from-palette($app-primary); -} \ No newline at end of file +} + +:host ::ng-deep mage-json-schema-form { + display: block; +} + +:host ::ng-deep mage-json-schema-form .mat-mdc-form-field { + width: 100%; +} + +:host ::ng-deep mage-json-schema-form .mat-mdc-text-field-wrapper { + background-color: #ffffff; +} + +:host ::ng-deep .content__card .mat-mdc-card-header-text { + margin: 0; +} + +:host ::ng-deep .feed-list__item .mdc-list-item__content { + padding: 4px 0; +} + +@media screen and (max-width: 1200px) { + .content__layout { + grid-template-columns: 1fr; + } +} + +@media screen and (max-width: 640px) { + .heading__content { + padding: 24px 16px 16px; + } + + .heading__actions { + padding: 0 16px 16px; + } + + .content { + margin: 12px; + } + + .content__card-header { + padding: 16px 16px 8px; + } + + .content__card-content { + padding: 0 16px 16px; + } +} diff --git a/web-app/admin/src/app/admin/admin-layers/create-layer/create-layer.component.scss b/web-app/admin/src/app/admin/admin-layers/create-layer/create-layer.component.scss index 09f0333b6..3b16cd840 100644 --- a/web-app/admin/src/app/admin/admin-layers/create-layer/create-layer.component.scss +++ b/web-app/admin/src/app/admin/admin-layers/create-layer/create-layer.component.scss @@ -133,4 +133,9 @@ mat-form-field { padding-top: 16px !important; padding-bottom: 8px !important; } +} + +.btn-primary { + background-color: #1e88e5; + color: #fff; } \ No newline at end of file diff --git a/web-app/admin/src/app/admin/admin-teams/create-team/create-team.component.scss b/web-app/admin/src/app/admin/admin-teams/create-team/create-team.component.scss index 4f7ade4a1..2f7dd0169 100644 --- a/web-app/admin/src/app/admin/admin-teams/create-team/create-team.component.scss +++ b/web-app/admin/src/app/admin/admin-teams/create-team/create-team.component.scss @@ -116,4 +116,9 @@ mat-form-field { .modal-body { grid-template-columns: 1fr; } +} + +.btn-primary { + background-color: #1e88e5; + color: #fff; } \ No newline at end of file diff --git a/web-app/admin/src/app/admin/admin-teams/team-details/team-details.component.html b/web-app/admin/src/app/admin/admin-teams/team-details/team-details.component.html index 28d3f23ba..aca754d87 100644 --- a/web-app/admin/src/app/admin/admin-teams/team-details/team-details.component.html +++ b/web-app/admin/src/app/admin/admin-teams/team-details/team-details.component.html @@ -78,7 +78,10 @@

Delete Team

undone, and all team data will be unrecoverable. Users within the team will not be deleted.

-
@@ -117,6 +120,7 @@

Delete Team

>