compass_radix 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ //
2
+ // User
3
+ // Styles for User pages
4
+ // --------------------------------------------------
@@ -0,0 +1,300 @@
1
+ //
2
+ // Variables
3
+ // --------------------------------------------------
4
+
5
+ // Global values
6
+ // --------------------------------------------------
7
+
8
+
9
+ // Grays
10
+ // -------------------------
11
+ $black: #000 !default;
12
+ $grayDarker: #222 !default;
13
+ $grayDark: #333 !default;
14
+ $gray: #555 !default;
15
+ $grayLight: #999 !default;
16
+ $grayLighter: #eee !default;
17
+ $white: #fff !default;
18
+
19
+
20
+ // Accent colors
21
+ // -------------------------
22
+ $blue: #049cdb !default;
23
+ $blueDark: #0064cd !default;
24
+ $green: #46a546 !default;
25
+ $red: #9d261d !default;
26
+ $yellow: #ffc40d !default;
27
+ $orange: #f89406 !default;
28
+ $pink: #c3325f !default;
29
+ $purple: #7a43b6 !default;
30
+
31
+
32
+ // Scaffolding
33
+ // -------------------------
34
+ $bodyBackground: $white !default;
35
+ $textColor: $grayDark !default;
36
+
37
+
38
+ // Links
39
+ // -------------------------
40
+ $linkColor: #08c !default;
41
+ $linkColorHover: darken($linkColor, 15%) !default;
42
+
43
+
44
+ // Typography
45
+ // -------------------------
46
+ $sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
47
+ $serifFontFamily: Georgia, "Times New Roman", Times, serif !default;
48
+ $monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace !default;
49
+
50
+ $baseFontSize: 14px !default;
51
+ $baseFontFamily: $sansFontFamily !default;
52
+ $baseLineHeight: 20px !default;
53
+ $altFontFamily: $serifFontFamily !default;
54
+
55
+ $headingsFontFamily: inherit; // empty to use BS default, $baseFontFamily
56
+ $headingsFontWeight: bold; // instead of browser default, bold
57
+ $headingsColor: inherit; // empty to use BS default, $textColor
58
+
59
+
60
+ // Component sizing
61
+ // -------------------------
62
+ // Based on 14px font-size and 20px line-height
63
+
64
+ $fontSizeLarge: $baseFontSize * 1.25; // ~18px
65
+ $fontSizeSmall: $baseFontSize * 0.85; // ~12px
66
+ $fontSizeMini: $baseFontSize * 0.75; // ~11px
67
+
68
+ $paddingLarge: 11px 19px; // 44px
69
+ $paddingSmall: 2px 10px; // 26px
70
+ $paddingMini: 0 6px; // 22px
71
+
72
+ $baseBorderRadius: 4px !default;
73
+ $borderRadiusLarge: 6px !default;
74
+ $borderRadiusSmall: 3px !default;
75
+
76
+
77
+ // Tables
78
+ // -------------------------
79
+ $tableBackground: transparent; // overall background-color
80
+ $tableBackgroundAccent: #f9f9f9; // for striping
81
+ $tableBackgroundHover: #f5f5f5; // for hover
82
+ $tableBorder: #ddd; // table and cell border
83
+
84
+ // Buttons
85
+ // -------------------------
86
+ $btnBackground: $white !default;
87
+ $btnBackgroundHighlight: darken($white, 10%) !default;
88
+ $btnBorder: #bbb !default;
89
+
90
+ $btnPrimaryBackground: $linkColor !default;
91
+ $btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 20%) !default;
92
+
93
+ $btnInfoBackground: #5bc0de !default;
94
+ $btnInfoBackgroundHighlight: #2f96b4 !default;
95
+
96
+ $btnSuccessBackground: #62c462 !default;
97
+ $btnSuccessBackgroundHighlight: #51a351 !default;
98
+
99
+ $btnWarningBackground: lighten($orange, 15%) !default;
100
+ $btnWarningBackgroundHighlight: $orange !default;
101
+
102
+ $btnDangerBackground: #ee5f5b !default;
103
+ $btnDangerBackgroundHighlight: #bd362f !default;
104
+
105
+ $btnInverseBackground: #444 !default;
106
+ $btnInverseBackgroundHighlight: $grayDarker !default;
107
+
108
+
109
+ // Forms
110
+ // -------------------------
111
+ $inputBackground: $white !default;
112
+ $inputBorder: #ccc !default;
113
+ $inputBorderRadius: $baseBorderRadius !default;
114
+ $inputDisabledBackground: $grayLighter !default;
115
+ $formActionsBackground: #f5f5f5 !default;
116
+ $inputHeight: $baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
117
+
118
+
119
+ // Dropdowns
120
+ // -------------------------
121
+ $dropdownBackground: $white !default;
122
+ $dropdownBorder: rgba(0,0,0,.2) !default;
123
+ $dropdownDividerTop: #e5e5e5 !default;
124
+ $dropdownDividerBottom: $white !default;
125
+
126
+ $dropdownLinkColor: $grayDark !default;
127
+ $dropdownLinkColorHover: $white !default;
128
+ $dropdownLinkColorActive: $white !default;
129
+
130
+ $dropdownLinkBackgroundActive: $linkColor !default;
131
+ $dropdownLinkBackgroundHover: $dropdownLinkBackgroundActive !default;
132
+
133
+
134
+
135
+ // COMPONENT VARIABLES
136
+ // --------------------------------------------------
137
+
138
+
139
+ // Z-index master list
140
+ // -------------------------
141
+ // Used for a bird's eye view of components dependent on the z-axis
142
+ // Try to avoid customizing these :)
143
+ $zindexDropdown: 1000 !default;
144
+ $zindexPopover: 1010 !default;
145
+ $zindexTooltip: 1030 !default;
146
+ $zindexFixedNavbar: 1030 !default;
147
+ $zindexModalBackdrop: 1040 !default;
148
+ $zindexModal: 1050 !default;
149
+
150
+
151
+ // Sprite icons path
152
+ // -------------------------
153
+ $iconSpritePath: "glyphicons-halflings.png" !default;
154
+ $iconWhiteSpritePath: "glyphicons-halflings-white.png" !default;
155
+
156
+
157
+ // Input placeholder text color
158
+ // -------------------------
159
+ $placeholderText: $grayLight !default;
160
+
161
+
162
+ // Hr border color
163
+ // -------------------------
164
+ $hrBorder: $grayLighter !default;
165
+
166
+
167
+ // Horizontal forms & lists
168
+ // -------------------------
169
+ $horizontalComponentOffset: 180px !default;
170
+
171
+
172
+ // Wells
173
+ // -------------------------
174
+ $wellBackground: #f5f5f5 !default;
175
+
176
+
177
+ // Navbar
178
+ // -------------------------
179
+ $navbarCollapseWidth: 979px !default;
180
+ $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1 !default;
181
+
182
+ $navbarHeight: 40px !default;
183
+ $navbarBackgroundHighlight: #ffffff !default;
184
+ $navbarBackground: darken($navbarBackgroundHighlight, 5%) !default;
185
+ $navbarBorder: darken($navbarBackground, 12%) !default;
186
+
187
+ $navbarText: #777 !default;
188
+ $navbarLinkColor: #777 !default;
189
+ $navbarLinkColorHover: $grayDark !default;
190
+ $navbarLinkColorActive: $gray !default;
191
+ $navbarLinkBackgroundHover: transparent !default;
192
+ $navbarLinkBackgroundActive: darken($navbarBackground, 5%) !default;
193
+
194
+ $navbarBrandColor: $navbarLinkColor !default;
195
+
196
+ // Inverted navbar
197
+ $navbarInverseBackground: #111111 !default;
198
+ $navbarInverseBackgroundHighlight: #222222 !default;
199
+ $navbarInverseBorder: #252525 !default;
200
+
201
+ $navbarInverseText: $grayLight !default;
202
+ $navbarInverseLinkColor: $grayLight !default;
203
+ $navbarInverseLinkColorHover: $white !default;
204
+ $navbarInverseLinkColorActive: $navbarInverseLinkColorHover !default;
205
+ $navbarInverseLinkBackgroundHover: transparent !default;
206
+ $navbarInverseLinkBackgroundActive: $navbarInverseBackground !default;
207
+
208
+ $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%) !default;
209
+ $navbarInverseSearchBackgroundFocus: $white !default;
210
+ $navbarInverseSearchBorder: $navbarInverseBackground !default;
211
+ $navbarInverseSearchPlaceholderColor: #ccc !default;
212
+
213
+ $navbarInverseBrandColor: $navbarInverseLinkColor !default;
214
+
215
+
216
+ // Pagination
217
+ // -------------------------
218
+ $paginationBackground: #fff !default;
219
+ $paginationBorder: #ddd !default;
220
+ $paginationActiveBackground: #f5f5f5 !default;
221
+
222
+
223
+ // Hero unit
224
+ // -------------------------
225
+ $heroUnitBackground: $grayLighter !default;
226
+ $heroUnitHeadingColor: inherit !default;
227
+ $heroUnitLeadColor: inherit !default;
228
+
229
+
230
+ // Form states and alerts
231
+ // -------------------------
232
+ $warningText: #c09853 !default;
233
+ $warningBackground: #fcf8e3 !default;
234
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
235
+
236
+ $errorText: #b94a48 !default;
237
+ $errorBackground: #f2dede !default;
238
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
239
+
240
+ $successText: #468847 !default;
241
+ $successBackground: #dff0d8 !default;
242
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
243
+
244
+ $infoText: #3a87ad !default;
245
+ $infoBackground: #d9edf7 !default;
246
+ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
247
+
248
+
249
+ // Tooltips and popovers
250
+ // -------------------------
251
+ $tooltipColor: #fff !default;
252
+ $tooltipBackground: #000 !default;
253
+ $tooltipArrowWidth: 5px !default;
254
+ $tooltipArrowColor: $tooltipBackground !default;
255
+
256
+ $popoverBackground: #fff !default;
257
+ $popoverArrowWidth: 10px !default;
258
+ $popoverArrowColor: #fff !default;
259
+ $popoverTitleBackground: darken($popoverBackground, 3%) !default;
260
+
261
+ // Special enhancement for popovers
262
+ $popoverArrowOuterWidth: $popoverArrowWidth + 1 !default;
263
+ $popoverArrowOuterColor: rgba(0,0,0,.25) !default;
264
+
265
+
266
+
267
+ // GRID
268
+ // --------------------------------------------------
269
+
270
+
271
+ // Default 940px grid
272
+ // -------------------------
273
+ $gridColumns: 12 !default;
274
+ $gridColumnWidth: 60px !default;
275
+ $gridGutterWidth: 20px !default;
276
+ $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
277
+
278
+ // 1200px min
279
+ $gridColumnWidth1200: 70px !default;
280
+ $gridGutterWidth1200: 30px !default;
281
+ $gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1)) !default;
282
+
283
+ // 768px-979px
284
+ $gridColumnWidth768: 42px !default;
285
+ $gridGutterWidth768: 20px !default;
286
+ $gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1)) !default;
287
+
288
+
289
+ // Fluid grid
290
+ // -------------------------
291
+ $fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth) !default;
292
+ $fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth) !default;
293
+
294
+ // 1200px min
295
+ $fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200) !default;
296
+ $fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200) !default;
297
+
298
+ // 768px-979px
299
+ $fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768) !default;
300
+ $fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768) !default;
@@ -0,0 +1,3 @@
1
+ // View
2
+ // Styles for Views
3
+ // --------------------------------------------------
@@ -0,0 +1,3 @@
1
+ // Radix Drupal theme
2
+ // --------------------------------------------------
3
+ @import "compass_radix";
@@ -0,0 +1,7 @@
1
+ stylesheet '_compass_radix.scss', :media => 'screen, projection'
2
+
3
+ description "A Compass plugin for the Drupal Radix theme"
4
+
5
+ help %Q{
6
+ See http://drupal.org/project/radix for documentation and help.
7
+ }
metadata ADDED
@@ -0,0 +1,80 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: compass_radix
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Arshad Chummun
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-01-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: compass
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0.11'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0.11'
30
+ description: A compass extension for the Drupal Radix theme. See http://drupal.org/project/radix
31
+ email: arshad@chummun.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - README.md
37
+ - lib/compass_radix.rb
38
+ - stylesheets/_compass_radix.scss
39
+ - stylesheets/compass_radix/_contrib.scss
40
+ - stylesheets/compass_radix/_font.scss
41
+ - stylesheets/compass_radix/_form.scss
42
+ - stylesheets/compass_radix/_layout.scss
43
+ - stylesheets/compass_radix/_maintenance.scss
44
+ - stylesheets/compass_radix/_menu.scss
45
+ - stylesheets/compass_radix/_mixin.scss
46
+ - stylesheets/compass_radix/_navbar.scss
47
+ - stylesheets/compass_radix/_node.scss
48
+ - stylesheets/compass_radix/_page.scss
49
+ - stylesheets/compass_radix/_panel.scss
50
+ - stylesheets/compass_radix/_structure.scss
51
+ - stylesheets/compass_radix/_user.scss
52
+ - stylesheets/compass_radix/_variable.scss
53
+ - stylesheets/compass_radix/_view.scss
54
+ - templates/project/_compass_radix.scss
55
+ - templates/project/manifest.rb
56
+ homepage: http://arshad.github.com/
57
+ licenses: []
58
+ post_install_message:
59
+ rdoc_options: []
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ! '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ requirements: []
75
+ rubyforge_project:
76
+ rubygems_version: 1.8.24
77
+ signing_key:
78
+ specification_version: 3
79
+ summary: a compass extension for the Drupal Radix theme
80
+ test_files: []