quicksb2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 20fc729a9b9c3e5e70b555cea01d369af345dbe9
4
+ data.tar.gz: 2dbea49c0433e5c73807a9507bea658a0d659317
5
+ SHA512:
6
+ metadata.gz: dd632c7e65d78b43b94c22a4a41e993dca29438a46e26af8cbf92a32f597bc979169dd37bc0d92143157a57d74c495e2a89e6ef8e3061c7345a454ab20a6ff2a
7
+ data.tar.gz: c17ba13870cdff34481d061a0b074d199e5c0e75f957948b23d50bdbf1c39f49dfadd9d57a36a56d3ae2b15bba835ce60882ac74b5d9ad4e08a1bfce18b81e4f
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.0
4
+ before_install: gem install bundler -v 1.11.2
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in quicksb2.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 José Anchieta dos Santos Júnior
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # Quicksb2
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/quicksb2`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'quicksb2'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install quicksb2
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/quicksb2.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "quicksb2"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/lib/quicksb2.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "quicksb2/version"
2
+
3
+ module Quicksb2
4
+ class Engine < ::Rails::Engine; end
5
+ end
@@ -0,0 +1,3 @@
1
+ module Quicksb2
2
+ VERSION = "0.1.0"
3
+ end
data/quicksb2.gemspec ADDED
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'quicksb2/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "quicksb2"
8
+ spec.version = Quicksb2::VERSION
9
+ spec.authors = ["José Anchieta dos Santos Júnior"]
10
+ spec.email = ["santosjr87@gmail.com"]
11
+
12
+ spec.summary = %q{Minimal setup for sb-admin2.}
13
+ spec.description = %q{Minimal setup for sb-admin2.}
14
+ spec.homepage = "https://github.com/anchietajunior/quicksb2"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
+ # else
22
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ # end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_development_dependency "bundler", "~> 1.11"
31
+ spec.add_development_dependency "rake", "~> 10.0"
32
+ end
@@ -0,0 +1,9 @@
1
+ /*
2
+ * metismenu - v1.1.3
3
+ * Easy menu jQuery plugin for Twitter Bootstrap 3
4
+ * https://github.com/onokumus/metisMenu
5
+ *
6
+ * Made by Osman Nuri Okumus
7
+ * Under MIT License
8
+ */
9
+ !function(a,b,c){function d(b,c){this.element=a(b),this.settings=a.extend({},f,c),this._defaults=f,this._name=e,this.init()}var e="metisMenu",f={toggle:!0,doubleTapToGo:!1};d.prototype={init:function(){var b=this.element,d=this.settings.toggle,f=this;this.isIE()<=9?(b.find("li.active").has("ul").children("ul").collapse("show"),b.find("li").not(".active").has("ul").children("ul").collapse("hide")):(b.find("li.active").has("ul").children("ul").addClass("collapse in"),b.find("li").not(".active").has("ul").children("ul").addClass("collapse")),f.settings.doubleTapToGo&&b.find("li.active").has("ul").children("a").addClass("doubleTapToGo"),b.find("li").has("ul").children("a").on("click."+e,function(b){return b.preventDefault(),f.settings.doubleTapToGo&&f.doubleTapToGo(a(this))&&"#"!==a(this).attr("href")&&""!==a(this).attr("href")?(b.stopPropagation(),void(c.location=a(this).attr("href"))):(a(this).parent("li").toggleClass("active").children("ul").collapse("toggle"),void(d&&a(this).parent("li").siblings().removeClass("active").children("ul.in").collapse("hide")))})},isIE:function(){for(var a,b=3,d=c.createElement("div"),e=d.getElementsByTagName("i");d.innerHTML="<!--[if gt IE "+ ++b+"]><i></i><![endif]-->",e[0];)return b>4?b:a},doubleTapToGo:function(a){var b=this.element;return a.hasClass("doubleTapToGo")?(a.removeClass("doubleTapToGo"),!0):a.parent().children("ul").length?(b.find(".doubleTapToGo").removeClass("doubleTapToGo"),a.addClass("doubleTapToGo"),!1):void 0},remove:function(){this.element.off("."+e),this.element.removeData(e)}},a.fn[e]=function(b){return this.each(function(){var c=a(this);c.data(e)&&c.data(e).remove(),c.data(e,new d(this,b))}),this}}(jQuery,window,document);
@@ -0,0 +1,36 @@
1
+ $(function() {
2
+
3
+ $('#side-menu').metisMenu();
4
+
5
+ });
6
+
7
+ //Loads the correct sidebar on window load,
8
+ //collapses the sidebar on window resize.
9
+ // Sets the min-height of #page-wrapper to window size
10
+ $(function() {
11
+ $(window).bind("load resize", function() {
12
+ topOffset = 50;
13
+ width = (this.window.innerWidth > 0) ? this.window.innerWidth : this.screen.width;
14
+ if (width < 768) {
15
+ $('div.navbar-collapse').addClass('collapse');
16
+ topOffset = 100; // 2-row-menu
17
+ } else {
18
+ $('div.navbar-collapse').removeClass('collapse');
19
+ }
20
+
21
+ height = ((this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height) - 1;
22
+ height = height - topOffset;
23
+ if (height < 1) height = 1;
24
+ if (height > topOffset) {
25
+ $("#page-wrapper").css("min-height", (height) + "px");
26
+ }
27
+ });
28
+
29
+ var url = window.location;
30
+ var element = $('ul.nav a').filter(function() {
31
+ return this.href == url || url.href.indexOf(this.href) == 0;
32
+ }).addClass('active').parent().parent().addClass('in').parent();
33
+ if (element.is('li')) {
34
+ element.addClass('active');
35
+ }
36
+ });
@@ -0,0 +1,10 @@
1
+ /*
2
+ * metismenu - v1.1.3
3
+ * Easy menu jQuery plugin for Twitter Bootstrap 3
4
+ * https://github.com/onokumus/metisMenu
5
+ *
6
+ * Made by Osman Nuri Okumus
7
+ * Under MIT License
8
+ */
9
+
10
+ .arrow{float:right;line-height:1.42857}.glyphicon.arrow:before{content:"\e079"}.active>a>.glyphicon.arrow:before{content:"\e114"}.fa.arrow:before{content:"\f104"}.active>a>.fa.arrow:before{content:"\f107"}.plus-times{float:right}.fa.plus-times:before{content:"\f067"}.active>a>.fa.plus-times{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.plus-minus{float:right}.fa.plus-minus:before{content:"\f067"}.active>a>.fa.plus-minus:before{content:"\f068"}
@@ -0,0 +1,2 @@
1
+ .morris-hover{position:absolute;z-index:1000}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255,255,255,0.8);border:solid 2px rgba(230,230,230,0.8);font-family:sans-serif;font-size:12px;text-align:center}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0}
2
+ .morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0}
@@ -0,0 +1,354 @@
1
+ /*!
2
+ * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
3
+ * Code licensed under the Apache License v2.0.
4
+ * For details, see http://www.apache.org/licenses/LICENSE-2.0.
5
+ */
6
+
7
+ body {
8
+ background-color: #f8f8f8;
9
+ }
10
+
11
+ #wrapper {
12
+ width: 100%;
13
+ }
14
+
15
+ #page-wrapper {
16
+ padding: 0 15px;
17
+ min-height: 568px;
18
+ background-color: #fff;
19
+ }
20
+
21
+ @media(min-width:768px) {
22
+ #page-wrapper {
23
+ position: inherit;
24
+ margin: 0 0 0 250px;
25
+ padding: 0 30px;
26
+ border-left: 1px solid #e7e7e7;
27
+ }
28
+ }
29
+
30
+ .navbar-top-links {
31
+ margin-right: 0;
32
+ }
33
+
34
+ .navbar-top-links li {
35
+ display: inline-block;
36
+ }
37
+
38
+ .navbar-top-links li:last-child {
39
+ margin-right: 15px;
40
+ }
41
+
42
+ .navbar-top-links li a {
43
+ padding: 15px;
44
+ min-height: 50px;
45
+ }
46
+
47
+ .navbar-top-links .dropdown-menu li {
48
+ display: block;
49
+ }
50
+
51
+ .navbar-top-links .dropdown-menu li:last-child {
52
+ margin-right: 0;
53
+ }
54
+
55
+ .navbar-top-links .dropdown-menu li a {
56
+ padding: 3px 20px;
57
+ min-height: 0;
58
+ }
59
+
60
+ .navbar-top-links .dropdown-menu li a div {
61
+ white-space: normal;
62
+ }
63
+
64
+ .navbar-top-links .dropdown-messages,
65
+ .navbar-top-links .dropdown-tasks,
66
+ .navbar-top-links .dropdown-alerts {
67
+ width: 310px;
68
+ min-width: 0;
69
+ }
70
+
71
+ .navbar-top-links .dropdown-messages {
72
+ margin-left: 5px;
73
+ }
74
+
75
+ .navbar-top-links .dropdown-tasks {
76
+ margin-left: -59px;
77
+ }
78
+
79
+ .navbar-top-links .dropdown-alerts {
80
+ margin-left: -123px;
81
+ }
82
+
83
+ .navbar-top-links .dropdown-user {
84
+ right: 0;
85
+ left: auto;
86
+ }
87
+
88
+ .sidebar .sidebar-nav.navbar-collapse {
89
+ padding-right: 0;
90
+ padding-left: 0;
91
+ }
92
+
93
+ .sidebar .sidebar-search {
94
+ padding: 15px;
95
+ }
96
+
97
+ .sidebar ul li {
98
+ border-bottom: 1px solid #e7e7e7;
99
+ }
100
+
101
+ .sidebar ul li a.active {
102
+ background-color: #eee;
103
+ }
104
+
105
+ .sidebar .arrow {
106
+ float: right;
107
+ }
108
+
109
+ .sidebar .fa.arrow:before {
110
+ content: "\f104";
111
+ }
112
+
113
+ .sidebar .active>a>.fa.arrow:before {
114
+ content: "\f107";
115
+ }
116
+
117
+ .sidebar .nav-second-level li,
118
+ .sidebar .nav-third-level li {
119
+ border-bottom: 0!important;
120
+ }
121
+
122
+ .sidebar .nav-second-level li a {
123
+ padding-left: 37px;
124
+ }
125
+
126
+ .sidebar .nav-third-level li a {
127
+ padding-left: 52px;
128
+ }
129
+
130
+ @media(min-width:768px) {
131
+ .sidebar {
132
+ z-index: 1;
133
+ position: absolute;
134
+ width: 250px;
135
+ margin-top: 51px;
136
+ }
137
+
138
+ .navbar-top-links .dropdown-messages,
139
+ .navbar-top-links .dropdown-tasks,
140
+ .navbar-top-links .dropdown-alerts {
141
+ margin-left: auto;
142
+ }
143
+ }
144
+
145
+ .btn-outline {
146
+ color: inherit;
147
+ background-color: transparent;
148
+ transition: all .5s;
149
+ }
150
+
151
+ .btn-primary.btn-outline {
152
+ color: #428bca;
153
+ }
154
+
155
+ .btn-success.btn-outline {
156
+ color: #5cb85c;
157
+ }
158
+
159
+ .btn-info.btn-outline {
160
+ color: #5bc0de;
161
+ }
162
+
163
+ .btn-warning.btn-outline {
164
+ color: #f0ad4e;
165
+ }
166
+
167
+ .btn-danger.btn-outline {
168
+ color: #d9534f;
169
+ }
170
+
171
+ .btn-primary.btn-outline:hover,
172
+ .btn-success.btn-outline:hover,
173
+ .btn-info.btn-outline:hover,
174
+ .btn-warning.btn-outline:hover,
175
+ .btn-danger.btn-outline:hover {
176
+ color: #fff;
177
+ }
178
+
179
+ .chat {
180
+ margin: 0;
181
+ padding: 0;
182
+ list-style: none;
183
+ }
184
+
185
+ .chat li {
186
+ margin-bottom: 10px;
187
+ padding-bottom: 5px;
188
+ border-bottom: 1px dotted #999;
189
+ }
190
+
191
+ .chat li.left .chat-body {
192
+ margin-left: 60px;
193
+ }
194
+
195
+ .chat li.right .chat-body {
196
+ margin-right: 60px;
197
+ }
198
+
199
+ .chat li .chat-body p {
200
+ margin: 0;
201
+ }
202
+
203
+ .panel .slidedown .glyphicon,
204
+ .chat .glyphicon {
205
+ margin-right: 5px;
206
+ }
207
+
208
+ .chat-panel .panel-body {
209
+ height: 350px;
210
+ overflow-y: scroll;
211
+ }
212
+
213
+ .login-panel {
214
+ margin-top: 25%;
215
+ }
216
+
217
+ .flot-chart {
218
+ display: block;
219
+ height: 400px;
220
+ }
221
+
222
+ .flot-chart-content {
223
+ width: 100%;
224
+ height: 100%;
225
+ }
226
+
227
+ .dataTables_wrapper {
228
+ position: relative;
229
+ clear: both;
230
+ }
231
+
232
+ table.dataTable thead .sorting,
233
+ table.dataTable thead .sorting_asc,
234
+ table.dataTable thead .sorting_desc,
235
+ table.dataTable thead .sorting_asc_disabled,
236
+ table.dataTable thead .sorting_desc_disabled {
237
+ background: 0 0;
238
+ }
239
+
240
+ table.dataTable thead .sorting_asc:after {
241
+ content: "\f0de";
242
+ float: right;
243
+ font-family: fontawesome;
244
+ }
245
+
246
+ table.dataTable thead .sorting_desc:after {
247
+ content: "\f0dd";
248
+ float: right;
249
+ font-family: fontawesome;
250
+ }
251
+
252
+ table.dataTable thead .sorting:after {
253
+ content: "\f0dc";
254
+ float: right;
255
+ font-family: fontawesome;
256
+ color: rgba(50,50,50,.5);
257
+ }
258
+
259
+ .btn-circle {
260
+ width: 30px;
261
+ height: 30px;
262
+ padding: 6px 0;
263
+ border-radius: 15px;
264
+ text-align: center;
265
+ font-size: 12px;
266
+ line-height: 1.428571429;
267
+ }
268
+
269
+ .btn-circle.btn-lg {
270
+ width: 50px;
271
+ height: 50px;
272
+ padding: 10px 16px;
273
+ border-radius: 25px;
274
+ font-size: 18px;
275
+ line-height: 1.33;
276
+ }
277
+
278
+ .btn-circle.btn-xl {
279
+ width: 70px;
280
+ height: 70px;
281
+ padding: 10px 16px;
282
+ border-radius: 35px;
283
+ font-size: 24px;
284
+ line-height: 1.33;
285
+ }
286
+
287
+ .show-grid [class^=col-] {
288
+ padding-top: 10px;
289
+ padding-bottom: 10px;
290
+ border: 1px solid #ddd;
291
+ background-color: #eee!important;
292
+ }
293
+
294
+ .show-grid {
295
+ margin: 15px 0;
296
+ }
297
+
298
+ .huge {
299
+ font-size: 40px;
300
+ }
301
+
302
+ .panel-green {
303
+ border-color: #5cb85c;
304
+ }
305
+
306
+ .panel-green .panel-heading {
307
+ border-color: #5cb85c;
308
+ color: #fff;
309
+ background-color: #5cb85c;
310
+ }
311
+
312
+ .panel-green a {
313
+ color: #5cb85c;
314
+ }
315
+
316
+ .panel-green a:hover {
317
+ color: #3d8b3d;
318
+ }
319
+
320
+ .panel-red {
321
+ border-color: #d9534f;
322
+ }
323
+
324
+ .panel-red .panel-heading {
325
+ border-color: #d9534f;
326
+ color: #fff;
327
+ background-color: #d9534f;
328
+ }
329
+
330
+ .panel-red a {
331
+ color: #d9534f;
332
+ }
333
+
334
+ .panel-red a:hover {
335
+ color: #b52b27;
336
+ }
337
+
338
+ .panel-yellow {
339
+ border-color: #f0ad4e;
340
+ }
341
+
342
+ .panel-yellow .panel-heading {
343
+ border-color: #f0ad4e;
344
+ color: #fff;
345
+ background-color: #f0ad4e;
346
+ }
347
+
348
+ .panel-yellow a {
349
+ color: #f0ad4e;
350
+ }
351
+
352
+ .panel-yellow a:hover {
353
+ color: #df8a13;
354
+ }
@@ -0,0 +1,180 @@
1
+ .timeline {
2
+ position: relative;
3
+ padding: 20px 0 20px;
4
+ list-style: none;
5
+ }
6
+
7
+ .timeline:before {
8
+ content: " ";
9
+ position: absolute;
10
+ top: 0;
11
+ bottom: 0;
12
+ left: 50%;
13
+ width: 3px;
14
+ margin-left: -1.5px;
15
+ background-color: #eeeeee;
16
+ }
17
+
18
+ .timeline > li {
19
+ position: relative;
20
+ margin-bottom: 20px;
21
+ }
22
+
23
+ .timeline > li:before,
24
+ .timeline > li:after {
25
+ content: " ";
26
+ display: table;
27
+ }
28
+
29
+ .timeline > li:after {
30
+ clear: both;
31
+ }
32
+
33
+ .timeline > li:before,
34
+ .timeline > li:after {
35
+ content: " ";
36
+ display: table;
37
+ }
38
+
39
+ .timeline > li:after {
40
+ clear: both;
41
+ }
42
+
43
+ .timeline > li > .timeline-panel {
44
+ float: left;
45
+ position: relative;
46
+ width: 46%;
47
+ padding: 20px;
48
+ border: 1px solid #d4d4d4;
49
+ border-radius: 2px;
50
+ -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.175);
51
+ box-shadow: 0 1px 6px rgba(0,0,0,0.175);
52
+ }
53
+
54
+ .timeline > li > .timeline-panel:before {
55
+ content: " ";
56
+ display: inline-block;
57
+ position: absolute;
58
+ top: 26px;
59
+ right: -15px;
60
+ border-top: 15px solid transparent;
61
+ border-right: 0 solid #ccc;
62
+ border-bottom: 15px solid transparent;
63
+ border-left: 15px solid #ccc;
64
+ }
65
+
66
+ .timeline > li > .timeline-panel:after {
67
+ content: " ";
68
+ display: inline-block;
69
+ position: absolute;
70
+ top: 27px;
71
+ right: -14px;
72
+ border-top: 14px solid transparent;
73
+ border-right: 0 solid #fff;
74
+ border-bottom: 14px solid transparent;
75
+ border-left: 14px solid #fff;
76
+ }
77
+
78
+ .timeline > li > .timeline-badge {
79
+ z-index: 100;
80
+ position: absolute;
81
+ top: 16px;
82
+ left: 50%;
83
+ width: 50px;
84
+ height: 50px;
85
+ margin-left: -25px;
86
+ border-radius: 50% 50% 50% 50%;
87
+ text-align: center;
88
+ font-size: 1.4em;
89
+ line-height: 50px;
90
+ color: #fff;
91
+ background-color: #999999;
92
+ }
93
+
94
+ .timeline > li.timeline-inverted > .timeline-panel {
95
+ float: right;
96
+ }
97
+
98
+ .timeline > li.timeline-inverted > .timeline-panel:before {
99
+ right: auto;
100
+ left: -15px;
101
+ border-right-width: 15px;
102
+ border-left-width: 0;
103
+ }
104
+
105
+ .timeline > li.timeline-inverted > .timeline-panel:after {
106
+ right: auto;
107
+ left: -14px;
108
+ border-right-width: 14px;
109
+ border-left-width: 0;
110
+ }
111
+
112
+ .timeline-badge.primary {
113
+ background-color: #2e6da4 !important;
114
+ }
115
+
116
+ .timeline-badge.success {
117
+ background-color: #3f903f !important;
118
+ }
119
+
120
+ .timeline-badge.warning {
121
+ background-color: #f0ad4e !important;
122
+ }
123
+
124
+ .timeline-badge.danger {
125
+ background-color: #d9534f !important;
126
+ }
127
+
128
+ .timeline-badge.info {
129
+ background-color: #5bc0de !important;
130
+ }
131
+
132
+ .timeline-title {
133
+ margin-top: 0;
134
+ color: inherit;
135
+ }
136
+
137
+ .timeline-body > p,
138
+ .timeline-body > ul {
139
+ margin-bottom: 0;
140
+ }
141
+
142
+ .timeline-body > p + p {
143
+ margin-top: 5px;
144
+ }
145
+
146
+ @media(max-width:767px) {
147
+ ul.timeline:before {
148
+ left: 40px;
149
+ }
150
+
151
+ ul.timeline > li > .timeline-panel {
152
+ width: calc(100% - 90px);
153
+ width: -moz-calc(100% - 90px);
154
+ width: -webkit-calc(100% - 90px);
155
+ }
156
+
157
+ ul.timeline > li > .timeline-badge {
158
+ top: 16px;
159
+ left: 15px;
160
+ margin-left: 0;
161
+ }
162
+
163
+ ul.timeline > li > .timeline-panel {
164
+ float: right;
165
+ }
166
+
167
+ ul.timeline > li > .timeline-panel:before {
168
+ right: auto;
169
+ left: -15px;
170
+ border-right-width: 15px;
171
+ border-left-width: 0;
172
+ }
173
+
174
+ ul.timeline > li > .timeline-panel:after {
175
+ right: auto;
176
+ left: -14px;
177
+ border-right-width: 14px;
178
+ border-left-width: 0;
179
+ }
180
+ }
@@ -0,0 +1,69 @@
1
+ /* Sidebar toggle css styles */
2
+
3
+ #wrapper.toggled #sidebar-wrapper .sidebar {
4
+ width: 50px;
5
+ }
6
+
7
+ #wrapper.toggled #sidebar-wrapper ul li .masked {
8
+ display: none;
9
+ }
10
+
11
+ #wrapper.toggled #sidebar-wrapper ul li ul {
12
+ position: absolute;
13
+ left: 51px;
14
+ margin-top: -40px;
15
+ background-color: rgba(234, 234, 234, 0.2);
16
+ width: 200px;
17
+ z-index: 17;
18
+ }
19
+
20
+ #wrapper.toggled #sidebar-wrapper ul li ul li ul {
21
+ position: relative;
22
+ margin-top: 0px;
23
+ margin-left: -51px;
24
+ }
25
+
26
+ #wrapper.toggled #page-wrapper {
27
+ margin: 0 0 0 50px;
28
+ }
29
+
30
+ .scrollable-menu {
31
+ overflow-y: scroll;
32
+ height: 100vh;
33
+ margin-bottom: -101px;
34
+ }
35
+
36
+ .scrollable-sub-menu {
37
+ max-height: 400px;
38
+ overflow: hidden;
39
+ overflow-y: auto;
40
+ }
41
+
42
+ @media(max-width:768px) {
43
+ #wrapper.toggled #sidebar-wrapper .sidebar {
44
+ width: 100%;
45
+ }
46
+ #wrapper.toggled #page-wrapper {
47
+ margin: 0;
48
+ }
49
+ #menu-toggle {
50
+ display: none;
51
+ }
52
+ #wrapper.toggled #sidebar-wrapper ul li .masked {
53
+ display: inline-block;
54
+ }
55
+ #wrapper.toggled #sidebar-wrapper ul li ul {
56
+ position: relative;
57
+ left: 0px;
58
+ margin-top: 0px;
59
+ background-color: none;
60
+ width: 100%;
61
+ z-index: 17;
62
+ }
63
+ #wrapper.toggled #sidebar-wrapper ul li ul li ul {
64
+ margin-left: 0px;
65
+ }
66
+ #wrapper.toggled #sidebar-wrapper ul li .masked {
67
+ display: initial;
68
+ }
69
+ }
metadata ADDED
@@ -0,0 +1,91 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: quicksb2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - José Anchieta dos Santos Júnior
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-03-09 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.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: Minimal setup for sb-admin2.
42
+ email:
43
+ - santosjr87@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - ".rspec"
50
+ - ".travis.yml"
51
+ - Gemfile
52
+ - LICENSE.txt
53
+ - README.md
54
+ - Rakefile
55
+ - bin/console
56
+ - bin/setup
57
+ - lib/quicksb2.rb
58
+ - lib/quicksb2/version.rb
59
+ - quicksb2.gemspec
60
+ - vendor/assets/javascripts/metisMenu.js
61
+ - vendor/assets/javascripts/sb-admin-2.js
62
+ - vendor/assets/stylesheets/metisMenu.min.css
63
+ - vendor/assets/stylesheets/morris.css
64
+ - vendor/assets/stylesheets/sb-admin-2.css
65
+ - vendor/assets/stylesheets/timeline.css
66
+ - vendor/assets/stylesheets/toggle.css
67
+ homepage: https://github.com/anchietajunior/quicksb2
68
+ licenses:
69
+ - MIT
70
+ metadata: {}
71
+ post_install_message:
72
+ rdoc_options: []
73
+ require_paths:
74
+ - lib
75
+ required_ruby_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ required_rubygems_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ requirements: []
86
+ rubyforge_project:
87
+ rubygems_version: 2.5.1
88
+ signing_key:
89
+ specification_version: 4
90
+ summary: Minimal setup for sb-admin2.
91
+ test_files: []