Add sass for bulma
This commit is contained in:
parent
634eeac715
commit
1fa3ab9ebe
16 changed files with 16799 additions and 0 deletions
|
@ -41,6 +41,7 @@ You can set the following variables in the `.env` file:
|
|||
* `KHAGANAT_TIME_ZONE`: Time zone, default is `Europe/Paris`.
|
||||
* `KHAGANAT_STATIC_URL`: URL for static files, default is `/static/`.
|
||||
* `KHAGANAT_STATIC_ROOT`: Absolute path to the directory where static files should be collected.
|
||||
* `KHAGANAT_STATIC_DIRS`: CSV list of additional locations where static files may be found, default is empty.
|
||||
* `KHAGANAT_LOGS_MIN_DAYS`: Numbers of days before logs are hidden, default is 7.
|
||||
* `KHAGANAT_LOGS_MAX_DAYS`: Number of days before logs are published, default is 0.
|
||||
* `KHAGANAT_LOGIN_REDIRECT_URL`: URL to redirect after user login. Will be reversed, default is `index`.
|
||||
|
|
|
@ -171,6 +171,8 @@ USE_TZ = True
|
|||
|
||||
STATIC_URL = config('KHAGANAT_STATIC_URL', default='/static/')
|
||||
STATIC_ROOT = config('KHAGANAT_STATIC_ROOT', default='') or None
|
||||
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static_extra')]
|
||||
STATICFILES_DIRS += config('KHAGANAT_STATIC_DIRS', default='', cast=Csv()) or []
|
||||
|
||||
|
||||
# Logs configuration
|
||||
|
|
4
static_extra/bulma/css/font-awesome.min.css
vendored
Normal file
4
static_extra/bulma/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
9671
static_extra/bulma/css/style.css
Normal file
9671
static_extra/bulma/css/style.css
Normal file
File diff suppressed because it is too large
Load diff
1
static_extra/bulma/css/style.css.map
Normal file
1
static_extra/bulma/css/style.css.map
Normal file
File diff suppressed because one or more lines are too long
1
static_extra/bulma/css/style.min.css
vendored
Normal file
1
static_extra/bulma/css/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
static_extra/bulma/fonts/FontAwesome.otf
Normal file
BIN
static_extra/bulma/fonts/FontAwesome.otf
Normal file
Binary file not shown.
BIN
static_extra/bulma/fonts/fontawesome-webfont.eot
Normal file
BIN
static_extra/bulma/fonts/fontawesome-webfont.eot
Normal file
Binary file not shown.
2671
static_extra/bulma/fonts/fontawesome-webfont.svg
Normal file
2671
static_extra/bulma/fonts/fontawesome-webfont.svg
Normal file
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 434 KiB |
BIN
static_extra/bulma/fonts/fontawesome-webfont.ttf
Normal file
BIN
static_extra/bulma/fonts/fontawesome-webfont.ttf
Normal file
Binary file not shown.
BIN
static_extra/bulma/fonts/fontawesome-webfont.woff
Normal file
BIN
static_extra/bulma/fonts/fontawesome-webfont.woff
Normal file
Binary file not shown.
BIN
static_extra/bulma/fonts/fontawesome-webfont.woff2
Normal file
BIN
static_extra/bulma/fonts/fontawesome-webfont.woff2
Normal file
Binary file not shown.
1
static_extra/bulma/sass/.gitignore
vendored
Normal file
1
static_extra/bulma/sass/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
node_modules
|
4406
static_extra/bulma/sass/package-lock.json
generated
Normal file
4406
static_extra/bulma/sass/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
32
static_extra/bulma/sass/package.json
Normal file
32
static_extra/bulma/sass/package.json
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"author": {
|
||||
"name": "Tim Kamanin",
|
||||
"email": "tim@timonweb.com",
|
||||
"url": "http://timonweb.com"
|
||||
},
|
||||
"description": "Bulma for Django",
|
||||
"dependencies": {
|
||||
"bulma": "0.7.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^8.2.0",
|
||||
"clean-css-cli": "^4.1.11",
|
||||
"node-sass": "^4.8.3",
|
||||
"postcss-cli": "^5.0.0",
|
||||
"rimraf": "^2.6.2"
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "style.sass",
|
||||
"style": "../css/style.min.css",
|
||||
"name": "django_bulma",
|
||||
"scripts": {
|
||||
"build": "npm run build-clean && npm run build-sass && npm run build-autoprefix && npm run build-cleancss",
|
||||
"build-autoprefix": "postcss --use autoprefixer --map false --output ../css/style.css ../css/style.css",
|
||||
"build-cleancss": "cleancss -o ../css/style.min.css ../css/style.css",
|
||||
"build-clean": "rimraf css",
|
||||
"build-sass": "node-sass --output-style expanded --source-map true style.sass ../css/style.css",
|
||||
"deploy": "npm run build",
|
||||
"start": "npm run build-sass -- --watch"
|
||||
},
|
||||
"version": "0.5.1"
|
||||
}
|
9
static_extra/bulma/sass/style.sass
Normal file
9
static_extra/bulma/sass/style.sass
Normal file
|
@ -0,0 +1,9 @@
|
|||
// 1. Import the initial variables
|
||||
@import "./node_modules/bulma/sass/utilities/initial-variables"
|
||||
|
||||
// 2. Set your own initial variables
|
||||
|
||||
// 3. Import the rest of Bulma
|
||||
@import "./node_modules/bulma/bulma"
|
||||
|
||||
// 4. Import your stuff here
|
Loading…
Reference in a new issue