improved importer to detect attack features and actions
This commit is contained in:
parent
bbf4ecbc87
commit
74f123ecf2
4 changed files with 304 additions and 61 deletions
|
|
@ -254,4 +254,71 @@
|
|||
gap: 10px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid #4a4a4a;
|
||||
}
|
||||
|
||||
/* --- New Styles for Image Pickers --- */
|
||||
|
||||
.dh-importer-preview .header-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.dh-importer-preview .header-row h3 {
|
||||
margin: 0;
|
||||
border: none;
|
||||
padding: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.dh-importer-preview .image-picker {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
border: 1px solid #7a6a4a;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
transition: box-shadow 0.2s;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.dh-importer-preview .image-picker:hover {
|
||||
box-shadow: 0 0 5px #ffd700;
|
||||
}
|
||||
|
||||
.dh-importer-preview .image-picker img {
|
||||
display: block;
|
||||
object-fit: cover;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
.dh-importer-preview .attack-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
background: #2a2a2a;
|
||||
padding: 4px 16px 4px 8px;
|
||||
/* Adjusted padding for icon */
|
||||
border-radius: 4px;
|
||||
border: 1px solid #444;
|
||||
color: #ccc;
|
||||
font-size: 1.1em;
|
||||
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.dh-importer-preview .attack-pill .image-picker {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.dh-importer-preview .feature-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue