|
6 | 6 | margin-bottom: 20px; |
7 | 7 | .meta-key { |
8 | 8 | .key-field { |
9 | | - margin: 15px 0 10px; |
10 | | - padding: 11px 13px; |
11 | | - max-width: calc(100% - 36px); |
12 | | - height: 48px; |
| 9 | + margin: 0 0 5px; |
| 10 | + max-width: 200px; |
13 | 11 | font-size: 16px; |
14 | 12 | font-weight: 700; |
15 | | - border: 1px solid $border-color; |
16 | | - @include border-radius($border-radius); |
| 13 | + background: 0 0; |
| 14 | + border: 2px solid transparent; |
| 15 | + @include border-radius(2px); |
| 16 | + padding: 5px 0; |
17 | 17 | box-shadow: none; |
18 | 18 | @include transition(padding 250ms ease); |
19 | 19 | &:focus { |
20 | | - border-color: $border-color-focus; |
| 20 | + padding: 5px; |
| 21 | + border-color: $dark-orange; |
21 | 22 | color: #000 !important; |
22 | 23 | } |
23 | 24 | &:hover { |
|
27 | 28 | } |
28 | 29 | .meta-value { |
29 | 30 | .value-field { |
30 | | - margin-bottom: 0; |
31 | | - padding: 11px 13px; |
32 | | - max-width: calc(100% - 36px); |
| 31 | + overflow: hidden; |
| 32 | + word-wrap: break-word; |
| 33 | + resize:vertical; |
| 34 | + height: auto; |
33 | 35 | min-height: 46px; |
| 36 | + margin-bottom: 0; |
34 | 37 | max-height: 500px; |
35 | | - font-size: 16px; |
36 | | - line-height: 1.5; |
37 | | - resize: vertical; |
38 | 38 | vertical-align: bottom; |
39 | | - word-wrap: break-word; |
40 | | - overflow: hidden; |
| 39 | + line-height: 1.5; |
| 40 | + width: 100%; |
| 41 | + |
| 42 | + @include border-radius(2px); |
41 | 43 | border-color: $border-color; |
42 | | - @include border-radius($border-radius); |
| 44 | + font-size: 16px; |
| 45 | + padding: 11px 13px; |
43 | 46 | &:focus { |
44 | | - border: 1px solid $border-color-focus; |
| 47 | + border: 1px solid $dark-orange; |
45 | 48 | } |
46 | 49 | } |
47 | 50 | } |
48 | 51 | .meta-value-array { |
49 | 52 | padding: 10px 15px; |
50 | 53 | border: 1px solid $border-color; |
51 | | - @include border-radius($border-radius); |
| 54 | + @include border-radius(3px); |
52 | 55 | position: relative; |
53 | 56 | .array-item-wrap { |
54 | 57 | margin-bottom: 20px; |
|
79 | 82 | bottom: -13px; |
80 | 83 | margin-left: -13px; |
81 | 84 | left: 50%; |
| 85 | + i { |
| 86 | + margin: 0; |
| 87 | + } |
82 | 88 | } |
83 | 89 | } |
84 | 90 | .meta-value-object { |
|
101 | 107 | box-shadow: none; |
102 | 108 | min-height: 46px; |
103 | 109 | line-height: 1.5; |
104 | | - @include border-radius($border-radius); |
| 110 | + @include border-radius(2px); |
105 | 111 | } |
106 | 112 | .meta-buttons { |
107 | 113 | transform: translateY(-50%); |
|
156 | 162 | cursor: pointer; |
157 | 163 | position: relative; |
158 | 164 | button { |
159 | | - border: 1px solid $border-color; |
| 165 | + border: 1px solid #d4d7d9; |
160 | 166 | background: none; |
161 | 167 | padding: 0; |
162 | 168 | @include border-radius(50%); |
|
175 | 181 | height: 0; |
176 | 182 | border-style: solid; |
177 | 183 | border-width: 0 10px 10px; |
178 | | - border-color: transparent transparent $border-color; |
| 184 | + border-color: transparent transparent #d4d7d9; |
179 | 185 | content: ""; |
180 | 186 | position: absolute; |
181 | 187 | top: -10px; |
|
190 | 196 | z-index: 30; |
191 | 197 | width: 185px; |
192 | 198 | border: 1px solid #d4d7d9; |
193 | | - border-radius: $border-radius; |
| 199 | + border-radius: 2px; |
194 | 200 | background: #fff; |
195 | 201 | span { |
196 | 202 | display: block; |
|
234 | 240 | & div { |
235 | 241 | opacity: 0; |
236 | 242 | } |
237 | | - border: 1px dashed $dark-orange !important; |
| 243 | + border: 2px dashed $dark-orange !important; |
238 | 244 | } |
239 | 245 | .showing-dropdown { |
240 | 246 | z-index: 30; |
|
256 | 262 | right: -10px !important; |
257 | 263 | } |
258 | 264 | .rw-state-focus { |
259 | | - border: 1px solid $orange !important; |
| 265 | + border: 1px solid $dark-orange !important; |
260 | 266 | } |
261 | 267 | } |
0 commit comments