Sha256: ba90a9c8a12375297e54696874e38c9f8bad5140eed7575c1390f1e1e0602ce5

Contents?: true

Size: 946 Bytes

Versions: 4

Compression:

Stored size: 946 Bytes

Contents

create_file 'public/stylesheets/sass/admin.scss' do
<<-FILE
@import "partials/admin_variables";
@import "partials/fonts";
@import "partials/defaults";
@import "partials/media";

@mixin admin {
  @include fonts;
  @include defaults;
  @include media;
}
@include admin;
FILE
end

create_file 'public/stylesheets/sass/partials/_admin_variables.scss' do
<<-FILE
$base-font-family: unquote('sans-serif');  // default font-family

$base-font-size: 13px;  // default font-size for YUI fonts

$base-line-height: 1.231;  // default line-height for YUI fonts

$font-color: #444;

$link-color: #607890;

$link-hover-color: #036;

$link-active-color: #607890;

$link-visited-color: #607890;

$selected-font-color: #fff;  // color for selected text

$selected-background-color: #ff5E99;  // bg-color for selected text

$list-left-margin: 1.8em;  // left margin for ul an ol
FILE
end

run 'sass public/stylesheets/sass/admin.scss public/stylesheets/admin.css'

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
rails-maker-0.1.1 templates/default/lib/admin/sass.rb
prologue-0.6.0 templates/default/lib/admin/sass.rb
prologue-0.5.5 templates/admin/sass.rb
prologue-0.5.0 templates/admin/sass.rb