From f590afacd744b3a50dc5ac3869c0ba06763af522 Mon Sep 17 00:00:00 2001 From: Meina Zhou Date: Fri, 6 Dec 2019 16:09:43 +0800 Subject: [PATCH] Modify some style Signed-off-by: AllForNothing --- .../account-settings-modal.component.html | 8 ++++---- .../app/base/global-search/search.component.scss | 3 +-- .../base/harbor-shell/harbor-shell.component.html | 2 +- .../config/scanner/config-scanner.component.html | 10 +++++----- .../src/app/global-message/message.component.scss | 6 +----- src/portal/src/app/group/group.component.html | 8 ++++---- .../interrogation-services.component.scss | 4 ---- src/portal/src/app/license/license.component.html | 4 +++- src/portal/src/app/license/license.component.scss | 9 ++++++++- .../helm-chart-detail/chart-detail.component.scss | 7 +++++-- .../chart-detail-summary.component.html | 4 ++-- .../chart-detail/chart-detail.component.html | 4 ++-- .../helm-chart-version.component.html | 8 ++++---- .../list-chart-versions.component.scss | 7 +++++-- .../list-charts-detail/helm-chart.component.html | 12 ++++++------ .../list-project/list-project.component.html | 6 +++--- .../src/app/project/member/member.component.html | 8 ++++---- .../project-detail/project-detail.component.html | 6 +++--- .../project-detail/project-detail.component.scss | 5 ++++- .../robot-account/robot-account.component.html | 6 +++--- .../src/app/project/scanner/scanner.component.html | 10 +++++----- .../src/app/project/scanner/scanner.component.scss | 4 ++++ .../immutable-tag/immutable-tag.component.html | 6 +++--- .../tag-retention/tag-retention.component.html | 4 ++-- .../tag-detail/tag-detail-page.component.html | 8 +++++--- .../tag-detail/tag-detail-page.component.scss | 12 ++++++++++++ .../tag-detail/tag-detail-page.component.ts | 2 +- .../tag-repository/tag-repository.component.html | 5 +++-- .../tag-repository/tag-repository.component.scss | 12 ++++++++++-- .../inline-alert/inline-alert.component.html | 6 +++--- .../shared/statictics/statistics.component.scss | 9 +++++---- src/portal/src/app/user/user.component.html | 10 +++++----- .../src/lib/components/config/gc/gc.component.html | 4 ++-- .../project-quotas/project-quotas.component.html | 14 ++++++++------ .../project-quotas/project-quotas.component.scss | 13 +++++++++---- .../vulnerability-config.component.html | 4 ++-- .../create-edit-label.component.html | 8 ++++---- .../cron-schedule/cron-schedule.component.html | 6 +++--- .../components/endpoint/endpoint.component.html | 8 ++++---- .../inline-alert/inline-alert.component.html | 6 +++--- .../src/lib/components/label/label.component.html | 6 +++--- .../list-replication-rule.component.html | 8 ++++---- .../lib/components/log/recent-log.component.html | 1 + .../replication-tasks.component.html | 4 ++-- .../replication/replication.component.html | 2 +- .../repository-gridview.component.html | 6 +++--- .../repository/repository.component.html | 4 ++-- .../src/lib/components/tag/tag.component.html | 10 +++++----- .../result-grid.component.html | 2 +- src/portal/src/styles.css | 8 ++++++-- 50 files changed, 189 insertions(+), 140 deletions(-) create mode 100644 src/portal/src/app/repository/tag-detail/tag-detail-page.component.scss diff --git a/src/portal/src/app/account/account-settings/account-settings-modal.component.html b/src/portal/src/app/account/account-settings/account-settings-modal.component.html index 51f17be5a..30894863e 100644 --- a/src/portal/src/app/account/account-settings/account-settings-modal.component.html +++ b/src/portal/src/app/account/account-settings/account-settings-modal.component.html @@ -10,7 +10,7 @@
- @@ -72,10 +72,10 @@ [ngModel]="'account.oidc_user_meta.secret'" size="33"> - @@ -123,4 +123,4 @@
- \ No newline at end of file + diff --git a/src/portal/src/app/base/global-search/search.component.scss b/src/portal/src/app/base/global-search/search.component.scss index 6e207dd69..baa6bbc76 100644 --- a/src/portal/src/app/base/global-search/search.component.scss +++ b/src/portal/src/app/base/global-search/search.component.scss @@ -57,7 +57,6 @@ } .search::before { - position: absolute; content: ''; display: inline-block; background: #fafafa; @@ -74,4 +73,4 @@ #placeholder1 { height: 24px; -} \ No newline at end of file +} diff --git a/src/portal/src/app/base/harbor-shell/harbor-shell.component.html b/src/portal/src/app/base/harbor-shell/harbor-shell.component.html index e156cb66d..5d249e895 100644 --- a/src/portal/src/app/base/harbor-shell/harbor-shell.component.html +++ b/src/portal/src/app/base/harbor-shell/harbor-shell.component.html @@ -79,7 +79,7 @@ diff --git a/src/portal/src/app/interrogation-services/interrogation-services.component.scss b/src/portal/src/app/interrogation-services/interrogation-services.component.scss index 3d5e2656f..83e28b6be 100644 --- a/src/portal/src/app/interrogation-services/interrogation-services.component.scss +++ b/src/portal/src/app/interrogation-services/interrogation-services.component.scss @@ -3,10 +3,6 @@ margin-bottom: 12px; } -.sub-nav-bg-color { - background-color: #fafafa; -} - .subnav { .nav { padding-left: 0; diff --git a/src/portal/src/app/license/license.component.html b/src/portal/src/app/license/license.component.html index caa00cb9e..9c7c49734 100644 --- a/src/portal/src/app/license/license.component.html +++ b/src/portal/src/app/license/license.component.html @@ -1 +1,3 @@ -
{{licenseContent}}
+
+
{{licenseContent}}
+
diff --git a/src/portal/src/app/license/license.component.scss b/src/portal/src/app/license/license.component.scss index 6d00fe18b..b302ce0c9 100644 --- a/src/portal/src/app/license/license.component.scss +++ b/src/portal/src/app/license/license.component.scss @@ -5,4 +5,11 @@ white-space: pre-wrap; margin: 1em 0px; font-size: 1rem; -} \ No newline at end of file +} + +.overflow-y-scroll { + height: 100%; + width: 100%; + position: fixed; + overflow-y: auto; +} diff --git a/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail.component.scss b/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail.component.scss index 2f55847e7..cced76626 100644 --- a/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail.component.scss +++ b/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail.component.scss @@ -2,5 +2,8 @@ text-decoration: none; cursor: pointer; color: #007cbb; - font-size: 12px; -} \ No newline at end of file + font-size: 16px; +} +.breadcrumb { + margin-bottom: 0.5rem; +} diff --git a/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail/chart-detail-summary.component.html b/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail/chart-detail-summary.component.html index b1e934207..254096d30 100644 --- a/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail/chart-detail-summary.component.html +++ b/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail/chart-detail-summary.component.html @@ -4,7 +4,7 @@
-
+
{{'HELM_CHART.NO_README' | translate}}
@@ -142,4 +142,4 @@
- \ No newline at end of file + diff --git a/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail/chart-detail.component.html b/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail/chart-detail.component.html index f2f9c4508..810f29df5 100644 --- a/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail/chart-detail.component.html +++ b/src/portal/src/app/project/helm-chart/helm-chart-detail/chart-detail/chart-detail.component.html @@ -9,7 +9,7 @@
-
@@ -52,4 +52,4 @@
{{'HELM_CHART.NO_DETAIL' | translate }}
- \ No newline at end of file + diff --git a/src/portal/src/app/project/helm-chart/list-chart-versions/helm-chart-versions-detail/helm-chart-version.component.html b/src/portal/src/app/project/helm-chart/list-chart-versions/helm-chart-versions-detail/helm-chart-version.component.html index 9bfaaa8c2..b8dbf4b39 100644 --- a/src/portal/src/app/project/helm-chart/list-chart-versions/helm-chart-versions-detail/helm-chart-version.component.html +++ b/src/portal/src/app/project/helm-chart/list-chart-versions/helm-chart-versions-detail/helm-chart-version.component.html @@ -37,18 +37,18 @@
- - - @@ -156,4 +156,4 @@
- \ No newline at end of file + diff --git a/src/portal/src/app/project/helm-chart/list-chart-versions/list-chart-versions.component.scss b/src/portal/src/app/project/helm-chart/list-chart-versions/list-chart-versions.component.scss index 2f55847e7..cced76626 100644 --- a/src/portal/src/app/project/helm-chart/list-chart-versions/list-chart-versions.component.scss +++ b/src/portal/src/app/project/helm-chart/list-chart-versions/list-chart-versions.component.scss @@ -2,5 +2,8 @@ text-decoration: none; cursor: pointer; color: #007cbb; - font-size: 12px; -} \ No newline at end of file + font-size: 16px; +} +.breadcrumb { + margin-bottom: 0.5rem; +} diff --git a/src/portal/src/app/project/helm-chart/list-charts-detail/helm-chart.component.html b/src/portal/src/app/project/helm-chart/list-charts-detail/helm-chart.component.html index 56f714860..22c1f8205 100644 --- a/src/portal/src/app/project/helm-chart/list-charts-detail/helm-chart.component.html +++ b/src/portal/src/app/project/helm-chart/list-charts-detail/helm-chart.component.html @@ -23,15 +23,15 @@
- - - @@ -103,7 +103,7 @@
-
@@ -113,7 +113,7 @@
-
@@ -132,4 +132,4 @@
- \ No newline at end of file + diff --git a/src/portal/src/app/project/list-project/list-project.component.html b/src/portal/src/app/project/list-project/list-project.component.html index 08d45720b..a2c3acff3 100644 --- a/src/portal/src/app/project/list-project/list-project.component.html +++ b/src/portal/src/app/project/list-project/list-project.component.html @@ -1,8 +1,8 @@ - - @@ -27,4 +27,4 @@ }} {{'PROJECT.ITEMS' | translate}} - \ No newline at end of file + diff --git a/src/portal/src/app/project/member/member.component.html b/src/portal/src/app/project/member/member.component.html index 3d67d57a8..b718ab5ac 100644 --- a/src/portal/src/app/project/member/member.component.html +++ b/src/portal/src/app/project/member/member.component.html @@ -13,13 +13,13 @@
- - - + {{'MEMBER.ACTION' | translate}} @@ -55,4 +55,4 @@ -
\ No newline at end of file + diff --git a/src/portal/src/app/project/project-detail/project-detail.component.html b/src/portal/src/app/project/project-detail/project-detail.component.html index 05374f69f..69b5bd842 100644 --- a/src/portal/src/app/project/project-detail/project-detail.component.html +++ b/src/portal/src/app/project/project-detail/project-detail.component.html @@ -1,5 +1,5 @@ -< {{'PROJECT_DETAIL.PROJECTS' | translate}} -< {{'SEARCH.BACK' | translate}} + {{'PROJECT_DETAIL.PROJECTS' | translate}} + {{'SEARCH.BACK' | translate}}

{{currentProject.name}} {{roleName | translate}}

@@ -15,4 +15,4 @@ - \ No newline at end of file + diff --git a/src/portal/src/app/project/project-detail/project-detail.component.scss b/src/portal/src/app/project/project-detail/project-detail.component.scss index a1d16063e..bd91fe14d 100644 --- a/src/portal/src/app/project/project-detail/project-detail.component.scss +++ b/src/portal/src/app/project/project-detail/project-detail.component.scss @@ -19,8 +19,11 @@ } .backStyle { color: #007cbb; - font-size: 12px; + font-size: 16px; cursor: pointer; + background: #fafafa; + padding: 5px; + border-radius: 2px; } button { diff --git a/src/portal/src/app/project/robot-account/robot-account.component.html b/src/portal/src/app/project/robot-account/robot-account.component.html index b371268de..86662c32c 100644 --- a/src/portal/src/app/project/robot-account/robot-account.component.html +++ b/src/portal/src/app/project/robot-account/robot-account.component.html @@ -14,13 +14,13 @@
- - {{'MEMBER.ACTION' | translate}} @@ -67,4 +67,4 @@
- \ No newline at end of file + diff --git a/src/portal/src/app/project/scanner/scanner.component.html b/src/portal/src/app/project/scanner/scanner.component.html index 3292c5abc..100850c77 100644 --- a/src/portal/src/app/project/scanner/scanner.component.html +++ b/src/portal/src/app/project/scanner/scanner.component.html @@ -3,21 +3,21 @@
- +
- +
- +
-
+
{{scanner?.name}} - + {{'SCANNER.DISABLED' | translate}} {{'SCANNER.UNHEALTHY' | translate}} {{'SCANNER.HEALTHY' | translate}} diff --git a/src/portal/src/app/project/scanner/scanner.component.scss b/src/portal/src/app/project/scanner/scanner.component.scss index c2f5a0d72..c27d8e614 100644 --- a/src/portal/src/app/project/scanner/scanner.component.scss +++ b/src/portal/src/app/project/scanner/scanner.component.scss @@ -21,3 +21,7 @@ .clr-form-control { margin-top: 0.75rem !important; } +.name { + height: 1.75rem; + line-height: 1.75rem; +} diff --git a/src/portal/src/app/project/tag-feature-integration/immutable-tag/immutable-tag.component.html b/src/portal/src/app/project/tag-feature-integration/immutable-tag/immutable-tag.component.html index 7788317db..c207d0f82 100644 --- a/src/portal/src/app/project/tag-feature-integration/immutable-tag/immutable-tag.component.html +++ b/src/portal/src/app/project/tag-feature-integration/immutable-tag/immutable-tag.component.html @@ -11,7 +11,7 @@
- - - + + +
diff --git a/src/portal/src/lib/components/list-replication-rule/list-replication-rule.component.html b/src/portal/src/lib/components/list-replication-rule/list-replication-rule.component.html index e15373b00..f985e79c1 100644 --- a/src/portal/src/lib/components/list-replication-rule/list-replication-rule.component.html +++ b/src/portal/src/lib/components/list-replication-rule/list-replication-rule.component.html @@ -1,10 +1,10 @@
- - - - + + + + {{'REPLICATION.NAME' | translate}} {{'REPLICATION.STATUS' | translate}} diff --git a/src/portal/src/lib/components/log/recent-log.component.html b/src/portal/src/lib/components/log/recent-log.component.html index 3b147e302..6ad11483b 100644 --- a/src/portal/src/lib/components/log/recent-log.component.html +++ b/src/portal/src/lib/components/log/recent-log.component.html @@ -1,4 +1,5 @@
+

{{'SIDE_NAV.LOGS' | translate}}

diff --git a/src/portal/src/lib/components/replication/replication-tasks/replication-tasks.component.html b/src/portal/src/lib/components/replication/replication-tasks/replication-tasks.component.html index 718d51222..13ae0193b 100644 --- a/src/portal/src/lib/components/replication/replication-tasks/replication-tasks.component.html +++ b/src/portal/src/lib/components/replication/replication-tasks/replication-tasks.component.html @@ -28,7 +28,7 @@
-
@@ -123,4 +123,4 @@
-
\ No newline at end of file +
diff --git a/src/portal/src/lib/components/replication/replication.component.html b/src/portal/src/lib/components/replication/replication.component.html index e75865bdf..7cf22cf6d 100644 --- a/src/portal/src/lib/components/replication/replication.component.html +++ b/src/portal/src/lib/components/replication/replication.component.html @@ -48,7 +48,7 @@
-
diff --git a/src/portal/src/lib/components/repository-gridview/repository-gridview.component.html b/src/portal/src/lib/components/repository-gridview/repository-gridview.component.html index ed2bce3d0..9d7ab2029 100644 --- a/src/portal/src/lib/components/repository-gridview/repository-gridview.component.html +++ b/src/portal/src/lib/components/repository-gridview/repository-gridview.component.html @@ -25,9 +25,9 @@
- - - + + + {{'REPOSITORY.NAME' | translate}} {{'REPOSITORY.TAGS_COUNT' | translate}} diff --git a/src/portal/src/lib/components/repository/repository.component.html b/src/portal/src/lib/components/repository/repository.component.html index 32f208f65..ac8c3220d 100644 --- a/src/portal/src/lib/components/repository/repository.component.html +++ b/src/portal/src/lib/components/repository/repository.component.html @@ -25,7 +25,7 @@
- @@ -45,7 +45,7 @@
-
+
diff --git a/src/portal/src/lib/components/tag/tag.component.html b/src/portal/src/lib/components/tag/tag.component.html index e67bc15a9..efece50e9 100644 --- a/src/portal/src/lib/components/tag/tag.component.html +++ b/src/portal/src/lib/components/tag/tag.component.html @@ -55,10 +55,10 @@
- - + + - +
@@ -75,8 +75,8 @@ - - + + {{'REPOSITORY.TAG' | translate}} {{'REPOSITORY.SIZE' | translate}} diff --git a/src/portal/src/lib/components/vulnerability-scanning/result-grid.component.html b/src/portal/src/lib/components/vulnerability-scanning/result-grid.component.html index c454d316c..3e73c9ff5 100644 --- a/src/portal/src/lib/components/vulnerability-scanning/result-grid.component.html +++ b/src/portal/src/lib/components/vulnerability-scanning/result-grid.component.html @@ -10,7 +10,7 @@
- + {{'VULNERABILITY.GRID.COLUMN_ID' | translate}} {{'VULNERABILITY.GRID.COLUMN_SEVERITY' | translate}} diff --git a/src/portal/src/styles.css b/src/portal/src/styles.css index f485a663d..5ddc58276 100644 --- a/src/portal/src/styles.css +++ b/src/portal/src/styles.css @@ -52,7 +52,6 @@ body { -o-transform: rotate(-90deg); transform: rotate(-90deg); } -.datagrid-spinner{margin-top: 24px;} /* set overflow bar style */ ::-webkit-scrollbar { @@ -72,7 +71,6 @@ body { background: rgba(255,0,0,0.4); } .custom-h2 { - margin-top: 0 !important; line-height: 24px; } @@ -104,4 +102,10 @@ body { justify-content: flex-end; } +.clr-vertical-nav .nav-link { + border-radius: 5px; +} +button:focus { + outline: none; +}