Giter VIP home page Giter VIP logo

bootcards's Introduction

No longer maintained

As you can probably tell from the last modified date, this project is no longer maintained. Main reason is that the designer that did most of the work on creating Bootcards is no longer involved. Although I know my way around CSS files, that's not my main area of experience. I'm a web developer. In this project I wrote the demo app and code samples.

I still think this project is relevant and useful. So if you're interested in picking this project up, please let me know. If you do, I still like to help on the technical side.

Mark

Bootcards: A cards-based UI framework with dual-pane capability for mobile and desktop, built on top of Bootstrap

Bootcards is a cards-based UI framework. It is built on top of Bootstrap and uses its responsive features. Bootcards has a native look on Android, iOS and desktop. Unlike most other UI frameworks, it includes a dual-pane interface for tablet users.

Why Bootcards?

We think Cards are the design pattern for mobile of the future. The near future that is. Cards are appearing already on sites and apps like Twitter, Google Now, Facebook, Spotify, Pinterest, and Amazon. To kickstart your (and our) projects we decided to create Bootcards.

Release

The current version of Bootcards is stable, but always work in progress. We built a demo app showcasing what the framework (and your apps) can look like using NodeJS. You'll find it here (note that adding, saving and deleting items is not implemented). Please let us know what you think!

Want to help or want to know more? Drop us a note at [email protected]. Look for more info at http://www.bootcards.org and follow us on Twitter (http://www.twitter.com/bootcards).

License

Bootcards is released under an MIT license. It contains code from the Twitter Bootstrap and Ratchet projects (both also MIT licensed).

Building

To build the Bootcards source files you'll need to have Node and NPM installed. Bootcards uses Grunt to build the source files and uses the grunt-sass Grunt task (which uses libsass) to compile the SASS files.

Install Grunt using:

npm install -g grunt-cli

Then run an npm install and bower install to resolve all other dependencies. You can then build Bootcards from the source files by calling grunt. You can also use grunt watch to continuously monitor the source folder for changes and auto-build the project.

bootcards's People

Contributors

akjoshi avatar dreadjr avatar jackherbert avatar markleusink avatar napalm684 avatar sacro avatar tomturner avatar trshafer avatar westy92 avatar whitemx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bootcards's Issues

npm package

Hey Bootcard,

Any thoughts of registering an npm package for bootcards?

Thanks!

Modals that overflow off screen are not presented properly

In the screenshots below, there is a modal that is larger than the screen (in this case landscape iPhone but equally applies for larger modals on larger mobile device screens). When you scroll to see the bottom of the modal the background of the modal disappears.

img_0590
img_0592

Lock to a specific Bootstrap release to avoid easy breakage.

I'm playing with boot cards and getting less-than-desirable results with 1.1.2 and Bootstrap 3.3.5.

It seems that the font-size of h4 changed in Bootstrap
3.3.1 = 14px
3.3.5 = 18px

list_item

Such a small change breaks the look of Bootcards. To avoid this, you have 2 options:

  • use a preprocessor to adjust sizes automatically
  • lock to a specific Bootstrap release (instead of saying "^3" like your bower.json says)

.bootcards-container issue with modals

If I position the markup for a modal anywhere inside the main .bootcards-container div the modal is hidden behind the modal-backdrop div.

if I change this line:

.bootcards-container,.offcanvaslist-toggle{-webkit-transform:translate3d(0px,0,0);-moz-transform:translate3d(0px,0,0);-o-transform:translate3d(0px,0,0);-ms-transform:translate3d(0px,0,0);transform:translate3d(0px,0,0);-webkit-transition:.25s ease;-moz-transition:.25s ease;-o-transition:.25s ease;transition:.25s ease}

To this:

.offcanvaslist-toggle{-webkit-transform:translate3d(0px,0,0);-moz-transform:translate3d(0px,0,0);-o-transform:translate3d(0px,0,0);-ms-transform:translate3d(0px,0,0);transform:translate3d(0px,0,0);-webkit-transition:.25s ease;-moz-transition:.25s ease;-o-transition:.25s ease;transition:.25s ease}

Then the problem goes away. Is this something I can request? I have to use the .bootcards-container class for the menu system / portrait iPad functionality.

List > Arrow Render Issue

The ">" arrow in a list does not always render correctly.

image

It appears to be rendering the content as more than one character.

    a.list-group-item:before {
        font-family:FontAwesome;
        content:'�';
        ...
    }

Note: I am using Chrome 42.0.2311.90 m on Windows 7 Pro.

css and meteor.js

As it seems that bootcards is using some serious magic to use only one css file from three included, it is not compatible with meteor.js, which compiles all css into one big file. Maybe you have some idea how I could make bootcards work properly with all three css files being there at the same time?

Or maybe you can point at the piece of code that does css file selection? It is unlikely that it I could somehow create my own version of bootcards that does css inclusion differently, but I could at least check it out.

I have also described this issue at the repo that tries to package bootcards for meteor. MasahiroMorita/mmorita-bootcardsjs#2

thanks in advance for any pointers!

Slide-in button not reliable

For some reason, slide-in activation isn't reliable on my iPad, sometimes it works and sometimes it doesn't, you often have to tap 2 or 3 times to get it to work.

(I've seen this sort of behaviour before on an old Unplugged Controls release and it was caused by a bug in the menu button code. The other possible explanation is that my iPad screen has become desensitised at the top left hand side, but this I have ruled out because top left buttons work fine in other apps)

Official documentation needs updated to match current release

The website says that v0.2.0 is current, but the documentation page shows HTML that (apparently) is for v0.1.0. I spent the better part of my morning trying to figure out why my offscreen sliding nav wasn't picking up the correct styling, even though the CSS was loaded:

docs:

<div class="navmenu navmenu-default navmenu-fixed-left offcanvas">...</div>

v0.2.0 /samples/starter-template.html:

<nav class="navmenu offcanvas offcanvas-left">

I know, I know. That's what I get for copy-pasting from documentation.

Demo data in Customers Demo

A few changes to make this even better:

  1. Add $ sign to numbers in chart and table
  2. Right-justify numbers in table
  3. Comma format for $0,000s
  4. Change title of left hand summary card in dashboard from "Summary Card Heading" to "Dashboard"
  5. Make circle chart tappable, so that you can tap each segment of the circle to see the corresponding team member name and closed sales number

Documentation Request... bootcards.init()

Am I missing something? I spent forever trying to figure out why my sliding sidebar wasn't working, and finally got it to work after figuring out that I needed to initialize bootcards first using bootcards.init(). I can't find anything in the documentation about this, I found it at the bottom of the demo. Is this documented anywhere?

#main definition breaks modals

The addition of the following CSS:

#main {
  -webkit-transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
  -webkit-transition: 0.25s ease;
  -moz-transition: 0.25s ease;
  -o-transition: 0.25s ease;
  transition: 0.25s ease;  
}
#main.active-left {
  -webkit-transform: translate3d(200px, 0px, 0px);
  -moz-transform: translate3d(200px, 0px, 0px);
  -o-transform: translate3d(200px, 0px, 0px);
  -ms-transform: translate3d(200px, 0px, 0px);
  transform: translate3d(200px, 0px, 0px);
}
#main.active-right {
  -webkit-transform: translate3d(-200px, 0px, 0px);
  -moz-transform: translate3d(-200px, 0px, 0px);
  -o-transform: translate3d(-200px, 0px, 0px);
  -ms-transform: translate3d(-200px, 0px, 0px);
  transform: translate3d(-200px, 0px, 0px);
}

Causes modals that are placed within the body of a page (rather than being right at the end) to not work correctly. I can't see any issue with simple removing the above chunk which is what I've done with the Bootstrap Controls at the moment.

Radio and checkbox buttons not rendered on iOS

With the iOS CSS file, radio and checkbox buttons aren't rendered - at all. Seem to be caused by this line in the iOS CSS:

-webkit-appearance:none;

Not sure if I'm missing something or if this is an error.

I haven't checked/ tested this on Android.

Android problems in portrait mode

The full screen web app doesn't work properly when in portrait mode on my Android Galaxy Note 3 with Kitkat 4.4.

If I load the app, I see the Dashboard ok but when I tap onto Companies or Contracts from the slide-in menu I get a blank screen. I also get a blank screen if I tap onto Companies or Contacts from the summary cards in the dashboard.

In Landscape mode it works pretty much ok, except that the Charts are blank when I tap onto the Charts screen. Staying in that screen and rotating to Portrait mode gets the Charts back.

bootcards

how to do contacts drag from one group to another like icloud.com.

.form-horizontal .form-group div div

The following appears in the source for Form cards. This is... to say the least... problematic.

.form-horizontal .form-group div div {
    padding: 0;
}

Allow 'phablet' design for list/card combo

For larger phones is there an option to have a listCard at the bottom half of the screen and a form in the top half? This makes it easier for users to control apps with one hand. The image below sorta depicts this: the list at the bottom and the card would be where the album covers are (there could be a button to minimize the list if the form card is large):

image

Body padding 80px

Becaouse of following css code nav bar is displaced downwards.

body {
  padding-top: 80px;
  background: #f5f5f5; 
}

Is the above code deliberate added and serves any purpose?

A to Z picker needed for List views

For List views displayed in the left hand panel in landscape orientation, we need an A to Z picker that works in a similar way to the one in iOS Contacts on iPad.

Replace original Sass with libSass

Hello,

I want to start off with a big thank you to the contributors of this library. I've used Bootcards in a recent project and it is a wonder to work with.

Have you thought about replacing the ruby implementation of Sass with libSass? (http://sass-lang.com/libsass)

There is great library that provides bindings for Node.js to libsass: Node-sass (https://github.com/sass/node-sass)

In my opinion, this would be beneficial, since an installation of Ruby would no longer be required and libSass is up to 4000% faster than the ruby distribution.

Check integrity of web app code

It would be good to do some kind of verification (e.g. checksum) on our web app code, maybe as a tool in the demo app, or maybe as an automatic check on startup (better) (which may or may not be technically possible) .

Wireless networks can be very unreliable and lead to incomplete sync sessions or corrupt data.

One one particular network (Highland Capital office wifi in London) I observed inconsistent network behaviour and this was correlated with various breakage modes of the Bootcards demo app, whether it was the stable release or the new release. So it seems that you can break a web app, especially when it is working in full screen mode, just by downloading and installing it over an unreliable network (by unreliable, I mean a network that is prone to random and significant packet loss).

(btw I've seen this sort of behaviour before in Unplugged, with the Unplugged Android engine, which uses an older version of the Unplugged sync code which has less error checking in the sync protocol compared to the latest iOS release. It's very disconcerting when it happens, because it causes you to lose trust in the app)

Independent scrolling of lists not working correctly

The independent scrolling of lists requires the structure of the HTML markup to be

body > .container > .row {
    height: 100%;
    padding-bottom: 50px;

}

So this means that if my page structure is body > form > container > row then scrolling isn't working. Workaround for me is to define a class name to apply to the row to set the height to 100%

Bower installation misses .css files

When installing bootcards via bower, the css files are not installed. This is probably due to the fact that bower.json refers to non-existing file "dist/css/bootcards.css".

Too much margin between icon & menu

See screenshot: the margin between the menu button & icon seems a lot bigger compared to the margin between the edit button & icon. Is this a markup or CSS issue?

photo 20-08-14 08 57 32

Falls out of full screen mode easily

Its fairly easy to provoke the Demo web app to fall out of full screen mode into a browser view.

Go to Contacts in landscape mode
Rotate to portrait mode
Tap on slide in menu (2 or 3 times because it is unreliable see previous issue)
Tap on "Menu" button at top left to go back
Then select something else on the Slide-In Navigator e.g. Companies
You are switched out of full screen mode back into the browser view

There are quite a few user pathways that can provoke this - this is just one example.

IOS menu in the wrong place

When I use the latest version I get the menu bar in the wrong place on IOS and Android

menu button in wrong place

<body id="bootcards">

  <!-- fixed top navbar -->
  <div class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand no-break-out" title="Bootcards Starter" href="/">Bootcards</a>
        </div>

        <button type="button" class="btn btn-default btn-back pull-left hidden" onclick="history.back()">
        <i class="fa fa-lg fa-chevron-left"></i><span>Back</span>
      </button>
      <!-- menu button to show/ hide the off canvas slider -->
      <button type="button" class="btn btn-default btn-menu pull-left offCanvasToggle" data-toggle="offcanvas">
        <i class="fa fa-lg fa-bars"></i><span>Menu</span>
      </button>


      <!--navbar menu options: shown on desktop only -->
      <div class="navbar-collapse collapse">
        <ul class="nav navbar-nav">
          <li>
            <a href="#">
              <i class="fa fa-dashboard"></i>Dashboard
            </a>
          </li>
          <li>
            <a href="#">
              <i class="fa fa-building-o"></i>Companies
            </a>
          </li>
          <li class="active">
            <a href="#">
              <i class="fa fa-users"></i>Contacts
            </a>
          </li>
        </ul>
      </div>
    </div>
  </div>

What am I doing wrong or is it a bug?

Android navbar button CSS regression introduced in 1.1.1?

This problem is not evident on demo.bootcards.org because that uses release 1.1.0. If you download 1.1.2 dist, change starter-template.html to use the android theme and then serve locally, you should be able to see this:

screenshot 2015-05-22 09 32 49

https://github.com/bootcards/bootcards/blob/1.1.1/src/css/bootcards-android.scss#L160 appears to introduce this. Simply deleting the negative margin appears to fix it on this particular android screen format, but I'm unsure of the impact on other formats.

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.