angularstrap-rails 0.7.6
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.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +41 -0
- data/Rakefile +1 -0
- data/angularstrap-rails.gemspec +15 -0
- data/lib/angularstrap-rails.rb +8 -0
- data/lib/angularstrap-rails/version.rb +5 -0
- data/vendor/assets/javascripts/angular-strap.js +975 -0
- data/vendor/assets/javascripts/angular-strap/bootstrap-datepicker.js +1046 -0
- data/vendor/assets/javascripts/angular-strap/bootstrap-select.js +457 -0
- data/vendor/assets/javascripts/angular-strap/bootstrap-timepicker.js +888 -0
- data/vendor/assets/stylesheets/angular-strap/bootstrap-datepicker.css +301 -0
- data/vendor/assets/stylesheets/angular-strap/bootstrap-select.css +160 -0
- data/vendor/assets/stylesheets/angular-strap/bootstrap-timepicker.css +121 -0
- metadata +61 -0
| @@ -0,0 +1,121 @@ | |
| 1 | 
            +
            /*!
         | 
| 2 | 
            +
             * Timepicker Component for Twitter Bootstrap
         | 
| 3 | 
            +
             *
         | 
| 4 | 
            +
             * Copyright 2013 Joris de Wit
         | 
| 5 | 
            +
             *
         | 
| 6 | 
            +
             * Contributors https://github.com/jdewit/bootstrap-timepicker/graphs/contributors
         | 
| 7 | 
            +
             *
         | 
| 8 | 
            +
             * For the full copyright and license information, please view the LICENSE
         | 
| 9 | 
            +
             * file that was distributed with this source code.
         | 
| 10 | 
            +
             */
         | 
| 11 | 
            +
            .bootstrap-timepicker {
         | 
| 12 | 
            +
              position: relative;
         | 
| 13 | 
            +
            }
         | 
| 14 | 
            +
            .bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu {
         | 
| 15 | 
            +
              left: auto;
         | 
| 16 | 
            +
              right: 0;
         | 
| 17 | 
            +
            }
         | 
| 18 | 
            +
            .bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:before {
         | 
| 19 | 
            +
              left: auto;
         | 
| 20 | 
            +
              right: 12px;
         | 
| 21 | 
            +
            }
         | 
| 22 | 
            +
            .bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:after {
         | 
| 23 | 
            +
              left: auto;
         | 
| 24 | 
            +
              right: 13px;
         | 
| 25 | 
            +
            }
         | 
| 26 | 
            +
            .bootstrap-timepicker .add-on {
         | 
| 27 | 
            +
              cursor: pointer;
         | 
| 28 | 
            +
            }
         | 
| 29 | 
            +
            .bootstrap-timepicker .add-on i {
         | 
| 30 | 
            +
              display: inline-block;
         | 
| 31 | 
            +
              width: 16px;
         | 
| 32 | 
            +
              height: 16px;
         | 
| 33 | 
            +
            }
         | 
| 34 | 
            +
            .bootstrap-timepicker-widget.dropdown-menu {
         | 
| 35 | 
            +
              padding: 2px 3px 2px 2px;
         | 
| 36 | 
            +
            }
         | 
| 37 | 
            +
            .bootstrap-timepicker-widget.dropdown-menu.open {
         | 
| 38 | 
            +
              display: inline-block;
         | 
| 39 | 
            +
            }
         | 
| 40 | 
            +
            .bootstrap-timepicker-widget.dropdown-menu:before {
         | 
| 41 | 
            +
              border-bottom: 7px solid rgba(0, 0, 0, 0.2);
         | 
| 42 | 
            +
              border-left: 7px solid transparent;
         | 
| 43 | 
            +
              border-right: 7px solid transparent;
         | 
| 44 | 
            +
              content: "";
         | 
| 45 | 
            +
              display: inline-block;
         | 
| 46 | 
            +
              left: 9px;
         | 
| 47 | 
            +
              position: absolute;
         | 
| 48 | 
            +
              top: -7px;
         | 
| 49 | 
            +
            }
         | 
| 50 | 
            +
            .bootstrap-timepicker-widget.dropdown-menu:after {
         | 
| 51 | 
            +
              border-bottom: 6px solid #FFFFFF;
         | 
| 52 | 
            +
              border-left: 6px solid transparent;
         | 
| 53 | 
            +
              border-right: 6px solid transparent;
         | 
| 54 | 
            +
              content: "";
         | 
| 55 | 
            +
              display: inline-block;
         | 
| 56 | 
            +
              left: 10px;
         | 
| 57 | 
            +
              position: absolute;
         | 
| 58 | 
            +
              top: -6px;
         | 
| 59 | 
            +
            }
         | 
| 60 | 
            +
            .bootstrap-timepicker-widget a.btn,
         | 
| 61 | 
            +
            .bootstrap-timepicker-widget input {
         | 
| 62 | 
            +
              border-radius: 4px;
         | 
| 63 | 
            +
            }
         | 
| 64 | 
            +
            .bootstrap-timepicker-widget table {
         | 
| 65 | 
            +
              width: 100%;
         | 
| 66 | 
            +
              margin: 0;
         | 
| 67 | 
            +
            }
         | 
| 68 | 
            +
            .bootstrap-timepicker-widget table td {
         | 
| 69 | 
            +
              text-align: center;
         | 
| 70 | 
            +
              height: 30px;
         | 
| 71 | 
            +
              margin: 0;
         | 
| 72 | 
            +
              padding: 2px;
         | 
| 73 | 
            +
            }
         | 
| 74 | 
            +
            .bootstrap-timepicker-widget table td:not(.separator) {
         | 
| 75 | 
            +
              min-width: 30px;
         | 
| 76 | 
            +
            }
         | 
| 77 | 
            +
            .bootstrap-timepicker-widget table td span {
         | 
| 78 | 
            +
              width: 100%;
         | 
| 79 | 
            +
            }
         | 
| 80 | 
            +
            .bootstrap-timepicker-widget table td a {
         | 
| 81 | 
            +
              border: 1px transparent solid;
         | 
| 82 | 
            +
              width: 100%;
         | 
| 83 | 
            +
              display: inline-block;
         | 
| 84 | 
            +
              margin: 0;
         | 
| 85 | 
            +
              padding: 8px 0;
         | 
| 86 | 
            +
              outline: 0;
         | 
| 87 | 
            +
              color: #333;
         | 
| 88 | 
            +
            }
         | 
| 89 | 
            +
            .bootstrap-timepicker-widget table td a:hover {
         | 
| 90 | 
            +
              text-decoration: none;
         | 
| 91 | 
            +
              background-color: #eee;
         | 
| 92 | 
            +
              -webkit-border-radius: 4px;
         | 
| 93 | 
            +
              -moz-border-radius: 4px;
         | 
| 94 | 
            +
              border-radius: 4px;
         | 
| 95 | 
            +
              border-color: #ddd;
         | 
| 96 | 
            +
            }
         | 
| 97 | 
            +
            .bootstrap-timepicker-widget table td a i {
         | 
| 98 | 
            +
              margin-top: 2px;
         | 
| 99 | 
            +
            }
         | 
| 100 | 
            +
            .bootstrap-timepicker-widget table td input {
         | 
| 101 | 
            +
              width: 25px;
         | 
| 102 | 
            +
              margin: 0;
         | 
| 103 | 
            +
              text-align: center;
         | 
| 104 | 
            +
            }
         | 
| 105 | 
            +
            .bootstrap-timepicker-widget .modal-content {
         | 
| 106 | 
            +
              padding: 4px;
         | 
| 107 | 
            +
            }
         | 
| 108 | 
            +
            @media (min-width: 767px) {
         | 
| 109 | 
            +
              .bootstrap-timepicker-widget.modal {
         | 
| 110 | 
            +
                width: 200px;
         | 
| 111 | 
            +
                margin-left: -100px;
         | 
| 112 | 
            +
              }
         | 
| 113 | 
            +
            }
         | 
| 114 | 
            +
            @media (max-width: 767px) {
         | 
| 115 | 
            +
              .bootstrap-timepicker {
         | 
| 116 | 
            +
                width: 100%;
         | 
| 117 | 
            +
              }
         | 
| 118 | 
            +
              .bootstrap-timepicker .dropdown-menu {
         | 
| 119 | 
            +
                width: 100%;
         | 
| 120 | 
            +
              }
         | 
| 121 | 
            +
            }
         | 
    
        metadata
    ADDED
    
    | @@ -0,0 +1,61 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 | 
            +
            name: angularstrap-rails
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 0.7.6
         | 
| 5 | 
            +
              prerelease: 
         | 
| 6 | 
            +
            platform: ruby
         | 
| 7 | 
            +
            authors:
         | 
| 8 | 
            +
            - AkaiBureido
         | 
| 9 | 
            +
            autorequire: 
         | 
| 10 | 
            +
            bindir: bin
         | 
| 11 | 
            +
            cert_chain: []
         | 
| 12 | 
            +
            date: 2013-09-17 00:00:00.000000000 Z
         | 
| 13 | 
            +
            dependencies: []
         | 
| 14 | 
            +
            description: AngularStrap for rails.
         | 
| 15 | 
            +
            email:
         | 
| 16 | 
            +
            - utkin.oleg@me.com
         | 
| 17 | 
            +
            executables: []
         | 
| 18 | 
            +
            extensions: []
         | 
| 19 | 
            +
            extra_rdoc_files: []
         | 
| 20 | 
            +
            files:
         | 
| 21 | 
            +
            - .gitignore
         | 
| 22 | 
            +
            - Gemfile
         | 
| 23 | 
            +
            - LICENSE.txt
         | 
| 24 | 
            +
            - README.md
         | 
| 25 | 
            +
            - Rakefile
         | 
| 26 | 
            +
            - angularstrap-rails.gemspec
         | 
| 27 | 
            +
            - lib/angularstrap-rails.rb
         | 
| 28 | 
            +
            - lib/angularstrap-rails/version.rb
         | 
| 29 | 
            +
            - vendor/assets/javascripts/angular-strap.js
         | 
| 30 | 
            +
            - vendor/assets/javascripts/angular-strap/bootstrap-datepicker.js
         | 
| 31 | 
            +
            - vendor/assets/javascripts/angular-strap/bootstrap-select.js
         | 
| 32 | 
            +
            - vendor/assets/javascripts/angular-strap/bootstrap-timepicker.js
         | 
| 33 | 
            +
            - vendor/assets/stylesheets/angular-strap/bootstrap-datepicker.css
         | 
| 34 | 
            +
            - vendor/assets/stylesheets/angular-strap/bootstrap-select.css
         | 
| 35 | 
            +
            - vendor/assets/stylesheets/angular-strap/bootstrap-timepicker.css
         | 
| 36 | 
            +
            homepage: http://github.com/AkaiBureido/angularstrap-rails
         | 
| 37 | 
            +
            licenses:
         | 
| 38 | 
            +
            - MIT
         | 
| 39 | 
            +
            post_install_message: 
         | 
| 40 | 
            +
            rdoc_options: []
         | 
| 41 | 
            +
            require_paths:
         | 
| 42 | 
            +
            - lib
         | 
| 43 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 44 | 
            +
              none: false
         | 
| 45 | 
            +
              requirements:
         | 
| 46 | 
            +
              - - ! '>='
         | 
| 47 | 
            +
                - !ruby/object:Gem::Version
         | 
| 48 | 
            +
                  version: '0'
         | 
| 49 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 50 | 
            +
              none: false
         | 
| 51 | 
            +
              requirements:
         | 
| 52 | 
            +
              - - ! '>='
         | 
| 53 | 
            +
                - !ruby/object:Gem::Version
         | 
| 54 | 
            +
                  version: '0'
         | 
| 55 | 
            +
            requirements: []
         | 
| 56 | 
            +
            rubyforge_project: 
         | 
| 57 | 
            +
            rubygems_version: 1.8.24
         | 
| 58 | 
            +
            signing_key: 
         | 
| 59 | 
            +
            specification_version: 3
         | 
| 60 | 
            +
            summary: This gem adds AngularStrap to your rails asset pipeline.
         | 
| 61 | 
            +
            test_files: []
         |