mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
[Fix] Hints For Drag/Drop (#1076)
* Added hints for drag-drop areas * Changed to drag-area style. Updated localization
This commit is contained in:
parent
d686ac1e0c
commit
d24fef7494
10 changed files with 39 additions and 28 deletions
12
styles/less/global/global.less
Normal file
12
styles/less/global/global.less
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
.drag-area {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
border: 1px dashed light-dark(@dark-blue-50, @beige-50);
|
||||
border-radius: 3px;
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
@import './chat.less';
|
||||
@import './elements.less';
|
||||
@import './enrichment.less';
|
||||
@import './global.less';
|
||||
@import './tab-navigation.less';
|
||||
@import './tab-form-footer.less';
|
||||
@import './tab-actions.less';
|
||||
|
|
|
|||
|
|
@ -34,18 +34,5 @@
|
|||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.adversaries-dragger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
border: 1px dashed light-dark(@dark-blue-50, @beige-50);
|
||||
border-radius: 3px;
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
font-family: @font-body;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,10 +27,6 @@
|
|||
outline: 2px solid light-dark(@dark, @golden);
|
||||
}
|
||||
|
||||
&:placeholder {
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
||||
&::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
display: none;
|
||||
|
|
|
|||
|
|
@ -27,10 +27,6 @@
|
|||
outline: 2px solid light-dark(@dark, @golden);
|
||||
}
|
||||
|
||||
&:placeholder {
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
||||
&::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
display: none;
|
||||
|
|
|
|||
|
|
@ -148,10 +148,6 @@
|
|||
outline: 2px solid light-dark(@dark, @golden);
|
||||
}
|
||||
|
||||
&:placeholder {
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
||||
&::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
display: none;
|
||||
|
|
@ -187,7 +183,7 @@
|
|||
}
|
||||
|
||||
&:has(+ .subfolder-list):after {
|
||||
content: "+";
|
||||
content: '+';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -357,7 +353,7 @@
|
|||
grid-template-rows: 0fr;
|
||||
transition: all 0.3s ease-in-out;
|
||||
width: 100%;
|
||||
|
||||
|
||||
.wrapper {
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue