pack simulator to scss

This commit is contained in:
Daniel 2018-06-30 19:07:42 -04:00
parent 92f7ae0567
commit 76fa407aa6
5 changed files with 28 additions and 42 deletions

View File

@ -6,6 +6,7 @@ import loki from 'lokijs';
import Interactive from 'react-interactive';
import API from '../SpreadsheetData';
import s from '../../styles/style';
import '../../scss/packs.scss';
@inject((stores, props, context) => props) @observer
export default class PackSimulator extends React.Component {

20
src/scss/base.scss Normal file
View File

@ -0,0 +1,20 @@
.icon14 {
height: 14px;
padding-bottom: 2px;
}
.icon16 {
height: 16px;
}
.icon20 {
height: 20px;
}
.icon24 {
height: 24px;
}
.bigger {
font-size: 14px;
}

View File

@ -1,3 +1,5 @@
@import 'base';
@media only screen and (min-width: 975px) {
.collection > .left {
@ -96,27 +98,6 @@
vertical-align: middle;
}
.icon14 {
height: 14px;
padding-bottom: 2px;
}
.icon16 {
height: 16px;
}
.icon20 {
height: 20px;
}
.icon24 {
height: 24px;
}
.bigger {
font-size: 14px;
}
.thumb {
width: 100px;
height: 98px;

View File

@ -40,7 +40,7 @@ input[type=number]::-webkit-outer-spin-button {
}
.stats {
height: 100%
height: 100%;
width: 100%;
text-align: left;
}

View File

@ -1,23 +1,3 @@
.icon14 {
height: 14px;
}
.icon16 {
height: 16px;
}
.icon20 {
height: 20px;
}
.icon24 {
height: 24px;
}
.bigger {
font-size: 14px;
}
.splash {
max-width: 100%;
padding-bottom: 10px;
@ -129,3 +109,7 @@
font-size: 16px;
line-height: 20px;
}
.collection > .left {
position: fixed;
}