This commit is contained in:
Коммит
55de12316b
|
@ -0,0 +1,3 @@
|
|||
.DS_Store
|
||||
/node_modules
|
||||
/build/*
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"preset": "crockford",
|
||||
|
||||
"disallowMultipleVarDecl": true,
|
||||
"disallowSpacesInNamedFunctionExpression": null,
|
||||
"disallowSpacesInFunctionDeclaration": null,
|
||||
"maximumLineLength": {
|
||||
"value": 80,
|
||||
"allowComments": true,
|
||||
"allowRegex": true
|
||||
},
|
||||
"requireMultipleVarDecl": null
|
||||
}
|
|
@ -0,0 +1,354 @@
|
|||
Mozilla Public License, version 2.0
|
||||
|
||||
1. Definitions
|
||||
|
||||
1.1. “Contributor”
|
||||
|
||||
means each individual or legal entity that creates, contributes to the
|
||||
creation of, or owns Covered Software.
|
||||
|
||||
1.2. “Contributor Version”
|
||||
|
||||
means the combination of the Contributions of others (if any) used by a
|
||||
Contributor and that particular Contributor’s Contribution.
|
||||
|
||||
1.3. “Contribution”
|
||||
|
||||
means Covered Software of a particular Contributor.
|
||||
|
||||
1.4. “Covered Software”
|
||||
|
||||
means Source Code Form to which the initial Contributor has attached the
|
||||
notice in Exhibit A, the Executable Form of such Source Code Form, and
|
||||
Modifications of such Source Code Form, in each case including portions
|
||||
thereof.
|
||||
|
||||
1.5. “Incompatible With Secondary Licenses”
|
||||
means
|
||||
|
||||
a. that the initial Contributor has attached the notice described in
|
||||
Exhibit B to the Covered Software; or
|
||||
|
||||
b. that the Covered Software was made available under the terms of version
|
||||
1.1 or earlier of the License, but not also under the terms of a
|
||||
Secondary License.
|
||||
|
||||
1.6. “Executable Form”
|
||||
|
||||
means any form of the work other than Source Code Form.
|
||||
|
||||
1.7. “Larger Work”
|
||||
|
||||
means a work that combines Covered Software with other material, in a separate
|
||||
file or files, that is not Covered Software.
|
||||
|
||||
1.8. “License”
|
||||
|
||||
means this document.
|
||||
|
||||
1.9. “Licensable”
|
||||
|
||||
means having the right to grant, to the maximum extent possible, whether at the
|
||||
time of the initial grant or subsequently, any and all of the rights conveyed by
|
||||
this License.
|
||||
|
||||
1.10. “Modifications”
|
||||
|
||||
means any of the following:
|
||||
|
||||
a. any file in Source Code Form that results from an addition to, deletion
|
||||
from, or modification of the contents of Covered Software; or
|
||||
|
||||
b. any new file in Source Code Form that contains any Covered Software.
|
||||
|
||||
1.11. “Patent Claims” of a Contributor
|
||||
|
||||
means any patent claim(s), including without limitation, method, process,
|
||||
and apparatus claims, in any patent Licensable by such Contributor that
|
||||
would be infringed, but for the grant of the License, by the making,
|
||||
using, selling, offering for sale, having made, import, or transfer of
|
||||
either its Contributions or its Contributor Version.
|
||||
|
||||
1.12. “Secondary License”
|
||||
|
||||
means either the GNU General Public License, Version 2.0, the GNU Lesser
|
||||
General Public License, Version 2.1, the GNU Affero General Public
|
||||
License, Version 3.0, or any later versions of those licenses.
|
||||
|
||||
1.13. “Source Code Form”
|
||||
|
||||
means the form of the work preferred for making modifications.
|
||||
|
||||
1.14. “You” (or “Your”)
|
||||
|
||||
means an individual or a legal entity exercising rights under this
|
||||
License. For legal entities, “You” includes any entity that controls, is
|
||||
controlled by, or is under common control with You. For purposes of this
|
||||
definition, “control” means (a) the power, direct or indirect, to cause
|
||||
the direction or management of such entity, whether by contract or
|
||||
otherwise, or (b) ownership of more than fifty percent (50%) of the
|
||||
outstanding shares or beneficial ownership of such entity.
|
||||
|
||||
|
||||
2. License Grants and Conditions
|
||||
|
||||
2.1. Grants
|
||||
|
||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
||||
non-exclusive license:
|
||||
|
||||
a. under intellectual property rights (other than patent or trademark)
|
||||
Licensable by such Contributor to use, reproduce, make available,
|
||||
modify, display, perform, distribute, and otherwise exploit its
|
||||
Contributions, either on an unmodified basis, with Modifications, or as
|
||||
part of a Larger Work; and
|
||||
|
||||
b. under Patent Claims of such Contributor to make, use, sell, offer for
|
||||
sale, have made, import, and otherwise transfer either its Contributions
|
||||
or its Contributor Version.
|
||||
|
||||
2.2. Effective Date
|
||||
|
||||
The licenses granted in Section 2.1 with respect to any Contribution become
|
||||
effective for each Contribution on the date the Contributor first distributes
|
||||
such Contribution.
|
||||
|
||||
2.3. Limitations on Grant Scope
|
||||
|
||||
The licenses granted in this Section 2 are the only rights granted under this
|
||||
License. No additional rights or licenses will be implied from the distribution
|
||||
or licensing of Covered Software under this License. Notwithstanding Section
|
||||
2.1(b) above, no patent license is granted by a Contributor:
|
||||
|
||||
a. for any code that a Contributor has removed from Covered Software; or
|
||||
|
||||
b. for infringements caused by: (i) Your and any other third party’s
|
||||
modifications of Covered Software, or (ii) the combination of its
|
||||
Contributions with other software (except as part of its Contributor
|
||||
Version); or
|
||||
|
||||
c. under Patent Claims infringed by Covered Software in the absence of its
|
||||
Contributions.
|
||||
|
||||
This License does not grant any rights in the trademarks, service marks, or
|
||||
logos of any Contributor (except as may be necessary to comply with the
|
||||
notice requirements in Section 3.4).
|
||||
|
||||
2.4. Subsequent Licenses
|
||||
|
||||
No Contributor makes additional grants as a result of Your choice to
|
||||
distribute the Covered Software under a subsequent version of this License
|
||||
(see Section 10.2) or under the terms of a Secondary License (if permitted
|
||||
under the terms of Section 3.3).
|
||||
|
||||
2.5. Representation
|
||||
|
||||
Each Contributor represents that the Contributor believes its Contributions
|
||||
are its original creation(s) or it has sufficient rights to grant the
|
||||
rights to its Contributions conveyed by this License.
|
||||
|
||||
2.6. Fair Use
|
||||
|
||||
This License is not intended to limit any rights You have under applicable
|
||||
copyright doctrines of fair use, fair dealing, or other equivalents.
|
||||
|
||||
2.7. Conditions
|
||||
|
||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
|
||||
Section 2.1.
|
||||
|
||||
|
||||
3. Responsibilities
|
||||
|
||||
3.1. Distribution of Source Form
|
||||
|
||||
All distribution of Covered Software in Source Code Form, including any
|
||||
Modifications that You create or to which You contribute, must be under the
|
||||
terms of this License. You must inform recipients that the Source Code Form
|
||||
of the Covered Software is governed by the terms of this License, and how
|
||||
they can obtain a copy of this License. You may not attempt to alter or
|
||||
restrict the recipients’ rights in the Source Code Form.
|
||||
|
||||
3.2. Distribution of Executable Form
|
||||
|
||||
If You distribute Covered Software in Executable Form then:
|
||||
|
||||
a. such Covered Software must also be made available in Source Code Form,
|
||||
as described in Section 3.1, and You must inform recipients of the
|
||||
Executable Form how they can obtain a copy of such Source Code Form by
|
||||
reasonable means in a timely manner, at a charge no more than the cost
|
||||
of distribution to the recipient; and
|
||||
|
||||
b. You may distribute such Executable Form under the terms of this License,
|
||||
or sublicense it under different terms, provided that the license for
|
||||
the Executable Form does not attempt to limit or alter the recipients’
|
||||
rights in the Source Code Form under this License.
|
||||
|
||||
3.3. Distribution of a Larger Work
|
||||
|
||||
You may create and distribute a Larger Work under terms of Your choice,
|
||||
provided that You also comply with the requirements of this License for the
|
||||
Covered Software. If the Larger Work is a combination of Covered Software
|
||||
with a work governed by one or more Secondary Licenses, and the Covered
|
||||
Software is not Incompatible With Secondary Licenses, this License permits
|
||||
You to additionally distribute such Covered Software under the terms of
|
||||
such Secondary License(s), so that the recipient of the Larger Work may, at
|
||||
their option, further distribute the Covered Software under the terms of
|
||||
either this License or such Secondary License(s).
|
||||
|
||||
3.4. Notices
|
||||
|
||||
You may not remove or alter the substance of any license notices (including
|
||||
copyright notices, patent notices, disclaimers of warranty, or limitations
|
||||
of liability) contained within the Source Code Form of the Covered
|
||||
Software, except that You may alter any license notices to the extent
|
||||
required to remedy known factual inaccuracies.
|
||||
|
||||
3.5. Application of Additional Terms
|
||||
|
||||
You may choose to offer, and to charge a fee for, warranty, support,
|
||||
indemnity or liability obligations to one or more recipients of Covered
|
||||
Software. However, You may do so only on Your own behalf, and not on behalf
|
||||
of any Contributor. You must make it absolutely clear that any such
|
||||
warranty, support, indemnity, or liability obligation is offered by You
|
||||
alone, and You hereby agree to indemnify every Contributor for any
|
||||
liability incurred by such Contributor as a result of warranty, support,
|
||||
indemnity or liability terms You offer. You may include additional
|
||||
disclaimers of warranty and limitations of liability specific to any
|
||||
jurisdiction.
|
||||
|
||||
4. Inability to Comply Due to Statute or Regulation
|
||||
|
||||
If it is impossible for You to comply with any of the terms of this License
|
||||
with respect to some or all of the Covered Software due to statute, judicial
|
||||
order, or regulation then You must: (a) comply with the terms of this License
|
||||
to the maximum extent possible; and (b) describe the limitations and the code
|
||||
they affect. Such description must be placed in a text file included with all
|
||||
distributions of the Covered Software under this License. Except to the
|
||||
extent prohibited by statute or regulation, such description must be
|
||||
sufficiently detailed for a recipient of ordinary skill to be able to
|
||||
understand it.
|
||||
|
||||
5. Termination
|
||||
|
||||
5.1. The rights granted under this License will terminate automatically if You
|
||||
fail to comply with any of its terms. However, if You become compliant,
|
||||
then the rights granted under this License from a particular Contributor
|
||||
are reinstated (a) provisionally, unless and until such Contributor
|
||||
explicitly and finally terminates Your grants, and (b) on an ongoing basis,
|
||||
if such Contributor fails to notify You of the non-compliance by some
|
||||
reasonable means prior to 60 days after You have come back into compliance.
|
||||
Moreover, Your grants from a particular Contributor are reinstated on an
|
||||
ongoing basis if such Contributor notifies You of the non-compliance by
|
||||
some reasonable means, this is the first time You have received notice of
|
||||
non-compliance with this License from such Contributor, and You become
|
||||
compliant prior to 30 days after Your receipt of the notice.
|
||||
|
||||
5.2. If You initiate litigation against any entity by asserting a patent
|
||||
infringement claim (excluding declaratory judgment actions, counter-claims,
|
||||
and cross-claims) alleging that a Contributor Version directly or
|
||||
indirectly infringes any patent, then the rights granted to You by any and
|
||||
all Contributors for the Covered Software under Section 2.1 of this License
|
||||
shall terminate.
|
||||
|
||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
|
||||
license agreements (excluding distributors and resellers) which have been
|
||||
validly granted by You or Your distributors under this License prior to
|
||||
termination shall survive termination.
|
||||
|
||||
6. Disclaimer of Warranty
|
||||
|
||||
Covered Software is provided under this License on an “as is” basis, without
|
||||
warranty of any kind, either expressed, implied, or statutory, including,
|
||||
without limitation, warranties that the Covered Software is free of defects,
|
||||
merchantable, fit for a particular purpose or non-infringing. The entire
|
||||
risk as to the quality and performance of the Covered Software is with You.
|
||||
Should any Covered Software prove defective in any respect, You (not any
|
||||
Contributor) assume the cost of any necessary servicing, repair, or
|
||||
correction. This disclaimer of warranty constitutes an essential part of this
|
||||
License. No use of any Covered Software is authorized under this License
|
||||
except under this disclaimer.
|
||||
|
||||
7. Limitation of Liability
|
||||
|
||||
Under no circumstances and under no legal theory, whether tort (including
|
||||
negligence), contract, or otherwise, shall any Contributor, or anyone who
|
||||
distributes Covered Software as permitted above, be liable to You for any
|
||||
direct, indirect, special, incidental, or consequential damages of any
|
||||
character including, without limitation, damages for lost profits, loss of
|
||||
goodwill, work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses, even if such party shall have been
|
||||
informed of the possibility of such damages. This limitation of liability
|
||||
shall not apply to liability for death or personal injury resulting from such
|
||||
party’s negligence to the extent applicable law prohibits such limitation.
|
||||
Some jurisdictions do not allow the exclusion or limitation of incidental or
|
||||
consequential damages, so this exclusion and limitation may not apply to You.
|
||||
|
||||
8. Litigation
|
||||
|
||||
Any litigation relating to this License may be brought only in the courts of
|
||||
a jurisdiction where the defendant maintains its principal place of business
|
||||
and such litigation shall be governed by laws of that jurisdiction, without
|
||||
reference to its conflict-of-law provisions. Nothing in this Section shall
|
||||
prevent a party’s ability to bring cross-claims or counter-claims.
|
||||
|
||||
9. Miscellaneous
|
||||
|
||||
This License represents the complete agreement concerning the subject matter
|
||||
hereof. If any provision of this License is held to be unenforceable, such
|
||||
provision shall be reformed only to the extent necessary to make it
|
||||
enforceable. Any law or regulation which provides that the language of a
|
||||
contract shall be construed against the drafter shall not be used to construe
|
||||
this License against a Contributor.
|
||||
|
||||
|
||||
10. Versions of the License
|
||||
|
||||
10.1. New Versions
|
||||
|
||||
Mozilla Foundation is the license steward. Except as provided in Section
|
||||
10.3, no one other than the license steward has the right to modify or
|
||||
publish new versions of this License. Each version will be given a
|
||||
distinguishing version number.
|
||||
|
||||
10.2. Effect of New Versions
|
||||
|
||||
You may distribute the Covered Software under the terms of the version of
|
||||
the License under which You originally received the Covered Software, or
|
||||
under the terms of any subsequent version published by the license
|
||||
steward.
|
||||
|
||||
10.3. Modified Versions
|
||||
|
||||
If you create software not governed by this License, and you want to
|
||||
create a new license for such software, you may create and use a modified
|
||||
version of this License if you rename the license and remove any
|
||||
references to the name of the license steward (except to note that such
|
||||
modified license differs from this License).
|
||||
|
||||
10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
|
||||
If You choose to distribute Source Code Form that is Incompatible With
|
||||
Secondary Licenses under the terms of this version of the License, the
|
||||
notice described in Exhibit B of this License must be attached.
|
||||
|
||||
Exhibit A - Source Code Form License Notice
|
||||
|
||||
This Source Code Form is subject to the
|
||||
terms of the Mozilla Public License, v.
|
||||
2.0. If a copy of the MPL was not
|
||||
distributed with this file, You can
|
||||
obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
|
||||
If it is not possible or desirable to put the notice in a particular file, then
|
||||
You may include the notice in a location (such as a LICENSE file in a relevant
|
||||
directory) where a recipient would be likely to look for such a notice.
|
||||
|
||||
You may add additional accurate notices of copyright ownership.
|
||||
|
||||
Exhibit B - “Incompatible With Secondary Licenses” Notice
|
||||
|
||||
This Source Code Form is “Incompatible
|
||||
With Secondary Licenses”, as defined by
|
||||
the Mozilla Public License, v. 2.0.
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
## wookiee
|
||||
|
||||
---
|
||||
|
||||
#### To Install
|
||||
```bash
|
||||
npm install && make build
|
||||
```
|
||||
|
||||
#### To Test
|
||||
```bash
|
||||
npm test
|
||||
```
|
|
@ -0,0 +1,21 @@
|
|||
var domready = require('domready');
|
||||
var page = require('page');
|
||||
|
||||
domready(function () {
|
||||
page('/', function () {
|
||||
console.log('discover');
|
||||
});
|
||||
|
||||
page('/apps', function () {
|
||||
console.log('apps');
|
||||
});
|
||||
|
||||
page('*', function () {
|
||||
console.log('other');
|
||||
});
|
||||
|
||||
page({
|
||||
click: true,
|
||||
popstate: true
|
||||
});
|
||||
});
|
|
@ -0,0 +1,41 @@
|
|||
BROWSERIFY = ./node_modules/.bin/browserify
|
||||
LESSC = ./node_modules/.bin/lessc
|
||||
|
||||
JSCS = ./node_modules/.bin/jscs --reporter=inline
|
||||
JSHINT = ./node_modules/.bin/jshint
|
||||
MOCHA = ./node_modules/.bin/mocha
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
build:
|
||||
@make clean
|
||||
$(BROWSERIFY) ./lib/index.js > ./build/index.js
|
||||
$(LESSC) ./styles/index.less > ./build/index.css
|
||||
cp -av ./static/. ./build/
|
||||
|
||||
clean:
|
||||
rm -rf ./build/*
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
lint:
|
||||
$(JSHINT) ./lib/*.js
|
||||
$(JSHINT) ./test/**/*.js
|
||||
|
||||
$(JSCS) ./lib/*.js
|
||||
$(JSCS) ./test/**/*.js
|
||||
|
||||
unit:
|
||||
$(MOCHA) ./test/unit/*.js
|
||||
|
||||
integration:
|
||||
$(MOCHA) ./test/integration/*.js
|
||||
|
||||
test:
|
||||
@make lint
|
||||
@make unit
|
||||
@make integration
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
.PHONY: build clean lint unit integration test
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"name": "wookiee",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mozillafordevelopment/wookiee"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "make test"
|
||||
},
|
||||
"dependencies": {
|
||||
"domready": "1.0.5",
|
||||
"localforage": "thisandagain/localforage#browserify",
|
||||
"page": "1.3.7",
|
||||
"vue": "0.10.6",
|
||||
"xhr": "1.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browserify": "5.9.1",
|
||||
"jscs": "mdevils/node-jscs",
|
||||
"jshint": "2.5.2",
|
||||
"less": "1.7.4",
|
||||
"mocha": "1.21.3"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="512px" height="512px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.0.4 (8053) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>activity_off</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="activity_off" sketch:type="MSArtboardGroup" fill="#2A4D50">
|
||||
<path d="M242.92135,2.07488939 C258.727635,2.07488939 274.54054,1.87219708 290.346826,2.13373555 C305.160254,2.38219708 309.873016,9.3325817 304.822683,22.8475817 C288.890635,65.4979663 272.885778,108.122197 257.079492,150.811812 C256.05354,153.590659 252.830064,156.912197 255.656397,159.651812 C257.827445,161.750659 261.229635,159.586428 264.04273,158.899889 C298.52135,150.478351 332.999969,142.056812 367.485207,133.641812 C370.040159,133.020659 372.588492,132.379889 375.169921,131.856812 C381.093969,130.647197 386.342873,131.967966 390.25473,136.629889 C394.126873,141.252582 393.153873,146.156428 390.731302,151.223736 C375.898016,182.379505 361.170635,213.587582 346.430016,244.782582 C307.20554,327.781812 268.000921,410.781043 228.796302,493.786812 C227.962302,495.552197 227.181254,497.337197 226.30754,499.082966 C221.945588,507.720274 214.896302,511.231428 207.304254,508.485274 C198.117016,505.157197 197.448492,498.311428 199.467302,490.177582 C210.368873,446.317582 221.197635,402.444505 232.026397,358.571428 C240.518635,324.166043 248.845397,289.714889 257.575921,255.368351 C259.277016,248.659889 258.376826,247.561428 251.420207,249.313736 C215.12135,258.500274 178.70335,267.235659 142.318445,276.127966 C139.770111,276.755659 137.228397,277.455274 134.63373,277.886812 C121.64054,280.037966 114.604492,272.557966 117.741921,259.788351 C131.37054,204.211428 145.045492,148.647582 158.720445,93.0837355 C165.021778,67.5118125 171.60773,42.005274 177.531778,16.3548894 C179.835207,6.37719708 185.494492,2.0225817 195.482635,2.07488939 C211.302159,2.14027401 227.108445,2.08142785 242.92135,2.07488939 L242.92135,2.07488939 Z" id="Activity-2" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 2.3 KiB |
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="512px" height="512px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.0.4 (8053) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>apps_off</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="apps_off" sketch:type="MSArtboardGroup" fill="#2A4D50">
|
||||
<path d="M153.5744,332.7744 L-7.2475359e-13,332.7744 L-7.2475359e-13,179.1744 L153.5744,179.1744 L153.5744,332.7744 L153.5744,332.7744 Z M153.5744,0 L25.5744,0 C11.4432,0 -7.2475359e-13,11.4688 -7.2475359e-13,25.5744 L-7.2475359e-13,153.5744 L153.5744,153.5744 L153.5744,0 L153.5744,0 Z M332.7744,153.5744 L332.7744,0 L179.1744,0 L179.1744,153.5744 L332.7744,153.5744 L332.7744,153.5744 Z M179.1744,332.7744 L332.7744,332.7744 L332.7744,179.1744 L179.1744,179.1744 L179.1744,332.7744 L179.1744,332.7744 Z M-7.2475359e-13,358.3744 L-7.2475359e-13,486.3744 C-7.2475359e-13,500.5824 11.4432,511.9744 25.5744,511.9744 L153.5744,511.9744 L153.5744,358.3744 L-7.2475359e-13,358.3744 L-7.2475359e-13,358.3744 Z M486.4,0 L358.3744,0 L358.3744,153.5744 L511.9744,153.5744 L511.9744,25.5744 C511.9744,11.4688 500.5312,0 486.4,0 L486.4,0 Z M358.3744,332.7744 L511.9744,332.7744 L511.9744,179.1744 L358.3744,179.1744 L358.3744,332.7744 L358.3744,332.7744 Z M179.1744,358.3744 L179.1744,511.9744 L332.7744,511.9744 L332.7744,358.3744 L179.1744,358.3744 L179.1744,358.3744 Z M358.3744,511.9744 L486.4,511.9744 C500.5312,511.9744 511.9744,500.5824 511.9744,486.3744 L511.9744,358.3744 L358.3744,358.3744 L358.3744,511.9744 L358.3744,511.9744 Z" id="Apps-3" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 1.9 KiB |
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="24px" height="24px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.0.4 (8053) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>discover_off</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="discover_off" sketch:type="MSArtboardGroup" fill="#2A4D50">
|
||||
<path d="M359.694,117.914 C352.295,111.929 340.899,111.859 333.458,117.76 L213.877,212.47 C211.504,214.339 209.6,216.712 208.221,219.498 L142.799,350.482 C139.985,356.131 140.062,362.634 142.89,368.521 L143.296,369.368 C146.922,376.529 153.985,380.967 161.839,380.967 C164.926,380.967 167.922,380.281 170.715,378.93 C173.172,377.768 174.789,376.382 176.035,375.129 L293.047,284.304 C295.532,282.365 297.583,279.859 298.962,277.066 L365.28,143.569 C369.683,134.714 367.394,124.172 359.694,117.914 L359.694,117.914 Z M239.343,228.99 C242.906,227.282 246.693,226.421 250.606,226.421 C260.588,226.421 269.828,232.231 274.154,241.219 C280.37,254.19 274.889,269.807 261.918,276.037 C258.355,277.745 254.568,278.613 250.655,278.613 C240.666,278.613 231.426,272.796 227.107,263.801 C224.097,257.522 223.705,250.438 226.015,243.865 C228.325,237.292 233.057,232.014 239.343,228.99 L239.343,228.99 Z" id="Fill-1" sketch:type="MSShapeGroup"></path>
|
||||
<path d="M254.652,2.316 C114.834,2.316 1.077,116.066 1.077,255.884 C1.077,395.702 114.834,509.452 254.652,509.452 C394.47,509.452 508.22,395.702 508.22,255.884 C508.22,116.066 394.47,2.316 254.652,2.316 L254.652,2.316 Z M253.098,400 L252.909,400 C237.523,400 225,412.516 225,427.902 L225,448.426 C139.649,435.378 72.512,366.659 61.466,281 L85.098,281 C100.484,281 113,268.484 113,252.909 C113,237.523 100.484,225 85.098,225 L62.292,225 C75.571,141.063 140.979,76.068 225,63.321 L225,85.098 C225,100.484 237.516,113 253.091,113 C268.484,113 281,100.484 281,85.098 L281,62.838 C365.441,74.318 433.551,140.853 446.998,225 L427.902,225 C412.516,225 400,237.516 400,253.091 C400,268.484 412.516,281 427.902,281 L447.845,281 C436.631,368.206 368.108,437.17 281,448.923 L281,427.902 C281,412.516 268.484,400 253.098,400 L253.098,400 Z" id="Fill-2" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 2.4 KiB |
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="512px" height="512px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.0.4 (8053) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>me_off</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="me_off" sketch:type="MSArtboardGroup" fill="#2A4D50">
|
||||
<path d="M259.851158,216.615385 C320.610842,216.615385 369.900789,170.830769 369.900789,110.828308 C369.900789,50.8455385 320.610842,0 259.851158,0 C199.091474,0 149.821474,50.8455385 149.821474,110.828308 C149.821474,170.830769 199.091474,216.615385 259.851158,216.615385 L259.851158,216.615385 Z M452.602579,368.423385 C452.602579,368.423385 452.602579,368.423385 452.602579,368.384 C452.602579,315.844923 408.219684,270.532923 343.949263,248.989538 L259.891053,332.032 L175.773,248.989538 C111.502579,270.513231 67.1196842,315.825231 67.1196842,368.384 L67.1196842,368.423385 L67,368.423385 C67,421.139692 77.6319474,470.232615 95.7042632,512 L423.978105,512 C442.050421,470.232615 452.682368,421.139692 452.682368,368.423385 L452.602579,368.423385 L452.602579,368.423385 Z" id="Profile-2" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 1.4 KiB |
|
@ -0,0 +1,59 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
|
||||
<title>Webmaker</title>
|
||||
|
||||
<link rel="stylesheet" href="./index.css">
|
||||
<script type="text/javascript" src="./index.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<h1>Discover</h1>
|
||||
</header>
|
||||
<section></section>
|
||||
<footer>
|
||||
<ul>
|
||||
<li class="discover active">
|
||||
<a href="/">
|
||||
<svg width="24px" height="24px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<g sketch:type="MSArtboardGroup" fill="#2A4D50">
|
||||
<path d="M359.694,117.914 C352.295,111.929 340.899,111.859 333.458,117.76 L213.877,212.47 C211.504,214.339 209.6,216.712 208.221,219.498 L142.799,350.482 C139.985,356.131 140.062,362.634 142.89,368.521 L143.296,369.368 C146.922,376.529 153.985,380.967 161.839,380.967 C164.926,380.967 167.922,380.281 170.715,378.93 C173.172,377.768 174.789,376.382 176.035,375.129 L293.047,284.304 C295.532,282.365 297.583,279.859 298.962,277.066 L365.28,143.569 C369.683,134.714 367.394,124.172 359.694,117.914 L359.694,117.914 Z M239.343,228.99 C242.906,227.282 246.693,226.421 250.606,226.421 C260.588,226.421 269.828,232.231 274.154,241.219 C280.37,254.19 274.889,269.807 261.918,276.037 C258.355,277.745 254.568,278.613 250.655,278.613 C240.666,278.613 231.426,272.796 227.107,263.801 C224.097,257.522 223.705,250.438 226.015,243.865 C228.325,237.292 233.057,232.014 239.343,228.99 L239.343,228.99 Z" id="Fill-1" sketch:type="MSShapeGroup"></path>
|
||||
<path d="M254.652,2.316 C114.834,2.316 1.077,116.066 1.077,255.884 C1.077,395.702 114.834,509.452 254.652,509.452 C394.47,509.452 508.22,395.702 508.22,255.884 C508.22,116.066 394.47,2.316 254.652,2.316 L254.652,2.316 Z M253.098,400 L252.909,400 C237.523,400 225,412.516 225,427.902 L225,448.426 C139.649,435.378 72.512,366.659 61.466,281 L85.098,281 C100.484,281 113,268.484 113,252.909 C113,237.523 100.484,225 85.098,225 L62.292,225 C75.571,141.063 140.979,76.068 225,63.321 L225,85.098 C225,100.484 237.516,113 253.091,113 C268.484,113 281,100.484 281,85.098 L281,62.838 C365.441,74.318 433.551,140.853 446.998,225 L427.902,225 C412.516,225 400,237.516 400,253.091 C400,268.484 412.516,281 427.902,281 L447.845,281 C436.631,368.206 368.108,437.17 281,448.923 L281,427.902 C281,412.516 268.484,400 253.098,400 L253.098,400 Z" id="Fill-2" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</svg>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/apps">
|
||||
<svg width="20px" height="20px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<g sketch:type="MSArtboardGroup" fill="#2A4D50">
|
||||
<path d="M153.5744,332.7744 L-7.2475359e-13,332.7744 L-7.2475359e-13,179.1744 L153.5744,179.1744 L153.5744,332.7744 L153.5744,332.7744 Z M153.5744,0 L25.5744,0 C11.4432,0 -7.2475359e-13,11.4688 -7.2475359e-13,25.5744 L-7.2475359e-13,153.5744 L153.5744,153.5744 L153.5744,0 L153.5744,0 Z M332.7744,153.5744 L332.7744,0 L179.1744,0 L179.1744,153.5744 L332.7744,153.5744 L332.7744,153.5744 Z M179.1744,332.7744 L332.7744,332.7744 L332.7744,179.1744 L179.1744,179.1744 L179.1744,332.7744 L179.1744,332.7744 Z M-7.2475359e-13,358.3744 L-7.2475359e-13,486.3744 C-7.2475359e-13,500.5824 11.4432,511.9744 25.5744,511.9744 L153.5744,511.9744 L153.5744,358.3744 L-7.2475359e-13,358.3744 L-7.2475359e-13,358.3744 Z M486.4,0 L358.3744,0 L358.3744,153.5744 L511.9744,153.5744 L511.9744,25.5744 C511.9744,11.4688 500.5312,0 486.4,0 L486.4,0 Z M358.3744,332.7744 L511.9744,332.7744 L511.9744,179.1744 L358.3744,179.1744 L358.3744,332.7744 L358.3744,332.7744 Z M179.1744,358.3744 L179.1744,511.9744 L332.7744,511.9744 L332.7744,358.3744 L179.1744,358.3744 L179.1744,358.3744 Z M358.3744,511.9744 L486.4,511.9744 C500.5312,511.9744 511.9744,500.5824 511.9744,486.3744 L511.9744,358.3744 L358.3744,358.3744 L358.3744,511.9744 L358.3744,511.9744 Z" id="Apps-3" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</svg>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/activity">
|
||||
<svg width="22px" height="22px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<g sketch:type="MSArtboardGroup" fill="#2A4D50">
|
||||
<path d="M242.92135,2.07488939 C258.727635,2.07488939 274.54054,1.87219708 290.346826,2.13373555 C305.160254,2.38219708 309.873016,9.3325817 304.822683,22.8475817 C288.890635,65.4979663 272.885778,108.122197 257.079492,150.811812 C256.05354,153.590659 252.830064,156.912197 255.656397,159.651812 C257.827445,161.750659 261.229635,159.586428 264.04273,158.899889 C298.52135,150.478351 332.999969,142.056812 367.485207,133.641812 C370.040159,133.020659 372.588492,132.379889 375.169921,131.856812 C381.093969,130.647197 386.342873,131.967966 390.25473,136.629889 C394.126873,141.252582 393.153873,146.156428 390.731302,151.223736 C375.898016,182.379505 361.170635,213.587582 346.430016,244.782582 C307.20554,327.781812 268.000921,410.781043 228.796302,493.786812 C227.962302,495.552197 227.181254,497.337197 226.30754,499.082966 C221.945588,507.720274 214.896302,511.231428 207.304254,508.485274 C198.117016,505.157197 197.448492,498.311428 199.467302,490.177582 C210.368873,446.317582 221.197635,402.444505 232.026397,358.571428 C240.518635,324.166043 248.845397,289.714889 257.575921,255.368351 C259.277016,248.659889 258.376826,247.561428 251.420207,249.313736 C215.12135,258.500274 178.70335,267.235659 142.318445,276.127966 C139.770111,276.755659 137.228397,277.455274 134.63373,277.886812 C121.64054,280.037966 114.604492,272.557966 117.741921,259.788351 C131.37054,204.211428 145.045492,148.647582 158.720445,93.0837355 C165.021778,67.5118125 171.60773,42.005274 177.531778,16.3548894 C179.835207,6.37719708 185.494492,2.0225817 195.482635,2.07488939 C211.302159,2.14027401 227.108445,2.08142785 242.92135,2.07488939 L242.92135,2.07488939 Z" id="Activity-2" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</svg>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/me">
|
||||
<svg width="22px" height="22px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<g sketch:type="MSArtboardGroup" fill="#2A4D50">
|
||||
<path d="M259.851158,216.615385 C320.610842,216.615385 369.900789,170.830769 369.900789,110.828308 C369.900789,50.8455385 320.610842,0 259.851158,0 C199.091474,0 149.821474,50.8455385 149.821474,110.828308 C149.821474,170.830769 199.091474,216.615385 259.851158,216.615385 L259.851158,216.615385 Z M452.602579,368.423385 C452.602579,368.423385 452.602579,368.423385 452.602579,368.384 C452.602579,315.844923 408.219684,270.532923 343.949263,248.989538 L259.891053,332.032 L175.773,248.989538 C111.502579,270.513231 67.1196842,315.825231 67.1196842,368.384 L67.1196842,368.423385 L67,368.423385 C67,421.139692 77.6319474,470.232615 95.7042632,512 L423.978105,512 C442.050421,470.232615 452.682368,421.139692 452.682368,368.423385 L452.602579,368.423385 L452.602579,368.423385 Z" id="Profile-2" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</svg>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,12 @@
|
|||
CACHE MANIFEST
|
||||
# Version 1
|
||||
|
||||
index.css
|
||||
index.html
|
||||
index.js
|
||||
|
||||
NETWORK:
|
||||
*
|
||||
|
||||
FALLBACK:
|
||||
/ fallback.html
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"version": "1.0.0",
|
||||
"name": "Webmaker",
|
||||
"launch_path": "/index.html",
|
||||
"description": "",
|
||||
"icons": {
|
||||
"16": "/images/logo16.png",
|
||||
"32": "/images/logo32.png",
|
||||
"48": "/images/logo48.png",
|
||||
"60": "/images/logo60.png",
|
||||
"64": "/images/logo64.png",
|
||||
"90": "/images/logo90.png",
|
||||
"120": "/images/logo120.png",
|
||||
"128": "/images/logo128.png"
|
||||
},
|
||||
"developer": {
|
||||
"name": "Mozilla",
|
||||
"url": "https://mozilla.org"
|
||||
},
|
||||
"installs_allowed_from": [
|
||||
"*"
|
||||
],
|
||||
"permissions": {},
|
||||
"default_locale": "en",
|
||||
"locales": {
|
||||
"en": {
|
||||
"name": "Firefox OS Boilerplate App",
|
||||
"description": "Boilerplate Firefox OS app with example use cases to get started"
|
||||
},
|
||||
"en-US": {
|
||||
"name": "Firefox OS Boilerplate App",
|
||||
"description": "Boilerplate Firefox OS app with example use cases to get started"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
@foreground: #00B0B5;
|
||||
@background: #FFF;
|
|
@ -0,0 +1,39 @@
|
|||
footer {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
border-top: 1px solid #ccc;
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
li {
|
||||
float: left;
|
||||
width: 25%;
|
||||
height: 42px;
|
||||
|
||||
text-align: center;
|
||||
font-size: 8pt;
|
||||
font-weight: normal;
|
||||
border-bottom: 3px solid @background;
|
||||
|
||||
svg {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
&.active {
|
||||
border-bottom-color: @foreground;
|
||||
|
||||
g {
|
||||
fill: @foreground;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
header {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
|
||||
h1 {
|
||||
display: block;
|
||||
margin: 8px auto 0 auto;
|
||||
|
||||
color: @foreground;
|
||||
text-align: center;
|
||||
font-size: 16pt;
|
||||
font-weight: 200;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
button {
|
||||
// @todo
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
@import "normalize.less";
|
||||
@import "color.less";
|
||||
@import "type.less";
|
||||
|
||||
@import "header.less";
|
||||
@import "footer.less";
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
height: 100%;
|
||||
}
|
|
@ -0,0 +1,425 @@
|
|||
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
||||
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
|
||||
* Correct `block` display not defined for `main` in IE 11.
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
main,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove border when inside `a` element in IE 8/9/10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct overflow not hidden in IE 9/10/11.
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||
* `font-size` values of the `input`, it causes the cursor style of the
|
||||
* decrement button to change from `default` to `text`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
* {
|
||||
font-family: "FiraSans", "Fira Sans", "Fira Sans OT", sans-serif;
|
||||
}
|
Загрузка…
Ссылка в новой задаче