mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
style level up application (#632)
This commit is contained in:
parent
a8862d40d2
commit
d8187ac521
14 changed files with 290 additions and 144 deletions
|
|
@ -674,8 +674,8 @@
|
|||
|
||||
.application .component.dh-style.card-preview-container {
|
||||
position: relative;
|
||||
border-radius: 6px;
|
||||
border: 2px solid var(--color-tabs-border);
|
||||
border: 2px solid transparent;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
aspect-ratio: 0.75;
|
||||
|
|
@ -697,31 +697,41 @@
|
|||
justify-content: center;
|
||||
}
|
||||
|
||||
.preview-image-container {
|
||||
flex: 1;
|
||||
border-radius: 4px 4px 0 0;
|
||||
}
|
||||
|
||||
.preview-text-container {
|
||||
flex: 1;
|
||||
border-radius: 0 0 4px 4px;
|
||||
.preview-selected-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 18px;
|
||||
text-align: center;
|
||||
color: var(--color-text-selection-bg);
|
||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||
border: 2px solid light-dark(@dark-blue-50, @beige-50);
|
||||
border-radius: 6px;
|
||||
max-width: 200px;
|
||||
height: 100%;
|
||||
|
||||
.preview-image-container {
|
||||
width: 100%;
|
||||
flex-grow: 1;
|
||||
object-fit: cover;
|
||||
border-radius: 4px 4px 0 0;
|
||||
}
|
||||
|
||||
.preview-text-container {
|
||||
font-family: @font-body;
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
color: light-dark(@beige, @dark);
|
||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||
border-radius: 0 0 4px 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.preview-empty-container {
|
||||
border-radius: 6px;
|
||||
pointer-events: none;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 1;
|
||||
border: 2px dashed light-dark(@dark-blue-50, @beige-50);
|
||||
|
||||
.preview-empty-inner-container {
|
||||
width: 100%;
|
||||
|
|
@ -729,15 +739,19 @@
|
|||
justify-content: center;
|
||||
|
||||
.preview-add-icon {
|
||||
font-size: 48px;
|
||||
font-size: 40px;
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
||||
.preview-empty-subtext {
|
||||
position: absolute;
|
||||
top: 10%;
|
||||
font-size: 18px;
|
||||
bottom: 5%;
|
||||
font-size: 10px;
|
||||
font-variant: small-caps;
|
||||
text-align: center;
|
||||
font-family: @font-body;
|
||||
font-style: italic;
|
||||
color: light-dark(@dark-blue-60, @beige-80);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue