From: dsc Date: Fri, 13 Apr 2012 08:52:28 +0000 (-0700) Subject: Updates docs styles. X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=ddeff5201170650efd61144818806aa3fb29b99e;p=kraken-ui.git Updates docs styles. --- diff --git a/docs/github-readme.css b/docs/assets/github-readme.css similarity index 100% rename from docs/github-readme.css rename to docs/assets/github-readme.css diff --git a/docs/solarized.css b/docs/assets/solarized.css similarity index 100% rename from docs/solarized.css rename to docs/assets/solarized.css diff --git a/docs/internals/backbone-base.html b/docs/internals/backbone-base.html index 6575886..beeab04 100644 --- a/docs/internals/backbone-base.html +++ b/docs/internals/backbone-base.html @@ -3,13 +3,14 @@ Backbone Base Classes | GraphKit Docs - - - + + +
-
+
+

Backbone Base Classes

Nearly all models, model collections, and views in the project derive from three base classes, aptly named BaseModel, BaseList, and BaseView. Herein we'll discuss some of the more arcane aspects of these classes, especially the default behavior they implement, and the ways in which subclasses can augment it.

Table of Contents

@@ -121,8 +122,10 @@
  • As mentioned in the discussion of the render lifecycle, it would help to integrate a default data-binding convention and related methods.
  • Events don't bubble through the view hierarchy as they do with the DOM. This means views must manually inform their subviews to re-render. I left this unimplemented mostly because of the render-vs-update issue above.
  • -

    -
    + +
    +
    +
    diff --git a/docs/reset.css b/docs/reset.css deleted file mode 100755 index 4b2c2d0..0000000 --- a/docs/reset.css +++ /dev/null @@ -1,159 +0,0 @@ -html, body, div, span, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, -small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, figcaption, figure, -footer, header, hgroup, menu, nav, section, summary, -time, mark, audio, video { - margin:0; padding:0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; } - -article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { - display: block; } - -html { color:#000; background:#fff; width:100%; height:100%; overflow-y: scroll; } -body { position:absolute; width:100%; top:0; left:0; } - -address,caption,cite,code,dfn,em,strong,th,var,optgroup { font-style:inherit; font-weight:inherit; } -fieldset,img { border:0; } -caption,th { text-align:left; } -caption { margin-bottom:.5em; text-align:center; } - -h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:bold; } -h1 { font-size:250%; } -h2 { font-size:150%; } -h3 { font-size:125%; } -h4 { font-size:110%; } -h1,h2,h3 { margin:0.5em 0 1em; } - - -ins { background-color: #ff9; color: #000; text-decoration: none; } -mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; } -del { text-decoration: line-through; } -abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; } -abbr,acronym { border:0; font-variant:normal; border-bottom:1px dotted #000; cursor:help; } -em, i { font-style:italic; } -small { font-size: 85%; } -strong, b, th { font-weight: bold; } -u { text-decoration:underline; } - -/* Set sub, sup without affecting line-height: gist.github.com/413930 */ -sub, sup { font-size: 75%; line-height: 0; position: relative; } -sup { top: -0.5em; } -sub { bottom: -0.25em; } - - -blockquote, q { quotes: none; } -blockquote:before, blockquote:after, -q:before, q:after { content: ''; content: none; } -hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; } - - -/** Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/ */ -//body { font:13px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */ -body { font:16px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */ -select, input, textarea, button { font:99% sans-serif; } - -/* Normalize monospace sizing: en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */ -pre, code, kbd, samp { font-family: monospace, sans-serif; } -/* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */ -pre { - white-space: pre; - white-space: pre-wrap; /* css-3 */ - white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - - word-wrap: break-word; - padding: 15px; } - -p,fieldset,table,pre { margin-bottom:1em; } - - -/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */ -a:hover, a:active { outline: none; } - - -/* Lists */ - -ul,ol,dl,blockquote { margin:0.5em; } -ol,ul,dl { margin-left:1.0em; } -li { list-style:none; } -ol { list-style-type: decimal; } -ol li { list-style:decimal inside; } -ul li { list-style:disc inside; } -dl dd { margin-left:0.5em; } - -/* Remove margins for navigation lists */ -nav ul, nav li { margin: 0; list-style:none; list-style-image: none; } - - -/* Forms */ - -input,select { vertical-align: middle; } -input,button,textarea,select,optgroup,option { font-family:inherit; font-size:inherit; font-style:inherit; font-weight:inherit; } -input,button,textarea,select { *font-size:100%; } -input[type=text],input[type=password],textarea { width:12.25em; *width:11.9em; } -textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */ - -legend { color:#000; } -.ie6 legend, .ie7 legend { margin-left: -7px; } - -/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css */ -input[type="radio"] { vertical-align: text-bottom; } -input[type="checkbox"] { vertical-align: bottom; } -.ie7 input[type="checkbox"] { vertical-align: baseline; } -.ie6 input { vertical-align: text-bottom; } - -/* Hand cursor on clickable input elements */ -a[href], input[type='button'], input[type='submit'], input[type='image'], label[for], select, button, .pointer { cursor: pointer; } - - -/* Webkit browsers add a 2px margin outside the chrome of form elements */ -button, input, select, textarea { margin: 0; } - -/* Colors for form validity */ -input:valid, textarea:valid { } -input:invalid, textarea:invalid { - border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; -} -.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; } - -/* Make buttons play nice in IE: - www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */ -button { width: auto; overflow: visible; } - - -/* Tables */ - -table { border-collapse:collapse; border-spacing:0; } -th,td { padding:.5em; } -th { font-weight:bold; text-align:center; } -td { vertical-align: top; } - - -/* Misc */ - -/* These selection declarations have to be separate - No text-shadow: twitter.com/miketaylr/status/12228805301 - Also: hot pink! */ -::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; } -::selection { background:#FF5E99; color:#fff; text-shadow: none; } - -/* j.mp/webkit-tap-highlight-color */ -a:link { -webkit-tap-highlight-color: #FF5E99; } - -/* Bicubic resizing for non-native sized IMG: - code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */ -.ie7 img { -ms-interpolation-mode: bicubic; } - - -/* Minimal Basic Classes */ - -.clearer { clear:both !important; float:none !important; margin:0 !important; padding:0 !important; } -.rounded { border-radius:1em; -moz-border-radius:1em; -webkit-border-radius:1em; }