-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
Copy pathindex.scss
91 lines (76 loc) · 1.67 KB
/
index.scss
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
@import '../../../../scss/styles.scss';
@layer payload-default {
.lexical-relationship {
@extend %body;
@include shadow-sm;
padding: calc(var(--base) * 0.75);
display: flex;
align-items: center;
background: var(--theme-input-bg);
border: 1px solid var(--theme-elevation-100);
border-radius: $style-radius-m;
max-width: calc(var(--base) * 15);
font-family: var(--font-body);
margin-block: base(0.5);
&:hover {
border: 1px solid var(--theme-elevation-150);
}
&__label {
margin-bottom: calc(var(--base) * 0.25);
}
&__title {
margin: 0;
}
&__label,
&__title {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
line-height: 1 !important;
}
&__title {
font-weight: bold;
}
&__wrap {
flex-grow: 1;
overflow: hidden;
}
&__doc-drawer-toggler {
text-decoration: underline;
pointer-events: all;
line-height: inherit;
& > * {
margin: 0;
}
}
&__swapButton.btn {
margin: 0;
}
&__doc-drawer-toggler,
&__swapButton {
&:disabled {
color: var(--theme-elevation-300);
pointer-events: none;
}
}
&__actions {
display: flex;
align-items: center;
flex-shrink: 0;
margin-left: calc(var(--base) * 0.5);
& > *:not(:last-child) {
margin-right: calc(var(--base) * 0.25);
}
}
&__removeButton.btn {
margin: 0;
line {
stroke-width: $style-stroke-width-m;
}
&:disabled {
color: var(--theme-elevation-300);
pointer-events: none;
}
}
}
}