Skip to content

Commit c2e28b2

Browse files
authored
Merge pull request #2185 from kocsmy/design/new-data-source+query-editor
Design/new data source+query editor
2 parents dcf867e + 11cfc66 commit c2e28b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1319
-412
lines changed
12.3 KB
Loading
6.23 KB
Loading
20.2 KB
Loading
2.89 KB
Loading
15.5 KB
Loading
Loading
Loading
Loading
Loading
21.6 KB
Loading
24.6 KB
Loading
14.4 KB
Loading
18.5 KB
Loading
11.7 KB
Loading
8.87 KB
Loading
12.1 KB
Loading
15.6 KB
Loading
23.1 KB
Loading
12.3 KB
Loading
25.2 KB
Loading
13.5 KB
Loading
13.5 KB
Loading
6.01 KB
Loading
12.8 KB
Loading
18.2 KB
Loading
13.7 KB
Loading
Loading
8.36 KB
Loading
6.36 KB
Loading
6.14 KB
Loading
Loading
Loading
Loading

client/app/assets/less/inc/edit-in-place.less

+38-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
.edit-in-place span {
22
white-space: pre-line;
3+
4+
p {
5+
margin-bottom: 0;
6+
}
37
}
48

59
.edit-in-place span.editable {
610
cursor: pointer;
711
}
812

913
.edit-in-place span.editable:hover {
10-
background: #FCFCA2;
14+
background: @redash-yellow;
15+
border-radius: @redash-radius;
1116
}
1217

1318
.edit-in-place input,
@@ -24,3 +29,35 @@
2429
display: inline-block;
2530
}
2631

32+
.edit-in-place {
33+
display: inline-block;
34+
}
35+
36+
.edit-in-place {
37+
.rd-form-control {
38+
padding: 0px 6px;
39+
width: 30vw;
40+
}
41+
42+
&.active {
43+
textarea.rd-form-control {
44+
height: 29px;
45+
width: 40vw;
46+
}
47+
}
48+
}
49+
50+
51+
@media (max-width: 880px) {
52+
.edit-in-place {
53+
.rd-form-control {
54+
width: 50vw;
55+
}
56+
57+
&.active {
58+
textarea.rd-form-control {
59+
width: 50vw;
60+
}
61+
}
62+
}
63+
}

client/app/assets/less/inc/form.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ textarea.v-resizable {
1010
&.required {
1111
.control-label {
1212
&:after {
13-
content: "*";
14-
color: red;
13+
content: " *";
14+
color: inherit;
1515
}
1616
}
1717
}

0 commit comments

Comments
 (0)