|
31 | 31 | height: 30px;
|
32 | 32 | }
|
33 | 33 | /* dropdown menu */
|
34 |
| -.vp-dropdown { |
| 34 | +/* .vp-dropdown { |
35 | 35 | position: relative;
|
36 | 36 | display: inline-block;
|
37 | 37 | }
|
|
62 | 62 | -ms-user-select: none;
|
63 | 63 | user-select: none;
|
64 | 64 | text-overflow: ellipsis;
|
65 |
| - /* overflow: hidden; */ |
66 | 65 | white-space: nowrap;
|
67 | 66 | padding: 0px 5px;
|
68 | 67 | }
|
|
88 | 87 | cursor: pointer;
|
89 | 88 | height: 30px;
|
90 | 89 | font-size: 13px;
|
91 |
| -} |
92 |
| -.vp-variable-preview { |
| 90 | +} */ |
| 91 | +.vp-variable-table { |
93 | 92 | margin-top: 5px;
|
94 |
| - align-content: baseline; |
| 93 | + background: var(--vp-border-gray-color); |
| 94 | + border: 1px solid var(--vp-border-gray-color); |
| 95 | + overflow: auto; |
95 | 96 | }
|
96 |
| -.vp-variable-preview thead th { |
| 97 | +.vp-variable-table table { |
| 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-table table th { |
| 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-table thead th { |
| 114 | + position: sticky; |
| 115 | + top: 0; |
| 116 | + background-color: var(--vp-background-color); |
| 117 | + border-bottom: 1px solid var(--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-table tbody tr:nth-child(odd) { |
| 127 | + background: #F5F5F5; |
| 128 | +} |
| 129 | +.vp-variable-table tbody tr:nth-child(even) { |
| 130 | + background: var(--vp-background-color); |
| 131 | +} |
| 132 | +.vp-variable-table th.selected { |
| 133 | + /* color: var(--vp-highlight-color); */ |
| 134 | + background: #add3fd; |
| 135 | +} |
| 136 | +.vp-variable-table th:hover { |
97 | 137 | cursor: pointer;
|
| 138 | + /* background: var(--vp-light-gray-color); */ |
| 139 | + /* background: rgba(66, 165, 245, 0.2); */ |
98 | 140 | }
|
99 |
| -.vp-variable-preview thead th.selected { |
100 |
| - background-color: var(--vp-highlight-color); |
101 |
| - color: var(--vp-background-color); |
| 141 | + |
| 142 | +/* Row Hover */ |
| 143 | +.vp-variable-table tbody tr:hover { |
| 144 | + background-color: rgba(66, 165, 245, 0.2); |
| 145 | +} |
| 146 | + |
| 147 | +/* Column Hover */ |
| 148 | +.vp-variable-table tr th: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); |
102 | 160 | }
|
103 | 161 | .vp-information-preview-header {
|
104 | 162 | height: 30px;
|
|
136 | 194 | }
|
137 | 195 | .vp-information-preview-content {
|
138 | 196 | align-content: baseline;
|
| 197 | + position: relative; |
| 198 | + height: 100%; |
139 | 199 | }
|
140 | 200 | .vp-information-preview-box img {
|
141 | 201 | width: 100%;
|
|
0 commit comments