hierapolis-rails 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +22 -0
- data/README.md +42 -0
- data/Rakefile +1 -0
- data/hierapolis-rails.gemspec +23 -0
- data/lib/hierapolis/rails.rb +8 -0
- data/lib/hierapolis/rails/version.rb +5 -0
- data/vendor/assets/images/apple-touch-icon-114x114-precomposed.png +0 -0
- data/vendor/assets/images/apple-touch-icon-144x144-precomposed.png +0 -0
- data/vendor/assets/images/apple-touch-icon-57x57-precomposed.png +0 -0
- data/vendor/assets/images/apple-touch-icon-72x72-precomposed.png +0 -0
- data/vendor/assets/images/apple-touch-icon-precomposed.png +0 -0
- data/vendor/assets/images/apple-touch-icon.png +0 -0
- data/vendor/assets/images/favicon.ico +0 -0
- data/vendor/assets/images/sprite.png +0 -0
- data/vendor/assets/javascripts/hierapolis.js.coffee +27 -0
- data/vendor/assets/javascripts/vendor/html5shiv.js +8 -0
- data/vendor/assets/javascripts/vendor/jquery.knob.js +685 -0
- data/vendor/assets/javascripts/vendor/plugins.js +24 -0
- data/vendor/assets/stylesheets/_bootstrap_overrides.css.sass +42 -0
- data/vendor/assets/stylesheets/_color-swatches.css.sass +31 -0
- data/vendor/assets/stylesheets/_mixins.css.sass +4 -0
- data/vendor/assets/stylesheets/_variables.css.sass +41 -0
- data/vendor/assets/stylesheets/hierapolis.css.sass +295 -0
- metadata +98 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
// Avoid `console` errors in browsers that lack a console.
|
2
|
+
(function() {
|
3
|
+
var method;
|
4
|
+
var noop = function () {};
|
5
|
+
var methods = [
|
6
|
+
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
|
7
|
+
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
|
8
|
+
'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd',
|
9
|
+
'timeStamp', 'trace', 'warn'
|
10
|
+
];
|
11
|
+
var length = methods.length;
|
12
|
+
var console = (window.console = window.console || {});
|
13
|
+
|
14
|
+
while (length--) {
|
15
|
+
method = methods[length];
|
16
|
+
|
17
|
+
// Only stub undefined methods.
|
18
|
+
if (!console[method]) {
|
19
|
+
console[method] = noop;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}());
|
23
|
+
|
24
|
+
// Place any jQuery/helper plugins in here.
|
@@ -0,0 +1,42 @@
|
|
1
|
+
// Bootstrap overrides
|
2
|
+
|
3
|
+
// Navbars
|
4
|
+
.navbar-nav > li > .dropdown-menu // Add arrow and border radius from dropdowns
|
5
|
+
+border-radius(5px)
|
6
|
+
&:after
|
7
|
+
content: ''
|
8
|
+
display: inline-block
|
9
|
+
border-left: 6px solid transparent
|
10
|
+
border-right: 6px solid transparent
|
11
|
+
border-bottom: 6px solid $dropdown-bg
|
12
|
+
position: absolute
|
13
|
+
top: -6px
|
14
|
+
right: 20px
|
15
|
+
|
16
|
+
//Panels
|
17
|
+
.panel // Remove box shadow from panels
|
18
|
+
+box-shadow(none)
|
19
|
+
// Panel heading styles
|
20
|
+
.panel-heading
|
21
|
+
text-align: left
|
22
|
+
background-color: lighten($panel-heading-bg, 3)
|
23
|
+
color: $base-dark-color
|
24
|
+
i[class*='icon-']
|
25
|
+
margin-right: 5px
|
26
|
+
.panel-footer
|
27
|
+
background-color: lighten($panel-heading-bg, 3)
|
28
|
+
.pull-right
|
29
|
+
padding-top: 5px
|
30
|
+
|
31
|
+
// Buttons
|
32
|
+
.btn
|
33
|
+
padding: 6px 12px
|
34
|
+
|
35
|
+
// Form elements
|
36
|
+
.radio, .checkbox
|
37
|
+
margin-top: 0
|
38
|
+
|
39
|
+
// Tables
|
40
|
+
.table
|
41
|
+
@extend .table-striped
|
42
|
+
@extend .table-hover
|
@@ -0,0 +1,31 @@
|
|
1
|
+
// Flat Color Swatches by Flat-ui (http://designmodo.github.io/Flat-UI/)
|
2
|
+
|
3
|
+
$turquoise: #1abc9c
|
4
|
+
$green-sea: #16a085
|
5
|
+
|
6
|
+
$emerald: #2ecc71
|
7
|
+
$nephritis: #27ae60
|
8
|
+
|
9
|
+
$peter-river: #3498db
|
10
|
+
$belize-hole: #2980b9
|
11
|
+
|
12
|
+
$amethyst: #9b59b6
|
13
|
+
$wisteria: #8e44ad
|
14
|
+
|
15
|
+
$wet-asphalt: #34495e
|
16
|
+
$midnight-blue: #2c3e50
|
17
|
+
|
18
|
+
$sun-flower: #f1c40f
|
19
|
+
$orange: #f39c12
|
20
|
+
|
21
|
+
$carrot: #e67e22
|
22
|
+
$pumpkin: #d35400
|
23
|
+
|
24
|
+
$alizarin: #e74c3c
|
25
|
+
$pomegranate: #c0392b
|
26
|
+
|
27
|
+
$clouds: #ecf0f1
|
28
|
+
$silver: #bdc3c7
|
29
|
+
|
30
|
+
$concrete: #95a5a6
|
31
|
+
$asbestos: #7f8c8d
|
@@ -0,0 +1,41 @@
|
|
1
|
+
@import 'color-swatches'
|
2
|
+
|
3
|
+
// Globals
|
4
|
+
$base-color: $turquoise
|
5
|
+
$base-dark-color: $midnight-blue
|
6
|
+
$base-dark-color-alternative: $wet-asphalt
|
7
|
+
|
8
|
+
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
|
9
|
+
|
10
|
+
$brand-font-size: 1.8em
|
11
|
+
|
12
|
+
$body-bg-primary: $silver
|
13
|
+
$body-bg-secondary: $asbestos
|
14
|
+
|
15
|
+
$wrapper-corner-size: 15px
|
16
|
+
$sidebar-width: 80px
|
17
|
+
$sidebar-bg: $base-dark-color
|
18
|
+
|
19
|
+
$dock-bg: $sidebar-bg
|
20
|
+
$dock-active-icon-color: $base-color
|
21
|
+
$dock-link-font-size: .8em
|
22
|
+
|
23
|
+
$animation-duration: .4s
|
24
|
+
|
25
|
+
$box-shadow-color: rgba(black, 0.04)
|
26
|
+
|
27
|
+
// Bootstrap Overrides
|
28
|
+
$brand-primary: $base-color
|
29
|
+
$brand-success: $brand-primary
|
30
|
+
|
31
|
+
$navbar-default-bg: rgba(0,0,0,0)
|
32
|
+
$navbar-default-brand-color: $base-dark-color
|
33
|
+
$navbar-default-brand-hover-color: lighten($base-dark-color, 5)
|
34
|
+
|
35
|
+
$breadcrumb-bg: $clouds
|
36
|
+
$panel-heading-bg: $clouds
|
37
|
+
|
38
|
+
$dropdown-bg: $sidebar-bg
|
39
|
+
$dropdown-border: darken($dropdown-bg, 10) !default
|
40
|
+
$dropdown-divider-bg: $dropdown-border
|
41
|
+
$dropdown-link-color: $clouds !default
|
@@ -0,0 +1,295 @@
|
|
1
|
+
@import 'variables'
|
2
|
+
@import 'mixins'
|
3
|
+
@import 'bootstrap_overrides'
|
4
|
+
|
5
|
+
body
|
6
|
+
font-family: $base-font-family
|
7
|
+
|
8
|
+
body.login
|
9
|
+
color: $base-dark-color
|
10
|
+
background-color: $body-bg-primary
|
11
|
+
.wrapper
|
12
|
+
padding: 20px
|
13
|
+
background-color: $clouds
|
14
|
+
+border-radius($wrapper-corner-size)
|
15
|
+
+box-shadow(0 0 0 2px $box-shadow-color)
|
16
|
+
border: 1px solid rgba(black, .3)
|
17
|
+
margin: 10% auto
|
18
|
+
width: 300px
|
19
|
+
.brand
|
20
|
+
margin-top: -15px
|
21
|
+
h1
|
22
|
+
display: block
|
23
|
+
margin-bottom: 20px
|
24
|
+
.logo-icon
|
25
|
+
width: 75px
|
26
|
+
height: 75px
|
27
|
+
margin: auto
|
28
|
+
padding: 15px
|
29
|
+
border-radius: 40px
|
30
|
+
background: $base-dark-color
|
31
|
+
i[class*='icon-']
|
32
|
+
margin-left: -5px
|
33
|
+
color: $base-color
|
34
|
+
font-size: 140%
|
35
|
+
.text-center
|
36
|
+
.checkbox
|
37
|
+
text-align: center
|
38
|
+
legend
|
39
|
+
text-align: center
|
40
|
+
input
|
41
|
+
float: none
|
42
|
+
|
43
|
+
body.main
|
44
|
+
padding: 10px 20px 0px 20px
|
45
|
+
background-color: $body-bg-primary
|
46
|
+
//+background-image(linear-gradient(left, $body-bg-primary, $body-bg-secondary))
|
47
|
+
|
48
|
+
.sprite-image
|
49
|
+
background-image: url(../images/sprite.png)
|
50
|
+
|
51
|
+
form
|
52
|
+
.form-actions
|
53
|
+
background-color: lighten($panel-heading-bg, 3)
|
54
|
+
margin: 15px -15px -15px
|
55
|
+
padding: 15px
|
56
|
+
+border-bottom-left-radius(4px)
|
57
|
+
+border-bottom-right-radius(4px)
|
58
|
+
a.btn:hover
|
59
|
+
color: lighten($base-color, 10)
|
60
|
+
|
61
|
+
.text-center
|
62
|
+
text-align: center
|
63
|
+
|
64
|
+
// Panels
|
65
|
+
.panel
|
66
|
+
.panel-tools
|
67
|
+
float: right
|
68
|
+
margin-top: -4px
|
69
|
+
margin-right: -8px
|
70
|
+
.btn-group
|
71
|
+
margin-top: -6px
|
72
|
+
.btn-group, .label, .badge
|
73
|
+
float: right
|
74
|
+
display: inline-block
|
75
|
+
.btn
|
76
|
+
padding: 8px 6px
|
77
|
+
font-weight: 200
|
78
|
+
font-size: 1em
|
79
|
+
color: $base-dark-color
|
80
|
+
&:hover
|
81
|
+
color: $base-color
|
82
|
+
&:active, &:focus
|
83
|
+
color: darken($base-color, 10)
|
84
|
+
+box-shadow(none)
|
85
|
+
span.badge
|
86
|
+
font-size: .7em
|
87
|
+
padding: 2px 4px
|
88
|
+
.label, .badge
|
89
|
+
margin-right: 5px
|
90
|
+
margin-top: 4px
|
91
|
+
padding-bottom: 4px
|
92
|
+
font-weight: 200
|
93
|
+
|
94
|
+
// Grids
|
95
|
+
.grid
|
96
|
+
.filters
|
97
|
+
background-color: lighten($panel-heading-bg, 5)
|
98
|
+
.input-group
|
99
|
+
input
|
100
|
+
height: 30px
|
101
|
+
button
|
102
|
+
height: 30px
|
103
|
+
padding: 0 10px
|
104
|
+
table
|
105
|
+
margin-bottom: 0
|
106
|
+
th:first-child, td:first-child
|
107
|
+
padding-left: 15px
|
108
|
+
tr.disabled
|
109
|
+
+opacity(.4)
|
110
|
+
td
|
111
|
+
text-decoration: line-through
|
112
|
+
td.action
|
113
|
+
text-decoration: none !important
|
114
|
+
td.action
|
115
|
+
width: 15%
|
116
|
+
padding: 5px
|
117
|
+
.btn
|
118
|
+
height: 25px
|
119
|
+
padding: 2px 6px
|
120
|
+
.panel-footer
|
121
|
+
padding: 10px 10px 5px 10px
|
122
|
+
.pagination
|
123
|
+
margin: 0
|
124
|
+
|
125
|
+
|
126
|
+
#navbar
|
127
|
+
.navbar-brand
|
128
|
+
font-size: $brand-font-size
|
129
|
+
.nav > li > a
|
130
|
+
padding: 15px 10px
|
131
|
+
.navbar-nav > li > .dropdown-menu
|
132
|
+
margin-top: -5px
|
133
|
+
li.dropdown.user img
|
134
|
+
margin: -2px 5px 0 5px
|
135
|
+
width: 20px
|
136
|
+
height: 20px
|
137
|
+
border: 1px solid
|
138
|
+
padding: 1px
|
139
|
+
background-color: rgba(white, .6)
|
140
|
+
|
141
|
+
#wrapper
|
142
|
+
position: absolute
|
143
|
+
top: 70px
|
144
|
+
bottom: 0
|
145
|
+
left: 20px
|
146
|
+
right: 20px
|
147
|
+
border: 1px solid rgba(black, .2)
|
148
|
+
+border-top-left-radius($wrapper-corner-size)
|
149
|
+
+border-top-right-radius($wrapper-corner-size)
|
150
|
+
+box-shadow(0 0 0 2px $box-shadow-color)
|
151
|
+
overflow: hidden
|
152
|
+
|
153
|
+
#content, #sidebar
|
154
|
+
position: absolute
|
155
|
+
top: 0
|
156
|
+
bottom: 0
|
157
|
+
left: 0
|
158
|
+
right: 0
|
159
|
+
|
160
|
+
#sidebar
|
161
|
+
background-color: $sidebar-bg
|
162
|
+
width: $sidebar-width
|
163
|
+
z-index: 1
|
164
|
+
text-align: center
|
165
|
+
|
166
|
+
i#toggle
|
167
|
+
margin-top: 20px
|
168
|
+
display: inline-block
|
169
|
+
color: lighten($base-dark-color, 10)
|
170
|
+
|
171
|
+
ul#dock
|
172
|
+
margin: -15px 0 0 0
|
173
|
+
padding: 0
|
174
|
+
width: $sidebar-width
|
175
|
+
text-align: center
|
176
|
+
color: $clouds
|
177
|
+
border-right: 1px solid $dropdown-border
|
178
|
+
li.launcher
|
179
|
+
list-style: none
|
180
|
+
margin-top: 25px
|
181
|
+
cursor: pointer
|
182
|
+
> i
|
183
|
+
display: block
|
184
|
+
font-size: 2.5em
|
185
|
+
margin-bottom: -2px
|
186
|
+
> a
|
187
|
+
height: 36px
|
188
|
+
display: block
|
189
|
+
position: relative
|
190
|
+
padding-top: 36px
|
191
|
+
margin-top: -36px
|
192
|
+
text-decoration: none
|
193
|
+
color: $clouds
|
194
|
+
font-size: $dock-link-font-size
|
195
|
+
ul.dropdown-menu
|
196
|
+
width: 180px
|
197
|
+
border-left-width: 0
|
198
|
+
text-align: left
|
199
|
+
position: absolute
|
200
|
+
margin-left: 85px
|
201
|
+
top: 8px
|
202
|
+
> li > a
|
203
|
+
padding: 5px 20px
|
204
|
+
a, li.dropdown-header
|
205
|
+
display: inline-block
|
206
|
+
width: 100%
|
207
|
+
white-space: nowrap
|
208
|
+
overflow: hidden
|
209
|
+
text-overflow: ellipsis
|
210
|
+
li.dropdown-header
|
211
|
+
+border-radius(4px)
|
212
|
+
color: $dock-active-icon-color
|
213
|
+
margin-top: -5px
|
214
|
+
padding: 5px 20px
|
215
|
+
&:before
|
216
|
+
+rotate(45deg)
|
217
|
+
position: absolute
|
218
|
+
margin-top: 4px
|
219
|
+
margin-left: -25px
|
220
|
+
width: 10px
|
221
|
+
height: 10px
|
222
|
+
background-color: $dock-bg
|
223
|
+
content: " "
|
224
|
+
display: inline-block
|
225
|
+
&:hover, &.active
|
226
|
+
> i, > a
|
227
|
+
+animate-property(color, $animation-duration, ease-in-out)
|
228
|
+
color: $dock-active-icon-color
|
229
|
+
&:before
|
230
|
+
+rotate(45deg)
|
231
|
+
content: ''
|
232
|
+
display: inline-block
|
233
|
+
width: 10px
|
234
|
+
height: 10px
|
235
|
+
background-color: white
|
236
|
+
position: absolute
|
237
|
+
right: -6px
|
238
|
+
margin-top: 22px
|
239
|
+
|
240
|
+
#content
|
241
|
+
overflow: auto
|
242
|
+
margin-top: 51px
|
243
|
+
background-color: $body-bg
|
244
|
+
padding: 20px
|
245
|
+
left: $sidebar-width
|
246
|
+
|
247
|
+
#tools
|
248
|
+
margin-left: 80px
|
249
|
+
|
250
|
+
#breadcrumb
|
251
|
+
+border-radius(0)
|
252
|
+
padding: 15px 20px 15px 20px
|
253
|
+
border-bottom: 1px solid #ddd
|
254
|
+
.title
|
255
|
+
font-weight: 800
|
256
|
+
color: $base-color
|
257
|
+
a
|
258
|
+
color: darken($silver, 20)
|
259
|
+
|
260
|
+
#toolbar
|
261
|
+
margin-top: -70px
|
262
|
+
margin-right: 10px
|
263
|
+
float: right
|
264
|
+
height: 50px
|
265
|
+
padding: 8px
|
266
|
+
border-bottom: 0
|
267
|
+
.btn-group, .label, form
|
268
|
+
float: right
|
269
|
+
display: inline-block
|
270
|
+
.btn-group
|
271
|
+
.btn
|
272
|
+
@extend .btn-success
|
273
|
+
span.badge
|
274
|
+
background-color: $base-dark-color
|
275
|
+
padding: 3px 5px
|
276
|
+
font-size: .7em
|
277
|
+
font-weight: 200
|
278
|
+
.label
|
279
|
+
margin-right: 5px
|
280
|
+
margin-top: 6px
|
281
|
+
padding: 5px
|
282
|
+
height: 23px
|
283
|
+
font-size: 0.9em
|
284
|
+
font-weight: 200
|
285
|
+
|
286
|
+
#beaker
|
287
|
+
@extend .sprite-image
|
288
|
+
position: absolute
|
289
|
+
bottom: 5px
|
290
|
+
background-position: 0 0
|
291
|
+
width: 12px
|
292
|
+
height: 24px
|
293
|
+
background-size: 100px
|
294
|
+
background-repeat: no-repeat
|
295
|
+
margin-left: 33px
|
metadata
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hierapolis-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Muhammet DİLEK
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-09-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: This gem using to integrate hierapolis theme on rails project.
|
42
|
+
email:
|
43
|
+
- muhammet.dilek@lab2023.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- .gitignore
|
49
|
+
- CHANGELOG.md
|
50
|
+
- Gemfile
|
51
|
+
- LICENSE.txt
|
52
|
+
- README.md
|
53
|
+
- Rakefile
|
54
|
+
- hierapolis-rails.gemspec
|
55
|
+
- lib/hierapolis/rails.rb
|
56
|
+
- lib/hierapolis/rails/version.rb
|
57
|
+
- vendor/assets/images/apple-touch-icon-114x114-precomposed.png
|
58
|
+
- vendor/assets/images/apple-touch-icon-144x144-precomposed.png
|
59
|
+
- vendor/assets/images/apple-touch-icon-57x57-precomposed.png
|
60
|
+
- vendor/assets/images/apple-touch-icon-72x72-precomposed.png
|
61
|
+
- vendor/assets/images/apple-touch-icon-precomposed.png
|
62
|
+
- vendor/assets/images/apple-touch-icon.png
|
63
|
+
- vendor/assets/images/favicon.ico
|
64
|
+
- vendor/assets/images/sprite.png
|
65
|
+
- vendor/assets/javascripts/hierapolis.js.coffee
|
66
|
+
- vendor/assets/javascripts/vendor/html5shiv.js
|
67
|
+
- vendor/assets/javascripts/vendor/jquery.knob.js
|
68
|
+
- vendor/assets/javascripts/vendor/plugins.js
|
69
|
+
- vendor/assets/stylesheets/_bootstrap_overrides.css.sass
|
70
|
+
- vendor/assets/stylesheets/_color-swatches.css.sass
|
71
|
+
- vendor/assets/stylesheets/_mixins.css.sass
|
72
|
+
- vendor/assets/stylesheets/_variables.css.sass
|
73
|
+
- vendor/assets/stylesheets/hierapolis.css.sass
|
74
|
+
homepage: ''
|
75
|
+
licenses:
|
76
|
+
- MIT
|
77
|
+
metadata: {}
|
78
|
+
post_install_message:
|
79
|
+
rdoc_options: []
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - '>='
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
requirements: []
|
93
|
+
rubyforge_project:
|
94
|
+
rubygems_version: 2.0.6
|
95
|
+
signing_key:
|
96
|
+
specification_version: 4
|
97
|
+
summary: this gem using to integrate hierapolis theme on rails project.
|
98
|
+
test_files: []
|