120 lines
2.0 KiB
SCSS
120 lines
2.0 KiB
SCSS
@import "variables.scss";
|
|
@import "utils.scss";
|
|
@import "data-table.scss";
|
|
@import "tinymce.scss";
|
|
@import "prism.css";
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
overflow: -moz-scrollbars-vertical;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
font-family: $font-family;
|
|
font-size: $font-size;
|
|
color: $font-color;
|
|
min-height: 100vh;
|
|
background-color: $background-color;
|
|
}
|
|
|
|
// Who knows why ion-icon randomally sets this to hidden.....
|
|
ion-icon {
|
|
visibility: visible;
|
|
}
|
|
|
|
#app {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
a,
|
|
a:visited {
|
|
color: $primary-color;
|
|
text-decoration: none;
|
|
transition: color 0.1s, underline 0.1s;
|
|
|
|
&:hover {
|
|
color: $primary-color-dark;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
font-weight: 800;
|
|
}
|
|
|
|
p {
|
|
line-height: 1.5rem;
|
|
margin-top: 0;
|
|
}
|
|
|
|
code {
|
|
display: block;
|
|
font-size: 0.8rem;
|
|
background-color: #eee;
|
|
padding: 1rem;
|
|
border: 1px solid #ddd;
|
|
white-space: pre-wrap;
|
|
overflow-x: auto;
|
|
max-height: 30rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Page Errors */
|
|
.sm-page-error {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.sm-error-number {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 30vw;
|
|
font-weight: 600;
|
|
color: #295b7e;
|
|
|
|
img {
|
|
height: 25vw;
|
|
margin: 0 0.5rem 0 1rem;
|
|
}
|
|
}
|
|
|
|
.sm-error-content {
|
|
text-align: center;
|
|
font-size: 120%;
|
|
|
|
h2 {
|
|
margin-top: 0;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* SM Dialog */
|
|
.sm-dialog-outer {
|
|
position: fixed;
|
|
display: flex;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.sm-dialog-outer:last-of-type {
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
backdrop-filter: blur(2px);
|
|
-webkit-backdrop-filter: blur(2px);
|
|
}
|