2010-01-21 19:54:47 +00:00
|
|
|
%h1= item[:title]
|
|
|
|
|
|
|
|
%p
|
|
|
|
The blueprint module is a simple way of importing all of the most
|
|
|
|
commonly used blueprint modules. In addition, it provides
|
|
|
|
a single mixin, <code class="mixin">+blueprint</code>, that
|
|
|
|
can be used to generate the blueprint css styles.
|
|
|
|
|
2010-01-24 03:44:22 +00:00
|
|
|
= render "partials/reference/imports"
|
2010-01-21 19:54:47 +00:00
|
|
|
|
2010-01-22 19:40:56 +00:00
|
|
|
%h2 Mixins
|
|
|
|
|
|
|
|
- mixins(@item).each do |mixin|
|
2010-01-23 09:09:59 +00:00
|
|
|
%a.view-source{:href=>"#", :onclick => "$('#mixin-source-#{mixin.name}').dialog('open'); return false;"} View Source
|
|
|
|
%h3.mixin{:id=>"mixin-#{mixin.name}"}
|
|
|
|
%a.permalink{:href => "#mixin-#{mixin.name}"}= mixin_signature mixin
|
2010-01-22 19:40:56 +00:00
|
|
|
|
2010-01-23 02:16:25 +00:00
|
|
|
.source-documentation= format_doc(mixin.comment)
|
2010-01-23 09:09:59 +00:00
|
|
|
- render 'dialog', :title => "Source for +#{mixin.name}", :id => "mixin-source-#{mixin.name}" do
|
|
|
|
%pre.source-code.sass= mixin.to_sass
|
|
|
|
|
|
|
|
- content_for :footer do
|
|
|
|
:javascript
|
|
|
|
$(function(){
|
|
|
|
$('.ui-dialog').dialog({hide: true, modal: true, autoOpen: false, width: 400});
|
|
|
|
});
|