Skip to content

Commit 10ab28b

Browse files
xyq175comJessie Teng
authored andcommitted
fix(argoproj#18495): Add Alternate color of resources in sync panel (argoproj#19250)
* add Alternate color of resources in sync panel Co-authored-by: Xu Yan <[email protected]> Co-authored-by: Jessie Teng <[email protected]> Signed-off-by: Xu, Yan <[email protected]> * format code Signed-off-by: Xu, Yan <[email protected]> * update style based on maintainer's feedback Signed-off-by: Jessie Teng <[email protected]> * Add these styles to prevent overflow Signed-off-by: Xu, Yan <[email protected]> * add style base on maintainer feedback Signed-off-by: Xu, Yan <[email protected]> --------- Signed-off-by: Xu, Yan <[email protected]> Signed-off-by: Jessie Teng <[email protected]> Co-authored-by: Jessie Teng <[email protected]> Signed-off-by: austin5219 <[email protected]>
1 parent 1aec6ff commit 10ab28b

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

ui/src/app/applications/components/application-sync-panel/application-sync-panel.scss

+17-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,28 @@
1+
@import 'node_modules/argo-ui/src/styles/config';
2+
13
.application-sync-panel__resource {
24
margin-top: 0.5em;
35
white-space: nowrap;
46

7+
&:nth-of-type(odd) {
8+
background: $argo-color-gray-3;
9+
10+
.theme-dark & {
11+
background: $argo-color-gray-6;
12+
}
13+
}
14+
15+
&:nth-of-type(odd) {
16+
background: #e0e0e0;
17+
}
18+
519
.container {
6-
max-width: 32em;
20+
max-width: 30em;
721
white-space: nowrap;
822
display: inline-block;
923
margin-right: 0.3em;
1024

25+
1126
label {
1227
cursor: pointer;
1328
}
@@ -32,4 +47,4 @@
3247
direction: rtl; // This is to help put the ellipsis in the middle instead of at the end of the resource path
3348
}
3449
}
35-
}
50+
}

0 commit comments

Comments
 (0)