[change] promo cards have own set

This commit is contained in:
Daniel 2019-03-21 01:18:45 -04:00
parent 98e33e7744
commit 741a55306c
8 changed files with 40 additions and 34 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -228,7 +228,8 @@ class API {
"EE": "Elemental Emperors",
"BR": "Beyond Rare",
"LR": "League Rewards",
"OP1": "Organized Play 1"
"OP1": "Organized Play 1",
"PROMO": "Promotional"
};
}

View File

@ -188,7 +188,6 @@ export default class SearchCollection extends React.Component {
return (
<div className="SearchForm">
<form onSubmit={this.search}>
<br />
<label>Name&nbsp;<input type="text" name="name" value={this.input.name} onChange={this.handleChange} /></label>
<br />
<label>Text&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="text" value={this.input.text} onChange={this.handleChange} /></label>
@ -232,8 +231,8 @@ export default class SearchCollection extends React.Component {
<br />
<label className="mull"><input type="checkbox" name="mixed" checked={this.input.mull.mixed} onChange={e => this.handleChange(e, "mull")} />Non-Loyal</label>
<br /><br />
<Collapsible trigger="Types">{types}</Collapsible>
<Collapsible trigger="Rarity">{rarity}</Collapsible>
<Collapsible trigger="Types">{types}</Collapsible>
<Collapsible trigger="Sets">{sets}</Collapsible>
{/*<Collapsible trigger="Gender (fan content)">{gender}</Collapsible>*/}
<br />

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -2,43 +2,49 @@
@media only screen and (min-width: 975px) {
.collection > .left {
float: left;
width: 30%;
}
.collection > .right {
float: right;
width: 70%;
.collection {
margin-top: 5px;
margin-right: 5px;
margin-left: 5px;
> .left {
float: left;
width: 30%;
}
> .right {
float: right;
width: 70%;
}
}
.card {
text-align: left;
display: flex;
border: 1px solid #AEAEAE;
}
.card .left,
.card .right,
.card .stats {
padding-top: 2px;
}
.left,
.right,
.stats {
padding-top: 2px;
}
.card .left {
vertical-align: text-top;
float: left;
width: 210px;
padding-left: 4px;
}
.left {
vertical-align: text-top;
float: left;
width: 210px;
padding-left: 4px;
}
.card .right {
float: left;
width: calc(100% - (100px + 4px + 4px + 4px + 210px));
border-left: 2px solid #AEAEAE;
padding-left: 4px;
padding-right: 4px;
padding-bottom: 6px;
white-space: pre-line;
.right {
float: left;
width: calc(100% - (100px + 4px + 4px + 4px + 210px));
border-left: 2px solid #AEAEAE;
padding-left: 4px;
padding-right: 4px;
padding-bottom: 6px;
white-space: pre-line;
}
}
.creature .right {
@ -154,8 +160,8 @@
.card_img {
position: absolute;
width: 100%;
left: -10px;
z-index: 2;
left: -11px;
}
.card_img .hidden {