Code Monkey home page Code Monkey logo

ct-paper-kit-2-pro's Introduction

version GitHub issues open GitHub issues closed Join the chat at https://gitter.im/NIT-dgp/General Chat

Paper Kit 2 PRO

Paper Kit 2 PRO is a premium Bootstrap 4 UI Kit with a huge number of components, sections and example pages. All the components are designed to look great together, following the same design pattern. Any elements that is vital to code a web project is already here, fully coded. All components are fully responsive and look great on every screen size. Transitions, shadows, colors, they all resemble the flow you would have using pieces of paper.

The idea behind Paper Kit 2 PRO is creating beautiful, playful design. We have created the UI Kit kit having pastel colors and paper in mind. It feels light, fresh and easy to go through. It looks great with illustrations and drawings, but also using images. It features beautiful typography, font icons and thoughtful layouts.

Paper Kit 2 PRO is the extended version of Paper Kit. Based on feedback from people that downloaded and used it, we have added needed components and we have created multiple examples pages. We are curious to see how you want to use it and also improve it, so let us know any feedback you have.

Table of Contents

Versions

HTML Angular
Paper Kit  HTML Paper Kit  Angular

Demo

Buttons Navigation JS Components
Buttons Navigation JS Components
Register Page Landing Page Profile Page
Register Page Landing Page Profile Page

View More

Quick start

We've also included an optional Gulp file to help you get started with theme customization. You'll need to install Node.js and Gulp before using our included gulpfile.js.

  1. Download the project's zip
  2. Make sure you have node.js (https://nodejs.org/en/) installed
  3. Type npm install in terminal/console in the source folder where package.json is located
  4. You will find all the branding colors inside assets/scss/paper-kit/_variables.scss. You can change them with a HEX value or with other predefined variables.
  5. Run in terminal gulp compile-scss for a single compilation or gulp watch for continous compilation of the changes that you make in *.scss files. This command should be run in the same folder where gulpfile.js and package.json are located
  6. Run in terminal gulp open-app for opening the Presentation Page (default) of the product.

Documentation

The documentation for the Paper Kit 2 PRO is hosted at our website.

File Structure

Within the download you'll find the following directories and files:

paper-kit-2-pro
├── assets
│   ├── css
│   │   ├── bootstrap.min.css
│   │   ├── demo.css
│   │   ├── nucleo-icons.css
│   │   ├── paper-kit.css
│   ├── fonts
│   ├── img
│   ├── js
│   │   ├── bootstrap-datetimepicker.min.js
│   │   ├── bootstrap-select.js
│   │   ├── bootstrap-switch.min.js
│   │   ├── bootstrap-tagsinput.js
│   │   ├── bootstrap.min.js
│   │   ├── demo.js
│   │   ├── jasny-bootstrap.min.js
│   │   ├── jquery-3.2.1.min.js
│   │   ├── jquery-ui-1.12.1.custom.min.js
│   │   ├── moment.min.js
│   │   ├── nouislider.js
│   │   ├── paper-kit.js
│   │   ├── photo_swipe
│   │   │   ├── init-gallery.js
│   │   │   ├── photoswipe-ui-default.min.js
│   │   │   └── photoswipe.min.js
│   │   ├── presentation-page
│   │   │   └── main.js
│   │   └── tether.min.js
│   ├── sass
│   │   ├── demo.scss
│   │   ├── paper-kit
│   │   └── paper-kit.scss
│   └── video
├── documentation
│   └── tutorial-components.html
├── examples
│   ├── 404.html
│   ├── 422.html
│   ├── 500.html
│   ├── about-us.html
│   ├── add-product.html
│   ├── blog-post.html
│   ├── blog-posts.html
│   ├── contact-us.html
│   ├── discover.html
│   ├── ecommerce.html
│   ├── landing.html
│   ├── login.html
│   ├── product-page.html
│   ├── profile.html
│   ├── register.html
│   ├── search-with-sidebar.html
│   ├── settings.html
│   └── twitter-redesign.html
├── index.html
├── nucleo-icons-demo.html
├── presentation.html
├── CHANGELOG.md
├── README.md
├── sections.html
└── template.html

Browser Support

At present, we officially aim to support the last two versions of the following browsers:

Resources

Dashboards:

HTML React Vue Angular
Paper Dashboard  HTML Paper Dashboard  React Vue Paper Dashboard  Paper Dashboard Angular

Reporting Issues

We use GitHub Issues as the official bug tracker for the Paper Kit 2 PRO. Here are some advices for our users that want to report an issue:

  1. Make sure that you are using the latest version of the Paper Kit 2 PRO. Check the CHANGELOG from your dashboard on our website.
  2. Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed.
  3. Some issues may be browser specific, so specifying in what browser you encountered the issue might help.

Licensing

Useful Links

Social Media

Twitter: https://twitter.com/CreativeTim

Facebook: https://www.facebook.com/CreativeTim

Dribbble: https://dribbble.com/creativetim

Instagram: https://www.instagram.com/CreativeTimOfficial

ct-paper-kit-2-pro's People

Contributors

dragosct avatar groovemen avatar marqbeniamin avatar timcreative avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ct-paper-kit-2-pro's Issues

Select dropdown and product page slider issue on responsive

Hi! For fixing the issue with select dropdown and slider from product page on responsive you must follow the next steps:

  1. Go in the project files to assets/sass/paper-kit/_bootstrap-select.scss partial and replace with the new one.
    _bootstrap-select.scss.zip

  2. Again in assets/sass/paper-kit/_examples.scss and assets/sass/paper-kit/_responsive.scss partials replace with the uploaded files.
    _examples.scss.zip
    _responsive.scss.zip

  3. Now please compile your scss with Koala and please be sure that your output path is assets/css/paper-kit.css.

Hope that will help you!

Regards,
Dragos

image being unresponsive on mobile devices

1st image:

page-header { background-color: #B2AFAB; background-position: center center; background-size: cover; min-height: 100vh; max-height: 999px; height: auto; overflow: hidden; position: relative; width: 100% \9; z-index: 1; } .page-header .page-header-image { position: absolute; background-size: cover; background-position: center center; width: 100%; height: 100%; z-index: -1; }

2nd image:

.img-responsive {
max-width: 100%;
height: auto;
display: block;
}

How to activate Pricing Toggle

I want to use "Pricing 2" from your sections.html example but I don't see any documentation on ways to activate the "monthly" vs "yearly" pricing in the price card.

Directory structure is not the same as the documentation

Missing documentation and missing css files. Can't get this to load. It seems as though the documentation is for Paper kit original not paper kit 2 or something. I don't have nucleo-icons.css for example. No where to be found in the downloaded bundle. Its so mixed up I don't even know how to straighten it out.

Example missing in console:

GET http://127.0.0.1:8000/static/assets/css/nucleo-icons.css net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:20 GET http://127.0.0.1:8000/static/assets/css/kit-pro.css net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:114 GET http://127.0.0.1:8000/static/assets/js/plugins/nouislider.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:123 GET http://127.0.0.1:8000/static/assets/js/plugins/bootstrap-datetimepicker.min.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:126 GET http://127.0.0.1:8000/static/assets/js/photo_swipe/photoswipe.min.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:127 GET http://127.0.0.1:8000/static/assets/js/photo_swipe/photoswipe-ui-default.min.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:128 GET http://127.0.0.1:8000/static/assets/js/photo_swipe/init-gallery.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:114 GET http://127.0.0.1:8000/static/assets/js/plugins/nouislider.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:123 GET http://127.0.0.1:8000/static/assets/js/plugins/bootstrap-datetimepicker.min.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:126 GET http://127.0.0.1:8000/static/assets/js/photo_swipe/photoswipe.min.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:127 GET http://127.0.0.1:8000/static/assets/js/photo_swipe/photoswipe-ui-default.min.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:128 GET http://127.0.0.1:8000/static/assets/js/photo_swipe/init-gallery.js 404 (Not Found)

Default pagination style should match Button default style

Hi!

The default pagination clash with the danger one, as the two are identical with orange themed numbers. So I think the default pagination style should match de default button style, with dark borders and numbers. I will overwrite them in my site, but I would like to know if this will be fixed in future releases.

Best regards,
Juan

File Input Malformed

In the documentation, it shows a image upload example, however, it doesn't show a file input example. I did realize that the docs had stated that I should visit the Bootstrap Jansy page for more information and examples, so I did go there to find out how to do a file input. I ten copied the example from the docs to my website (look below)

<div class="fileinput fileinput-new input-group" data-provides="fileinput">
    <div class="form-control" data-trigger="fileinput"><i class="glyphicon glyphicon-file fileinput-exists"></i> <span class="fileinput-filename"></span></div>
    <span class="input-group-addon btn btn-default btn-file"><span class="fileinput-new">Select file</span><span class="fileinput-exists">Change</span><input type="file" name="..."></span>
    <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
</div>

Once I copied it to my website (while using the New Product Page template provided). It turned out like this:
idek

I have tried to mess with the classes and ids, but no luck. Help would be greatly appreciated.
Thanks!

Loading CSS/Scripts

Hello,

Because JQuery is required, is there a way to load/combine scripts so they load more quickly?

Async/Defer etc?

Multilevel menu

If you want a multi-level dropdown menu, this is what you have to do:

  • create a navbar with a sub-level dropdown menu:
<nav class="navbar navbar-expand-md navbar-light bg-light">
  <a class="navbar-brand" href="#">Navbar</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse" id="navbarNavDropdown">
    <ul class="navbar-nav">
      <li class="nav-item active">
          <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item">
          <a class="nav-link" href="#">Features</a>
      </li>
      <li class="nav-item">
          <a class="nav-link" href="#">Pricing</a>
      </li>
      <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" href="https://bootstrapthemes.co" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
          Dropdown link
        </a>
        <ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
          <li><a class="dropdown-item" href="#">Action</a></li>
          <li><a class="dropdown-item" href="#">Another action</a></li>
          <li><a class="dropdown-item dropdown-toggle" href="#">Submenu</a>
            <ul class="dropdown-menu">
                <li><a class="dropdown-item" href="#">Submenu action</a></li>
                <li><a class="dropdown-item" href="#">Another submenu action</a></li>
                <li><a class="dropdown-item dropdown-toggle" href="#">Subsubmenu</a>
                    <ul class="dropdown-menu">
                        <li><a class="dropdown-item" href="#">Subsubmenu action aa</a></li>
                        <li><a class="dropdown-item" href="#">Another subsubmenu action</a></li>
                    </ul>
                </li>
                <li><a class="dropdown-item dropdown-toggle" href="#">Second subsubmenu</a>
                    <ul class="dropdown-menu">
                        <li><a class="dropdown-item" href="#">Subsubmenu action bb</a></li>
                        <li><a class="dropdown-item" href="#">Another subsubmenu action</a></li>
                    </ul>
                </li>
            </ul>
          </li>
        </ul>
      </li>
    </ul>
  </div>
</nav>
  • go in paper-kit.js and insert this block of code:
$( document ).ready( function () {
    $( '.dropdown-menu a.dropdown-toggle' ).on( 'click', function ( e ) {
        var $el = $( this );
        var $parent = $( this ).offsetParent( ".dropdown-menu" );
        if ( !$( this ).next().hasClass( 'show' ) ) {
            $( this ).parents( '.dropdown-menu' ).first().find( '.show' ).removeClass( "show" );
        }
        var $subMenu = $( this ).next( ".dropdown-menu" );
        $subMenu.toggleClass( 'show' );
        
        $( this ).parent( "li" ).toggleClass( 'show' );

        $( this ).parents( 'li.nav-item.dropdown.show' ).on( 'hidden.bs.dropdown', function ( e ) {
            $( '.dropdown-menu .show' ).removeClass( "show" );
        } );
        
         if ( !$parent.parent().hasClass( 'navbar-nav' ) ) {
            $el.next().css( { "top": $el[0].offsetTop, "left": $parent.outerWidth() - 4 } );
        }

        return false;
    } );
} );

Best, Stefan

screen shot 2018-02-26 at 15 22 07

css issues

Paying for this product I would have hoped it to be a bit more robust, having a ton of issues:

https://demos.creative-tim.com/paper-kit-2-pro/examples/blog-post.html
-> author, comments and related articles are missing a "col" class to be displayed correctly on IE

https://demos.creative-tim.com/paper-kit-2-pro/sections.html#blogs
-> huge whitespaces using IE. Cards can be fixed by overwriting the ".card" class from "display:flex" to "display:block" - but I'm not sure why or whether it kills some other layouts.

On a more general note:

css file has a lot of duplicate code, for example sections of the navigation style are in there twice

https://demos.creative-tim.com/paper-kit-2-pro/docs/1.0/getting-started/introduction.html
-> that light grey text on white background kills my eyes, and I have perfect eyesight -.- please be nice to us and change it.

I know IE is a major pain in the arse, but I actually paid that money so I don't have to deal with such stuff.

Cheers

Minification issue

Hi,
I'm having issues when I use the minified version of the paper-kit.min.css.
This is the error I get i my browser:
/* Minification failed. Returning unminified contents.
(25,69120): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(25,69210): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(25,69294): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
/
/
!

This issue originates in the file "_nucleo-icons.scss" - in the "Spinning Icons"-section.
When this file is minified the @-webkit-keyframes, @-moz-keyframe and @Keyframes are removed.

What can I do to prevent this error?

Best regards
Rasmus

Carousel does not size correctly on some image/screen sizes

The carousel does not appear to size correctly to fit width of the image on some high screen widths. This can be seen on the demo page https://demos.creative-tim.com/paper-kit-2-pro/docs/1.0/components/carousel.html.

When the height of the carousel reaches the height of the image (in this case 400px) the carousel continues to expand on width but not height. This results in an odd margin appearing.

Example with the background color switched to blue to show the effect
http://jmp.sh/IqHGhI9

Strange behaviour of dropdown inside card

When Paper KIT 2 PRO css is loaded, DropDown items are presented behind other cards in the same page.

The first image below shows the expected bahaviour of a DropDown in a page with a number of side-by-side cards. In this case, the include for the theme CSS was removed.

Without Paper-kit

The second image below shows the described strange behaviour where DropDown items go behind the other cards in the same page.

With Paper-kit

I ask for a fix, since this deeply affects the user experience.

Thanks in advance!

Alex

https instead of http

Hi!
Please check console at https://demos.creative-tim.com/paper-kit-2-pro/examples/register.html
You'll see that

Mixed Content: The page at 'https://demos.creative-tim.com/paper-kit-2-pro/examples/register.html' was loaded over HTTPS, but requested an insecure stylesheet 'http://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css'. This request has been blocked; the content must be served over HTTPS.

It means that you need to update links in head section to https

[Bug] Footer not visible for few page and in some page its over the content for some page in safari mobile.

Version

2.3.1

Reproduction link

https://bss-at.com/pages/products/femto-tech.html

Operating System

ios 14

Device

Iphone 12

Browser & Version

14.0

Steps to reproduce

Open the link on iphone with safari browser.
scroll to the bottom

What is expected?

The footer should be on the bottom of the page

What is actually happening?

instead of being at the bottom of the page it is over the content


Solution

No solution

Additional comments

Landing Page Top Navigation Bar - Not visible after scrolling down, and slightly scrolling up--- background problem

Version

2.3.1

Reproduction link

https://demos.creative-tim.com/paper-kit-2-pro/examples/landing-page.html

Operating System

windows 10

Device

PC

Browser & Version

Chrome - last version

Steps to reproduce

go to Landing Page example.
Scroll down to a white section
slightly scroll up, the top menu will come (or try) visible, but not really. The transparent background will not act well.

What is expected?

top menu to be visible

What is actually happening?

top menu not visible


Solution

We need a 50% alpha black background on that horizontal div behind top menu, when the scroll is not at top.

Additional comments

Inputs issues

Hi!
Could you tell me please how to fix it?

1 - I cannot change size of input field to match text size
2 - I added datetimepicker, but I see something wrong with borders :(

.page-header data-parallax="true" style="background-image: url('/images/sections/dog-face.jpg');"
  .filter
  .content-center
    .container
      .row
        .col-md-8.ml-auto.mr-auto.text-center
          h1.title = gettext "We will take care of your pet!"
          h4.description = gettext "Platform for solving daily issues of pet owners"
          br/
        .col-md-10.ml-auto.mr-auto
          .card.card-raised.card-form-horizontal.no-transition
            .card-body
              form action="" method="" 
                .row
                  .col-md-3
                    .form-group
                      select.selectpicker data-menu-style="dropdown-info" name="huge" 
                        option disabled="disabled" selected="selected"  = gettext "I'm looking for"
                        option value="1"  =gettext "Veterinary"
                        option value="1"  =gettext "Pet care"
                        option value="1"  =gettext "Find pet friendly cafe"
                        option value="1"  =gettext "Buy pet stuff"
                        option value="1"  =gettext "Buy new pet"
                        option value="1"  =gettext "Pet from shelter"
                        option value="1"  =gettext "Find my pet"
                        option value="1"  =gettext "Find owner of lost pet i found"


                  .col-md-3
                    .form-group
                      input.form-control placeholder="Where" type="text" value=""
                  .col-md-3
                    .form-group
                      #datetimepicker.input-group.date
                        input.form-control.datetimepicker placeholder="When" type="text" value=""
                  .col-md-3
                    button.btn.btn-danger.btn-block type="button" 
                      i.nc-icon.nc-zoom-split
                      | &nbsp; 
                      = gettext "Search"

cosmozoo

Bootstrap SCSS and custom.scss

The UI Kit distribution uses included bootstrap CSS files. This means that a lot of styles are hard-coded into CSS files that makes it hard to override some basic color and style information.

Is there a way to get the UI kit default bootstrap SCSS along with the custom.scss that you have applied so that we can override without having to manually search CSS files?

[Bug] Safari compatibility

Version

Version 2.3.1

Reproduction link

https://www.balboa.com/5414dl/bv/bv/bv3.html

Operating System

MAC OS Big Sur 11.2.2

Device

MacBook Pro

Browser & Version

Safari 14.0.3

Steps to reproduce

Open link in Safari.

What is expected?

I expect the video to fitwithin the frame.

What is actually happening?

The video is pushed off to the right on my mac. It works great on edge and chrome.


Solution

my only solution is to not use the video but the whole reason I went with this template was for a video layout for one the headers.

Additional comments

Cant compile stock scss

I have untouched Paper Kit 2 PRO v. 2.2.1.

When I try to compile from scss at /assets/scss/paper-kit.scss I get error:
Error: Top-level selectors may not contain the parent selector "&". &::-moz-placeholder {@content; } // Firefox scss/paper-kit/mixins/_inputs.scss 15:3 placeholder() scss/paper-kit/_inputs.scss 1:1 @import scss/paper-kit.scss 40:9 root stylesheet

Add image to text in Carousel

I am developing a site using Paper Kit Pro 2, and have a carousel on the home page.
http://www.lock.cgiadvertising.com/image-test.html

On the third carousel item, I want to add an image as a part of the text, but I'm unable to size the image correctly. It's taking on the style of the entire container.

I've attached screenshots that show how I want it to look, vs what is actually happening.
whatiwant
whathappens

This is the html, starting on line 146:

       <div class="carousel-item">
          <div class="page-header" style="background-image: url('assets/img/safeidlock/istockphoto-647577820-2048x2048.jpg?dpr=2&amp;auto=format&amp;fit=crop&amp;w=1500&amp;h=1000&amp;q=80&amp;cs=tinysrgb&amp;crop=')">
            <div class="filter-safelockdarker"></div>
            <div class="content-center">
              <div class="container">
                <div class="row">
                <div class="col-md-6 text-left">
                  <div class="col-md-6">

$1,000,000 ID Theft Protection Policy

Fast, professional Identity Restoration

Access your credit score and report - Anytime


Carousel not advancing on tablets

I'm having a problem with the Carousel slider, where the slides will not advance beyond slider #2. The issue is on tablet devices, such as the iPad.

Development site:
http://www.lock.cgiadvertising.com/home-page-test.html

Please view the page on an iPad (not on a desktop browser in "responsive" mode"). The carousel will advance to the second slide, but then stop. Slides 3 and 4 never appear.

There is no problem on desktop or on an iPhone.

Note: This issue is in your demo as well:
https://demos.creative-tim.com/paper-kit-2-pro/sections.html

Sections - Project 4 - Remove reliance on auto margins and manual ordering of html

I'm currently using this framework on a pretty large project and I'm finding some of the CSS choices.... confusing and somewhat sloppy. I'm noticing a reliance on things like auto margins where properly implemented Flex would be a lot better.

The most prominent example of this came up while implementing the Project 4 section styling on a page and I made the following revisions to make it much less fiddly to implement in a dynamic site.

/* SCSS */
.project-4 {
   > .container > .row {
        justify-content: center;
        &:nth-of-type(odd) > *:first-child {
            order: 1;
        }
    }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.