-
Notifications
You must be signed in to change notification settings - Fork 280
Expand file tree
/
Copy pathTokenizer.css
More file actions
123 lines (104 loc) · 2.28 KB
/
Tokenizer.css
File metadata and controls
123 lines (104 loc) · 2.28 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
@import "./InvisibleTextStyles.css";
:host {
display: inline-block;
box-sizing: border-box;
border: none;
height: 2.25rem;
}
:host([multi-line]) {
height: auto;
}
:host([multi-line]) .ui5-tokenizer--content {
display: flex;
align-content: baseline;
flex-wrap: wrap;
padding: .25rem;
box-sizing: border-box;
gap: var(--_ui5_tokenizer_gap);
overflow-y: auto;
overflow-x: hidden;
}
:host([multi-line])::slotted([ui5-token]) {
margin: 0;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 100%;
}
:host([disabled]) {
opacity: 40%;
pointer-events: none;
}
:host(:not([expanded])) .ui5-tokenizer-root {
overflow: hidden;
}
:host([_tokens-count="0"]) .ui5-tokenizer-root {
padding: 0;
}
.ui5-tokenizer-root {
height: 100%;
display: flex;
align-items: center;
box-sizing: border-box;
touch-action: none;
font-family: var(--sapFontFamily);
}
.ui5-tokenizer--token--wrapper {
display: inline-flex;
align-items: center;
box-sizing: border-box;
height: 100%;
}
:host([expanded]) .ui5-tokenizer--content {
display: inline-flex;
white-space: nowrap;
overflow: hidden;
}
.ui5-tokenizer--content {
display: flex;
flex-wrap: nowrap;
align-items: center;
overflow: hidden;
padding-inline-start: var(--_ui5_tokenizer_padding);
height: 100%;
box-sizing: border-box;
}
.ui5-tokenizer--list{
display: contents;
}
:host([_tokens-count="1"]) .ui5-tokenizer--content {
padding-inline-end: 4px;
box-sizing: border-box;
max-width: 100%;
flex: 1;
}
.ui5-tokenizer-more-text {
display: inline-block;
margin-inline-start: var(--_ui5_token_right_margin);
cursor: pointer;
white-space: nowrap;
font-size: var(--sapFontSize);
font-weight: normal;
color: var(--_ui5_tokenizer_n_more_text_color);
}
.ui5-tokenizer-more-text:hover {
text-decoration: underline;
}
/* Underline needs to be removed on mousedown. */
.ui5-tokenizer-more-text:active {
text-decoration: none;
}
.ui5-tokenizer--clear-all {
color: var(--sapLinkColor);
font-family: var(--sapFontFamily);
font-size: var(--sapFontSize);
cursor: pointer;
outline: none;
}
.ui5-tokenizer--clear-all:hover {
color: var(--sapLink_Hover_Color);
text-decoration: var(--_ui5_link_hover_text_decoration);
}
.ui5-tokenizer--clear-all:active {
color: var(--sapLink_Active_Color);
text-decoration: var(--_ui5_link_active_text_decoration);
}