Improve styling for option groups and add a "drag" icon to accordion headers
Showing
1 changed file
with
32 additions
and
4 deletions
| ... | @@ -1306,11 +1306,26 @@ h6.fieldset-heading { | ... | @@ -1306,11 +1306,26 @@ h6.fieldset-heading { |
| 1306 | height: 30px; | 1306 | height: 30px; |
| 1307 | } | 1307 | } |
| 1308 | 1308 | ||
| 1309 | .option-groups-region .ui-icon { | ||
| 1310 | display: inline-block; | ||
| 1311 | position: relative; | ||
| 1312 | top: 2px; | ||
| 1313 | left: -10px; | ||
| 1314 | } | ||
| 1315 | |||
| 1316 | .option-groups-region .field-option .ui-icon { | ||
| 1317 | top: 4px; | ||
| 1318 | } | ||
| 1319 | |||
| 1309 | .option-groups-region .remove-group, | 1320 | .option-groups-region .remove-group, |
| 1310 | .option-groups-region .remove-option { | 1321 | .option-groups-region .remove-option { |
| 1311 | float: right; | 1322 | float: right; |
| 1312 | } | 1323 | } |
| 1313 | 1324 | ||
| 1325 | .option-groups-region .remove-group { | ||
| 1326 | margin-top: 1px; | ||
| 1327 | } | ||
| 1328 | |||
| 1314 | .option-groups-region .remove-option { | 1329 | .option-groups-region .remove-option { |
| 1315 | margin-top: 4px; | 1330 | margin-top: 4px; |
| 1316 | } | 1331 | } |
| ... | @@ -1351,16 +1366,29 @@ h6.fieldset-heading { | ... | @@ -1351,16 +1366,29 @@ h6.fieldset-heading { |
| 1351 | 1366 | ||
| 1352 | .option-groups-region .accordion-content .field-option { | 1367 | .option-groups-region .accordion-content .field-option { |
| 1353 | padding: 10px !important; | 1368 | padding: 10px !important; |
| 1369 | cursor: move; | ||
| 1370 | } | ||
| 1371 | |||
| 1372 | .option-groups-region div input[type=text] { | ||
| 1373 | width: 76%; | ||
| 1354 | } | 1374 | } |
| 1355 | 1375 | ||
| 1356 | .option-groups-region div input[type=text], | ||
| 1357 | .option-groups-region div textarea { | 1376 | .option-groups-region div textarea { |
| 1358 | width: 78%; | 1377 | width: 99%; |
| 1378 | } | ||
| 1379 | |||
| 1380 | .option-groups-region .group-title { | ||
| 1381 | display: inline-block; | ||
| 1382 | max-width: 415px; | ||
| 1383 | text-overflow: ellipsis; | ||
| 1384 | overflow: hidden; | ||
| 1385 | position: relative; | ||
| 1386 | top: 2px; | ||
| 1387 | cursor: pointer; | ||
| 1359 | } | 1388 | } |
| 1360 | 1389 | ||
| 1361 | .option-groups-region .group-title:hover { | 1390 | .option-groups-region .group-title:hover { |
| 1362 | cursor: pointer; | 1391 | color: rgb(33, 117, 155); |
| 1363 | color: rgb(33, 117, 155); | ||
| 1364 | } | 1392 | } |
| 1365 | 1393 | ||
| 1366 | .dragged { | 1394 | .dragged { | ... | ... |
-
Please register or sign in to post a comment