Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleaing up docs

  • Loading branch information...
commit bde41c999ba0b9898627eb2e3b5d1865bac0f749 1 parent d0b9593
@joestelmach joestelmach authored
View
3  Rakefile
@@ -164,8 +164,9 @@ task :doc => [:build] do
`cp doc/src/script.js doc/dist/script.js`
`cp -r doc/lib doc/dist/`
`cp -r doc/src/images doc/dist/`
- `cp -r doc/src/themes doc/dist/`
+ `cp -r doc/src/skins doc/dist/`
`cp doc/src/test.html doc/dist/`
+ `cd doc/dist/skins && tar -zcvf perka.tgz perka`
end
desc "pushing docs to gh-pages"
View
16 doc/src/index.html
@@ -15,7 +15,7 @@
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="lib/prettify.css">
- <link rel="stylesheet" href="themes/perka/perka.css">
+ <link rel="stylesheet" href="skins/perka/perka.css">
</head>
<body>
@@ -56,7 +56,8 @@
<h1>Dependencies</h1>
<p>Backbone UI depends on <a href='http://documentcloud.github.com/backbone/'>Backbone</a>,
- <a href='http://jquery.com/'>jQuery</a>, and <a href='http://joestelmach.github.com/laconic/'>Laconic</a>.
+ <a href='http://jquery.com/'>jQuery</a> (or <a href='http://zeptojs.com/'>Zepto</a>),
+ and <a href='http://joestelmach.github.com/laconic/'>Laconic</a>.
If you'd like to use the calendar or date picker components, than you'll
also need a copy of <a href='http://momentjs.com/'>moment.js</a>.
<p>
@@ -149,6 +150,17 @@
</section>
<section>
+ <h1>UI Skinning</h1>
+ <p>
+ Skinning of UI components should be done using CSS and image resources. The default skin is fully functional without any image resources, however; this documentation uses an <a href='./skins/perka.tgz'>example skin</a> as a reference for building your own. The following will enable this skin:
+
+ <div class="code"><pre class="prettyprint">Backbone.UI.setSkin('perka');</pre></div>
+
+ <p>
+
+ </section>
+
+ <section>
<h1>Browser Support</h1>
<p>
Backbone UI has been tested on most modern browsers, as well as IE8+. If you're using the HTML 5 Doctype, you may need to use the following <a href="http://msdn.microsoft.com/en-us/library/ie/cc288325(v=vs.85).aspx#SetMode">meta tag</a> to force IE into standards mode:
View
0  doc/src/themes/perka/images/bg_button.png → doc/src/skins/perka/images/bg_button.png
File renamed without changes
View
0  doc/src/themes/perka/images/bg_tab.png → doc/src/skins/perka/images/bg_tab.png
File renamed without changes
View
0  doc/src/themes/perka/images/checkbox.png → doc/src/skins/perka/images/checkbox.png
File renamed without changes
View
0  doc/src/themes/perka/images/checkbox_sm.png → doc/src/skins/perka/images/checkbox_sm.png
File renamed without changes
View
0  ...rc/themes/perka/images/pulldown_arrow.png → ...src/skins/perka/images/pulldown_arrow.png
File renamed without changes
View
0  doc/src/themes/perka/images/radio.png → doc/src/skins/perka/images/radio.png
File renamed without changes
View
0  doc/src/themes/perka/perka.css → doc/src/skins/perka/perka.css
File renamed without changes
View
4 doc/src/style.css
@@ -1,7 +1,7 @@
body {
padding:120px 0 0 40px;
font-family:Georgia, serif;
- font-size:14px;
+ font-size:15px;
}
section {
@@ -87,7 +87,7 @@ a {
}
.components .result {
- width:240px;
+ width:238px;
}
.components .code {
Please sign in to comment.
Something went wrong with that request. Please try again.