* refactor testcase steps editor.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#steps .step-group .step-expects {display: none;}
|
||||
#steps .step-item .step-item-id {display: table-cell; min-width: 40px;}
|
||||
#steps .step-item .step-id {color: transparent}
|
||||
#steps .step-group .step-id {font-weight: bold}
|
||||
#steps .step-actions {width: 90px; text-align: center;}
|
||||
|
||||
#steps .btn-step-move {cursor: move}
|
||||
@@ -20,6 +21,16 @@
|
||||
#steps.sortable-sorting > tr.drag-row + tr > td {box-shadow: inset 0 4px 2px rgba(0,0,0,.2)}
|
||||
#steps.sortable-sorting > tr.drag-row > td {background-color: #edf3fe!important}
|
||||
#steps.sortable > tr.drop-success > td {background-color: #cfe0ff; transition: background-color 2s;}
|
||||
#steps .step-type-toggle {padding: 0}
|
||||
#steps .step-type-menu-box {position: relative;}
|
||||
#steps .step-type-menu {position: absolute; top: 0; right: 0; z-index: 10; box-shadow: 0 6px 12px rgba(0,0,0,.175); background-color: #fff; display: none; border: 1px solid #ddd; min-width: 60px;}
|
||||
#steps .step-step[data-type="item"] .step-type-menu > a[data-value="item"] {display: none}
|
||||
#steps .step-type-current {display: block; padding: 5px 10px; position: relative; line-height: 20px;}
|
||||
#steps .step-type-menu:hover,
|
||||
#steps .step-type-toggle:hover .step-type-menu {display: block}
|
||||
#steps .step-type-menu > a {display: block; padding: 8px 10px; color: #666;}
|
||||
#steps .step-type-menu > a:hover {color: #333; background-color: #e5e5e5;}
|
||||
#steps .step-type-menu > a.active {color: #fff; background-color: #1a4f85;}
|
||||
|
||||
.table-bordered .step-actions {width: 98px;}
|
||||
.table-bordered > #steps > tr > td {padding: 0; background-color: #fafafa; border: 1px solid #ddd!important; border-left-style: dotted!important; border-right-style: dotted!important;}
|
||||
|
||||
Reference in New Issue
Block a user