diff --git a/app/assets/css/app.css b/app/assets/css/app.css index 9c5c88480..7a21ad595 100644 --- a/app/assets/css/app.css +++ b/app/assets/css/app.css @@ -117,10 +117,6 @@ input[type='checkbox'] { text-align: center; } -a[ng-click] { - cursor: pointer; -} - .space-right { margin-right: 5px; } diff --git a/app/assets/css/button.css b/app/assets/css/button.css index fa0e8f3de..3861f8b62 100644 --- a/app/assets/css/button.css +++ b/app/assets/css/button.css @@ -25,14 +25,14 @@ fieldset[disabled] .btn { box-shadow: none; } -.btn-primary { +.btn.btn-primary { @apply text-white bg-blue-8 border-blue-8; @apply hover:text-white hover:bg-blue-9 hover:border-blue-9; @apply th-dark:hover:bg-blue-7 th-dark:hover:border-blue-7; } -.btn-primary:active, -.btn-primary.active, +.btn.btn-primary:active, +.btn.btn-primary.active, .open > .dropdown-toggle.btn-primary { @apply bg-blue-9 border-blue-5; } @@ -44,7 +44,7 @@ fieldset[disabled] .btn { } /* Button Secondary */ -.btn-secondary { +.btn.btn-secondary { @apply border border-solid; @apply text-blue-9 bg-blue-2 border-blue-8; @@ -54,18 +54,18 @@ fieldset[disabled] .btn { @apply th-dark:hover:bg-blue-11; } -.btn-danger { +.btn.btn-danger { @apply bg-error-8 border-error-8; @apply hover:bg-error-7 hover:border-error-7 hover:text-white; } -.btn-danger:active, -.btn-danger.active, +.btn.btn-danger:active, +.btn.btn-danger.active, .open > .dropdown-toggle.btn-danger { @apply bg-error-8 text-white border-blue-5; } -.btn-dangerlight { +.btn.btn-dangerlight { @apply text-error-9 th-dark:text-white; @apply bg-error-3 th-dark:bg-error-9; @apply hover:bg-error-2 th-dark:hover:bg-error-11; @@ -73,18 +73,18 @@ fieldset[disabled] .btn { @apply border border-solid; } -.btn-success { +.btn.btn-success { background-color: var(--ui-success-7); } -.btn-success:hover { +.btn.btn-success:hover { color: var(--white-color); } /* secondary-grey */ -.btn-default, -.btn-light { - @apply bg-gray-2 border-gray-5 text-gray-9; +.btn.btn-default, +.btn.btn-light { + @apply bg-white border-gray-5 text-gray-9; @apply hover:bg-gray-3 hover:border-gray-5 hover:text-gray-10; /* dark mode */ @@ -95,28 +95,18 @@ fieldset[disabled] .btn { @apply th-highcontrast:hover:bg-gray-9 th-highcontrast:hover:border-gray-6 th-highcontrast:hover:text-gray-warm-4; } -.btn-light:active, -.btn-light.active, +.btn.btn-light:active, +.btn.btn-light.active, .open > .dropdown-toggle.btn-light { background-color: var(--ui-gray-3); } -.btn-link { +.btn.btn-link { @apply text-blue-8 hover:text-blue-9 disabled:text-gray-5; @apply th-dark:text-blue-8 th-dark:hover:text-blue-7; @apply th-highcontrast:text-blue-8 th-highcontrast:hover:text-blue-7; } -.hyperlink, -.hyperlink:focus { - color: var(--ui-blue-8); -} - -.hyperlink:hover { - text-decoration: underline; - color: var(--ui-blue-9); -} - .btn-group { display: inline-flex; } @@ -129,30 +119,43 @@ fieldset[disabled] .btn { /* focus */ -.btn-primary:focus, -.btn-secondary:focus, -.btn-light:focus { +.btn.btn-primary:focus, +.btn.btn-secondary:focus, +.btn.btn-light:focus { @apply border-blue-5; } -.btn-danger:focus, -.btn-dangerlight:focus { +.btn.btn-danger:focus, +.btn.btn-dangerlight:focus { @apply border-blue-6; } -.btn-primary:focus, -.btn-secondary:focus, -.btn-light:focus, -.btn-danger:focus, -.btn-dangerlight:focus { +.btn.btn-primary:focus, +.btn.btn-secondary:focus, +.btn.btn-light:focus, +.btn.btn-danger:focus, +.btn.btn-dangerlight:focus { --btn-focus-color: var(--ui-blue-3); box-shadow: 0px 0px 0px 4px var(--btn-focus-color); } -[theme='dark'] .btn-primary:focus, -[theme='dark'] .btn-secondary:focus, -[theme='dark'] .btn-light:focus, -[theme='dark'] .btn-danger:focus, -[theme='dark'] .btn-dangerlight:focus { +[theme='dark'] .btn.btn-primary:focus, +[theme='dark'] .btn.btn-secondary:focus, +[theme='dark'] .btn.btn-light:focus, +[theme='dark'] .btn.btn-danger:focus, +[theme='dark'] .btn.btn-dangerlight:focus { --btn-focus-color: var(--ui-blue-11); } + +a.no-link, +a[ng-click] { + @apply text-current; + @apply hover:no-underline hover:text-current; + @apply focus:no-underline focus:text-current; +} + +a, +a.hyperlink { + @apply text-blue-8 hover:text-blue-9; + @apply hover:underline cursor-pointer; +} diff --git a/app/assets/css/vendor-override.css b/app/assets/css/vendor-override.css index d864e6c43..cb89bb60a 100644 --- a/app/assets/css/vendor-override.css +++ b/app/assets/css/vendor-override.css @@ -31,17 +31,6 @@ border-top: 1px solid var(--border-table-top-color); } -a { - color: inherit; - cursor: pointer; -} - -a:hover, -a:focus { - color: inherit; - text-decoration: none; -} - .input-group-addon { color: var(--text-input-group-addon-color); background-color: var(--bg-input-group-addon-color); diff --git a/app/docker/components/datatables/container-networks-datatable/containerNetworksDatatable.html b/app/docker/components/datatables/container-networks-datatable/containerNetworksDatatable.html index 3fd2564d1..e254bff51 100644 --- a/app/docker/components/datatables/container-networks-datatable/containerNetworksDatatable.html +++ b/app/docker/components/datatables/container-networks-datatable/containerNetworksDatatable.html @@ -50,9 +50,9 @@ ng-click="$ctrl.expandItem(value, !value.Expanded)" > - + {{ key }} {{ value.IPAddress || '-' }} diff --git a/app/docker/components/datatables/images-datatable/imagesDatatable.html b/app/docker/components/datatables/images-datatable/imagesDatatable.html index bfde8badd..58db4f7c5 100644 --- a/app/docker/components/datatables/images-datatable/imagesDatatable.html +++ b/app/docker/components/datatables/images-datatable/imagesDatatable.html @@ -127,15 +127,20 @@ - - - - - - Id - - - +
+ + + + + +
+
Filter Filter @@ -160,32 +165,40 @@
- - Tags - - - + - - Size - - - + - - Created - - - + - - Host - - - + diff --git a/app/docker/components/datatables/services-datatable/servicesDatatable.html b/app/docker/components/datatables/services-datatable/servicesDatatable.html index e1e06b41a..f36cc1562 100644 --- a/app/docker/components/datatables/services-datatable/servicesDatatable.html +++ b/app/docker/components/datatables/services-datatable/servicesDatatable.html @@ -156,7 +156,7 @@ - + {{ item.Name }} diff --git a/app/docker/components/datatables/volumes-datatable/volumesDatatable.html b/app/docker/components/datatables/volumes-datatable/volumesDatatable.html index 2ac3e2f49..4652ec370 100644 --- a/app/docker/components/datatables/volumes-datatable/volumesDatatable.html +++ b/app/docker/components/datatables/volumes-datatable/volumesDatatable.html @@ -190,11 +190,17 @@ item.Id | truncate: 40 }} {{ item.Id | truncate: 40 }} - - - browse - - + + + Unused {{ item.StackName ? item.StackName : '-' }} diff --git a/app/docker/views/dashboard/dashboard.html b/app/docker/views/dashboard/dashboard.html index 3b3abd8b9..d891ffb42 100644 --- a/app/docker/views/dashboard/dashboard.html +++ b/app/docker/views/dashboard/dashboard.html @@ -77,29 +77,29 @@
- - + +
- +
- + - + - + - + diff --git a/app/kubernetes/components/datatables/applications-datatable/applicationsDatatable.html b/app/kubernetes/components/datatables/applications-datatable/applicationsDatatable.html index 306a7b9ac..642cded3a 100644 --- a/app/kubernetes/components/datatables/applications-datatable/applicationsDatatable.html +++ b/app/kubernetes/components/datatables/applications-datatable/applicationsDatatable.html @@ -238,13 +238,18 @@
- {{ item.Name }} {{ item.Name }} system diff --git a/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html b/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html index 459777b82..ac87bfd9c 100644 --- a/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html +++ b/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html @@ -3,14 +3,12 @@
-

- - Advanced mode - - - Simple mode - -

+ +
diff --git a/app/kubernetes/views/dashboard/dashboard.html b/app/kubernetes/views/dashboard/dashboard.html index 74695e2dc..9dc46f441 100644 --- a/app/kubernetes/views/dashboard/dashboard.html +++ b/app/kubernetes/views/dashboard/dashboard.html @@ -40,23 +40,23 @@
- +
- +
- +
- +
diff --git a/app/portainer/components/custom-template-selector/custom-template-selector.html b/app/portainer/components/custom-template-selector/custom-template-selector.html index 5ceec8d6c..c4d21393f 100644 --- a/app/portainer/components/custom-template-selector/custom-template-selector.html +++ b/app/portainer/components/custom-template-selector/custom-template-selector.html @@ -12,7 +12,7 @@ - No custom templates are available. Head over to the custom template view to create one. + No custom templates are available. Head over to the custom template view to create one.
diff --git a/app/portainer/components/datatables/datatable.css b/app/portainer/components/datatables/datatable.css index 854b3912a..de115ad9e 100644 --- a/app/portainer/components/datatables/datatable.css +++ b/app/portainer/components/datatables/datatable.css @@ -40,19 +40,6 @@ @apply text-blue-7; } -.datatable tr > td a:not(.btn) { - color: var(--ui-blue-8); -} - -.datatable tr > td a:not(.btn):hover, -.datatable tr > td a:not(.btn):focus { - text-decoration: underline; -} - -.datatable tr > td a.actions { - color: currentColor; -} - .toolBar .actionBar { display: inline-flex; } diff --git a/app/portainer/components/forms/registry-form-gitlab/registry-form-gitlab.html b/app/portainer/components/forms/registry-form-gitlab/registry-form-gitlab.html index 0fa23ab5f..5c289533d 100644 --- a/app/portainer/components/forms/registry-form-gitlab/registry-form-gitlab.html +++ b/app/portainer/components/forms/registry-form-gitlab/registry-form-gitlab.html @@ -48,14 +48,24 @@
diff --git a/app/portainer/home/EnvironmentList/EnvironmentItem/EnvironmentItem.tsx b/app/portainer/home/EnvironmentList/EnvironmentItem/EnvironmentItem.tsx index cb608f438..e8a11efc6 100644 --- a/app/portainer/home/EnvironmentList/EnvironmentItem/EnvironmentItem.tsx +++ b/app/portainer/home/EnvironmentList/EnvironmentItem/EnvironmentItem.tsx @@ -46,12 +46,11 @@ export function EnvironmentItem({ environment, onClick, groupName }: Props) {