2019-07-06 06:09:38 +07:00
|
|
|
import { injectGlobal } from 'emotion';
|
2019-06-20 19:37:28 +07:00
|
|
|
import { fontSize, fontWeight } from './sizes';
|
2019-07-06 05:58:18 +07:00
|
|
|
import colors from './colors';
|
2019-07-06 06:09:38 +07:00
|
|
|
import { breakpoints } from './media';
|
2019-06-20 19:37:28 +07:00
|
|
|
|
|
|
|
export default injectGlobal`
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-size: ${fontSize.base};
|
2019-07-06 05:58:18 +07:00
|
|
|
color: ${colors.eclipse};
|
2019-06-20 19:37:28 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: ${fontWeight.semiBold};
|
|
|
|
}
|
2019-07-06 05:58:18 +07:00
|
|
|
|
|
|
|
.container {
|
|
|
|
padding: 15px;
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
@media screen and (min-width: ${breakpoints.large}px) {
|
|
|
|
max-width: ${breakpoints.large}px;
|
|
|
|
width: 100%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
};
|
|
|
|
|
|
|
|
.el-loading-spinner {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-full-height {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.el-button {
|
|
|
|
&:hover, &:focus {
|
|
|
|
color: ${colors.primary};
|
|
|
|
border-color: ${colors.primary};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.el-input__inner {
|
|
|
|
&:hover, &:focus {
|
|
|
|
border-color: ${colors.primary};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.el-dialog__headerbtn:hover .el-dialog__close {
|
|
|
|
color: ${colors.eclipse};
|
|
|
|
}
|
|
|
|
|
|
|
|
.package-list-items {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-06-20 19:37:28 +07:00
|
|
|
`;
|