Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita52e8a3

Browse files
author
minjk-bl
committed
Fix Information app's bug and Edit data table format
1 parente1c4129 commita52e8a3

File tree

3 files changed

+490
-127
lines changed

3 files changed

+490
-127
lines changed

‎visualpython/css/m_apps/information.css‎

Lines changed: 69 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
height:30px;
3232
}
3333
/* dropdown menu */
34-
.vp-dropdown {
34+
/*.vp-dropdown {
3535
position: relative;
3636
display: inline-block;
3737
}
@@ -62,7 +62,6 @@
6262
-ms-user-select: none;
6363
user-select: none;
6464
text-overflow: ellipsis;
65-
/* overflow: hidden; */
6665
white-space: nowrap;
6766
padding: 0px 5px;
6867
}
@@ -88,17 +87,76 @@
8887
cursor: pointer;
8988
height: 30px;
9089
font-size: 13px;
91-
}
92-
.vp-variable-preview {
90+
} */
91+
.vp-variable-table {
9392
margin-top:5px;
94-
align-content: baseline;
93+
background:var(--vp-border-gray-color);
94+
border:1px solidvar(--vp-border-gray-color);
95+
overflow: auto;
9596
}
96-
.vp-variable-previewtheadth {
97+
.vp-variable-tabletable {
98+
border-collapse: separate;
99+
margin-top:0px;
100+
margin-left:0px;
101+
color:var(--vp-font-primary);
102+
font-size:13px;
103+
}
104+
.vp-variable-tabletableth {
105+
/* no-selection for th */
106+
-webkit-touch-callout: none;
107+
-webkit-user-select: none;
108+
-khtml-user-select: none;
109+
-moz-user-select: none;
110+
-ms-user-select: none;
111+
user-select: none;
112+
}
113+
.vp-variable-tabletheadth {
114+
position: sticky;
115+
top:0;
116+
background-color:var(--vp-background-color);
117+
border-bottom:1px solidvar(--vp-border-gray-color);
118+
119+
text-align: right;
120+
text-overflow: ellipsis;
121+
overflow: hidden;
122+
height:30px!important;
123+
min-width:80px;
124+
white-space: nowrap;
125+
}
126+
.vp-variable-tabletbodytr:nth-child(odd) {
127+
background:#F5F5F5;
128+
}
129+
.vp-variable-tabletbodytr:nth-child(even) {
130+
background:var(--vp-background-color);
131+
}
132+
.vp-variable-tableth.selected {
133+
/* color: var(--vp-highlight-color); */
134+
background:#add3fd;
135+
}
136+
.vp-variable-tableth:hover {
97137
cursor: pointer;
138+
/* background: var(--vp-light-gray-color); */
139+
/* background: rgba(66, 165, 245, 0.2); */
98140
}
99-
.vp-variable-previewtheadth.selected {
100-
background-color:var(--vp-highlight-color);
101-
color:var(--vp-background-color);
141+
142+
/* Row Hover */
143+
.vp-variable-tabletbodytr:hover {
144+
background-color:rgba(66,165,245,0.2);
145+
}
146+
147+
/* Column Hover */
148+
.vp-variable-tabletrth:nth-child(1) {
149+
min-width:30px!important;
150+
}
151+
152+
.vp-variable-table-more {
153+
margin:10px;
154+
cursor: pointer;
155+
padding:3px;
156+
background-color: white;
157+
}
158+
.vp-variable-table-more:hover {
159+
background-color:var(--vp-gray-color);
102160
}
103161
.vp-information-preview-header {
104162
height:30px;
@@ -136,6 +194,8 @@
136194
}
137195
.vp-information-preview-content {
138196
align-content: baseline;
197+
position: relative;
198+
height:100%;
139199
}
140200
.vp-information-preview-boximg {
141201
width:100%;

‎visualpython/html/m_apps/information.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<hrstyle="margin: 5px 0;"/>
2020
<divclass="vp-information-toolbox">
2121
</div>
22-
<divid="variablePreview"class="vp-variable-preview rendered_html vp-grid-border-box vp-scrollbar vp-no-selection">
22+
<divid="variablePreview"class="vp-variable-table vp-scrollbar vp-no-selection">
2323

2424
</div>
2525
</div>
@@ -35,7 +35,7 @@
3535
<divid="informationPreviewTitle"class="vp-information-preview-title">
3636
</div>
3737
<hrstyle="margin: 5px 0;"/>
38-
<divid="informationPreview"class="vp-information-preview-contentrendered_html vp-center"></div>
38+
<divid="informationPreview"class="vp-information-preview-contentvp_rendered_html vp-center"></div>
3939
</div>
4040
</div>
4141
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp