147 lines
2.4 KiB
SCSS
147 lines
2.4 KiB
SCSS
.GridRep {
|
|
border-radius: 6px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $unit;
|
|
padding: $unit * 2;
|
|
|
|
&:hover {
|
|
background: var(--grid-rep-hover);
|
|
|
|
h2,
|
|
.Grid {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.Grid .weapon {
|
|
box-shadow: inset 0 0 0 1px var(--grid-border-color);
|
|
}
|
|
}
|
|
|
|
.Grid {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-shrink: 0;
|
|
|
|
.weapon {
|
|
background: var(--card-bg);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.grid_mainhand {
|
|
margin-right: $unit;
|
|
height: 139px;
|
|
width: 66px;
|
|
}
|
|
|
|
.grid_weapons {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
grid-template-rows: 1fr 1fr 1fr;
|
|
gap: $unit;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: fit-content;
|
|
}
|
|
|
|
.grid_weapon {
|
|
float: left;
|
|
height: 40px;
|
|
width: 70px;
|
|
}
|
|
|
|
.grid_mainhand img[src*='jpg'],
|
|
.grid_weapon img[src*='jpg'] {
|
|
border-radius: 4px;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.Details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: calc($unit / 2);
|
|
|
|
h2 {
|
|
color: var(--text-primary);
|
|
font-size: $font-regular;
|
|
overflow: hidden;
|
|
padding-bottom: 1px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 258px; // Can we not do this?
|
|
|
|
&.empty {
|
|
color: var(--text-tertiary);
|
|
}
|
|
}
|
|
|
|
.top {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: calc($unit / 2);
|
|
align-items: center;
|
|
|
|
.info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
gap: calc($unit / 2);
|
|
}
|
|
|
|
button svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
}
|
|
|
|
.bottom {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.raid,
|
|
.user,
|
|
time {
|
|
color: $grey-55;
|
|
font-size: $font-small;
|
|
}
|
|
|
|
.raid,
|
|
.user {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.raid {
|
|
margin-bottom: calc($unit / 2);
|
|
}
|
|
|
|
.user {
|
|
display: flex;
|
|
gap: calc($unit / 2);
|
|
align-items: center;
|
|
|
|
img,
|
|
.no-user {
|
|
$diameter: 18px;
|
|
|
|
border-radius: calc($diameter / 2);
|
|
height: $diameter;
|
|
width: $diameter;
|
|
}
|
|
|
|
img.gran {
|
|
background-color: #cee7fe;
|
|
}
|
|
|
|
img.djeeta {
|
|
background-color: #ffe1fe;
|
|
}
|
|
|
|
.no-user {
|
|
background: $grey-80;
|
|
}
|
|
}
|
|
}
|
|
}
|