failuregem 0.0.6.3 → 0.0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/failuregem.rb +44 -0
- metadata +1 -2
- data/style/mainstyle.scss +0 -211
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dd6e14741807b0aea7949e3f9fed170f15f30f049dac5edee5efb218909a34b
|
4
|
+
data.tar.gz: aa7298066d890683848f8a313b74051b9e686f98d3a08081fe74771b8db6c6e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dff277dbed01e16641b14fb8084429e8f08c6c509ddf7db108c108f6ee00d9c4bf2a8288e0fc3c8fca8f91573799665ae8f9570cb17a51de3a693c355465ea45
|
7
|
+
data.tar.gz: 5401bd5463c3069319d9cf46bbcc367d53d54a2c0b0f128c00b24805f60e4315595d6b57b40b719621cc2d0adaa724f8b757b58f931b551bbb13965eb3e5421b
|
data/lib/failuregem.rb
CHANGED
@@ -5,3 +5,47 @@ require 'simple_form'
|
|
5
5
|
require 'paperclip'
|
6
6
|
require 'active_link_to'
|
7
7
|
require 'mainstyle'
|
8
|
+
|
9
|
+
|
10
|
+
module Failuregem
|
11
|
+
class << self
|
12
|
+
|
13
|
+
def load!
|
14
|
+
configure_sass
|
15
|
+
end
|
16
|
+
|
17
|
+
# Paths
|
18
|
+
def gem_path
|
19
|
+
@gem_path ||= File.expand_path '..', File.dirname(__FILE__)
|
20
|
+
end
|
21
|
+
|
22
|
+
def stylesheets_path
|
23
|
+
File.join assets_path, 'stylesheets'
|
24
|
+
end
|
25
|
+
|
26
|
+
def javascripts_path
|
27
|
+
File.join assets_path, 'javascripts'
|
28
|
+
end
|
29
|
+
|
30
|
+
def assets_path
|
31
|
+
@assets_path ||= File.join gem_path, 'assets'
|
32
|
+
end
|
33
|
+
|
34
|
+
private
|
35
|
+
|
36
|
+
def configure_sass
|
37
|
+
require 'sass'
|
38
|
+
|
39
|
+
::Sass.load_paths << stylesheets_path
|
40
|
+
end
|
41
|
+
|
42
|
+
def register_sprockets
|
43
|
+
Sprockets.append_path(stylesheets_path)
|
44
|
+
Sprockets.append_path(javascripts_path)
|
45
|
+
end
|
46
|
+
|
47
|
+
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
Failuregem.load!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: failuregem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.6.
|
4
|
+
version: 0.0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leon Vogt
|
@@ -117,7 +117,6 @@ extensions: []
|
|
117
117
|
extra_rdoc_files: []
|
118
118
|
files:
|
119
119
|
- lib/failuregem.rb
|
120
|
-
- style/mainstyle.scss
|
121
120
|
homepage: http://rubygems.org/gems/failuregem
|
122
121
|
licenses:
|
123
122
|
- MIT
|
data/style/mainstyle.scss
DELETED
@@ -1,211 +0,0 @@
|
|
1
|
-
// Place all the styles related to the pages controller here.
|
2
|
-
// They will automatically be included in application.css.
|
3
|
-
// You can use Sass (SCSS) here: http://sass-lang.com/
|
4
|
-
|
5
|
-
//----GENERAL------------------//
|
6
|
-
*
|
7
|
-
font-size: 16px
|
8
|
-
|
9
|
-
html
|
10
|
-
//overflow: scroll
|
11
|
-
|
12
|
-
img
|
13
|
-
border-radius: 4px !important
|
14
|
-
|
15
|
-
.center
|
16
|
-
text-align: center
|
17
|
-
margin: 0 auto
|
18
|
-
|
19
|
-
h1, h1 a, h1 span, h1 span span
|
20
|
-
font-size: 36px !important
|
21
|
-
|
22
|
-
h2, h2 a, h2 span, h2 span span
|
23
|
-
font-size: 30px !important
|
24
|
-
|
25
|
-
h3, h3 a, h3 span, h3 span span
|
26
|
-
font-size: 24px !important
|
27
|
-
|
28
|
-
h4, h4 a, h4 span, h4 span span
|
29
|
-
font-size: 20px !important
|
30
|
-
|
31
|
-
h5, h5 a, h5 span, h5 span span
|
32
|
-
font-size: 18px !important
|
33
|
-
|
34
|
-
h6, h6 a, h6 span, h6 span span
|
35
|
-
font-size: 16px !important
|
36
|
-
|
37
|
-
//----HEADER & NAVIGATION-----//
|
38
|
-
|
39
|
-
.navbar-default, .navbar-header, .navbar-collapse, .header
|
40
|
-
background-color: $header-bg
|
41
|
-
|
42
|
-
.navbar-brand
|
43
|
-
padding-left: 0px !important
|
44
|
-
margin: 29px 0px 0px 0px
|
45
|
-
|
46
|
-
.navigation-title
|
47
|
-
color: $white1
|
48
|
-
font-size: 30px !important
|
49
|
-
span
|
50
|
-
font-size: 30px
|
51
|
-
color: $turq1
|
52
|
-
|
53
|
-
.navigation-link
|
54
|
-
padding: 0px !important
|
55
|
-
margin: 45px 15px
|
56
|
-
font-size: 14px
|
57
|
-
color: $white1 !important
|
58
|
-
&:hover
|
59
|
-
color: $turq1 !important
|
60
|
-
|
61
|
-
.active
|
62
|
-
.navigation-link
|
63
|
-
background-color: $header-bg !important
|
64
|
-
color: $turq1 !important
|
65
|
-
|
66
|
-
.navigation-link .active
|
67
|
-
border-bottom: 1px solid !important
|
68
|
-
|
69
|
-
.navbar-toggle
|
70
|
-
margin: 42px 20px 0px 0px !important
|
71
|
-
height: 28px
|
72
|
-
padding: 2px 9px !important
|
73
|
-
i
|
74
|
-
font-size: 15px
|
75
|
-
color: $white1
|
76
|
-
|
77
|
-
.icon-bar
|
78
|
-
color: $white1 !important
|
79
|
-
|
80
|
-
//----CUSTOM NAV-----------//
|
81
|
-
.sub-nav
|
82
|
-
height: 100%
|
83
|
-
|
84
|
-
.sub-pages-nav
|
85
|
-
//float: left
|
86
|
-
//position: fixed
|
87
|
-
margin-top: 10px
|
88
|
-
margin-bottom: 55px
|
89
|
-
width: 100% !important
|
90
|
-
height: 27px !important
|
91
|
-
overflow: hidden
|
92
|
-
|
93
|
-
li
|
94
|
-
display: inline
|
95
|
-
margin-right: 20px
|
96
|
-
|
97
|
-
.custom-nav
|
98
|
-
width: 100% !important
|
99
|
-
display: inline
|
100
|
-
margin-left: 0px !important
|
101
|
-
padding-left: 0px !important
|
102
|
-
text-decoration: none
|
103
|
-
list-style-type: none
|
104
|
-
margin-right: 10px !important
|
105
|
-
|
106
|
-
li
|
107
|
-
margin-bottom: 20px !important
|
108
|
-
border-bottom: 1px solid $white1 !important
|
109
|
-
color: $turq1 !important
|
110
|
-
a
|
111
|
-
font-size: 15px
|
112
|
-
|
113
|
-
.active
|
114
|
-
border-bottom: 1px solid $turq1 !important
|
115
|
-
|
116
|
-
//----STARTPAGE------------//
|
117
|
-
|
118
|
-
.carousel-title a
|
119
|
-
color: $white1 !important
|
120
|
-
font-size: 25px
|
121
|
-
text-decoration: none
|
122
|
-
|
123
|
-
&:hover
|
124
|
-
color: $gray1 !important
|
125
|
-
text-decoration: none
|
126
|
-
|
127
|
-
.carousel-control .glyphicon
|
128
|
-
color: $white1
|
129
|
-
|
130
|
-
//----NEWS----------------//
|
131
|
-
|
132
|
-
.news
|
133
|
-
height: 250px
|
134
|
-
overflow: hidden
|
135
|
-
|
136
|
-
//----PAGES--------------//
|
137
|
-
|
138
|
-
a
|
139
|
-
color: $turq1 !important
|
140
|
-
&:hover
|
141
|
-
color: $turq2 !important
|
142
|
-
text-decoration: none !important
|
143
|
-
|
144
|
-
body
|
145
|
-
color: $black !important
|
146
|
-
|
147
|
-
.dashboard-content
|
148
|
-
border-left: 1px solid $gray1 !important
|
149
|
-
|
150
|
-
.page-content
|
151
|
-
border-left: 1px solid $gray1 !important
|
152
|
-
|
153
|
-
|
154
|
-
//----BUTTONS------------//
|
155
|
-
|
156
|
-
.btn-primary
|
157
|
-
background-color: $turq1 !important
|
158
|
-
border-color: $turq1 !important
|
159
|
-
color: $white1 !important
|
160
|
-
|
161
|
-
//----TABLES-------------//
|
162
|
-
|
163
|
-
.cut-td-text
|
164
|
-
max-height: 25px !important
|
165
|
-
overflow: hidden !important
|
166
|
-
|
167
|
-
//----PAGINATION---------//
|
168
|
-
|
169
|
-
.pagination
|
170
|
-
.active
|
171
|
-
span
|
172
|
-
background-color: $white1 !important
|
173
|
-
color: $black !important
|
174
|
-
border: 1px solid $turq1 !important
|
175
|
-
|
176
|
-
//----PROGRESS BAR-------//
|
177
|
-
|
178
|
-
.progress-info-green
|
179
|
-
float: left
|
180
|
-
width: 20px
|
181
|
-
height: 20px
|
182
|
-
border-radius: 100%
|
183
|
-
background-color: #5cb85c
|
184
|
-
margin-right: 7px
|
185
|
-
|
186
|
-
.progress-info-blue
|
187
|
-
float: right
|
188
|
-
width: 20px
|
189
|
-
height: 20px
|
190
|
-
border-radius: 100%
|
191
|
-
background-color: #5bc0de
|
192
|
-
margin-right: 7px
|
193
|
-
|
194
|
-
//----CHART BOX----------//
|
195
|
-
|
196
|
-
.chart
|
197
|
-
|
198
|
-
//----FOOTER-------------//
|
199
|
-
|
200
|
-
.footer
|
201
|
-
height: 120px
|
202
|
-
|
203
|
-
.footer-div
|
204
|
-
border-top: solid 1px $gray1
|
205
|
-
background-color: $white1
|
206
|
-
height: 90px
|
207
|
-
padding: 10px 0px
|
208
|
-
|
209
|
-
.bl-logo
|
210
|
-
width: 220px
|
211
|
-
float: right
|