forked from amundsen-io/amundsen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.scss
114 lines (91 loc) · 2.13 KB
/
styles.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// Copyright Contributors to the Amundsen project.
// SPDX-License-Identifier: Apache-2.0
@import 'variables';
@import 'typography';
$description-max-width: 650px;
$description-max-width-med: 450px;
$description-max-width-small: 300px;
$description-max-height: 18px;
$nested-arrow-spacer: 24px;
$nested-arrow-spacer-max: $nested-arrow-spacer * 4;
$nested-column-row-color: $gray5;
.column-list {
margin: 0;
}
.stat-title {
@extend %text-title-w3;
}
// Modification for Table to support dropdowns
// Extra nesting added for fixing specificity issues
.table-detail-table {
margin-bottom: 0;
.nesting-arrow-spacer {
height: $nested-arrow-spacer;
width: $nested-arrow-spacer-max;
display: inline-block;
@for $i from 0 through 4 {
&.spacer-#{$i + 1} {
width: $nested-arrow-spacer * $i;
}
}
}
.column-name-container {
display: inline-block;
}
.column-name-with-icons {
display: flex;
gap: $spacer-1;
}
.column-name-button {
padding: 0;
border: none;
background: none;
&:hover {
cursor: pointer;
text-decoration: underline;
text-decoration-color: $column-name-color;
}
}
.ams-table-header {
background-color: white;
}
.expanded-row-container {
padding-bottom: $spacer-2;
}
// Editable section modifications
.stat-collection-info {
padding-top: $spacer-1;
font-style: italic;
}
.editable-section-label-wrapper {
margin-bottom: 0 !important;
}
.markdown-wrapper p {
margin-top: 0;
white-space: normal;
}
.column-desc {
max-height: $description-max-height;
overflow-y: hidden;
p {
@extend %text-body-w3;
margin: 0;
max-width: $description-max-width-small;
white-space: nowrap;
overflow-x: hidden;
text-overflow: ellipsis;
@media (min-width: $screen-md-max) {
max-width: $description-max-width-med;
}
@media (min-width: $screen-lg-max) {
max-width: $description-max-width;
}
}
}
.has-child-expanded .column-desc {
display: none;
}
.usage-value {
font-family: $font-family-monospace-code;
}
}