Use sass instead of pure css

This commit is contained in:
Zed
2019-09-13 10:44:21 +02:00
parent 08239a3fae
commit de828bdd79
21 changed files with 1452 additions and 6 deletions

37
src/sass/general.scss Normal file
View File

@@ -0,0 +1,37 @@
@import '_variables';
@import '_mixins';
.panel-container {
margin: auto;
font-size: 130%;
}
.error-panel {
@include center-panel($error_red);
}
.search-panel > form {
@include center-panel($darkest-grey);
button {
background: #303030;
color: $fg_color;
border: 0;
border-radius: 3px;
cursor: pointer;
font-weight: bold;
width: 30px;
height: 30px;
}
input {
font-size: 16px;
width: 100%;
background: $bg_elements;
color: $fg_color;
border: 0;
border-radius: 4px;
padding: 4px;
margin-right: 8px;
}
}