Browse Source

derping

pull/253/head
connors 11 years ago
parent
commit
f0d917a432
  1. 2
      README.md
  2. 9
      dist/ratchet.css
  3. 30
      dist/template.html
  4. 12
      docs/assets/css/docs.css
  5. 2
      docs/assets/js/docs.js
  6. 2
      docs/components.html
  7. 9
      docs/dist/ratchet.css
  8. 19
      sass/docs.scss
  9. 12
      sass/type.scss

2
README.md

@ -1,6 +1,6 @@
# Ratchet v2.0 WIP [![devDependencies](https://david-dm.org/maker/ratchet/dev-status.png?theme=shields.io)](https://david-dm.org/maker/ratchet#info=devDependencies)
Prototype mobile apps with simple HTML, CSS, and JS components.
Build mobile apps with simple HTML, CSS, and JS components.
## Getting Started

9
dist/ratchet.css vendored

@ -314,7 +314,7 @@ strong {
}
h1, h2, h3, h4, h5, h6 {
margin: 10px 15px;
margin: 10px 10px;
line-height: 1;
}
@ -345,11 +345,16 @@ h6, .h6 {
}
p {
margin: 10px 15px;
margin: 10px 10px;
font-size: 14px;
color: #777;
}
.container > h1, .container h2, .container h3, .container h4, .container h5, .container h6, .container p {
margin-left: 0;
margin-right: 0;
}
.btn {
position: relative;
display: inline-block;

30
dist/template.html vendored

@ -37,43 +37,37 @@
<body>
<!-- Make sure all your bars are the first things in your <body> -->
<header class="bar-nav">
<header class="bar bar-nav">
<h1 class="title">Ratchet</h1>
</header>
<!-- Wrap all non-bar HTML in the .content div (this is actually what scrolls) -->
<div class="content">
<div class="content-padded">
<p class="welcome">Thanks for downloading Ratchet. This is an example HTML page that's linked up to compiled Ratchet CSS and JS, has the proper meta tags and the HTML structure. Need some more help before you start filling this with your own content? Check out some Ratchet resources:</p>
</div>
<ul class="table-view inset">
<li>
<a href="http://maker.github.com/ratchet/">
<div class="card">
<ul class="table-view">
<li class="table-view-cell">
<a class="push-right" href="http://maker.github.io/ratchet/">
<strong>Ratchet documentation</strong>
<span class="chevron"></span>
</a>
</li>
<li>
<a href="http://www.github.com/maker/ratchet/">
<li class="table-view-cell">
<a class="push-right" href="https\://www.github.com/maker/ratchet/">
<strong>Ratchet on Github</strong>
<span class="chevron"></span>
</a>
</li>
<li>
<a href="https://groups.google.com/forum/#!forum/goratchet">
<li class="table-view-cell">
<a class="push-right" href="https://groups.google.com/forum/#!forum/goratchet">
<strong>Ratchet Google group</strong>
<span class="chevron"></span>
</a>
</li>
<li>
<a href="http://www.twitter.com/GoRatchet">
<li class="table-view-cell">
<a class="push-right" href="http://www.twitter.com/GoRatchet">
<strong>Ratchet on Twitter</strong>
<span class="chevron"></span>
</a>
</li>
</ul>
</div>
</div>
</body>

12
docs/assets/css/docs.css

@ -138,6 +138,9 @@ body {
font-size: 24px;
opacity: .7;
}
.docs-sub-content.with-padding {
padding-bottom: 80px;
}
.docs-section {
padding-top: 80px;
@ -525,11 +528,6 @@ hr {
-moz-transition: background-image 0.1s linear;
transition: background-image 0.1s linear;
}
.device:after {
content: '';
background-image: url("../img/iphone5s.png");
opacity: 0;
}
.device.device-fixed {
position: fixed;
right: auto;
@ -614,6 +612,10 @@ hr {
text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
}
.example-device {
margin: 0 auto;
}
.container {
margin-left: auto;
margin-right: auto;

2
docs/assets/js/docs.js

@ -21,7 +21,7 @@ $(function() {
win = $(window);
doc = $(document);
bod = $(document.body)
device = device || $('.device');
device = device || $('.js-device');
navComponentLinks = $('.docs-nav');
componentsList = $('.components-list');
componentLinks = $('.component-example a');

2
docs/components.html

@ -39,7 +39,7 @@ title: Components &middot; Ratchet
<div class="docs-components column-group">
<div class="device-column column units-2 lg-units-5 pull-right">
<!-- In phone examples -->
<div class="device">
<div class="device js-device">
<div class="device-content">
<div id="iwindow">
<header class="bar bar-nav">

9
docs/dist/ratchet.css vendored

@ -314,7 +314,7 @@ strong {
}
h1, h2, h3, h4, h5, h6 {
margin: 10px 15px;
margin: 10px 10px;
line-height: 1;
}
@ -345,11 +345,16 @@ h6, .h6 {
}
p {
margin: 10px 15px;
margin: 10px 10px;
font-size: 14px;
color: #777;
}
.container > h1, .container h2, .container h3, .container h4, .container h5, .container h6, .container p {
margin-left: 0;
margin-right: 0;
}
.btn {
position: relative;
display: inline-block;

19
sass/docs.scss

@ -4,6 +4,7 @@
//
// Documentation
// --------------------------------------------------
html,
body {
width: 100%;
@ -134,6 +135,9 @@ body {
font-size: 24px;
opacity: .7;
}
&.with-padding {
padding-bottom: 80px;
}
}
@ -194,6 +198,7 @@ body {
// Benefits
// --------------------------------------------------
.docs-benefits {
padding-bottom: 0;
text-align: center;
@ -499,11 +504,11 @@ hr {
clear: both;
}
// Docs media queries
// --------------------------------------------------
// Tablet to desktop
// --------------------------------------------------
@media screen and (min-width: 768px) {
// Jumbotron
.docs-header-content {
@ -564,12 +569,6 @@ hr {
background-repeat: no-repeat;
@include transition(background-image .1s linear);
// Pre-load device backgrounds so we stop the flicker.
&:after {
content: '';
background-image: url("../img/iphone5s.png");
opacity: 0;
}
&.device-fixed {
position: fixed;
right: auto;
@ -647,6 +646,12 @@ hr {
}
}
// Example devices
.example-device {
margin: 0 auto;
}
// The Chassis grid
// --------------------------------------------------

12
sass/type.scss

@ -3,7 +3,7 @@
// --------------------------------------------------
h1, h2, h3, h4, h5, h6 {
margin: 10px 15px;
margin: 10px $bar-side-spacing;
line-height: 1;
}
h1, .h1 { font-size: 36px; }
@ -15,7 +15,15 @@ h6, .h6 { font-size: 12px; margin-top: 20px }
// Paragraphs
p {
margin: 10px 15px;
margin: 10px $bar-side-spacing;
font-size: 14px;
color: #777;
}
// Take on the container's side spacing
.container {
> h1, h2, h3, h4, h5, h6, p {
margin-left: 0;
margin-right: 0;
}
}
Loading…
Cancel
Save