Skip to content

Commit 1e6a222

Browse files
author
rakeshAlgo
committed
Fix the label UI for community field
1 parent e1b4071 commit 1e6a222

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/css/labels.css

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
position: relative;
1616
}
1717

18-
.doc .labels .edition,
19-
.doc .labels .status,
20-
.doc .labels .community {
18+
.doc .edition,
19+
.doc .status,
20+
.doc .community {
2121
max-width: fit-content;
2222
font-size: var(--labels-font-size);
2323
font-weight: var(--weight-bold);
@@ -45,9 +45,9 @@
4545
} */
4646

4747
.doc .labels li,
48-
.doc .labels .edition,
49-
.doc .labels .status,
50-
.doc .labels .community {
48+
.doc .edition,
49+
.doc .status,
50+
.doc .community {
5151
color: #fff;
5252
display: inline-block;
5353
padding: 6px;
@@ -57,58 +57,58 @@
5757
}
5858

5959
.doc .labels li a,
60-
.doc .labels .edition a,
61-
.doc .labels .status a,
62-
.doc .labels .community a {
60+
.doc .edition a,
61+
.doc .status a,
62+
.doc .community a {
6363
text-decoration: none;
6464
font-family: "Source Sans Pro", sans-serif;
6565
}
6666

67-
.doc .labels .edition *,
68-
.doc .labels .status * {
67+
.doc .edition *,
68+
.doc .status * {
6969
color: inherit;
7070
}
7171

7272
/* .doc .labels li.edition {
7373
background-color: var(--color-brand-light-blue);
7474
} */
7575

76-
.doc .labels .edition {
76+
.doc .edition {
7777
color: var(--color-brand-blue-secondary);
7878
border: 1px solid var(--color-brand-blue-secondary);
7979
border-radius: 3px;
8080
opacity: 0.6;
8181
}
8282

83-
.doc .labels .status {
83+
.doc .status {
8484
color: var(--color-brand-caution);
8585
border: 1px solid var(--color-brand-caution);
8686
border-radius: 3px;
8787
opacity: 0.6;
8888
}
8989

90-
.doc .labels .community {
90+
.doc .community {
9191
color: #999;
9292
border: 1px solid #999;
9393
border-radius: 3px;
9494
opacity: 0.6;
9595
}
9696

97-
.doc .labels .edition a {
97+
.doc .edition a {
9898
color: var(--color-brand-blue-secondary);
9999
}
100100

101-
.doc .labels .status a {
101+
.doc .status a {
102102
color: var(--color-brand-caution);
103103
}
104104

105-
.doc .labels .community a {
105+
.doc .community a {
106106
color: #999;
107107
}
108108

109-
.doc .labels .edition:hover,
110-
.doc .labels .status:hover,
111-
.doc .labels .community:hover {
109+
.doc .edition:hover,
110+
.doc .status:hover,
111+
.doc .community:hover {
112112
opacity: 1;
113113
}
114114

0 commit comments

Comments
 (0)