2024-01-21 03:58:33 -08:00
|
|
|
@import "../partials/clean/constants"
|
|
|
|
|
2024-01-21 03:38:02 -08:00
|
|
|
=item-header
|
|
|
|
border-bottom: 1px solid $module-border-color
|
2024-01-21 05:07:45 -08:00
|
|
|
margin-top: 1em
|
2024-01-21 03:38:02 -08:00
|
|
|
margin-bottom: 1em
|
|
|
|
|
2024-01-21 04:40:25 -08:00
|
|
|
.item-header-main
|
|
|
|
display: grid
|
|
|
|
grid-template-areas: "img gap1" "img name" "img links" "img gap2" "nav nav"
|
|
|
|
align-items: center
|
|
|
|
justify-content: center
|
|
|
|
column-gap: 1em
|
|
|
|
row-gap: .5em
|
2024-01-21 03:38:02 -08:00
|
|
|
|
2024-01-21 04:40:25 -08:00
|
|
|
.item-thumbnail
|
|
|
|
grid-area: img
|
2024-01-21 03:38:02 -08:00
|
|
|
|
2024-01-21 04:40:25 -08:00
|
|
|
border: 1px solid $module-border-color
|
|
|
|
height: 80px
|
|
|
|
width: 80px
|
2024-01-21 03:38:02 -08:00
|
|
|
|
2024-01-21 04:40:25 -08:00
|
|
|
.item-name
|
|
|
|
grid-area: name
|
|
|
|
|
|
|
|
text-align: left
|
|
|
|
line-height: 100%
|
|
|
|
margin-bottom: 0
|
|
|
|
|
|
|
|
.item-links
|
|
|
|
grid-area: links
|
|
|
|
|
2024-01-21 05:20:08 -08:00
|
|
|
font-size: 85%
|
2024-01-21 04:40:25 -08:00
|
|
|
text-align: left
|
2024-01-21 05:20:08 -08:00
|
|
|
display: flex
|
|
|
|
align-items: center
|
|
|
|
gap: 1em
|
|
|
|
|
2024-01-21 05:23:53 -08:00
|
|
|
.item-kind
|
2024-01-21 05:20:08 -08:00
|
|
|
padding: .25em .5em
|
|
|
|
border-radius: .25em
|
|
|
|
cursor: help
|
2024-01-21 05:41:55 -08:00
|
|
|
text-decoration: none
|
2024-01-21 05:20:08 -08:00
|
|
|
|
|
|
|
font-weight: bold
|
|
|
|
line-height: 1
|
|
|
|
|
|
|
|
// These colors are copied from DTI 2020, for initial consistency!
|
|
|
|
// They're based on the Chakra UI colors, which I think are in turn the
|
|
|
|
// Bootstrap colors? Or something?
|
|
|
|
&[data-type=nc]
|
|
|
|
background: #E9D8FD
|
|
|
|
color: #44337A
|
2024-01-21 05:23:53 -08:00
|
|
|
&[data-type=pb]
|
|
|
|
background: #FEEBC8
|
|
|
|
color: #7B341E
|
2024-01-21 05:20:08 -08:00
|
|
|
&[data-type=np]
|
|
|
|
background: #E2E8F0
|
|
|
|
color: #1A202C
|
|
|
|
|
2024-01-21 04:40:25 -08:00
|
|
|
|
2024-01-21 05:07:45 -08:00
|
|
|
.item-description
|
|
|
|
margin-top: .5em
|
|
|
|
margin-bottom: 1em
|
|
|
|
|
2024-01-21 04:40:25 -08:00
|
|
|
.item-subpages-nav
|
|
|
|
display: flex
|
|
|
|
align-items: flex-end
|
|
|
|
|
|
|
|
.preview-link
|
|
|
|
margin-right: auto
|
|
|
|
|
|
|
|
.trades-section
|
|
|
|
display: flex
|
|
|
|
gap: .5em
|
|
|
|
|
|
|
|
header
|
|
|
|
align-self: center
|
|
|
|
font-weight: bold
|
|
|
|
|
|
|
|
&::after
|
|
|
|
content: ":"
|
|
|
|
|
|
|
|
ul
|
|
|
|
align-self: flex-end
|
|
|
|
list-style: none
|
|
|
|
display: flex
|
|
|
|
gap: .5em
|
|
|
|
|
|
|
|
li
|
|
|
|
display: block
|
2024-01-21 03:38:02 -08:00
|
|
|
|
|
|
|
a
|
2024-01-21 04:40:25 -08:00
|
|
|
display: block
|
|
|
|
border: 1px solid $module-border-color
|
|
|
|
border-bottom: 0
|
|
|
|
border-radius: .5em .5em 0 0
|
|
|
|
padding: .5em 1em
|
|
|
|
text-decoration: none
|
|
|
|
|
|
|
|
&:hover, &:focus
|
|
|
|
text-decoration: underline
|
|
|
|
|
|
|
|
&[data-is-current=true]
|
|
|
|
background: $module-bg-color
|
|
|
|
font-weight: bold
|