rails_admin_glyph_theme 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +10 -0
  4. data/Rakefile +27 -0
  5. data/lib/rails_admin_glyph_theme.rb +4 -0
  6. data/lib/rails_admin_glyph_theme/engine.rb +7 -0
  7. data/lib/rails_admin_glyph_theme/version.rb +3 -0
  8. data/vendor/assets/javascripts/rails_admin_glyph_theme/lib/bootstrap-fileupload.min.js +7 -0
  9. data/vendor/assets/javascripts/rails_admin_glyph_theme/lib/bootstrap-select.min.js +1 -0
  10. data/vendor/assets/javascripts/rails_admin_glyph_theme/lib/custom_checkbox_and_radio.js +42 -0
  11. data/vendor/assets/javascripts/rails_admin_glyph_theme/lib/custom_radio.js +28 -0
  12. data/vendor/assets/javascripts/rails_admin_glyph_theme/lib/modernizr-custom.js +12 -0
  13. data/vendor/assets/javascripts/rails_admin_glyph_theme/lib/spinner.js +198 -0
  14. data/vendor/assets/javascripts/rails_admin_glyph_theme/src/glyph-theme.coffee +125 -0
  15. data/vendor/assets/javascripts/rails_admin_glyph_theme/theme.js +3 -0
  16. data/vendor/assets/stylesheets/rails_admin/themes/glyph/_bootstrap-fileupload.css +128 -0
  17. data/vendor/assets/stylesheets/rails_admin/themes/glyph/_bootstrap-select.min.css +1 -0
  18. data/vendor/assets/stylesheets/rails_admin/themes/glyph/_button.css.sass +27 -0
  19. data/vendor/assets/stylesheets/rails_admin/themes/glyph/_dropdown.css.sass +37 -0
  20. data/vendor/assets/stylesheets/rails_admin/themes/glyph/_form.css.sass +137 -0
  21. data/vendor/assets/stylesheets/rails_admin/themes/glyph/_fuelUX.css.sass +95 -0
  22. data/vendor/assets/stylesheets/rails_admin/themes/glyph/_jquery-ui.css.sass +147 -0
  23. data/vendor/assets/stylesheets/rails_admin/themes/glyph/_middle-content.css.sass +164 -0
  24. data/vendor/assets/stylesheets/rails_admin/themes/glyph/_navigation.css.sass +87 -0
  25. data/vendor/assets/stylesheets/rails_admin/themes/glyph/_rich-editor.css.sass +63 -0
  26. data/vendor/assets/stylesheets/rails_admin/themes/glyph/_scrollbar.css.sass +67 -0
  27. data/vendor/assets/stylesheets/rails_admin/themes/glyph/images/sprites-arrows-hor.png +0 -0
  28. data/vendor/assets/stylesheets/rails_admin/themes/glyph/images/sprites-arrows-vert.png +0 -0
  29. data/vendor/assets/stylesheets/rails_admin/themes/glyph/mixins.css.sass +29 -0
  30. data/vendor/assets/stylesheets/rails_admin/themes/glyph/theming.css.sass +96 -0
  31. data/vendor/assets/stylesheets/rails_admin/themes/glyph/variables.css.sass +230 -0
  32. metadata +73 -0
@@ -0,0 +1,230 @@
1
+ // ------------------------ Padding ------------------------- //
2
+ $paddingLarge: 11px 19px // 44px
3
+ $paddingSmall: 2px 10px // 26px
4
+ $paddingMini: 0px 6px // 22px
5
+
6
+ // ------------------------ Radius ------------------------- //
7
+ $baseBorderRadius: 1px
8
+ $borderRadiusLarge: 2px
9
+ $borderRadiusSmall: 0px
10
+
11
+ // ------------------------ Colors ------------------------- //
12
+ $black: #000
13
+
14
+ $grayDark: #333
15
+ $grayDarker: #222
16
+ $gray: #555
17
+ $grayLight: #999
18
+ $grayLighter: #eee
19
+
20
+ $white: #fff
21
+ $whiteDark: #FAFAFA
22
+ $whiteDarker: #DDD
23
+
24
+ $blue: #008bc5
25
+ $blueDark: #0060c5
26
+
27
+ $green: #46a546
28
+ $red: #9d261d
29
+ $yellow: #ffc40d
30
+ $orange: #f89406
31
+ $pink: #c3325f
32
+ $purple: #7a43b6
33
+
34
+ // ------------------------ Scaffolding ------------------------- //
35
+ $bodyBackground: $white
36
+ $textColor: $grayDark
37
+
38
+ // ------------------------ Links ------------------------------ //
39
+ $linkColor: $grayDarker
40
+ $linkColorHover: lighten($linkColor, 5%)
41
+
42
+ // ------------------------ Typography ------------------------- //
43
+ $hrBorder: $grayLighter
44
+
45
+ $sansFontFamily: 'Helvetica Neue', Helvetica, Arial, sans-serif
46
+ $serifFontFamily: Georgia, 'Times New Roman', Times, serif
47
+ $monoFontFamily: Monaco, Menlo, Consolas, 'Courier New', monospace
48
+ $baseFontSize: 14px
49
+ $baseLineHeight: 20px
50
+ $headingsColor: inherit
51
+ $headingsFontFamily: inherit
52
+ $headingsFontWeight: bold
53
+ $baseFontFamily: $sansFontFamily
54
+ $altFontFamily: $serifFontFamily
55
+
56
+ // ------------------------ Navigation ------------------------- //
57
+ $navbarHeight: 50px
58
+ $navbarBackground: $whiteDark
59
+ $navbarBackgroundHighlight: $grayLighter
60
+ $navbarBorder: $whiteDarker
61
+
62
+ $navbarText: $gray
63
+
64
+ $navbarLinkColor: $gray
65
+ $navbarLinkColorHover: $grayDark
66
+ $navbarLinkColorActive: $grayDarker
67
+ $navbarLinkBackgroundHover: $whiteDark
68
+ $navbarLinkBackgroundActive: $whiteDark
69
+
70
+ $navbarBrandColor: $navbarLinkColor
71
+
72
+ $navbarSearchBackground: lighten($navbarBackground, 25%)
73
+ $navbarSearchBackgroundFocus: $black
74
+ $navbarSearchBorder: darken($navbarSearchBackground, 30%)
75
+ $navbarSearchPlaceholderColor: $gray
76
+
77
+ $navbarCollapseWidth: 979px
78
+ $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1
79
+
80
+ // ------------------------ Tables ----------------------------- //
81
+ $tableBackground: transparent
82
+ $tableBackgroundAccent: #F9F9F9
83
+ $tableBackgroundHover: #F5F5F5
84
+ $tableBorder: #DDDDDD
85
+
86
+ // ------------------------ Forms ------------------------------ //
87
+ $horizontalComponentOffset: 180px
88
+ $placeholderText: $grayLight
89
+
90
+ $inputHeight: $baseLineHeight + 10px
91
+ $inputBackground: $white
92
+ $inputBorder: $whiteDarker
93
+ $inputBorderRadius: $baseBorderRadius
94
+ $inputDisabledBackground: $grayLighter
95
+
96
+ $formActionsBackground: transparent
97
+
98
+ // ------------------------ Buttons ---------------------------- //
99
+ $btnBorder: $whiteDarker
100
+
101
+ $btnBackground: $white
102
+ $btnBackgroundHighlight: darken($btnBackground, 3%)
103
+
104
+ $btnPrimaryBackground: lighten($blueDark, 5%)
105
+ $btnPrimaryBackgroundHighlight: darken($btnPrimaryBackground, 5%)
106
+
107
+ $btnInfoBackground: lighten($blue, 5%)
108
+ $btnInfoBackgroundHighlight: darken($btnInfoBackground, 5%)
109
+
110
+ $btnSuccessBackground: lighten($green, 5%)
111
+ $btnSuccessBackgroundHighlight: darken($green, 5%)
112
+
113
+ $btnWarningBackground: lighten($orange, 5%)
114
+ $btnWarningBackgroundHighlight: darken($orange, 5%)
115
+
116
+ $btnDangerBackground: lighten($red, 5%)
117
+ $btnDangerBackgroundHighlight: darken($red, 0%)
118
+
119
+ $btnInverseBackground: lighten($black, 35%)
120
+ $btnInverseBackgroundHighlight: darken($black, 5%)
121
+
122
+ // ------------------- Form states & alerts -------------------- //
123
+ $warningText: #c09853 !default
124
+ $warningBackground: #fcf8e3 !default
125
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default
126
+
127
+ $errorText: #b94a48 !default
128
+ $errorBackground: #f2dede !default
129
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default
130
+
131
+ $successText: #468847 !default
132
+ $successBackground: #dff0d8 !default
133
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%) !default
134
+
135
+ $infoText: #3a87ad !default
136
+ $infoBackground: #d9edf7 !default
137
+ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default
138
+
139
+ // ---------------------------- Well --------------------------- //
140
+ $wellBackground: $whiteDark
141
+
142
+
143
+ // ----------------- Sprite icons path DISABLE ---------------- //
144
+ $iconSpritePath: ""
145
+ $iconWhiteSpritePath: ""
146
+
147
+ // ---------------------------- HeroUnit ----------------------- //
148
+ $heroUnitBackground: $grayDarker
149
+ $heroUnitHeadingColor: $grayLighter
150
+ $heroUnitLeadColor: $grayLight
151
+
152
+ // ---------------------------- Dropdown ----------------------- //
153
+ $dropdownBackground: $white
154
+ $dropdownBorder: $whiteDarker
155
+
156
+ $dropdownDividerBottom: whiteSmoke
157
+ $dropdownDividerTop: whiteSmoke
158
+
159
+ $dropdownLinkColor: $grayLight
160
+ $dropdownLinkColorHover: $gray
161
+ $dropdownLinkColorActive: $gray
162
+
163
+ $dropdownLinkBackgroundHover: $whiteDark
164
+ $dropdownLinkBackgroundActive: $grayLighter
165
+
166
+ // ---------------------------- Tooltip ------------------------ //
167
+ $tooltipColor: #fff
168
+ $tooltipBackground: #000
169
+ $tooltipArrowWidth: 5px
170
+ $tooltipArrowColor: $tooltipBackground
171
+
172
+ // ---------------------------- Popover ------------------------ //
173
+ $popoverBackground: #fff
174
+ $popoverArrowWidth: 10px
175
+ $popoverArrowColor: #fff
176
+ $popoverTitleBackground: darken($popoverBackground, 3%)
177
+ $popoverArrowOuterWidth: $popoverArrowWidth + 1
178
+ $popoverArrowOuterColor: rgba(0,0,0,.25)
179
+
180
+ // --------------- Special enhancement for popovers ------------ //
181
+ $popoverArrowOuterWidth: $popoverArrowWidth + 1 !default
182
+ $popoverArrowOuterColor: rgba(0,0,0,.25) !default
183
+
184
+ // -------------------------- Pagination ------------------------- //
185
+ $paginationBackground: $grayLight
186
+ $paginationBorder: transparent
187
+ $paginationActiveBackground: $grayLighter
188
+
189
+ // ----------------------------- Grids --------------------------- //
190
+ $gridColumns: 12
191
+ $gridColumnWidth: 60px
192
+ $gridGutterWidth: 20px
193
+
194
+ // ---------------------------- Tree --------------------------- //
195
+ $treeBackgroundHover: #DFEEF5
196
+ $treeBackgroundSelect: #B9DFF1
197
+
198
+
199
+ // stuff you really shouldnt change
200
+
201
+ // Based on 14px font-size and 20px line-height
202
+ $fontSizeLarge: $baseFontSize * 1.25 // ~18px
203
+ $fontSizeSmall: $baseFontSize * 0.85 // ~12px
204
+ $fontSizeMini: $baseFontSize * 0.75 // ~11px
205
+
206
+ $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1))
207
+ $gridColumnWidth1200: 70px
208
+ $gridGutterWidth1200: 30px
209
+ $gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1))
210
+
211
+ $gridColumnWidth768: 42px
212
+ $gridGutterWidth768: 20px
213
+ $gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1))
214
+
215
+ $fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth)
216
+ $fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth)
217
+
218
+ $fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200)
219
+ $fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200)
220
+
221
+ $fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768)
222
+ $fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768)
223
+
224
+ $zindexDropdown: 1000
225
+ $zindexFixedNavbar: 1030
226
+ $zindexModal: 1050
227
+ $zindexModalBackdrop: 1040
228
+ $zindexPopover: 1010
229
+ $zindexTooltip: 1030
230
+
metadata ADDED
@@ -0,0 +1,73 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_admin_glyph_theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Xana68
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-10-14 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Flat design for Rails_admin.
14
+ email:
15
+ - alex@glyph.fr
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/rails_admin_glyph_theme/engine.rb
21
+ - lib/rails_admin_glyph_theme/version.rb
22
+ - lib/rails_admin_glyph_theme.rb
23
+ - vendor/assets/javascripts/rails_admin_glyph_theme/lib/bootstrap-fileupload.min.js
24
+ - vendor/assets/javascripts/rails_admin_glyph_theme/lib/bootstrap-select.min.js
25
+ - vendor/assets/javascripts/rails_admin_glyph_theme/lib/custom_checkbox_and_radio.js
26
+ - vendor/assets/javascripts/rails_admin_glyph_theme/lib/custom_radio.js
27
+ - vendor/assets/javascripts/rails_admin_glyph_theme/lib/modernizr-custom.js
28
+ - vendor/assets/javascripts/rails_admin_glyph_theme/lib/spinner.js
29
+ - vendor/assets/javascripts/rails_admin_glyph_theme/src/glyph-theme.coffee
30
+ - vendor/assets/javascripts/rails_admin_glyph_theme/theme.js
31
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/_bootstrap-fileupload.css
32
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/_bootstrap-select.min.css
33
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/_button.css.sass
34
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/_dropdown.css.sass
35
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/_form.css.sass
36
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/_fuelUX.css.sass
37
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/_jquery-ui.css.sass
38
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/_middle-content.css.sass
39
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/_navigation.css.sass
40
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/_rich-editor.css.sass
41
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/_scrollbar.css.sass
42
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/images/sprites-arrows-hor.png
43
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/images/sprites-arrows-vert.png
44
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/mixins.css.sass
45
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/theming.css.sass
46
+ - vendor/assets/stylesheets/rails_admin/themes/glyph/variables.css.sass
47
+ - MIT-LICENSE
48
+ - Rakefile
49
+ - README.rdoc
50
+ homepage: http://www.glyph.fr
51
+ licenses: []
52
+ metadata: {}
53
+ post_install_message:
54
+ rdoc_options: []
55
+ require_paths:
56
+ - lib
57
+ required_ruby_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ requirements: []
68
+ rubyforge_project:
69
+ rubygems_version: 2.1.8
70
+ signing_key:
71
+ specification_version: 4
72
+ summary: RailsAdminGlyphTheme.
73
+ test_files: []