mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Switched from LESS to SASS
This commit is contained in:
@@ -1 +0,0 @@
|
||||
@brand-primary: #8E44B3;
|
||||
@@ -1,16 +0,0 @@
|
||||
@import "../../bootstrap/less/bootstrap.less";
|
||||
@import "../../fontawesome/less/font-awesome.less";
|
||||
@import "colors.less";
|
||||
|
||||
@fa-font-path: "../../fontawesome/fonts";
|
||||
|
||||
body {
|
||||
background: #ececec;
|
||||
text-align: center;
|
||||
padding: 50px 0;
|
||||
}
|
||||
|
||||
.big-icon {
|
||||
font-size: 200px;
|
||||
color: @brand-primary;
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
@import "../../bootstrap/less/bootstrap.less";
|
||||
@import "../../fontawesome/less/font-awesome.less";
|
||||
@import "colors.less";
|
||||
@import "../../bootstrap/scss/_bootstrap.scss";
|
||||
$fa-font-path: static("fontawesome/fonts");
|
||||
@import "../../fontawesome/scss/font-awesome.scss";
|
||||
@import "colors.scss";
|
||||
|
||||
@fa-font-path: "../../fontawesome/fonts";
|
||||
|
||||
body {
|
||||
background: #ececec;
|
||||
@@ -14,5 +14,5 @@ body {
|
||||
-webkit-animation: fa-spin 8s infinite linear;
|
||||
animation: fa-spin 8s infinite linear;
|
||||
font-size: 200px;
|
||||
color: @brand-primary;
|
||||
color: $brand-primary;
|
||||
}
|
||||
1
src/static/pretixbase/scss/colors.scss
Normal file
1
src/static/pretixbase/scss/colors.scss
Normal file
@@ -0,0 +1 @@
|
||||
$brand-primary: #8E44B3;
|
||||
16
src/static/pretixbase/scss/error.scss
Normal file
16
src/static/pretixbase/scss/error.scss
Normal file
@@ -0,0 +1,16 @@
|
||||
@import "../../bootstrap/scss/_bootstrap.scss";
|
||||
$fa-font-path: static("fontawesome/fonts");
|
||||
@import "../../fontawesome/scss/font-awesome.scss";
|
||||
@import "colors.scss";
|
||||
|
||||
|
||||
body {
|
||||
background: #ececec;
|
||||
text-align: center;
|
||||
padding: 50px 0;
|
||||
}
|
||||
|
||||
.big-icon {
|
||||
font-size: 200px;
|
||||
color: $brand-primary;
|
||||
}
|
||||
Reference in New Issue
Block a user