easy_reports 0.0.22 → 0.0.24

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 (101) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +21 -21
  3. data/Gemfile +19 -19
  4. data/MIT-LICENSE +20 -20
  5. data/README.md +31 -31
  6. data/Rakefile +10 -10
  7. data/app/assets/javascripts/application.js +10 -10
  8. data/app/assets/javascripts/bootstrap.js +3 -3
  9. data/app/assets/javascripts/easy_reports/application.js +17 -16
  10. data/app/assets/javascripts/easy_reports/database_configs.js +2 -2
  11. data/app/assets/javascripts/easy_reports/reports.js +2 -2
  12. data/app/assets/stylesheets/application.css +8 -8
  13. data/app/assets/stylesheets/easy_reports/application.css +17 -16
  14. data/app/assets/stylesheets/easy_reports/bootstrap_and_overrides.css.less +29 -29
  15. data/app/assets/stylesheets/easy_reports/dashboard/dashboard_content.css +0 -0
  16. data/app/assets/stylesheets/easy_reports/dashboard/sidebar.css +135 -0
  17. data/app/assets/stylesheets/easy_reports/database_configs.css +4 -4
  18. data/app/assets/stylesheets/easy_reports/reports.css +4 -4
  19. data/app/controllers/easy_reports/application_controller.rb +4 -4
  20. data/app/controllers/easy_reports/dashboard_controller.rb +17 -0
  21. data/app/controllers/easy_reports/database_configs_controller.rb +53 -53
  22. data/app/controllers/easy_reports/reports_controller.rb +56 -57
  23. data/app/helpers/easy_reports/application_helper.rb +4 -4
  24. data/app/helpers/easy_reports/database_configs_helper.rb +4 -4
  25. data/app/helpers/easy_reports/reports_helper.rb +4 -4
  26. data/app/models/easy_reports/database_config.rb +4 -4
  27. data/app/models/easy_reports/report.rb +4 -4
  28. data/app/services/easy_reports/database_mediator.rb +36 -18
  29. data/app/views/easy_reports/dashboard/show.html.slim +3 -0
  30. data/app/views/easy_reports/database_configs/_form.html.slim +33 -33
  31. data/app/views/easy_reports/database_configs/edit.html.slim +8 -8
  32. data/app/views/easy_reports/database_configs/index.html.slim +35 -35
  33. data/app/views/easy_reports/database_configs/new.html.slim +5 -5
  34. data/app/views/easy_reports/database_configs/show.html.slim +27 -27
  35. data/app/views/easy_reports/reports/_form.html.slim +17 -15
  36. data/app/views/easy_reports/reports/edit.html.slim +8 -8
  37. data/app/views/easy_reports/reports/index.html.slim +26 -26
  38. data/app/views/easy_reports/reports/new.html.slim +5 -5
  39. data/app/views/easy_reports/reports/show.html.slim +12 -12
  40. data/app/views/layouts/easy_reports/application.html.slim +15 -0
  41. data/app/views/shared/_header.html.slim +60 -0
  42. data/app/views/shared/_sidebar.html.slim +58 -0
  43. data/bin/rails +12 -12
  44. data/config/locales/en.bootstrap.yml +23 -23
  45. data/config/routes.rb +8 -8
  46. data/db/migrate/20141207141745_create_easy_reports_reports.rb +10 -10
  47. data/db/migrate/20141213173509_create_easy_reports_database_configs.rb +16 -16
  48. data/easy_reports.gemspec +36 -35
  49. data/lib/easy_reports.rb +13 -11
  50. data/lib/easy_reports/engine.rb +5 -5
  51. data/lib/easy_reports/version.rb +3 -3
  52. data/lib/tasks/easy_reports_tasks.rake +4 -4
  53. data/test/controllers/easy_reports/database_configs_controller_test.rb +51 -51
  54. data/test/controllers/easy_reports/reports_controller_test.rb +51 -51
  55. data/test/dummy/Gemfile +16 -16
  56. data/test/dummy/Gemfile.lock +129 -129
  57. data/test/dummy/Rakefile +6 -6
  58. data/test/dummy/app/assets/javascripts/application.js +13 -13
  59. data/test/dummy/app/assets/javascripts/bootstrap.js +4 -4
  60. data/test/dummy/app/assets/stylesheets/application.css +15 -15
  61. data/test/dummy/app/assets/stylesheets/bootstrap_and_overrides.css.less +29 -29
  62. data/test/dummy/app/controllers/application_controller.rb +5 -5
  63. data/test/dummy/app/helpers/application_helper.rb +2 -2
  64. data/test/dummy/app/views/layouts/application.html.erb +14 -14
  65. data/test/dummy/bin/bundle +3 -3
  66. data/test/dummy/bin/rails +4 -4
  67. data/test/dummy/bin/rake +4 -4
  68. data/test/dummy/config.ru +4 -4
  69. data/test/dummy/config/application.rb +23 -23
  70. data/test/dummy/config/boot.rb +5 -5
  71. data/test/dummy/config/database.yml +25 -25
  72. data/test/dummy/config/environment.rb +5 -5
  73. data/test/dummy/config/environments/development.rb +37 -37
  74. data/test/dummy/config/environments/production.rb +82 -82
  75. data/test/dummy/config/environments/test.rb +39 -39
  76. data/test/dummy/config/initializers/assets.rb +8 -8
  77. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -7
  78. data/test/dummy/config/initializers/cookies_serializer.rb +2 -2
  79. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -4
  80. data/test/dummy/config/initializers/inflections.rb +16 -16
  81. data/test/dummy/config/initializers/mime_types.rb +4 -4
  82. data/test/dummy/config/initializers/session_store.rb +3 -3
  83. data/test/dummy/config/initializers/wrap_parameters.rb +14 -14
  84. data/test/dummy/config/locales/en.bootstrap.yml +23 -23
  85. data/test/dummy/config/locales/en.yml +23 -23
  86. data/test/dummy/config/routes.rb +4 -4
  87. data/test/dummy/config/secrets.yml +22 -22
  88. data/test/dummy/db/migrate/20141214161417_create_easy_reports_reports.easy_reports.rb +11 -11
  89. data/test/dummy/db/migrate/20141214161418_create_easy_reports_database_configs.easy_reports.rb +17 -17
  90. data/test/dummy/public/404.html +67 -67
  91. data/test/dummy/public/422.html +67 -67
  92. data/test/dummy/public/500.html +66 -66
  93. data/test/fixtures/easy_reports/database_configs.yml +19 -19
  94. data/test/fixtures/easy_reports/reports.yml +9 -9
  95. data/test/helpers/easy_reports/database_configs_helper_test.rb +6 -6
  96. data/test/helpers/easy_reports/reports_helper_test.rb +6 -6
  97. data/test/models/easy_reports/database_config_test.rb +9 -9
  98. data/test/models/easy_reports/report_test.rb +9 -9
  99. metadata +24 -5
  100. data/app/assets/stylesheets/scaffold.css +0 -56
  101. data/app/views/layouts/easy_reports/application.html.erb +0 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fa10cf8244338a6e164117a8ad037697e21b1a1
4
- data.tar.gz: 3f212b5f376b57ac623c469fc829ba6389619cd8
3
+ metadata.gz: 506bd323f3e0a833f5178fdd2eb0768a408910a9
4
+ data.tar.gz: 8c3b3760dffe7b3db9376dc3747be6dc1dcf06ad
5
5
  SHA512:
6
- metadata.gz: 07d66aac65192f71fa703ee9e4fc9a32234cd532b5fed49e790320a3b0be6e1d9e12efd1aa0b0813d7a1927a87108e4c938c8c49f8ef6459eae70b81d6f0d0e3
7
- data.tar.gz: ecf2d4e81194805c7ff9fe264d4fc7971dfe5d3dfe252928593bf4c8cca65e0a8052df82496a557231d84f361cdfc4c99825579fa03e3260f16778801a34140f
6
+ metadata.gz: f3f5b81117624d52e25100aa4ada5041edff13f0ba1ad94b9ed4314af5855c73d959d745449f12bb5dacdae43f107a6b82c53eda718056ecb950d90e7d955178
7
+ data.tar.gz: 58ee8bd742bd8755713ade0e56b2df26e5a12b91fb663f38baeec32833186bd65b5814390d83738ef240d63cd7c72bc24ec9c69b6c2bc28de5e2965f4005bb8b
data/.gitignore CHANGED
@@ -1,21 +1,21 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- *.bundle
11
- *.so
12
- *.o
13
- *.a
14
- mkmf.log
15
- *.gem
16
- log/*.log
17
- test/dummy/db/*.sqlite3
18
- test/dummy/db/*.sqlite3-journal
19
- test/dummy/log/*.log
20
- test/dummy/tmp/
21
- test/dummy/.sass-cache
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ *.gem
16
+ log/*.log
17
+ test/dummy/db/*.sqlite3
18
+ test/dummy/db/*.sqlite3-journal
19
+ test/dummy/log/*.log
20
+ test/dummy/tmp/
21
+ test/dummy/.sass-cache
data/Gemfile CHANGED
@@ -1,19 +1,19 @@
1
- source "https://rubygems.org"
2
-
3
- # Declare your gem's dependencies in easy_reports.gemspec.
4
- # Bundler will treat runtime dependencies like base dependencies, and
5
- # development dependencies will be added by default to the :development group.
6
- gemspec
7
-
8
- # Declare any dependencies that are still in development here instead of in
9
- # your gemspec. These might include edge Rails or gems from your path or
10
- # Git. Remember to move these dependencies to your gemspec before releasing
11
- # your gem to rubygems.org.
12
-
13
- # To use debugger
14
- group :development do
15
- gem 'slim-rails'
16
- # gem 'jquery-rails'
17
- end
18
-
19
- # gem 'debugger'
1
+ source "https://rubygems.org"
2
+
3
+ # Declare your gem's dependencies in easy_reports.gemspec.
4
+ # Bundler will treat runtime dependencies like base dependencies, and
5
+ # development dependencies will be added by default to the :development group.
6
+ gemspec
7
+
8
+ # Declare any dependencies that are still in development here instead of in
9
+ # your gemspec. These might include edge Rails or gems from your path or
10
+ # Git. Remember to move these dependencies to your gemspec before releasing
11
+ # your gem to rubygems.org.
12
+
13
+ # To use debugger
14
+ group :development do
15
+ gem 'slim-rails'
16
+ # gem 'jquery-rails'
17
+ end
18
+
19
+ # gem 'debugger'
data/MIT-LICENSE CHANGED
@@ -1,20 +1,20 @@
1
- Copyright 2014 YOURNAME
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright 2014 YOURNAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,31 +1,31 @@
1
- # EasyReports
2
-
3
- TODO: Write a gem description
4
-
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'easy_reports'
11
- ```
12
-
13
- And then execute:
14
-
15
- $ bundle
16
-
17
- Or install it yourself as:
18
-
19
- $ gem install easy_reports
20
-
21
- ## Usage
22
-
23
- TODO: Write usage instructions here
24
-
25
- ## Contributing
26
-
27
- 1. Fork it ( https://github.com/[my-github-username]/easy_reports/fork )
28
- 2. Create your feature branch (`git checkout -b my-new-feature`)
29
- 3. Commit your changes (`git commit -am 'Add some feature'`)
30
- 4. Push to the branch (`git push origin my-new-feature`)
31
- 5. Create a new Pull Request
1
+ # EasyReports
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'easy_reports'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install easy_reports
20
+
21
+ ## Usage
22
+
23
+ TODO: Write usage instructions here
24
+
25
+ ## Contributing
26
+
27
+ 1. Fork it ( https://github.com/[my-github-username]/easy_reports/fork )
28
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
29
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
30
+ 4. Push to the branch (`git push origin my-new-feature`)
31
+ 5. Create a new Pull Request
data/Rakefile CHANGED
@@ -1,10 +1,10 @@
1
- require "bundler/gem_tasks"
2
-
3
- begin
4
- require 'bundler/setup'
5
- rescue LoadError
6
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
7
- end
8
-
9
- Bundler::GemHelper.install_tasks
10
-
1
+ require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require 'bundler/setup'
5
+ rescue LoadError
6
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
7
+ end
8
+
9
+ Bundler::GemHelper.install_tasks
10
+
@@ -1,10 +1,10 @@
1
- // This is a manifest file that'll be compiled into including all the files listed below.
2
- // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
- // be included in the compiled file accessible from http://example.com/assets/application.js
4
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
- // the compiled file.
6
- //
7
- //= require jquery
8
- //= require jquery_ujs
9
- //= require twitter/bootstrap
10
- //= require_tree .
1
+ // This is a manifest file that'll be compiled into including all the files listed below.
2
+ // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
+ // be included in the compiled file accessible from http://example.com/assets/application.js
4
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
+ // the compiled file.
6
+ //
7
+ //= require jquery
8
+ //= require jquery_ujs
9
+ //= require twitter/bootstrap
10
+ //= require_tree .
@@ -1,4 +1,4 @@
1
- jQuery(function() {
2
- $("a[rel~=popover], .has-popover").popover();
3
- $("a[rel~=tooltip], .has-tooltip").tooltip();
1
+ jQuery(function() {
2
+ $("a[rel~=popover], .has-popover").popover();
3
+ $("a[rel~=tooltip], .has-tooltip").tooltip();
4
4
  });
@@ -1,16 +1,17 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file.
9
- //
10
- // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require jquery
14
- //= require jquery_ujs
15
- //= require twitter/bootstrap
16
- //= require_tree .
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file.
9
+ //
10
+ // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require twitter/bootstrap
16
+ //= require bootstrap-select
17
+ //= require_tree .
@@ -1,2 +1,2 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -1,2 +1,2 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -1,8 +1,8 @@
1
- /*
2
- * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
- * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
- * the top of the compiled file, but it's generally better to create a new file per style scope.
5
- *= require_self
6
- *= require bootstrap_and_overrides
7
- *= require_tree .
8
- */
1
+ /*
2
+ * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
+ * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
+ * the top of the compiled file, but it's generally better to create a new file per style scope.
5
+ *= require_self
6
+ *= require bootstrap_and_overrides
7
+ *= require_tree .
8
+ */
@@ -1,16 +1,17 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any styles
10
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
- * file per style scope.
12
- *
13
- *= require_tree .
14
- *= require bootstrap_and_overrides
15
- *= require_self
16
- */
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any styles
10
+ * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
+ * file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require bootstrap_and_overrides
15
+ *= require bootstrap-select
16
+ *= require_self
17
+ */
@@ -1,29 +1,29 @@
1
- @import "twitter/bootstrap/bootstrap";
2
-
3
- // Set the correct sprite paths
4
- @iconSpritePath: image-url("twitter/bootstrap/glyphicons-halflings.png");
5
- @iconWhiteSpritePath: image-url("twitter/bootstrap/glyphicons-halflings-white.png");
6
-
7
- // Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)
8
- @fontAwesomeEotPath: font-url("fontawesome-webfont.eot");
9
- @fontAwesomeEotPath_iefix: font-url("fontawesome-webfont.eot?#iefix");
10
- @fontAwesomeWoffPath: font-url("fontawesome-webfont.woff");
11
- @fontAwesomeTtfPath: font-url("fontawesome-webfont.ttf");
12
- @fontAwesomeSvgPath: font-url("fontawesome-webfont.svg#fontawesomeregular");
13
-
14
- // Font Awesome
15
- @import "fontawesome/font-awesome";
16
-
17
- // Glyphicons
18
- //@import "twitter/bootstrap/glyphicons.less";
19
-
20
- // Your custom LESS stylesheets goes here
21
- //
22
- // Since bootstrap was imported above you have access to its mixins which
23
- // you may use and inherit here
24
- //
25
- // If you'd like to override bootstrap's own variables, you can do so here as well
26
- // See http://twitter.github.com/bootstrap/customize.html#variables for their names and documentation
27
- //
28
- // Example:
29
- // @link-color: #ff0000;
1
+ @import "twitter/bootstrap/bootstrap";
2
+
3
+ // Set the correct sprite paths
4
+ @iconSpritePath: image-url("twitter/bootstrap/glyphicons-halflings.png");
5
+ @iconWhiteSpritePath: image-url("twitter/bootstrap/glyphicons-halflings-white.png");
6
+
7
+ // Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)
8
+ @fontAwesomeEotPath: font-url("fontawesome-webfont.eot");
9
+ @fontAwesomeEotPath_iefix: font-url("fontawesome-webfont.eot?#iefix");
10
+ @fontAwesomeWoffPath: font-url("fontawesome-webfont.woff");
11
+ @fontAwesomeTtfPath: font-url("fontawesome-webfont.ttf");
12
+ @fontAwesomeSvgPath: font-url("fontawesome-webfont.svg#fontawesomeregular");
13
+
14
+ // Font Awesome
15
+ @import "fontawesome/font-awesome";
16
+
17
+ // Glyphicons
18
+ //@import "twitter/bootstrap/glyphicons.less";
19
+
20
+ // Your custom LESS stylesheets goes here
21
+ //
22
+ // Since bootstrap was imported above you have access to its mixins which
23
+ // you may use and inherit here
24
+ //
25
+ // If you'd like to override bootstrap's own variables, you can do so here as well
26
+ // See http://twitter.github.com/bootstrap/customize.html#variables for their names and documentation
27
+ //
28
+ // Example:
29
+ // @link-color: #ff0000;
@@ -0,0 +1,135 @@
1
+ @import url(//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);
2
+
3
+ @import url(http://fonts.googleapis.com/css?family=Titillium+Web:300);
4
+
5
+ .sidebar {
6
+ margin-top: 50px;
7
+ }
8
+
9
+ .fa-2x {
10
+ font-size: 2em;
11
+ }
12
+ .fa {
13
+ position: relative;
14
+ display: table-cell;
15
+ width: 60px;
16
+ height: 36px;
17
+ text-align: center;
18
+ vertical-align: middle;
19
+ font-size:20px;
20
+ }
21
+
22
+
23
+ .main-menu:hover,nav.main-menu.expanded {
24
+ width:250px;
25
+ overflow:visible;
26
+ }
27
+
28
+ .main-menu {
29
+ background:#fbfbfb;
30
+ border-right:1px solid #e5e5e5;
31
+ position:absolute;
32
+ top:0;
33
+ bottom:0;
34
+ height:100%;
35
+ left:0;
36
+ width:60px;
37
+ overflow:hidden;
38
+ -webkit-transition:width .05s linear;
39
+ transition:width .05s linear;
40
+ -webkit-transform:translateZ(0) scale(1,1);
41
+ z-index:1000;
42
+ }
43
+
44
+ .main-menu>ul {
45
+ margin:7px 0;
46
+ }
47
+
48
+ .main-menu li {
49
+ position:relative;
50
+ display:block;
51
+ width:250px;
52
+ }
53
+
54
+ .main-menu li>a {
55
+ position:relative;
56
+ display:table;
57
+ border-collapse:collapse;
58
+ border-spacing:0;
59
+ color:#999;
60
+ font-family: arial;
61
+ font-size: 14px;
62
+ text-decoration:none;
63
+ -webkit-transform:translateZ(0) scale(1,1);
64
+ -webkit-transition:all .1s linear;
65
+ transition:all .1s linear;
66
+
67
+ }
68
+
69
+ .main-menu .nav-icon {
70
+ position:relative;
71
+ display:table-cell;
72
+ width:60px;
73
+ height:36px;
74
+ text-align:center;
75
+ vertical-align:middle;
76
+ font-size:18px;
77
+ }
78
+
79
+ .main-menu .nav-text {
80
+ position:relative;
81
+ display:table-cell;
82
+ vertical-align:middle;
83
+ width:190px;
84
+ font-family: 'Titillium Web', sans-serif;
85
+ }
86
+
87
+ .main-menu>ul.logout {
88
+ position:absolute;
89
+ left:0;
90
+ bottom:0;
91
+ }
92
+
93
+ .no-touch .scrollable.hover {
94
+ overflow-y:hidden;
95
+ }
96
+
97
+ .no-touch .scrollable.hover:hover {
98
+ overflow-y:auto;
99
+ overflow:visible;
100
+ }
101
+
102
+ a:hover,a:focus {
103
+ text-decoration:none;
104
+ }
105
+
106
+ nav {
107
+ -webkit-user-select:none;
108
+ -moz-user-select:none;
109
+ -ms-user-select:none;
110
+ -o-user-select:none;
111
+ user-select:none;
112
+ }
113
+
114
+ nav ul,nav li {
115
+ outline:0;
116
+ margin:0;
117
+ padding:0;
118
+ }
119
+ .main-menu li:hover>a,nav.main-menu li.active>a,.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus,.no-touch .dashboard-page nav.dashboard-menu ul li:hover a,.dashboard-page nav.dashboard-menu ul li.active a {
120
+ color:#fff;
121
+ background-color:#5fa2db;
122
+ }
123
+ .area {
124
+ float: left;
125
+ background: #e2e2e2;
126
+ width: 100%;
127
+ height: 100%;
128
+ }
129
+ @font-face {
130
+ font-family: 'Titillium Web';
131
+ font-style: normal;
132
+ font-weight: 300;
133
+ src: local('Titillium WebLight'), local('TitilliumWeb-Light'), url(http://themes.googleusercontent.com/static/fonts/titilliumweb/v2/anMUvcNT0H1YN4FII8wpr24bNCNEoFTpS2BTjF6FB5E.woff) format('woff');
134
+ }
135
+