scratch_pad-themes-default_admin 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/.gitignore +5 -0
- data/Gemfile +3 -0
- data/Rakefile +2 -0
- data/lib/scratch_pad-themes-default_admin/default_admin.rb +16 -0
- data/lib/styles/_helpers.sass +17 -0
- data/lib/styles/_variables.sass +52 -0
- data/lib/styles/all.sass +174 -0
- data/scratch_pad-themes-default_admin.gemspec +27 -0
- metadata +95 -0
- metadata.gz.sig +0 -0
data.tar.gz.sig
ADDED
Binary file
|
data/Gemfile
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'susy'
|
2
|
+
|
3
|
+
module Themes
|
4
|
+
class DefaultAdmin < ScratchPad::Addon::Theme
|
5
|
+
register_layout :single_column do |regions|
|
6
|
+
regions << register_region(:branding, :header)
|
7
|
+
regions << register_region(:main_menu, :nav)
|
8
|
+
regions << register_region(:flash, :section)
|
9
|
+
regions << register_region(:content, :section)
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.root
|
13
|
+
Pathname.new(__FILE__) + '..' + '..'
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
@mixin sans-family
|
2
|
+
font-family: Helvetica, Arial, sans-serif
|
3
|
+
|
4
|
+
@mixin serif-family
|
5
|
+
font-family: Baskerville, Palatino, serif
|
6
|
+
|
7
|
+
@mixin list-default($ol: false)
|
8
|
+
@if $ol
|
9
|
+
list-style: decimal
|
10
|
+
@else
|
11
|
+
list-style: disc
|
12
|
+
margin: 0 1.5em 1.5em 1.5em
|
13
|
+
|
14
|
+
@mixin no-style-list
|
15
|
+
@include no-bullets
|
16
|
+
margin: 0
|
17
|
+
padding: 0
|
@@ -0,0 +1,52 @@
|
|
1
|
+
//**
|
2
|
+
// Susy: Elastic-Fluid grids without all the math
|
3
|
+
// by Eric Meyer and OddBird Collective
|
4
|
+
// Site: www.oddbird.net/susy/
|
5
|
+
//**
|
6
|
+
|
7
|
+
//**
|
8
|
+
GRID
|
9
|
+
un-comment and override these values as needed for your grid layout
|
10
|
+
(defaults are shown)
|
11
|
+
// $grid_unit: em
|
12
|
+
// $total_cols: 12
|
13
|
+
// $col_width: 4
|
14
|
+
// $gutter_width: 1
|
15
|
+
// $side_gutter_width: $gutter_width
|
16
|
+
|
17
|
+
|
18
|
+
//**
|
19
|
+
OMEGA_FLOAT
|
20
|
+
By default, +omega elements are floated right.
|
21
|
+
You can override that globally here:
|
22
|
+
// $omega_float: right
|
23
|
+
|
24
|
+
|
25
|
+
//**
|
26
|
+
HACKS
|
27
|
+
Are you using hacks or conditional comments? Susy makes both possible.
|
28
|
+
Leave this as 'true' to use hacks, set it as false for conditional comments.
|
29
|
+
Conditional comments will require overrides for +omega, +inline-block and
|
30
|
+
several other mixins.
|
31
|
+
$hacks: true
|
32
|
+
|
33
|
+
//**
|
34
|
+
FONT-SIZE
|
35
|
+
un-comment and override these values as needed (defaults are shown)
|
36
|
+
- you set the font and line heights in pixels.
|
37
|
+
- Susy will do the math and give you $base_font_size and $base_line_height
|
38
|
+
variables, set flexibly against the common browser default of 16px
|
39
|
+
// $base_font_size_px: 16
|
40
|
+
// $base_line_height_px: 24
|
41
|
+
|
42
|
+
// COLORS
|
43
|
+
// set any colors you will need later
|
44
|
+
$font_color: #444444
|
45
|
+
$quiet_color: $font_color + #333333
|
46
|
+
$loud_color: $font_color - #222222
|
47
|
+
$header_color: $font_color - #111111
|
48
|
+
$link_color: #009999
|
49
|
+
$visited_color: #990099
|
50
|
+
$hover_color: $link_color - #333333
|
51
|
+
$focus_color: $hover_color
|
52
|
+
$active_color: $hover_color
|
data/lib/styles/all.sass
ADDED
@@ -0,0 +1,174 @@
|
|
1
|
+
@import susy/susy
|
2
|
+
|
3
|
+
@import helpers
|
4
|
+
|
5
|
+
@mixin default_admin_all
|
6
|
+
/* @group links */
|
7
|
+
:focus
|
8
|
+
outline: 1px dotted $quiet_color
|
9
|
+
color: $hover_color
|
10
|
+
|
11
|
+
a
|
12
|
+
&:link
|
13
|
+
color: $link_color
|
14
|
+
&:visited
|
15
|
+
color: $visited_color
|
16
|
+
&:focus,
|
17
|
+
&:hover,
|
18
|
+
&:active
|
19
|
+
color: $hover_color
|
20
|
+
text-decoration: none
|
21
|
+
/* @end */
|
22
|
+
|
23
|
+
|
24
|
+
/* @group headers */
|
25
|
+
.h
|
26
|
+
display: block
|
27
|
+
color: $header_color
|
28
|
+
font:
|
29
|
+
size: $base_line_height
|
30
|
+
weight: bold
|
31
|
+
@include serif-family
|
32
|
+
/* @end */
|
33
|
+
|
34
|
+
|
35
|
+
/* @group forms */
|
36
|
+
form *:focus
|
37
|
+
outline: none
|
38
|
+
|
39
|
+
fieldset
|
40
|
+
margin: $base_line_height 0
|
41
|
+
legend
|
42
|
+
font-weight: bold
|
43
|
+
font-variant: small-caps
|
44
|
+
.field
|
45
|
+
margin: 0
|
46
|
+
|
47
|
+
label
|
48
|
+
display block
|
49
|
+
margin-top: $base_line_height
|
50
|
+
|
51
|
+
legend + label
|
52
|
+
margin-top: 0
|
53
|
+
|
54
|
+
textarea,
|
55
|
+
input[type="text"]
|
56
|
+
color: $quiet_color
|
57
|
+
@include box-sizing("border-box")
|
58
|
+
width: 100%
|
59
|
+
/* @end */
|
60
|
+
|
61
|
+
|
62
|
+
/* @group tables */
|
63
|
+
/* tables still need 'cellspacing="0"' in the markup */
|
64
|
+
table
|
65
|
+
width: 100%
|
66
|
+
border: 1/16 + "em solid" $quiet_color + #333
|
67
|
+
left: none
|
68
|
+
right: none
|
69
|
+
padding: 7/16 + "em 0"
|
70
|
+
margin: 8/16 + "em 0"
|
71
|
+
|
72
|
+
tbody
|
73
|
+
color: $quiet_color
|
74
|
+
|
75
|
+
th
|
76
|
+
font-weight: bold
|
77
|
+
/* @end */
|
78
|
+
|
79
|
+
|
80
|
+
/* @group block tags */
|
81
|
+
p
|
82
|
+
margin: $base_line_height 0
|
83
|
+
|
84
|
+
ol
|
85
|
+
@include list-default("ol")
|
86
|
+
|
87
|
+
ul
|
88
|
+
@include list-default
|
89
|
+
|
90
|
+
blockquote
|
91
|
+
margin: $base_line_height
|
92
|
+
color: $quiet_color
|
93
|
+
/* @end */
|
94
|
+
|
95
|
+
|
96
|
+
/* @group inline tags */
|
97
|
+
cite
|
98
|
+
font-style: italic
|
99
|
+
color: $quiet_color
|
100
|
+
|
101
|
+
em
|
102
|
+
font-style: italic
|
103
|
+
|
104
|
+
strong
|
105
|
+
font-weight: bold
|
106
|
+
|
107
|
+
ins
|
108
|
+
text-decoration: underline
|
109
|
+
|
110
|
+
del
|
111
|
+
text-decoration: line-through
|
112
|
+
|
113
|
+
q
|
114
|
+
font-style: italic
|
115
|
+
em
|
116
|
+
font-style: normal
|
117
|
+
/* @end */
|
118
|
+
|
119
|
+
|
120
|
+
/* @group replaced tags */
|
121
|
+
img
|
122
|
+
vertical-align: bottom
|
123
|
+
/* @end */
|
124
|
+
|
125
|
+
|
126
|
+
/* @group STRUCTURE */
|
127
|
+
@include susy
|
128
|
+
|
129
|
+
body
|
130
|
+
@include sans-family
|
131
|
+
color: $font_color
|
132
|
+
line:
|
133
|
+
height: 1.625
|
134
|
+
font:
|
135
|
+
size: 16px
|
136
|
+
text:
|
137
|
+
align: center
|
138
|
+
padding: 0 1.5em
|
139
|
+
|
140
|
+
//
|
141
|
+
.clearfix
|
142
|
+
// @include clearfix
|
143
|
+
margin: 0
|
144
|
+
border: none
|
145
|
+
|
146
|
+
#branding
|
147
|
+
|
148
|
+
#main_menu
|
149
|
+
|
150
|
+
#content
|
151
|
+
|
152
|
+
#credits
|
153
|
+
|
154
|
+
#nodes_index
|
155
|
+
#content_overview
|
156
|
+
th,
|
157
|
+
td
|
158
|
+
padding: 0.25em 0.5em
|
159
|
+
white-space: nowrap
|
160
|
+
.node-title
|
161
|
+
white-space: normal
|
162
|
+
width: 100%
|
163
|
+
/* @end */
|
164
|
+
|
165
|
+
|
166
|
+
/* @group DEBUG */
|
167
|
+
// uncomment, adjust and use for debugging
|
168
|
+
//
|
169
|
+
#branding,
|
170
|
+
#main_menu,
|
171
|
+
#content,
|
172
|
+
#credits
|
173
|
+
@include show-grid('grid.png')
|
174
|
+
/* @end */
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path('../lib', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = 'scratch_pad-themes-default_admin'
|
6
|
+
s.version = '0.0.1'
|
7
|
+
s.platform = Gem::Platform::RUBY
|
8
|
+
s.authors = ['Raving Genius']
|
9
|
+
s.email = ['rg+code@ravinggenius.com']
|
10
|
+
s.homepage = 'https://github.com/ravinggenius/scratch_pad-themes-default_admin'
|
11
|
+
s.summary = %q{Default Admin ScratchPad theme}
|
12
|
+
#s.description = %q{TODO: Write a gem description}
|
13
|
+
|
14
|
+
s.rubyforge_project = 'scratch_pad-themes-default_admin'
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
s.require_paths = ['lib']
|
20
|
+
|
21
|
+
s.signing_key = '/home/thomas/Code/___/certificates/gem-private_key.pem'
|
22
|
+
s.cert_chain = [
|
23
|
+
'/home/thomas/Code/___/certificates/gem-public_cert.pem'
|
24
|
+
]
|
25
|
+
|
26
|
+
s.add_dependency 'compass-susy-plugin'
|
27
|
+
end
|
metadata
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: scratch_pad-themes-default_admin
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.1
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Raving Genius
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain:
|
12
|
+
- |
|
13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g5Q7vvTdS3WriewDc3APaa3la93ZRIEwbQjJASoS0EEAr1pw0
|
29
|
+
WKoA5gx4BqPJHT0QH4LE0MQoE4XB8I/Y3xs5OUwItZL1xWpiUixKpDIqB5zKtN0m
|
30
|
+
EtSgImjQmbN559J/qAn31487zcviSWdGfNkLGT/rfVaLd6lg1VVgA5k5tG6roxiJ
|
31
|
+
CvvfejGH+Hi4YXI1pPhLJj8g
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
|
34
|
+
date: 2011-02-25 00:00:00 -05:00
|
35
|
+
default_executable:
|
36
|
+
dependencies:
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: compass-susy-plugin
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "0"
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id001
|
48
|
+
description:
|
49
|
+
email:
|
50
|
+
- rg+code@ravinggenius.com
|
51
|
+
executables: []
|
52
|
+
|
53
|
+
extensions: []
|
54
|
+
|
55
|
+
extra_rdoc_files: []
|
56
|
+
|
57
|
+
files:
|
58
|
+
- .gitignore
|
59
|
+
- Gemfile
|
60
|
+
- Rakefile
|
61
|
+
- lib/scratch_pad-themes-default_admin/default_admin.rb
|
62
|
+
- lib/styles/_helpers.sass
|
63
|
+
- lib/styles/_variables.sass
|
64
|
+
- lib/styles/all.sass
|
65
|
+
- scratch_pad-themes-default_admin.gemspec
|
66
|
+
has_rdoc: true
|
67
|
+
homepage: https://github.com/ravinggenius/scratch_pad-themes-default_admin
|
68
|
+
licenses: []
|
69
|
+
|
70
|
+
post_install_message:
|
71
|
+
rdoc_options: []
|
72
|
+
|
73
|
+
require_paths:
|
74
|
+
- lib
|
75
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: "0"
|
81
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: "0"
|
87
|
+
requirements: []
|
88
|
+
|
89
|
+
rubyforge_project: scratch_pad-themes-default_admin
|
90
|
+
rubygems_version: 1.5.2
|
91
|
+
signing_key:
|
92
|
+
specification_version: 3
|
93
|
+
summary: Default Admin ScratchPad theme
|
94
|
+
test_files: []
|
95
|
+
|
metadata.gz.sig
ADDED
Binary file
|