Browse Source

xstatic-package for Roboto Font Face

Roboto is the font for Google's Material Design.

We plan on using this in Horizon to provide a theme that
implements Google's Material Design.

The 'material' theme gives an example of how to make use of a 3rd party theme
using the theming functionality.  In addition to incorporating a theme,
loaded as a static asset using requirements.txt, it also gives examples of how
to cleanly override styles, variables, icon fonts and Django templates.

This theme is replacing 'blue' as the example of how to use a theme other than
'default'.

Partially-Implements: blueprint horizon-theme-css-reorg
Change-Id: I4773b35c18878e4bc20579eb21a7cc2cd8f7636e
Diana Whitten 3 years ago
parent
commit
c75b5d9702
73 changed files with 130844 additions and 0 deletions
  1. 9
    0
      .gitignore
  2. 201
    0
      LICENSE
  3. 7
    0
      MANIFEST.in
  4. 14
    0
      README.txt
  5. 27
    0
      setup.py
  6. 1
    0
      xstatic/__init__.py
  7. 1
    0
      xstatic/pkg/__init__.py
  8. 58
    0
      xstatic/pkg/roboto_fontface/__init__.py
  9. 201
    0
      xstatic/pkg/roboto_fontface/data/LICENSE
  10. 27
    0
      xstatic/pkg/roboto_fontface/data/README.md
  11. 263
    0
      xstatic/pkg/roboto_fontface/data/css/roboto-fontface.css
  12. 37
    0
      xstatic/pkg/roboto_fontface/data/css/roboto-fontface.less
  13. 37
    0
      xstatic/pkg/roboto_fontface/data/css/roboto-fontface.scss
  14. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Black.eot
  15. 10968
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Black.svg
  16. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Black.ttf
  17. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Black.woff
  18. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Black.woff2
  19. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-BlackItalic.eot
  20. 11086
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-BlackItalic.svg
  21. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-BlackItalic.ttf
  22. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-BlackItalic.woff
  23. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-BlackItalic.woff2
  24. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Bold.eot
  25. 11010
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Bold.svg
  26. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Bold.ttf
  27. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Bold.woff
  28. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Bold.woff2
  29. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-BoldItalic.eot
  30. 11096
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-BoldItalic.svg
  31. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-BoldItalic.ttf
  32. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-BoldItalic.woff
  33. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-BoldItalic.woff2
  34. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Light.eot
  35. 10564
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Light.svg
  36. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Light.ttf
  37. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Light.woff
  38. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Light.woff2
  39. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-LightItalic.eot
  40. 10646
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-LightItalic.svg
  41. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-LightItalic.ttf
  42. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-LightItalic.woff
  43. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-LightItalic.woff2
  44. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Medium.eot
  45. 10999
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Medium.svg
  46. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Medium.ttf
  47. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Medium.woff
  48. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Medium.woff2
  49. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-MediumItalic.eot
  50. 11100
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-MediumItalic.svg
  51. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-MediumItalic.ttf
  52. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-MediumItalic.woff
  53. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-MediumItalic.woff2
  54. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Regular.eot
  55. 10520
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Regular.svg
  56. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Regular.ttf
  57. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Regular.woff
  58. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Regular.woff2
  59. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-RegularItalic.eot
  60. 10629
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-RegularItalic.svg
  61. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-RegularItalic.ttf
  62. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-RegularItalic.woff
  63. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-RegularItalic.woff2
  64. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Thin.eot
  65. 10617
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Thin.svg
  66. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Thin.ttf
  67. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Thin.woff
  68. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-Thin.woff2
  69. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-ThinItalic.eot
  70. 10726
    0
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-ThinItalic.svg
  71. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-ThinItalic.ttf
  72. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-ThinItalic.woff
  73. BIN
      xstatic/pkg/roboto_fontface/data/fonts/Roboto-ThinItalic.woff2

+ 9
- 0
.gitignore View File

@@ -0,0 +1,9 @@
1
+*.pyc
2
+*.sw?
3
+*.sqlite3
4
+.DS_STORE
5
+*.egg-info
6
+.venv
7
+.tox
8
+build
9
+dist

+ 201
- 0
LICENSE View File

@@ -0,0 +1,201 @@
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.

+ 7
- 0
MANIFEST.in View File

@@ -0,0 +1,7 @@
1
+include README.txt
2
+recursive-include xstatic/pkg/roboto_fontface *
3
+
4
+global-exclude *.pyc
5
+global-exclude *.pyo
6
+global-exclude *.orig
7
+global-exclude *.rej

+ 14
- 0
README.txt View File

@@ -0,0 +1,14 @@
1
+
2
+XStatic-roboto-fontface
3
+-----------------------
4
+
5
+roboto-fontface javascript library packaged for setuptools (easy_install) / pip.
6
+
7
+This package is intended to be used by **any** project that needs these files.
8
+
9
+It intentionally does **not** provide any extra code except some metadata
10
+**nor** has any extra requirements. You MAY use some minimal support code from
11
+the XStatic base package, if you like.
12
+
13
+You can find more info about the xstatic packaging way in the package
14
+`XStatic`.

+ 27
- 0
setup.py View File

@@ -0,0 +1,27 @@
1
+
2
+from xstatic.pkg import roboto_fontface as xs
3
+
4
+# The README.txt file should be written in reST so that PyPI can use
5
+# it to generate your project's PyPI page.
6
+long_description = open('README.txt').read()
7
+
8
+from setuptools import setup, find_packages
9
+
10
+setup(
11
+    name=xs.PACKAGE_NAME,
12
+    version=xs.PACKAGE_VERSION,
13
+    description=xs.DESCRIPTION,
14
+    long_description=long_description,
15
+    classifiers=xs.CLASSIFIERS,
16
+    keywords=xs.KEYWORDS,
17
+    maintainer=xs.MAINTAINER,
18
+    maintainer_email=xs.MAINTAINER_EMAIL,
19
+    license=xs.LICENSE,
20
+    url=xs.HOMEPAGE,
21
+    platforms=xs.PLATFORMS,
22
+    packages=find_packages(),
23
+    namespace_packages=['xstatic', 'xstatic.pkg', ],
24
+    include_package_data=True,
25
+    zip_safe=False,
26
+    install_requires=[],
27
+)

+ 1
- 0
xstatic/__init__.py View File

@@ -0,0 +1 @@
1
+__import__('pkg_resources').declare_namespace(__name__)

+ 1
- 0
xstatic/pkg/__init__.py View File

@@ -0,0 +1 @@
1
+__import__('pkg_resources').declare_namespace(__name__)

+ 58
- 0
xstatic/pkg/roboto_fontface/__init__.py View File

@@ -0,0 +1,58 @@
1
+
2
+"""
3
+XStatic resource package
4
+
5
+See package 'XStatic' for documentation and basic tools.
6
+"""
7
+
8
+# official name, upper/lowercase allowed, no spaces
9
+DISPLAY_NAME = 'roboto-fontface'
10
+
11
+# name used for PyPi
12
+PACKAGE_NAME = 'XStatic-%s' % DISPLAY_NAME
13
+
14
+NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
15
+                               # please use a all-lowercase valid python
16
+                               # package name
17
+
18
+VERSION = '0.4.3' # version of the packaged files, please use the upstream
19
+                  # version number
20
+BUILD = '2' # our package build number, so we can release new builds
21
+             # with fixes for xstatic stuff.
22
+PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi
23
+
24
+DESCRIPTION = "%s %s (XStatic packaging standard)" % (DISPLAY_NAME, VERSION)
25
+
26
+PLATFORMS = 'any'
27
+CLASSIFIERS = []
28
+KEYWORDS = 'roboto_fontface xstatic'
29
+
30
+# XStatic-* package maintainer:
31
+MAINTAINER = 'Diana Whitten'
32
+MAINTAINER_EMAIL = 'hurgleburgler@gmail.com'
33
+
34
+# this refers to the project homepage of the stuff we packaged:
35
+HOMEPAGE = 'https://github.com/choffmeister/roboto-fontface-bower'
36
+
37
+# this refers to all files:
38
+LICENSE = '(same as %s)' % DISPLAY_NAME
39
+
40
+from os.path import join, dirname
41
+BASE_DIR = join(dirname(__file__), 'data')
42
+# linux package maintainers just can point to their file locations like this:
43
+#BASE_DIR = '/usr/share/javascript/' + NAME
44
+
45
+# location of the Javascript file that's the entry point for this package, if
46
+# one exists, relative to BASE_DIR
47
+MAIN="[u'./css/roboto-fontface.css', u'./fonts/Roboto-Black.eot', u'./fonts/Roboto-Black.svg', u'./fonts/Roboto-Black.ttf', u'./fonts/Roboto-Black.woff', u'./fonts/Roboto-Black.woff2', u'./fonts/Roboto-BlackItalic.eot', u'./fonts/Roboto-BlackItalic.svg', u'./fonts/Roboto-BlackItalic.ttf', u'./fonts/Roboto-BlackItalic.woff', u'./fonts/Roboto-BlackItalic.woff2', u'./fonts/Roboto-Bold.eot', u'./fonts/Roboto-Bold.svg', u'./fonts/Roboto-Bold.ttf', u'./fonts/Roboto-Bold.woff', u'./fonts/Roboto-Bold.woff2', u'./fonts/Roboto-BoldItalic.eot', u'./fonts/Roboto-BoldItalic.svg', u'./fonts/Roboto-BoldItalic.ttf', u'./fonts/Roboto-BoldItalic.woff', u'./fonts/Roboto-BoldItalic.woff2', u'./fonts/Roboto-Light.eot', u'./fonts/Roboto-Light.svg', u'./fonts/Roboto-Light.ttf', u'./fonts/Roboto-Light.woff', u'./fonts/Roboto-Light.woff2', u'./fonts/Roboto-LightItalic.eot', u'./fonts/Roboto-LightItalic.svg', u'./fonts/Roboto-LightItalic.ttf', u'./fonts/Roboto-LightItalic.woff', u'./fonts/Roboto-LightItalic.woff2', u'./fonts/Roboto-Medium.eot', u'./fonts/Roboto-Medium.svg', u'./fonts/Roboto-Medium.ttf', u'./fonts/Roboto-Medium.woff', u'./fonts/Roboto-Medium.woff2', u'./fonts/Roboto-MediumItalic.eot', u'./fonts/Roboto-MediumItalic.svg', u'./fonts/Roboto-MediumItalic.ttf', u'./fonts/Roboto-MediumItalic.woff', u'./fonts/Roboto-MediumItalic.woff2', u'./fonts/Roboto-Regular.eot', u'./fonts/Roboto-Regular.svg', u'./fonts/Roboto-Regular.ttf', u'./fonts/Roboto-Regular.woff', u'./fonts/Roboto-Regular.woff2', u'./fonts/Roboto-RegularItalic.eot', u'./fonts/Roboto-RegularItalic.svg', u'./fonts/Roboto-RegularItalic.ttf', u'./fonts/Roboto-RegularItalic.woff', u'./fonts/Roboto-RegularItalic.woff2', u'./fonts/Roboto-Thin.eot', u'./fonts/Roboto-Thin.svg', u'./fonts/Roboto-Thin.ttf', u'./fonts/Roboto-Thin.woff', u'./fonts/Roboto-Thin.woff2', u'./fonts/Roboto-ThinItalic.eot', u'./fonts/Roboto-ThinItalic.svg', u'./fonts/Roboto-ThinItalic.ttf', u'./fonts/Roboto-ThinItalic.woff', u'./fonts/Roboto-ThinItalic.woff2']"
48
+
49
+LOCATIONS = {
50
+    # CDN locations (if no public CDN exists, use an empty dict)
51
+    # if value is a string, it is a base location, just append relative
52
+    # path/filename. if value is a dict, do another lookup using the
53
+    # relative path/filename you want.
54
+    # your relative path/filenames should usually be without version
55
+    # information, because either the base dir/url is exactly for this
56
+    # version or the mapping will care for accessing this version.
57
+    
58
+}

+ 201
- 0
xstatic/pkg/roboto_fontface/data/LICENSE View File

@@ -0,0 +1,201 @@
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.

+ 27
- 0
xstatic/pkg/roboto_fontface/data/README.md View File

@@ -0,0 +1,27 @@
1
+# Roboto fontface
2
+
3
+A simple package providing the [Roboto](http://www.google.com/fonts/specimen/Roboto) fontface. The font was created by [Christian Robertson](https://plus.google.com/110879635926653430880/about).
4
+
5
+## Installing
6
+
7
+Assuming you have [NodeJS](http://nodejs.org/), [NPM](https://www.npmjs.com/) and [Bower](http://bower.io/) installed globally just open up a terminal, navigate to your projects root directory and then execute
8
+
9
+```
10
+# install via NPM
11
+$ npm install roboto-fontface --save
12
+
13
+# install via Bower
14
+$ bower install roboto-fontface --save
15
+```
16
+
17
+## Hinting
18
+
19
+Some of the included font files have [hinting](http://en.wikipedia.org/wiki/Font_hinting).
20
+
21
+| Files    | Hinting |
22
+|----------|---------|
23
+| `.eot`   | ?       |
24
+| `.svg`   | no      |
25
+| `.ttf`   | ?       |
26
+| `.woff`  | yes     |
27
+| `.woff2` | ?       |

+ 263
- 0
xstatic/pkg/roboto_fontface/data/css/roboto-fontface.css View File

@@ -0,0 +1,263 @@
1
+@font-face {
2
+  font-family: 'Roboto';
3
+  src:  url('../fonts/Roboto-Thin.eot');
4
+  src:  url('../fonts/Roboto-Thin.eot?#iefix') format('embedded-opentype'),
5
+        url('../fonts/Roboto-Thin.woff2') format('woff2'),
6
+        url('../fonts/Roboto-Thin.woff') format('woff'),
7
+        url('../fonts/Roboto-Thin.ttf') format('truetype'),
8
+        url('../fonts/Roboto-Thin.svg#Roboto') format('svg');
9
+  font-weight: 100;
10
+  font-style: normal;
11
+}
12
+
13
+@font-face {
14
+  font-family: 'Roboto-Thin';
15
+  src:  url('../fonts/Roboto-Thin.eot');
16
+  src:  url('../fonts/Roboto-Thin.eot?#iefix') format('embedded-opentype'),
17
+        url('../fonts/Roboto-Thin.woff2') format('woff2'),
18
+        url('../fonts/Roboto-Thin.woff') format('woff'),
19
+        url('../fonts/Roboto-Thin.ttf') format('truetype'),
20
+        url('../fonts/Roboto-Thin.svg#Roboto') format('svg');
21
+}
22
+
23
+@font-face {
24
+  font-family: 'Roboto';
25
+  src:  url('../fonts/Roboto-ThinItalic.eot');
26
+  src:  url('../fonts/Roboto-ThinItalic.eot?#iefix') format('embedded-opentype'),
27
+        url('../fonts/Roboto-ThinItalic.woff2') format('woff2'),
28
+        url('../fonts/Roboto-ThinItalic.woff') format('woff'),
29
+        url('../fonts/Roboto-ThinItalic.ttf') format('truetype'),
30
+        url('../fonts/Roboto-ThinItalic.svg#Roboto') format('svg');
31
+  font-weight: 100;
32
+  font-style: italic;
33
+}
34
+
35
+@font-face {
36
+  font-family: 'Roboto-ThinItalic';
37
+  src:  url('../fonts/Roboto-ThinItalic.eot');
38
+  src:  url('../fonts/Roboto-ThinItalic.eot?#iefix') format('embedded-opentype'),
39
+        url('../fonts/Roboto-ThinItalic.woff2') format('woff2'),
40
+        url('../fonts/Roboto-ThinItalic.woff') format('woff'),
41
+        url('../fonts/Roboto-ThinItalic.ttf') format('truetype'),
42
+        url('../fonts/Roboto-ThinItalic.svg#Roboto') format('svg');
43
+}
44
+
45
+@font-face {
46
+  font-family: 'Roboto';
47
+  src:  url('../fonts/Roboto-Light.eot');
48
+  src:  url('../fonts/Roboto-Light.eot?#iefix') format('embedded-opentype'),
49
+        url('../fonts/Roboto-Light.woff2') format('woff2'),
50
+        url('../fonts/Roboto-Light.woff') format('woff'),
51
+        url('../fonts/Roboto-Light.ttf') format('truetype'),
52
+        url('../fonts/Roboto-Light.svg#Roboto') format('svg');
53
+  font-weight: 300;
54
+  font-style: normal;
55
+}
56
+
57
+@font-face {
58
+  font-family: 'Roboto-Light';
59
+  src:  url('../fonts/Roboto-Light.eot');
60
+  src:  url('../fonts/Roboto-Light.eot?#iefix') format('embedded-opentype'),
61
+        url('../fonts/Roboto-Light.woff2') format('woff2'),
62
+        url('../fonts/Roboto-Light.woff') format('woff'),
63
+        url('../fonts/Roboto-Light.ttf') format('truetype'),
64
+        url('../fonts/Roboto-Light.svg#Roboto') format('svg');
65
+}
66
+
67
+@font-face {
68
+  font-family: 'Roboto';
69
+  src:  url('../fonts/Roboto-LightItalic.eot');
70
+  src:  url('../fonts/Roboto-LightItalic.eot?#iefix') format('embedded-opentype'),
71
+        url('../fonts/Roboto-LightItalic.woff2') format('woff2'),
72
+        url('../fonts/Roboto-LightItalic.woff') format('woff'),
73
+        url('../fonts/Roboto-LightItalic.ttf') format('truetype'),
74
+        url('../fonts/Roboto-LightItalic.svg#Roboto') format('svg');
75
+  font-weight: 300;
76
+  font-style: italic;
77
+}
78
+
79
+@font-face {
80
+  font-family: 'Roboto-LightItalic';
81
+  src:  url('../fonts/Roboto-LightItalic.eot');
82
+  src:  url('../fonts/Roboto-LightItalic.eot?#iefix') format('embedded-opentype'),
83
+        url('../fonts/Roboto-LightItalic.woff2') format('woff2'),
84
+        url('../fonts/Roboto-LightItalic.woff') format('woff'),
85
+        url('../fonts/Roboto-LightItalic.ttf') format('truetype'),
86
+        url('../fonts/Roboto-LightItalic.svg#Roboto') format('svg');
87
+}
88
+
89
+@font-face {
90
+  font-family: 'Roboto';
91
+  src:  url('../fonts/Roboto-Regular.eot');
92
+  src:  url('../fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
93
+        url('../fonts/Roboto-Regular.woff2') format('woff2'),
94
+        url('../fonts/Roboto-Regular.woff') format('woff'),
95
+        url('../fonts/Roboto-Regular.ttf') format('truetype'),
96
+        url('../fonts/Roboto-Regular.svg#Roboto') format('svg');
97
+  font-weight: 400;
98
+  font-style: normal;
99
+}
100
+
101
+@font-face {
102
+  font-family: 'Roboto-Regular';
103
+  src:  url('../fonts/Roboto-Regular.eot');
104
+  src:  url('../fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
105
+        url('../fonts/Roboto-Regular.woff2') format('woff2'),
106
+        url('../fonts/Roboto-Regular.woff') format('woff'),
107
+        url('../fonts/Roboto-Regular.ttf') format('truetype'),
108
+        url('../fonts/Roboto-Regular.svg#Roboto') format('svg');
109
+}
110
+
111
+@font-face {
112
+  font-family: 'Roboto';
113
+  src:  url('../fonts/Roboto-RegularItalic.eot');
114
+  src:  url('../fonts/Roboto-RegularItalic.eot?#iefix') format('embedded-opentype'),
115
+        url('../fonts/Roboto-RegularItalic.woff2') format('woff2'),
116
+        url('../fonts/Roboto-RegularItalic.woff') format('woff'),
117
+        url('../fonts/Roboto-RegularItalic.ttf') format('truetype'),
118
+        url('../fonts/Roboto-RegularItalic.svg#Roboto') format('svg');
119
+  font-weight: 400;
120
+  font-style: italic;
121
+}
122
+
123
+@font-face {
124
+  font-family: 'Roboto-RegularItalic';
125
+  src:  url('../fonts/Roboto-RegularItalic.eot');
126
+  src:  url('../fonts/Roboto-RegularItalic.eot?#iefix') format('embedded-opentype'),
127
+        url('../fonts/Roboto-RegularItalic.woff2') format('woff2'),
128
+        url('../fonts/Roboto-RegularItalic.woff') format('woff'),
129
+        url('../fonts/Roboto-RegularItalic.ttf') format('truetype'),
130
+        url('../fonts/Roboto-RegularItalic.svg#Roboto') format('svg');
131
+}
132
+
133
+@font-face {
134
+  font-family: 'Roboto';
135
+  src:  url('../fonts/Roboto-Medium.eot');
136
+  src:  url('../fonts/Roboto-Medium.eot?#iefix') format('embedded-opentype'),
137
+        url('../fonts/Roboto-Medium.woff2') format('woff2'),
138
+        url('../fonts/Roboto-Medium.woff') format('woff'),
139
+        url('../fonts/Roboto-Medium.ttf') format('truetype'),
140
+        url('../fonts/Roboto-Medium.svg#Roboto') format('svg');
141
+  font-weight: 500;
142
+  font-style: normal;
143
+}
144
+
145
+@font-face {
146
+  font-family: 'Roboto-Medium';
147
+  src:  url('../fonts/Roboto-Medium.eot');
148
+  src:  url('../fonts/Roboto-Medium.eot?#iefix') format('embedded-opentype'),
149
+        url('../fonts/Roboto-Medium.woff2') format('woff2'),
150
+        url('../fonts/Roboto-Medium.woff') format('woff'),
151
+        url('../fonts/Roboto-Medium.ttf') format('truetype'),
152
+        url('../fonts/Roboto-Medium.svg#Roboto') format('svg');
153
+}
154
+
155
+@font-face {
156
+  font-family: 'Roboto';
157
+  src:  url('../fonts/Roboto-MediumItalic.eot');
158
+  src:  url('../fonts/Roboto-MediumItalic.eot?#iefix') format('embedded-opentype'),
159
+        url('../fonts/Roboto-MediumItalic.woff2') format('woff2'),
160
+        url('../fonts/Roboto-MediumItalic.woff') format('woff'),
161
+        url('../fonts/Roboto-MediumItalic.ttf') format('truetype'),
162
+        url('../fonts/Roboto-MediumItalic.svg#Roboto') format('svg');
163
+  font-weight: 500;
164
+  font-style: italic;
165
+}
166
+
167
+@font-face {
168
+  font-family: 'Roboto-MediumItalic';
169
+  src:  url('../fonts/Roboto-MediumItalic.eot');
170
+  src:  url('../fonts/Roboto-MediumItalic.eot?#iefix') format('embedded-opentype'),
171
+        url('../fonts/Roboto-MediumItalic.woff2') format('woff2'),
172
+        url('../fonts/Roboto-MediumItalic.woff') format('woff'),
173
+        url('../fonts/Roboto-MediumItalic.ttf') format('truetype'),
174
+        url('../fonts/Roboto-MediumItalic.svg#Roboto') format('svg');
175
+}
176
+
177
+@font-face {
178
+  font-family: 'Roboto';
179
+  src:  url('../fonts/Roboto-Bold.eot');
180
+  src:  url('../fonts/Roboto-Bold.eot?#iefix') format('embedded-opentype'),
181
+        url('../fonts/Roboto-Bold.woff2') format('woff2'),
182
+        url('../fonts/Roboto-Bold.woff') format('woff'),
183
+        url('../fonts/Roboto-Bold.ttf') format('truetype'),
184
+        url('../fonts/Roboto-Bold.svg#Roboto') format('svg');
185
+  font-weight: 700;
186
+  font-style: normal;
187
+}
188
+
189
+@font-face {
190
+  font-family: 'Roboto-Bold';
191
+  src:  url('../fonts/Roboto-Bold.eot');
192
+  src:  url('../fonts/Roboto-Bold.eot?#iefix') format('embedded-opentype'),
193
+        url('../fonts/Roboto-Bold.woff2') format('woff2'),
194
+        url('../fonts/Roboto-Bold.woff') format('woff'),
195
+        url('../fonts/Roboto-Bold.ttf') format('truetype'),
196
+        url('../fonts/Roboto-Bold.svg#Roboto') format('svg');
197
+}
198
+
199
+@font-face {
200
+  font-family: 'Roboto';
201
+  src:  url('../fonts/Roboto-BoldItalic.eot');
202
+  src:  url('../fonts/Roboto-BoldItalic.eot?#iefix') format('embedded-opentype'),
203
+        url('../fonts/Roboto-BoldItalic.woff2') format('woff2'),
204
+        url('../fonts/Roboto-BoldItalic.woff') format('woff'),
205
+        url('../fonts/Roboto-BoldItalic.ttf') format('truetype'),
206
+        url('../fonts/Roboto-BoldItalic.svg#Roboto') format('svg');
207
+  font-weight: 700;
208
+  font-style: italic;
209
+}
210
+
211
+@font-face {
212
+  font-family: 'Roboto-BoldItalic';
213
+  src:  url('../fonts/Roboto-BoldItalic.eot');
214
+  src:  url('../fonts/Roboto-BoldItalic.eot?#iefix') format('embedded-opentype'),
215
+        url('../fonts/Roboto-BoldItalic.woff2') format('woff2'),
216
+        url('../fonts/Roboto-BoldItalic.woff') format('woff'),
217
+        url('../fonts/Roboto-BoldItalic.ttf') format('truetype'),
218
+        url('../fonts/Roboto-BoldItalic.svg#Roboto') format('svg');
219
+}
220
+
221
+@font-face {
222
+  font-family: 'Roboto';
223
+  src:  url('../fonts/Roboto-Black.eot');
224
+  src:  url('../fonts/Roboto-Black.eot?#iefix') format('embedded-opentype'),
225
+        url('../fonts/Roboto-Black.woff2') format('woff2'),
226
+        url('../fonts/Roboto-Black.woff') format('woff'),
227
+        url('../fonts/Roboto-Black.ttf') format('truetype'),
228
+        url('../fonts/Roboto-Black.svg#Roboto') format('svg');
229
+  font-weight: 900;
230
+  font-style: normal;
231
+}
232
+
233
+@font-face {
234
+  font-family: 'Roboto-Black';
235
+  src:  url('../fonts/Roboto-Black.eot');
236
+  src:  url('../fonts/Roboto-Black.eot?#iefix') format('embedded-opentype'),
237
+        url('../fonts/Roboto-Black.woff2') format('woff2'),
238
+        url('../fonts/Roboto-Black.woff') format('woff'),
239
+        url('../fonts/Roboto-Black.ttf') format('truetype'),
240
+        url('../fonts/Roboto-Black.svg#Roboto') format('svg');
241
+}
242
+
243
+@font-face {
244
+  font-family: 'Roboto';
245
+  src:  url('../fonts/Roboto-BlackItalic.eot');
246
+  src:  url('../fonts/Roboto-BlackItalic.eot?#iefix') format('embedded-opentype'),
247
+        url('../fonts/Roboto-BlackItalic.woff2') format('woff2'),
248
+        url('../fonts/Roboto-BlackItalic.woff') format('woff'),
249
+        url('../fonts/Roboto-BlackItalic.ttf') format('truetype'),
250
+        url('../fonts/Roboto-BlackItalic.svg#Roboto') format('svg');
251
+  font-weight: 900;
252
+  font-style: italic;
253
+}
254
+
255
+@font-face {
256
+  font-family: 'Roboto-BlackItalic';
257
+  src:  url('../fonts/Roboto-BlackItalic.eot');
258
+  src:  url('../fonts/Roboto-BlackItalic.eot?#iefix') format('embedded-opentype'),
259
+        url('../fonts/Roboto-BlackItalic.woff2') format('woff2'),
260
+        url('../fonts/Roboto-BlackItalic.woff') format('woff'),
261
+        url('../fonts/Roboto-BlackItalic.ttf') format('truetype'),
262
+        url('../fonts/Roboto-BlackItalic.svg#Roboto') format('svg');
263
+}

+ 37
- 0
xstatic/pkg/roboto_fontface/data/css/roboto-fontface.less View File

@@ -0,0 +1,37 @@
1
+@roboto-font-path: '../fonts';
2
+
3
+.roboto-font(@type, @weight, @style) {
4
+    @font-face {
5
+        font-family: 'Roboto';
6
+        src: url('@{roboto-font-path}/Roboto-@{type}.eot');
7
+        src: url('@{roboto-font-path}/Roboto-@{type}.eot?#iefix') format('embedded-opentype'),
8
+             url('@{roboto-font-path}/Roboto-@{type}.woff2') format('woff2'),
9
+             url('@{roboto-font-path}/Roboto-@{type}.woff') format('woff'),
10
+             url('@{roboto-font-path}/Roboto-@{type}.ttf') format('truetype'),
11
+             url('@{roboto-font-path}/Roboto-@{type}.svg#Roboto') format('svg');
12
+        font-weight: @weight;
13
+        font-style: @style;
14
+    }
15
+
16
+    @font-face {
17
+        font-family: 'Roboto-@{type}';
18
+        src: url('@{roboto-font-path}/Roboto-@{type}.eot');
19
+        src: url('@{roboto-font-path}/Roboto-@{type}.eot?#iefix') format('embedded-opentype'),
20
+             url('@{roboto-font-path}/Roboto-@{type}.woff2') format('woff2'),
21
+             url('@{roboto-font-path}/Roboto-@{type}.woff') format('woff'),
22
+             url('@{roboto-font-path}/Roboto-@{type}.ttf') format('truetype'),
23
+             url('@{roboto-font-path}/Roboto-@{type}.svg#Roboto') format('svg');
24
+    }
25
+}
26
+
27
+.roboto-font-pair(@type, @weight) {
28
+    .roboto-font('@{type}', @weight, normal);
29
+    .roboto-font('@{type}Italic', @weight, italic);
30
+}
31
+
32
+.roboto-font-pair('Thin', 100);
33
+.roboto-font-pair('Light', 300);
34
+.roboto-font-pair('Regular', 400);
35
+.roboto-font-pair('Medium', 500);
36
+.roboto-font-pair('Bold', 700);
37
+.roboto-font-pair('Black', 900);

+ 37
- 0
xstatic/pkg/roboto_fontface/data/css/roboto-fontface.scss View File

@@ -0,0 +1,37 @@
1
+$roboto-font-path: '../fonts' !default;
2
+
3
+@mixin roboto-font($type, $weight, $style: normal) {
4
+    @font-face {
5
+        font-family: 'Roboto';
6
+        src: url('#{$roboto-font-path}/Roboto-#{$type}.eot');
7
+        src: url('#{$roboto-font-path}/Roboto-#{$type}.eot?#iefix') format('embedded-opentype'),
8
+             url('#{$roboto-font-path}/Roboto-#{$type}.woff2') format('woff2'),
9
+             url('#{$roboto-font-path}/Roboto-#{$type}.woff') format('woff'),
10
+             url('#{$roboto-font-path}/Roboto-#{$type}.ttf') format('truetype'),
11
+             url('#{$roboto-font-path}/Roboto-#{$type}.svg#Roboto') format('svg');
12
+        font-weight: $weight;
13
+        font-style: $style;
14
+    }
15
+
16
+    @font-face {
17
+        font-family: 'Roboto-#{$type}';
18
+        src: url('#{$roboto-font-path}/Roboto-#{$type}.eot');
19
+        src: url('#{$roboto-font-path}/Roboto-#{$type}.eot?#iefix') format('embedded-opentype'),
20
+             url('#{$roboto-font-path}/Roboto-#{$type}.woff2') format('woff2'),
21
+             url('#{$roboto-font-path}/Roboto-#{$type}.woff') format('woff'),
22
+             url('#{$roboto-font-path}/Roboto-#{$type}.ttf') format('truetype'),
23
+             url('#{$roboto-font-path}/Roboto-#{$type}.svg#Roboto') format('svg');
24
+    }
25
+}
26
+
27
+@mixin roboto-font-pair($type, $weight) {
28
+    @include roboto-font($type, $weight);
29
+    @include roboto-font(#{$type}Italic, $weight, italic);
30
+}
31
+
32
+@include roboto-font-pair('Thin', 100);
33
+@include roboto-font-pair('Light', 300);
34
+@include roboto-font-pair('Regular', 400);
35
+@include roboto-font-pair('Medium', 500);
36
+@include roboto-font-pair('Bold', 700);
37
+@include roboto-font-pair('Black', 900);

BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Black.eot View File


+ 10968
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Black.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Black.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Black.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Black.woff2 View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-BlackItalic.eot View File


+ 11086
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-BlackItalic.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-BlackItalic.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-BlackItalic.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-BlackItalic.woff2 View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Bold.eot View File


+ 11010
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Bold.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Bold.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Bold.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Bold.woff2 View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-BoldItalic.eot View File


+ 11096
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-BoldItalic.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-BoldItalic.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-BoldItalic.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-BoldItalic.woff2 View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Light.eot View File


+ 10564
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Light.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Light.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Light.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Light.woff2 View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-LightItalic.eot View File


+ 10646
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-LightItalic.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-LightItalic.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-LightItalic.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-LightItalic.woff2 View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Medium.eot View File


+ 10999
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Medium.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Medium.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Medium.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Medium.woff2 View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-MediumItalic.eot View File


+ 11100
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-MediumItalic.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-MediumItalic.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-MediumItalic.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-MediumItalic.woff2 View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Regular.eot View File


+ 10520
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Regular.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Regular.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Regular.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Regular.woff2 View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-RegularItalic.eot View File


+ 10629
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-RegularItalic.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-RegularItalic.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-RegularItalic.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-RegularItalic.woff2 View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Thin.eot View File


+ 10617
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Thin.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Thin.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Thin.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-Thin.woff2 View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-ThinItalic.eot View File


+ 10726
- 0
xstatic/pkg/roboto_fontface/data/fonts/Roboto-ThinItalic.svg
File diff suppressed because it is too large
View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-ThinItalic.ttf View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-ThinItalic.woff View File


BIN
xstatic/pkg/roboto_fontface/data/fonts/Roboto-ThinItalic.woff2 View File


Loading…
Cancel
Save