forked from patternfly/patternfly-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpf-label-group.css
More file actions
78 lines (66 loc) · 2.14 KB
/
pf-label-group.css
File metadata and controls
78 lines (66 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
:host {
display: flex;
flex-direction: row;
position: relative;
gap: 0.5rem;
border: 0;
}
pf-button {
--pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize, var(--pf-global--FontSize--xs, 0.75rem));
--pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop, var(--pf-global--spacer--xs, 0.25rem));
--pf-c-button--PaddingRight: var(--pf-c-label__c-button--PaddingRight, var(--pf-global--spacer--sm, 0.5rem));
--pf-c-button--PaddingBottom: var(--pf-c-label__c-button--PaddingBottom, var(--pf-global--spacer--xs, 0.25rem));
--pf-c-button--PaddingLeft: var(--pf-c-label__c-button--PaddingLeft, var(--pf-global--spacer--sm, 0.5rem));
margin: var(--pf-c-label__c-button--MarginTop, -0.5rem)
var(--pf-c-label__c-button--MarginRight, -0.5rem)
var(--pf-c-label__c-button--MarginBottom, -0.5rem)
var(--pf-c-label__c-button--MarginLeft, 0.25rem);
}
.compact {
--pf-c-label--PaddingTop: var(--pf-c-label--m-compact--PaddingTop, 0);
--pf-c-label--PaddingRight: var(--pf-c-label--m-compact--PaddingRight, var(--pf-global--spacer--sm, 0.5rem));
--pf-c-label--PaddingBottom: var(--pf-c-label--m-compact--PaddingBottom, 0);
--pf-c-label--PaddingLeft: var(--pf-c-label--m-compact--PaddingLeft, var(--pf-global--spacer--sm, 0.5rem));
--pf-global--icon--FontSize--sm: 12px;
}
.add-label-btn {
background-color: #fff;
color: #0066cc;
border: 1px solid #d2d2d2;
border-radius: 9999px;
padding: 0px 2px;
font-size: 9px;
cursor: pointer;
font-weight: 500;
}
.add-label-btn:hover {
background-color: #f5f5f5;
}
#outer {
display: flex;
flex-wrap: wrap;
gap: 0.25rem;
padding: 0.5rem;
border: 1px solid #d2d2d2;
border-radius: 6px;
background-color: #fff;
align-items: center;
}
:host([orientation="horizontal"]) #outer {
flex-direction: row;
}
:host([orientation="vertical"]) #outer {
flex-direction: column;
align-items: flex-start;
}
::slotted([slot="category-name"]) {
display: inline-block;
max-width: 16ch;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: middle;
cursor: default;
}
::slotted([slot="category-name"][title]):hover {
}