mirror of
https://github.com/torproject/community.git
synced 2024-11-23 01:39:50 +00:00
Use lektor-scss to compile scss
Community now has its own SCSS file, and takes advantage of the scss plugin instead of adding that new scss to lego
This commit is contained in:
parent
d9c123990f
commit
1f1f91150f
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
assets/static/css
|
||||
|
||||
node_modules
|
||||
|
||||
.sass-cache
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
variables:
|
||||
LEKTOR_BUILD_FLAGS: scss
|
||||
SITE_URL: community.torproject.org
|
||||
STAGING_URL: community.staging.torproject.net
|
||||
TRANSLATION_BRANCH: communitytpo-contentspot
|
||||
|
@ -1 +0,0 @@
|
||||
../lego/assets/scss
|
1
assets/scss/_alert.scss
Symbolic link
1
assets/scss/_alert.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_alert.scss
|
1
assets/scss/_badge.scss
Symbolic link
1
assets/scss/_badge.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_badge.scss
|
1
assets/scss/_breadcrumb.scss
Symbolic link
1
assets/scss/_breadcrumb.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_breadcrumb.scss
|
1
assets/scss/_bridgedb.scss
Symbolic link
1
assets/scss/_bridgedb.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_bridgedb.scss
|
1
assets/scss/_button-group.scss
Symbolic link
1
assets/scss/_button-group.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_button-group.scss
|
1
assets/scss/_buttons.scss
Symbolic link
1
assets/scss/_buttons.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_buttons.scss
|
1
assets/scss/_card.scss
Symbolic link
1
assets/scss/_card.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_card.scss
|
1
assets/scss/_carousel.scss
Symbolic link
1
assets/scss/_carousel.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_carousel.scss
|
1
assets/scss/_close.scss
Symbolic link
1
assets/scss/_close.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_close.scss
|
1
assets/scss/_code.scss
Symbolic link
1
assets/scss/_code.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_code.scss
|
15
assets/scss/_community.scss
Normal file
15
assets/scss/_community.scss
Normal file
@ -0,0 +1,15 @@
|
||||
.flex-grow-1 {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.font-weight-600 {
|
||||
font-weight: 600 !important;
|
||||
}
|
||||
|
||||
.font-size-18-px {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.gap-10-px {
|
||||
gap: 10px;
|
||||
}
|
1
assets/scss/_component-examples.scss
Symbolic link
1
assets/scss/_component-examples.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_component-examples.scss
|
1
assets/scss/_cryptocurrency.scss
Symbolic link
1
assets/scss/_cryptocurrency.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_cryptocurrency.scss
|
1
assets/scss/_custom-forms.scss
Symbolic link
1
assets/scss/_custom-forms.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_custom-forms.scss
|
1
assets/scss/_donate.scss
Symbolic link
1
assets/scss/_donate.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_donate.scss
|
1
assets/scss/_dropdown.scss
Symbolic link
1
assets/scss/_dropdown.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_dropdown.scss
|
1
assets/scss/_eoy.scss
Symbolic link
1
assets/scss/_eoy.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_eoy.scss
|
1
assets/scss/_forms.scss
Symbolic link
1
assets/scss/_forms.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_forms.scss
|
1
assets/scss/_functions.scss
Symbolic link
1
assets/scss/_functions.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_functions.scss
|
1
assets/scss/_grid.scss
Symbolic link
1
assets/scss/_grid.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_grid.scss
|
1
assets/scss/_icons.scss
Symbolic link
1
assets/scss/_icons.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_icons.scss
|
1
assets/scss/_illos.scss
Symbolic link
1
assets/scss/_illos.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_illos.scss
|
1
assets/scss/_images.scss
Symbolic link
1
assets/scss/_images.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_images.scss
|
1
assets/scss/_input-group.scss
Symbolic link
1
assets/scss/_input-group.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_input-group.scss
|
1
assets/scss/_jumbotron.scss
Symbolic link
1
assets/scss/_jumbotron.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_jumbotron.scss
|
1
assets/scss/_list-group.scss
Symbolic link
1
assets/scss/_list-group.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_list-group.scss
|
1
assets/scss/_media.scss
Symbolic link
1
assets/scss/_media.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_media.scss
|
1
assets/scss/_mixins.scss
Symbolic link
1
assets/scss/_mixins.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_mixins.scss
|
1
assets/scss/_modal.scss
Symbolic link
1
assets/scss/_modal.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_modal.scss
|
1
assets/scss/_nav.scss
Symbolic link
1
assets/scss/_nav.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_nav.scss
|
1
assets/scss/_navbar.scss
Symbolic link
1
assets/scss/_navbar.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_navbar.scss
|
1
assets/scss/_newsletter.scss
Symbolic link
1
assets/scss/_newsletter.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_newsletter.scss
|
1
assets/scss/_pagination.scss
Symbolic link
1
assets/scss/_pagination.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_pagination.scss
|
1
assets/scss/_popover.scss
Symbolic link
1
assets/scss/_popover.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_popover.scss
|
1
assets/scss/_portal.scss
Symbolic link
1
assets/scss/_portal.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_portal.scss
|
1
assets/scss/_print.scss
Symbolic link
1
assets/scss/_print.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_print.scss
|
1
assets/scss/_progress.scss
Symbolic link
1
assets/scss/_progress.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_progress.scss
|
1
assets/scss/_reboot.scss
Symbolic link
1
assets/scss/_reboot.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_reboot.scss
|
1
assets/scss/_root.scss
Symbolic link
1
assets/scss/_root.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_root.scss
|
1
assets/scss/_sidebar.scss
Symbolic link
1
assets/scss/_sidebar.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_sidebar.scss
|
1
assets/scss/_tables.scss
Symbolic link
1
assets/scss/_tables.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_tables.scss
|
1
assets/scss/_tooltip.scss
Symbolic link
1
assets/scss/_tooltip.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_tooltip.scss
|
1
assets/scss/_tor-variables.scss
Symbolic link
1
assets/scss/_tor-variables.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_tor-variables.scss
|
1
assets/scss/_tor.scss
Symbolic link
1
assets/scss/_tor.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_tor.scss
|
1
assets/scss/_tpo.scss
Symbolic link
1
assets/scss/_tpo.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_tpo.scss
|
1
assets/scss/_transitions.scss
Symbolic link
1
assets/scss/_transitions.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_transitions.scss
|
1
assets/scss/_type.scss
Symbolic link
1
assets/scss/_type.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_type.scss
|
1
assets/scss/_utilities.scss
Symbolic link
1
assets/scss/_utilities.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_utilities.scss
|
1
assets/scss/_variables.scss
Symbolic link
1
assets/scss/_variables.scss
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/_variables.scss
|
1
assets/scss/bootstrap-grid.css.map
Symbolic link
1
assets/scss/bootstrap-grid.css.map
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/bootstrap-grid.css.map
|
1
assets/scss/bootstrap-grid.scss
vendored
Symbolic link
1
assets/scss/bootstrap-grid.scss
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/bootstrap-grid.scss
|
1
assets/scss/bootstrap-reboot.css.map
Normal file
1
assets/scss/bootstrap-reboot.css.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sourceRoot":"","sources":["bootstrap-reboot.scss","_reboot.scss","_variables.scss","mixins/_hover.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACoBA;AAAA;AAAA;EAGE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAKA;EACE;;AAMJ;EACE;;;AAWF;EACE;EACA,aCgK4B;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A;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAIF;AAAA;EAEE;;;AAGF;EAKE;EACA;;;AAOF;AAAA;EAEE;;;AAQF;EACE;EACA;;;AAOF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAKF;EACE","file":"bootstrap-reboot.css"}
|
1
assets/scss/bootstrap-reboot.scss
vendored
Symbolic link
1
assets/scss/bootstrap-reboot.scss
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/bootstrap-reboot.scss
|
55
assets/scss/bootstrap.scss
vendored
Normal file
55
assets/scss/bootstrap.scss
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
/*!
|
||||
* Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
|
||||
* Copyright 2011-2017 The Bootstrap Authors
|
||||
* Copyright 2011-2017 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
@import "tor-variables";
|
||||
@import "icons";
|
||||
@import "illos";
|
||||
@import "functions";
|
||||
@import "variables";
|
||||
@import "mixins";
|
||||
@import "root";
|
||||
@import "print";
|
||||
@import "reboot";
|
||||
@import "type";
|
||||
@import "images";
|
||||
@import "code";
|
||||
@import "grid";
|
||||
@import "tables";
|
||||
@import "forms";
|
||||
@import "buttons";
|
||||
@import "transitions";
|
||||
@import "dropdown";
|
||||
@import "button-group";
|
||||
@import "input-group";
|
||||
@import "custom-forms";
|
||||
@import "nav";
|
||||
@import "navbar";
|
||||
@import "card";
|
||||
@import "breadcrumb";
|
||||
@import "pagination";
|
||||
@import "badge";
|
||||
@import "jumbotron";
|
||||
@import "alert";
|
||||
@import "progress";
|
||||
@import "media";
|
||||
@import "list-group";
|
||||
@import "close";
|
||||
@import "modal";
|
||||
@import "tooltip";
|
||||
@import "popover";
|
||||
@import "carousel";
|
||||
@import "utilities";
|
||||
@import "sidebar";
|
||||
@import "component-examples";
|
||||
@import "newsletter";
|
||||
@import "portal";
|
||||
@import "tpo";
|
||||
@import "tor";
|
||||
//@import "eoy";
|
||||
@import "donate";
|
||||
@import "cryptocurrency";
|
||||
@import "bridgedb";
|
||||
@import "community";
|
1
assets/scss/mixins
Symbolic link
1
assets/scss/mixins
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/mixins
|
1
assets/scss/utilities
Symbolic link
1
assets/scss/utilities
Symbolic link
@ -0,0 +1 @@
|
||||
../../lego/assets/scss/utilities
|
@ -1 +0,0 @@
|
||||
../../lego/assets/static/css
|
2
configs/scss.ini
Normal file
2
configs/scss.ini
Normal file
@ -0,0 +1,2 @@
|
||||
output_dir = assets/static/css
|
||||
output_style = compressed
|
1
packages/lektor-scss
Symbolic link
1
packages/lektor-scss
Symbolic link
@ -0,0 +1 @@
|
||||
../lego/packages/lektor-scss/
|
Loading…
Reference in New Issue
Block a user