forked from getredash/redash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema-browser.less
85 lines (71 loc) · 1.26 KB
/
schema-browser.less
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
div.table-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
padding: 2px 22px 2px 10px;
border-radius: @redash-radius;
position: relative;
.copy-to-editor {
display: none;
}
&:hover {
background: fade(@redash-gray, 10%);
.copy-to-editor {
display: flex;
}
}
}
.schema-container {
height: 100%;
z-index: 10;
background-color: white;
}
.schema-browser {
overflow-y: auto;
overflow-x: hidden;
border: none;
margin-top: 10px;
.collapse.in {
background: transparent;
}
.copy-to-editor {
color: fade(@redash-gray, 90%);
cursor: pointer;
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 20px;
display: flex;
align-items: center;
justify-content: center;
}
.table-open {
padding: 0 22px 0 26px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: relative;
.copy-to-editor {
display: none;
}
&:hover {
background: fade(@redash-gray, 10%);
.copy-to-editor {
display: flex;
}
}
}
}
.schema-control {
display: flex;
padding: 0;
.form-control {
height: 30px;
margin-right: 5px;
}
}
.parameter-label {
display: block;
}