126 |
127 | )
128 | }
129 | })
130 |
131 | PostItem = connectToStores(PostItem, [PostStore, RouteStore], (stores, props) => {
132 | const { currentRoute } = props
133 | const postName = currentRoute.getIn(['params', 'post'])
134 | const post = stores.PostStore.getPostItem(postName)
135 | return {
136 | post
137 | }
138 | })
139 |
140 | export default PostItem
141 |
--------------------------------------------------------------------------------
/client/vendor/fira/LICENSE:
--------------------------------------------------------------------------------
1 | Digitized data copyright (c) 2012-2015, The Mozilla Foundation and Telefonica S.A.
2 | with Reserved Font Name < Fira >,
3 |
4 | This Font Software is licensed under the SIL Open Font License, Version 1.1.
5 | This license is copied below, and is also available with a FAQ at:
6 | http://scripts.sil.org/OFL
7 |
8 |
9 | -----------------------------------------------------------
10 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
11 | -----------------------------------------------------------
12 |
13 | PREAMBLE
14 | The goals of the Open Font License (OFL) are to stimulate worldwide
15 | development of collaborative font projects, to support the font creation
16 | efforts of academic and linguistic communities, and to provide a free and
17 | open framework in which fonts may be shared and improved in partnership
18 | with others.
19 |
20 | The OFL allows the licensed fonts to be used, studied, modified and
21 | redistributed freely as long as they are not sold by themselves. The
22 | fonts, including any derivative works, can be bundled, embedded,
23 | redistributed and/or sold with any software provided that any reserved
24 | names are not used by derivative works. The fonts and derivatives,
25 | however, cannot be released under any other type of license. The
26 | requirement for fonts to remain under this license does not apply
27 | to any document created using the fonts or their derivatives.
28 |
29 | DEFINITIONS
30 | "Font Software" refers to the set of files released by the Copyright
31 | Holder(s) under this license and clearly marked as such. This may
32 | include source files, build scripts and documentation.
33 |
34 | "Reserved Font Name" refers to any names specified as such after the
35 | copyright statement(s).
36 |
37 | "Original Version" refers to the collection of Font Software components as
38 | distributed by the Copyright Holder(s).
39 |
40 | "Modified Version" refers to any derivative made by adding to, deleting,
41 | or substituting -- in part or in whole -- any of the components of the
42 | Original Version, by changing formats or by porting the Font Software to a
43 | new environment.
44 |
45 | "Author" refers to any designer, engineer, programmer, technical
46 | writer or other person who contributed to the Font Software.
47 |
48 | PERMISSION & CONDITIONS
49 | Permission is hereby granted, free of charge, to any person obtaining
50 | a copy of the Font Software, to use, study, copy, merge, embed, modify,
51 | redistribute, and sell modified and unmodified copies of the Font
52 | Software, subject to the following conditions:
53 |
54 | 1) Neither the Font Software nor any of its individual components,
55 | in Original or Modified Versions, may be sold by itself.
56 |
57 | 2) Original or Modified Versions of the Font Software may be bundled,
58 | redistributed and/or sold with any software, provided that each copy
59 | contains the above copyright notice and this license. These can be
60 | included either as stand-alone text files, human-readable headers or
61 | in the appropriate machine-readable metadata fields within text or
62 | binary files as long as those fields can be easily viewed by the user.
63 |
64 | 3) No Modified Version of the Font Software may use the Reserved Font
65 | Name(s) unless explicit written permission is granted by the corresponding
66 | Copyright Holder. This restriction only applies to the primary font name as
67 | presented to the users.
68 |
69 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
70 | Software shall not be used to promote, endorse or advertise any
71 | Modified Version, except to acknowledge the contribution(s) of the
72 | Copyright Holder(s) and the Author(s) or with their explicit written
73 | permission.
74 |
75 | 5) The Font Software, modified or unmodified, in part or in whole,
76 | must be distributed entirely under this license, and must not be
77 | distributed under any other license. The requirement for fonts to
78 | remain under this license does not apply to any document created
79 | using the Font Software.
80 |
81 | TERMINATION
82 | This license becomes null and void if any of the above conditions are
83 | not met.
84 |
85 | DISCLAIMER
86 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
88 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
89 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
90 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
91 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
92 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
93 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
94 | OTHER DEALINGS IN THE FONT SOFTWARE.
95 |
--------------------------------------------------------------------------------
/client/vendor/mdi/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2014, Austin Andrews (http://materialdesignicons.com/),
2 | with Reserved Font Name Material Design Icons.
3 | Copyright (c) 2014, Google (http://www.google.com/design/)
4 | uses the license at https://github.com/google/material-design-icons/blob/master/LICENSE
5 |
6 | This Font Software is licensed under the SIL Open Font License, Version 1.1.
7 | This license is copied below, and is also available with a FAQ at:
8 | http://scripts.sil.org/OFL
9 |
10 |
11 | -----------------------------------------------------------
12 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
13 | -----------------------------------------------------------
14 |
15 | PREAMBLE
16 | The goals of the Open Font License (OFL) are to stimulate worldwide
17 | development of collaborative font projects, to support the font creation
18 | efforts of academic and linguistic communities, and to provide a free and
19 | open framework in which fonts may be shared and improved in partnership
20 | with others.
21 |
22 | The OFL allows the licensed fonts to be used, studied, modified and
23 | redistributed freely as long as they are not sold by themselves. The
24 | fonts, including any derivative works, can be bundled, embedded,
25 | redistributed and/or sold with any software provided that any reserved
26 | names are not used by derivative works. The fonts and derivatives,
27 | however, cannot be released under any other type of license. The
28 | requirement for fonts to remain under this license does not apply
29 | to any document created using the fonts or their derivatives.
30 |
31 | DEFINITIONS
32 | "Font Software" refers to the set of files released by the Copyright
33 | Holder(s) under this license and clearly marked as such. This may
34 | include source files, build scripts and documentation.
35 |
36 | "Reserved Font Name" refers to any names specified as such after the
37 | copyright statement(s).
38 |
39 | "Original Version" refers to the collection of Font Software components as
40 | distributed by the Copyright Holder(s).
41 |
42 | "Modified Version" refers to any derivative made by adding to, deleting,
43 | or substituting -- in part or in whole -- any of the components of the
44 | Original Version, by changing formats or by porting the Font Software to a
45 | new environment.
46 |
47 | "Author" refers to any designer, engineer, programmer, technical
48 | writer or other person who contributed to the Font Software.
49 |
50 | PERMISSION & CONDITIONS
51 | Permission is hereby granted, free of charge, to any person obtaining
52 | a copy of the Font Software, to use, study, copy, merge, embed, modify,
53 | redistribute, and sell modified and unmodified copies of the Font
54 | Software, subject to the following conditions:
55 |
56 | 1) Neither the Font Software nor any of its individual components,
57 | in Original or Modified Versions, may be sold by itself.
58 |
59 | 2) Original or Modified Versions of the Font Software may be bundled,
60 | redistributed and/or sold with any software, provided that each copy
61 | contains the above copyright notice and this license. These can be
62 | included either as stand-alone text files, human-readable headers or
63 | in the appropriate machine-readable metadata fields within text or
64 | binary files as long as those fields can be easily viewed by the user.
65 |
66 | 3) No Modified Version of the Font Software may use the Reserved Font
67 | Name(s) unless explicit written permission is granted by the corresponding
68 | Copyright Holder. This restriction only applies to the primary font name as
69 | presented to the users.
70 |
71 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
72 | Software shall not be used to promote, endorse or advertise any
73 | Modified Version, except to acknowledge the contribution(s) of the
74 | Copyright Holder(s) and the Author(s) or with their explicit written
75 | permission.
76 |
77 | 5) The Font Software, modified or unmodified, in part or in whole,
78 | must be distributed entirely under this license, and must not be
79 | distributed under any other license. The requirement for fonts to
80 | remain under this license does not apply to any document created
81 | using the Font Software.
82 |
83 | TERMINATION
84 | This license becomes null and void if any of the above conditions are
85 | not met.
86 |
87 | DISCLAIMER
88 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
89 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
90 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
91 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
92 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
93 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
94 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
95 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
96 | OTHER DEALINGS IN THE FONT SOFTWARE.
97 |
--------------------------------------------------------------------------------
/client/components/styles/code.less:
--------------------------------------------------------------------------------
1 | @import "./typography.less";
2 | @import "./colors.less";
3 |
4 | // Code blocks
5 | pre {
6 | white-space: pre;
7 | // white-space: pre-wrap;
8 | // word-wrap: break-word;
9 | // overflow: hidden;
10 | }
11 |
12 | pre > code[class^="lang-"] {
13 | padding: 16px;
14 | font-weight: 400;
15 | user-select: initial;
16 | }
17 |
18 | pre, code {
19 | margin: 0;
20 | padding: 0;
21 | font-family: "Fira Mono", Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace;
22 | // overflow-wrap: break-word;
23 | }
24 |
25 | pre > code[class^="lang-"] {
26 | // background-color: transparent;
27 | background-color: @grey-100;
28 | font-weight: 400;
29 | padding: 16px;
30 | }
31 |
32 | code {
33 | font-size: 1.6rem;
34 | background: rgba(0, 0, 0, 0.065);
35 | }
36 |
37 | code[class^="lang-"] {
38 | // Let code scroll on the x-axis
39 | overflow-x: auto;
40 |
41 | display: block;
42 | // overflow-wrap: break-word;
43 | }
44 |
45 | code:not([class^="lang-"]) {
46 | // Try to not break code blocks
47 | white-space: pre-wrap;
48 | // word-wrap: break-word;
49 | overflow-wrap: break-word;
50 |
51 | color: @accent-1-color;
52 | margin-left: 1px;
53 | margin-right: 1px;
54 | -webkit-font-smoothing: auto;
55 | padding: 0.125em 0.35em;
56 | border-radius: 2px;
57 | }
58 |
59 | // Syntax highlighting
60 | pre .c { color: #586E75 } /* Comment */
61 | pre .err { color: #93A1A1 } /* Error */
62 | pre .g { color: #93A1A1 } /* Generic */
63 | pre .k { color: #859900 } /* Keyword */
64 | pre .l { color: #93A1A1 } /* Literal */
65 | pre .n { color: #93A1A1 } /* Name */
66 | pre .o { color: #859900 } /* Operator */
67 | pre .x { color: #CB4B16 } /* Other */
68 | pre .p { color: #93A1A1 } /* Punctuation */
69 | pre .cm { color: #586E75 } /* Comment.Multiline */
70 | pre .cp { color: #859900 } /* Comment.Preproc */
71 | pre .c1 { color: #586E75 } /* Comment.Single */
72 | pre .cs { color: #859900 } /* Comment.Special */
73 | pre .gd { color: #2AA198 } /* Generic.Deleted */
74 | pre .ge { color: #93A1A1; font-style: italic } /* Generic.Emph */
75 | pre .gr { color: #DC322F } /* Generic.Error */
76 | pre .gh { color: #CB4B16 } /* Generic.Heading */
77 | pre .gi { color: #859900 } /* Generic.Inserted */
78 | pre .go { color: #93A1A1 } /* Generic.Output */
79 | pre .gp { color: #93A1A1 } /* Generic.Prompt */
80 | pre .gs { color: #93A1A1; font-weight: bold } /* Generic.Strong */
81 | pre .gu { color: #CB4B16 } /* Generic.Subheading */
82 | pre .gt { color: #93A1A1 } /* Generic.Traceback */
83 | pre .kc { color: #CB4B16 } /* Keyword.Constant */
84 | pre .kd { color: #268BD2 } /* Keyword.Declaration */
85 | pre .kn { color: #859900 } /* Keyword.Namespace */
86 | pre .kp { color: #859900 } /* Keyword.Pseudo */
87 | pre .kr { color: #268BD2 } /* Keyword.Reserved */
88 | pre .kt { color: #DC322F } /* Keyword.Type */
89 | pre .ld { color: #93A1A1 } /* Literal.Date */
90 | pre .m { color: #2AA198 } /* Literal.Number */
91 | pre .s { color: #2AA198 } /* Literal.String */
92 | pre .na { color: #93A1A1 } /* Name.Attribute */
93 | pre .nb { color: #B58900 } /* Name.Builtin */
94 | pre .nc { color: #268BD2 } /* Name.Class */
95 | pre .no { color: #CB4B16 } /* Name.Constant */
96 | pre .nd { color: #268BD2 } /* Name.Decorator */
97 | pre .ni { color: #CB4B16 } /* Name.Entity */
98 | pre .ne { color: #CB4B16 } /* Name.Exception */
99 | pre .nf { color: #268BD2 } /* Name.Function */
100 | pre .nl { color: #93A1A1 } /* Name.Label */
101 | pre .nn { color: #93A1A1 } /* Name.Namespace */
102 | pre .nx { color: #555 } /* Name.Other */
103 | pre .py { color: #93A1A1 } /* Name.Property */
104 | pre .nt { color: #268BD2 } /* Name.Tag */
105 | pre .nv { color: #268BD2 } /* Name.Variable */
106 | pre .ow { color: #859900 } /* Operator.Word */
107 | pre .w { color: #93A1A1 } /* Text.Whitespace */
108 | pre .mf { color: #2AA198 } /* Literal.Number.Float */
109 | pre .mh { color: #2AA198 } /* Literal.Number.Hex */
110 | pre .mi { color: #2AA198 } /* Literal.Number.Integer */
111 | pre .mo { color: #2AA198 } /* Literal.Number.Oct */
112 | pre .sb { color: #586E75 } /* Literal.String.Backtick */
113 | pre .sc { color: #2AA198 } /* Literal.String.Char */
114 | pre .sd { color: #93A1A1 } /* Literal.String.Doc */
115 | pre .s2 { color: #2AA198 } /* Literal.String.Double */
116 | pre .se { color: #CB4B16 } /* Literal.String.Escape */
117 | pre .sh { color: #93A1A1 } /* Literal.String.Heredoc */
118 | pre .si { color: #2AA198 } /* Literal.String.Interpol */
119 | pre .sx { color: #2AA198 } /* Literal.String.Other */
120 | pre .sr { color: #DC322F } /* Literal.String.Regex */
121 | pre .s1 { color: #2AA198 } /* Literal.String.Single */
122 | pre .ss { color: #2AA198 } /* Literal.String.Symbol */
123 | pre .bp { color: #268BD2 } /* Name.Builtin.Pseudo */
124 | pre .vc { color: #268BD2 } /* Name.Variable.Class */
125 | pre .vg { color: #268BD2 } /* Name.Variable.Global */
126 | pre .vi { color: #268BD2 } /* Name.Variable.Instance */
127 | pre .il { color: #2AA198 } /* Literal.Number.Integer.Long */
128 |
--------------------------------------------------------------------------------
/webpack.make.js:
--------------------------------------------------------------------------------
1 | // Modules
2 | var fs = require('fs')
3 | var webpack = require('webpack')
4 | var autoprefixer = require('autoprefixer-core')
5 | var StatsPlugin = require('stats-webpack-plugin')
6 | var ExtractTextPlugin = require('extract-text-webpack-plugin')
7 |
8 | module.exports = function makeWebpackConfig (options) {
9 | // Environment types
10 | var SERVER = !!options.SERVER
11 | var BUILD = !!options.BUILD
12 | var TEST = !!options.TEST
13 |
14 | // Environment values
15 | var NODE_ENV = process.env.NODE_ENV || 'development'
16 |
17 | // base
18 | var config = {}
19 |
20 | // Entry
21 | if (TEST) {
22 | config.entry = {}
23 | } else if (SERVER) {
24 | config.entry = {
25 | app: './client/renderer/server.js'
26 | }
27 | } else {
28 | config.entry = {
29 | app: './client/client.js'
30 | }
31 | }
32 |
33 | // Output
34 | if (TEST) {
35 | config.output = {}
36 | } else {
37 | const output = {}
38 | output.path = __dirname + (SERVER ? '/build' : '/public/assets')
39 | output.pathinfo = !BUILD || SERVER
40 | output.publicPath = BUILD || (BUILD && SERVER) ? '/assets/' : 'http://localhost:8080/assets/'
41 | output.libraryTarget = SERVER ? 'commonjs2' : 'var'
42 | output.filename = SERVER
43 | ? 'server.js'
44 | : (BUILD
45 | ? '[name].[hash].js'
46 | : '[name].bundle.js'
47 | )
48 |
49 | config.output = output
50 | }
51 |
52 | // Target
53 | config.target = SERVER ? 'node' : 'web'
54 |
55 | // Devtool
56 | if (TEST) {
57 | config.devtool = 'inline-source-map'
58 | } else if (BUILD || SERVER) {
59 | config.devtool = 'source-map'
60 | } else {
61 | config.devtool = 'eval'
62 | }
63 |
64 | // Module
65 | config.module = {
66 | // Preloaders
67 | preLoaders: [],
68 |
69 | // Loaders
70 | loaders: [{
71 | // JS loader
72 | test: /\.js$/,
73 | loader: 'babel?optional=runtime',
74 | exclude: /node_modules/
75 | }, {
76 | // JSX loader
77 | test: /\.jsx$/,
78 | loader: (BUILD || SERVER || TEST ? '' : 'react-hot!') + 'babel?optional=runtime&cacheDirectory'
79 | }, {
80 | // LESS loader
81 | test: /\.less$/,
82 | loader: SERVER || TEST ? 'null' : ExtractTextPlugin.extract(
83 | 'style',
84 | 'css?sourceMap!postcss!less?sourceMap'
85 | )
86 | }, {
87 | // Asset loader
88 | test: /\.(png|jpg|jpeg|gif|svg|woff|woff2)$/,
89 | loader: 'file'
90 | }]
91 | }
92 |
93 | // Isparta preloader for tests
94 | if (TEST) {
95 | config.module.preLoaders.push({
96 | test: /\.(js|jsx)$/,
97 | exclude: [
98 | /node_modules/,
99 | /\.test\.(js|jsx)$/
100 | ],
101 | loader: 'isparta-instrumenter'
102 | })
103 | }
104 |
105 | // PostCSS
106 | config.postcss = function postcss () {
107 | return [
108 | autoprefixer({
109 | browsers: ['last 2 versions']
110 | })
111 | ]
112 | }
113 |
114 | // Resolve
115 | config.resolve = {
116 | extensions: ['', '.js', '.jsx', '.css']
117 | }
118 |
119 | // Externals
120 | config.externals = []
121 |
122 | if (SERVER) {
123 | config.externals.push({
124 | './stats.json': 'commonjs ./stats.json'
125 | })
126 | config.externals.push(
127 | fs.readdirSync('node_modules')
128 | .filter(function (x) {
129 | return ['.bin', 'react'].indexOf(x) === -1
130 | })
131 | .reduce(function (nodeModules, module) {
132 | nodeModules[module] = 'commonjs ' + module
133 | return nodeModules
134 | }, {
135 | 'react/addons': 'commonjs react/addons',
136 | 'react': 'commonjs react/addons'
137 | })
138 | )
139 | }
140 |
141 | // Plugins
142 | config.plugins = []
143 |
144 | // Register sourcemaps for compiled server
145 | if (SERVER) {
146 | config.plugins.push(
147 | new webpack.BannerPlugin('require("source-map-support").install();', {
148 | entryOnly: true,
149 | raw: true
150 | })
151 | )
152 | }
153 |
154 | // Don't emit when running on server or tests
155 | if (!SERVER && !TEST) {
156 | config.plugins.push(
157 | new StatsPlugin(__dirname + '/build/stats.json')
158 | )
159 | }
160 |
161 | // Avoid replacing NODE_ENV and extracting css when it's a server build
162 | if (!SERVER) {
163 | config.plugins.push(
164 | // Extract css files
165 | new ExtractTextPlugin('[name].[hash].css', {
166 | disable: !BUILD || SERVER || TEST
167 | }),
168 |
169 | // Replace NODE_ENV
170 | new webpack.DefinePlugin({
171 | 'process.env.NODE_ENV': JSON.stringify(NODE_ENV)
172 | })
173 | )
174 | }
175 |
176 | if (BUILD && !SERVER) {
177 | config.plugins.push(
178 | // Only emit files when there are no errors
179 | new webpack.NoErrorsPlugin(),
180 |
181 | // Dedupe modules in the output
182 | new webpack.optimize.DedupePlugin(),
183 |
184 | // Minify all javascript, switch loaders to minimizing mode
185 | new webpack.optimize.UglifyJsPlugin()
186 | )
187 | }
188 |
189 | // Dev server config
190 | config.devServer = {
191 | contentBase: './public'
192 | }
193 |
194 | if (SERVER) {
195 | config.node = {
196 | __dirname: true,
197 | __filename: true
198 | }
199 | }
200 |
201 | return config
202 | }
203 |
--------------------------------------------------------------------------------
/client/components/styles/colors.less:
--------------------------------------------------------------------------------
1 | // App Colors
2 | @primary-1-color: @blue-500;
3 | @primary-2-color: @blue-700;
4 | @primary-3-color: @blue-100;
5 |
6 | @accent-1-color: @blue-A400;
7 | @accent-2-color: @blue-A700;
8 | @accent-3-color: @blue-A200;
9 | // @accent-1-color: @indigo-A200;
10 | // @accent-2-color: @indigo-A400;
11 | // @accent-3-color: @indigo-A100;
12 |
13 | //Text Colors
14 | @text-color: @white;
15 | @primary-text-color: @dark-black;
16 | @secondary-text-color: @light-black;
17 | @disabled-color: @min-black;
18 | @hint-color: @min-black;
19 |
20 | //Border Colors
21 | @border-color: @faint-black;
22 |
23 | //Component Colors
24 | @app-bar-color: @grey-100;
25 | @canvas-color: @grey-50;
26 | @card-color: @white;
27 |
28 | // Material design colors
29 | // @red-50: #ffebee;
30 | // @red-100: #ffcdd2;
31 | // @red-200: #ef9a9a;
32 | // @red-300: #e57373;
33 | // @red-400: #ef5350;
34 | // @red-500: #f44336;
35 | // @red-600: #e53935;
36 | // @red-700: #d32f2f;
37 | // @red-800: #c62828;
38 | // @red-900: #b71c1c;
39 | // @red-A100: #ff8a80;
40 | // @red-A200: #ff5252;
41 | // @red-A400: #ff1744;
42 | // @red-A700: #d50000;
43 |
44 | // @pink-50: #fce4ec;
45 | // @pink-100: #f8bbd0;
46 | // @pink-200: #f48fb1;
47 | // @pink-300: #f06292;
48 | // @pink-400: #ec407a;
49 | // @pink-500: #e91e63;
50 | // @pink-600: #d81b60;
51 | // @pink-700: #c2185b;
52 | // @pink-800: #ad1457;
53 | // @pink-900: #880e4f;
54 | // @pink-A100: #ff80ab;
55 | // @pink-A200: #ff4081;
56 | // @pink-A400: #f50057;
57 | // @pink-A700: #c51162;
58 |
59 | // @purple-50: #f3e5f5;
60 | // @purple-100: #e1bee7;
61 | // @purple-200: #ce93d8;
62 | // @purple-300: #ba68c8;
63 | // @purple-400: #ab47bc;
64 | // @purple-500: #9c27b0;
65 | // @purple-600: #8e24aa;
66 | // @purple-700: #7b1fa2;
67 | // @purple-800: #6a1b9a;
68 | // @purple-900: #4a148c;
69 | // @purple-A100: #ea80fc;
70 | // @purple-A200: #e040fb;
71 | // @purple-A400: #d500f9;
72 | // @purple-A700: #aa00ff;
73 |
74 | // @deep-purple-50: #ede7f6;
75 | // @deep-purple-100: #d1c4e9;
76 | // @deep-purple-200: #b39ddb;
77 | // @deep-purple-300: #9575cd;
78 | // @deep-purple-400: #7e57c2;
79 | // @deep-purple-500: #673ab7;
80 | // @deep-purple-600: #5e35b1;
81 | // @deep-purple-700: #512da8;
82 | // @deep-purple-800: #4527a0;
83 | // @deep-purple-900: #311b92;
84 | // @deep-purple-A100: #b388ff;
85 | // @deep-purple-A200: #7c4dff;
86 | // @deep-purple-A400: #651fff;
87 | // @deep-purple-A700: #6200ea;
88 |
89 | @indigo-50: #e8eaf6;
90 | @indigo-100: #c5cae9;
91 | @indigo-200: #9fa8da;
92 | @indigo-300: #7986cb;
93 | @indigo-400: #5c6bc0;
94 | @indigo-500: #3f51b5;
95 | @indigo-600: #3949ab;
96 | @indigo-700: #303f9f;
97 | @indigo-800: #283593;
98 | @indigo-900: #1a237e;
99 | @indigo-A100: #8c9eff;
100 | @indigo-A200: #536dfe;
101 | @indigo-A400: #3d5afe;
102 | @indigo-A700: #304ffe;
103 |
104 | @blue-50: #e3f2fd;
105 | @blue-100: #bbdefb;
106 | @blue-200: #90caf9;
107 | @blue-300: #64b5f6;
108 | @blue-400: #42a5f5;
109 | @blue-500: #2196f3;
110 | @blue-600: #1e88e5;
111 | @blue-700: #1976d2;
112 | @blue-800: #1565c0;
113 | @blue-900: #0d47a1;
114 | @blue-A100: #82b1ff;
115 | @blue-A200: #448aff;
116 | @blue-A400: #2979ff;
117 | @blue-A700: #2962ff;
118 |
119 | // @light-blue-50: #e1f5fe;
120 | // @light-blue-100: #b3e5fc;
121 | // @light-blue-200: #81d4fa;
122 | // @light-blue-300: #4fc3f7;
123 | // @light-blue-400: #29b6f6;
124 | // @light-blue-500: #03a9f4;
125 | // @light-blue-600: #039be5;
126 | // @light-blue-700: #0288d1;
127 | // @light-blue-800: #0277bd;
128 | // @light-blue-900: #01579b;
129 | // @light-blue-A100: #80d8ff;
130 | // @light-blue-A200: #40c4ff;
131 | // @light-blue-A400: #00b0ff;
132 | // @light-blue-A700: #0091ea;
133 |
134 | // @cyan-50: #e0f7fa;
135 | // @cyan-100: #b2ebf2;
136 | // @cyan-200: #80deea;
137 | // @cyan-300: #4dd0e1;
138 | // @cyan-400: #26c6da;
139 | // @cyan-500: #00bcd4;
140 | // @cyan-600: #00acc1;
141 | // @cyan-700: #0097a7;
142 | // @cyan-800: #00838f;
143 | // @cyan-900: #006064;
144 | // @cyan-A100: #84ffff;
145 | // @cyan-A200: #18ffff;
146 | // @cyan-A400: #00e5ff;
147 | // @cyan-A700: #00b8d4;
148 |
149 | // @teal-50: #e0f2f1;
150 | // @teal-100: #b2dfdb;
151 | // @teal-200: #80cbc4;
152 | // @teal-300: #4db6ac;
153 | // @teal-400: #26a69a;
154 | // @teal-500: #009688;
155 | // @teal-600: #00897b;
156 | // @teal-700: #00796b;
157 | // @teal-800: #00695c;
158 | // @teal-900: #004d40;
159 | // @teal-A100: #a7ffeb;
160 | // @teal-A200: #64ffda;
161 | // @teal-A400: #1de9b6;
162 | // @teal-A700: #00bfa5;
163 |
164 | // @green-50: #e8f5e9;
165 | // @green-100: #c8e6c9;
166 | // @green-200: #a5d6a7;
167 | // @green-300: #81c784;
168 | // @green-400: #66bb6a;
169 | // @green-500: #4caf50;
170 | // @green-600: #43a047;
171 | // @green-700: #388e3c;
172 | // @green-800: #2e7d32;
173 | // @green-900: #1b5e20;
174 | // @green-A100: #b9f6ca;
175 | // @green-A200: #69f0ae;
176 | // @green-A400: #00e676;
177 | // @green-A700: #00c853;
178 |
179 | // @light-green-50: #f1f8e9;
180 | // @light-green-100: #dcedc8;
181 | // @light-green-200: #c5e1a5;
182 | // @light-green-300: #aed581;
183 | // @light-green-400: #9ccc65;
184 | // @light-green-500: #8bc34a;
185 | // @light-green-600: #7cb342;
186 | // @light-green-700: #689f38;
187 | // @light-green-800: #558b2f;
188 | // @light-green-900: #33691e;
189 | // @light-green-A100: #ccff90;
190 | // @light-green-A200: #b2ff59;
191 | // @light-green-A400: #76ff03;
192 | // @light-green-A700: #64dd17;
193 |
194 | // @lime-50: #f9fbe7;
195 | // @lime-100: #f0f4c3;
196 | // @lime-200: #e6ee9c;
197 | // @lime-300: #dce775;
198 | // @lime-400: #d4e157;
199 | // @lime-500: #cddc39;
200 | // @lime-600: #c0ca33;
201 | // @lime-700: #afb42b;
202 | // @lime-800: #9e9d24;
203 | // @lime-900: #827717;
204 | // @lime-A100: #f4ff81;
205 | // @lime-A200: #eeff41;
206 | // @lime-A400: #c6ff00;
207 | // @lime-A700: #aeea00;
208 |
209 | // @yellow-50: #fffde7;
210 | // @yellow-100: #fff9c4;
211 | // @yellow-200: #fff59d;
212 | // @yellow-300: #fff176;
213 | // @yellow-400: #ffee58;
214 | // @yellow-500: #ffeb3b;
215 | // @yellow-600: #fdd835;
216 | // @yellow-700: #fbc02d;
217 | // @yellow-800: #f9a825;
218 | // @yellow-900: #f57f17;
219 | // @yellow-A100: #ffff8d;
220 | // @yellow-A200: #ffff00;
221 | // @yellow-A400: #ffea00;
222 | // @yellow-A700: #ffd600;
223 |
224 | // @amber-50: #fff8e1;
225 | // @amber-100: #ffecb3;
226 | // @amber-200: #ffe082;
227 | // @amber-300: #ffd54f;
228 | // @amber-400: #ffca28;
229 | // @amber-500: #ffc107;
230 | // @amber-600: #ffb300;
231 | // @amber-700: #ffa000;
232 | // @amber-800: #ff8f00;
233 | // @amber-900: #ff6f00;
234 | // @amber-A100: #ffe57f;
235 | // @amber-A200: #ffd740;
236 | // @amber-A400: #ffc400;
237 | // @amber-A700: #ffab00;
238 |
239 | // @orange-50: #fff3e0;
240 | // @orange-100: #ffe0b2;
241 | // @orange-200: #ffcc80;
242 | // @orange-300: #ffb74d;
243 | // @orange-400: #ffa726;
244 | // @orange-500: #ff9800;
245 | // @orange-600: #fb8c00;
246 | // @orange-700: #f57c00;
247 | // @orange-800: #ef6c00;
248 | // @orange-900: #e65100;
249 | // @orange-A100: #ffd180;
250 | // @orange-A200: #ffab40;
251 | // @orange-A400: #ff9100;
252 | // @orange-A700: #ff6d00;
253 |
254 | // @deep-orange-50: #fbe9e7;
255 | // @deep-orange-100: #ffccbc;
256 | // @deep-orange-200: #ffab91;
257 | // @deep-orange-300: #ff8a65;
258 | // @deep-orange-400: #ff7043;
259 | // @deep-orange-500: #ff5722;
260 | // @deep-orange-600: #f4511e;
261 | // @deep-orange-700: #e64a19;
262 | // @deep-orange-800: #d84315;
263 | // @deep-orange-900: #bf360c;
264 | // @deep-orange-A100: #ff9e80;
265 | // @deep-orange-A200: #ff6e40;
266 | // @deep-orange-A400: #ff3d00;
267 | // @deep-orange-A700: #dd2c00;
268 |
269 | // @brown-50: #efebe9;
270 | // @brown-100: #d7ccc8;
271 | // @brown-200: #bcaaa4;
272 | // @brown-300: #a1887f;
273 | // @brown-400: #8d6e63;
274 | // @brown-500: #795548;
275 | // @brown-600: #6d4c41;
276 | // @brown-700: #5d4037;
277 | // @brown-800: #4e342e;
278 | // @brown-900: #3e2723;
279 |
280 | // @blue-grey-50: #eceff1;
281 | // @blue-grey-100: #cfd8dc;
282 | // @blue-grey-200: #b0bec5;
283 | // @blue-grey-300: #90a4ae;
284 | // @blue-grey-400: #78909c;
285 | // @blue-grey-500: #607d8b;
286 | // @blue-grey-600: #546e7a;
287 | // @blue-grey-700: #455a64;
288 | // @blue-grey-800: #37474f;
289 | // @blue-grey-900: #263238;
290 |
291 | @grey-50: #fafafa;
292 | @grey-100: #f5f5f5;
293 | @grey-200: #eeeeee;
294 | @grey-300: #e0e0e0;
295 | @grey-400: #bdbdbd;
296 | @grey-500: #9e9e9e;
297 | @grey-600: #757575;
298 | @grey-700: #616161;
299 | @grey-800: #424242;
300 | @grey-900: #212121;
301 |
302 | @black: #000000;
303 | @white: #ffffff;
304 |
305 | @transparent: rgba(0, 0, 0, 0);
306 | @full-black: rgba(0, 0, 0, 1);
307 | @dark-black: rgba(0, 0, 0, 0.87);
308 | @light-black: rgba(0, 0, 0, 0.54);
309 | @min-black: rgba(0, 0, 0, 0.26);
310 | @faint-black: rgba(0, 0, 0, 0.12);
311 | @full-white: rgba(255, 255, 255, 1);
312 | @dark-white: rgba(255, 255, 255, 0.87);
313 | @light-white: rgba(255, 255, 255, 0.54);
314 |
--------------------------------------------------------------------------------
/client/vendor/roboto-fontface/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright 2013 Christian Hoffmeister
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------