]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/.bootstraprc
Try to optimize frontend
[github/Chocobozzz/PeerTube.git] / client / .bootstraprc
CommitLineData
4a6995be
C
1---
2# Output debugging info
3# loglevel: debug
4
5# Major version of Bootstrap: 3 or 4
6bootstrapVersion: 3
7
8# If Bootstrap version 3 is used - turn on/off custom icon font path
9useCustomIconFontPath: true
10
11# Webpack loaders, order matters
12styleLoaders:
383bfc83
C
13 - style-loader
14 - css-loader
15 - sass-loader
4a6995be
C
16
17# Extract styles to stand-alone css file
18# Different settings for different environments can be used,
19# It depends on value of NODE_ENV environment variable
20# This param can also be set in webpack config:
21# entry: 'bootstrap-loader/extractStyles'
a685e25c
C
22# extractStyles: false
23env:
24 development:
25 extractStyles: false
26 production:
27 extractStyles: true
4a6995be
C
28
29# Customize Bootstrap variables that get imported before the original Bootstrap variables.
30# Thus original Bootstrap variables can depend on values from here. All the bootstrap
31# variables are configured with !default, and thus, if you define the variable here, then
32# that value is used, rather than the default. However, many bootstrap variables are derived
33# from other bootstrap variables, and thus, you want to set this up before we load the
34# official bootstrap versions.
35# For example, _variables.scss contains:
36# $input-color: $gray !default;
37# This means you can define $input-color before we load _variables.scss
38preBootstrapCustomizations: ./src/sass/pre-customizations.scss
39
40# This gets loaded after bootstrap/variables is loaded and before bootstrap is loaded.
41# A good example of this is when you want to override a bootstrap variable to be based
42# on the default value of bootstrap. This is pretty specialized case. Thus, you normally
43# just override bootrap variables in preBootstrapCustomizations so that derived
44# variables will use your definition.
45#
46# For example, in _variables.scss:
47# $input-height: (($font-size-base * $line-height) + ($input-padding-y * 2) + ($border-width * 2)) !default;
48# This means that you could define this yourself in preBootstrapCustomizations. Or you can do
49# this in bootstrapCustomizations to make the input height 10% bigger than the default calculation.
50# Thus you can leverage the default calculations.
51# $input-height: $input-height * 1.10;
52# bootstrapCustomizations: ./app/styles/bootstrap/customizations.scss
53
54# Import your custom styles here. You have access to all the bootstrap variables. If you require
55# your sass files separately, you will not have access to the bootstrap variables, mixins, clases, etc.
56# Usually this endpoint-file contains list of @imports of your application styles.
57appStyles: ./src/sass/application.scss
58
59### Bootstrap styles
60styles:
61
62 # Mixins
63 mixins: true
64
65 # Reset and dependencies
66 normalize: true
67 print: true
68 glyphicons: true
69
70 # Core CSS
71 scaffolding: true
72 type: true
73 code: false
74 grid: true
75 tables: true
76 forms: true
77 buttons: true
78
79 # Components
80 component-animations: false
81 dropdowns: true
82 button-groups: true
83 input-groups: true
84 navs: false
85 navbar: false
86 breadcrumbs: false
87 pagination: true
88 pager: false
e822fdae 89 labels: true
4a6995be
C
90 badges: false
91 jumbotron: false
92 thumbnails: true
c21f59d3 93 alerts: true
4a6995be
C
94 progress-bars: true
95 media: true
96 list-group: false
383bfc83 97 panels: true
4a6995be 98 wells: false
c21f59d3 99 responsive-embed: true
3154f382 100 close: true
4a6995be
C
101
102 # Components w/ JavaScript
3154f382 103 modals: true
4a6995be
C
104 tooltip: false
105 popovers: false
106 carousel: false
107
108 # Utility classes
109 utilities: true
110 responsive-utilities: true
111
112### Bootstrap scripts
113scripts:
114 transition: false
e822fdae 115 alert: false
4a6995be
C
116 button: false
117 carousel: false
118 collapse: false
119 dropdown: false
120 modal: false
121 tooltip: false
122 popover: false
123 scrollspy: false
124 tab: false
125 affix: false