Giter VIP home page Giter VIP logo

ios-inspired-jquery-mobile-theme's Introduction

iOS-Inspired Theme for jQuery Mobile

  • Supports jQuery Mobile 1.2.0

Distributed under the MIT License.

View Demo

ios-inspired-jquery-mobile-theme's People

Contributors

activescott avatar agcolom avatar jonathan-fielding avatar okamototk avatar taitems 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

ios-inspired-jquery-mobile-theme's Issues

Non transparent overlay behind dialogs

Dialogs' overlays on the demo page are missing transparency. Overlay is transparent only during show and hide animation, else overlay is not transparent (have same color).

Overlay show and hide animation shoul not be slide up and down but fade in and out. Only dialog should slide up and down.

I am using iPad 2 with iOS 5.

Header buttons don't appear to be vertically centered

It doesn't look like the header buttons are quite vertically centered, it looks like there's slightly more space below the button than above (tested in iPad, Chrome, Firefox). Is this something that can fixed with a little style tweak?

Also - is there any chance you could add the PSDs to Git that you used to create that button backgrounds? It might make it easier to build customized themes this way.

Thanks for all of your hard work on this theme!

Tapping quickly on list item text changes color but not background

So when you tap on a list item, it's supposed to turn blue when you tap and when you release it the text is supposed to turn black again.

But if you tap quickly the blue background never comes in and the words just turn white with a blue drop shadow.

I'm running the demo on my iphone 4s.

Tap and hold list item, blue background stays blue

So if you have a list item, tap and hold it so that it opens the web view dialog (open, copy, cancel). The background of the list item turns blue, but when you hit cancel the blue background stays on and doesn't reset back to white.
Screenshot 12:13:12 9:22 PM

data-role="controlgroup" data-type="vertical" with icon

It seems that you don't have a hack / replacement for controlgroup vertical which is fine.

However, the default css is not displaying the icons in this controlgroup vertical,

e.g.

     <div id="navigation" data-role="controlgroup" data-type="vertical">
        <a href="#" data-role="button" data-icon="plus" id="plus"
           data-iconpos="notext"></a>
        <a href="#" data-role="button" data-icon="minus" id="minus"
           data-iconpos="notext"></a>
      </div>

as demonstrated in the zoom in / zoom out in JQuery mobile Openlayers.

You can see it here (zoom bar) (left hand side below of the map).
http://openlayers.org/dev/examples/mobile-jq.html#mappage

How can we hack this problem (i.e. not displaying the icons (e.g. + and -)) to display those symbols.

I think you have to retain, the default behaviours of those JQM controls that you have not ported. In the case, the icon inside the vertical controlgroup.

This problem is also in present in the "layerlist" in Mobile JQuery Openlayer, the icon "check" for the grouplist is not present.

http://openlayers.org/dev/examples/mobile-jq.html#layerspage

The above page /link would have not a "check" icon in iOS inspired style.

Thanks.

Footer icon does not show - e.g. <li><a href="#" id="locate" id="tabB"

Footer icon does not show up, if this example below

    <div data-role="footer" data-position="fixed">
        <div data-role="navbar">
          <ul>
           <li><a href="#searchpage" id="tabA" data-icon="custom">Search</a></li>          


           <li><a href="#" id="locate" id="tabB" data-icon="custom" >Location</a></li> 



           <li><a href="#layerspage" id="tabB" data-icon="custom"  data-transition="flip">Layers</a></li>
             <li><a href="#database" id="tabC" data-icon="custom" class="ui-btn-active">Spatialite</a></li>             <li><a href="#aboutpage" id="tabC" data-icon="custom" data-transition="flip">About</a></li>          

        </ul>
    </div><!-- /navbar -->
</div><!-- /footer -->

How do we remedy this 2 ids? One for the event and the other for the icon.

I think it would be good to have a look at this jQuery moble example and see these series of errors and messed ups.

http://openlayers.org/dev/examples/mobile-jq.html#mappage

Another thing, how many icons can be included in tabSprite.png?

And how do you add it? I tried to place another one (i.e. TabD) but it did not work as well.

Any instruction how and what is the format so the icons can be seen and displayed.

Thanks.

[enhancement] Add missing bower.json.

Hey, maintainer(s) of taitems/iOS-Inspired-jQuery-Mobile-Theme!

We at VersionEye are working hard to keep up the quality of the bower's registry.

We just finished our initial analysis of the quality of the Bower.io registry:

7530 - registered packages, 224 of them doesnt exists anymore;

We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).

Sadly, your library taitems/iOS-Inspired-jQuery-Mobile-Theme is one of them.

Can you spare 15 minutes to help us to make Bower better?

Just add a new file bower.json and change attributes.

{
  "name": "taitems/iOS-Inspired-jQuery-Mobile-Theme",
  "version": "1.0.0",
  "main": "path/to/main.css",
  "description": "please add it",
  "license": "Eclipse",
  "ignore": [
    ".jshintrc",
    "**/*.txt"
  ],
  "dependencies": {
    "<dependency_name>": "<semantic_version>",
    "<dependency_name>": "<Local_folder>",
    "<dependency_name>": "<package>"
  },
  "devDependencies": {
    "<test-framework-name>": "<version>"
  }
}

Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.

NB! Please validate your bower.json with jsonlint before commiting your updates.

Thank you!

Timo,
twitter: @versioneye
email: [email protected]
VersionEye - no more legacy software!

StyleSheets need updates to work with JQM 1.1.0

With the release of the jQuery Mobile v 1.1.0 today, it appears that some of the styling overrides that previously worked in 1.0.1 are no longer working as intended. In playing around with things briefly I noticed that a second header section on an iPhone (such as a data selector) rendered with the background image being extremely thin and not taking up the whole header section. On an iPad, both the primary and secondary headers had major rendering issues involving the background image height. I'm sure there are a number of little tweaks that will be necessary to get everything to play well with the latest JQM version, so I just wanted to drop an issue in the queue as a heads up. Thanks for all your hard work on this project!

Style list "with icons"

I am trying to include, icons in the list. It is undocumented in jQTouch. It works in jQTouch.

It works also here, but BIG List and small icon and not align properly.

It looks like this in your index.html

    <ul data-role="listview" data-inset="true"> 
        <li><a href="#headers">Header Bars</a></li>

        <li><a href="#map"><img src="Images/Maps_iNS.png" class="ico" >Map</a></li> 

        <li><a href="#headerButtons">Header Buttons</a></li> 
        <li><a href="#footerTabs">Footer Tabs</a></li> 
        <li><a href="#formElements">Form Elements</a></li> 
        <li><a href="#listViews">List Views</a></li> 
        <li><a href="#dialogs">Dialogs</a></li> 
        <!--<li><a href="api-pages.html">API documentation</a></li>--> 
    </ul> 

Probably, you can fix it using the jQTouch css or iUIKit css. I think they are the same.

Thanks in advance.

Edi: I guess we can use this syntax

 <li><a href="#map"><img src="Images/Maps_iNS.png" alt="map" class="ui-li-icon">Map</a></li>

However, the alignment in not correct. It is aligned with the text. It must be center align, not top align.

Note: Making the icon smaller help the appearance of the list. It works but not as flash as the regular list icons in Apple iOS list.

input placeholder displaced

When I use the html5 attribute placeholder in a input field it show aligned top and is not very aesthetic, when I fill the input the text show centered, do you how why it happens??

regular buttons in colour on click

I want iOS-like button styles: on click, change the background color to a colourful gradient and text to white. To let this setting cascade in a right way, the "important" background color must be assigned only to inactive buttons, i.e. on :not(.ui-btn-down-c). Similarly act on .ui-btn-text only when inactive=not down. The code necessary to fix this follows:


Please consider changing button background styles to match only non-active styles:

styles.css:209

.ui-page:not(.ui-dialog) .ui-content .ui-btn:not(.ui-slider-handle):not(label):not(li):not(.ui-btn-left):not(.ui-btn-right):not(.ui-input-clear) {
    padding: 0;
    background: #FFF !important;
    border: 1px solid #bbbbbb;
    border-radius: 10px;
    box-shadow: none;
    background-clip: padding-box;
}

... into:

.ui-page:not(.ui-dialog) .ui-content .ui-btn:not(.ui-slider-handle):not(label):not(li):not(.ui-btn-left):not(.ui-btn-right):not(.ui-input-clear) {
    padding: 0;
    border: 1px solid #bbbbbb;
    border-radius: 10px;
    box-shadow: none;
    background-clip: padding-box;
}

.ui-page:not(.ui-dialog) .ui-content .ui-btn:not(.ui-btn-down-c):not(.ui-slider-handle):not(label):not(li):not(.ui-btn-left):not(.ui-btn-right):not(.ui-input-clear) {
    background: #FFF !important;
}

And similarly, for button texts, lines 220:

.ui-page:not(.ui-dialog) .ui-content .ui-btn:not(.ui-slider-handle):not(label):not(li):not(.ui-btn-left):not(.ui-btn-right):not(.ui-input-clear) .ui-btn-text {
    font-weight: bold;
    font-size: 17px;
    color: #000;
    text-shadow: none;
}

... into:

.ui-page:not(.ui-dialog) .ui-content .ui-btn:not(.ui-slider-handle):not(label):not(li):not(.ui-btn-left):not(.ui-btn-right):not(.ui-input-clear) .ui-btn-text {
    font-weight: bold;
    font-size: 17px;
    text-shadow: none;
}

.ui-page:not(.ui-dialog) .ui-content .ui-btn:not(.ui-btn-down-c):not(.ui-slider-handle):not(label):not(li):not(.ui-btn-left):not(.ui-btn-right):not(.ui-input-clear) .ui-btn-text {
    color: #000;
}

Then add the following directives to see iOS like click changes:

.ui-btn.ui-btn-down-c:not(.ui-slider-handle):not(label):not(li):not(.ui-btn-left):not(.ui-btn-right):not(.ui-input-clear) {
    /* #015DE6*/
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, #015DE6),
        color-stop(1, #058CF5)
    );
    background-image: -moz-linear-gradient(
        center bottom,
        #015DE6 0%,
        #058CF5 100%
    );
}

.ui-btn.ui-btn-down-c:not(.ui-slider-handle):not(label):not(li):not(.ui-btn-left):not(.ui-btn-right):not(.ui-input-clear) .ui-btn-text {
    color: white;
}

iOS7-Support

Please, can you fix the Problem since iOS7 and Safari on button with data-rel="back".

img

add style for button/list view links: highlight on click

I created a quick fix to highlight listview links via CSS on tap/hold (more responsive!). This is the code I added to a custom style sheet:

.ui-btn.ui-btn-down-c:not(.ui-slider-handle):not(label):not(.ui-btn-left):not(.ui-btn-right):not(.ui-input-clear) .ui-btn-text,
.ui-btn.ui-btn-down-c:not(.ui-slider-handle):not(label):not(.ui-btn-left):not(.ui-btn-right):not(.ui-input-clear) .ui-btn-text a,
.ui-page:not(.ui-dialog) .ui-content li.ui-btn.ui-btn-down-c p {
    color: white !important;
    text-shadow: none;
}

Also, it makes the text white & readable, which currently isn't the case (but it is like this on iOS).

JqueryMobile 1.3 support

Beta version just has been release. The theme pack doesn't work properly with JQM 1.3 . Any plans to support it?

"Popup" data-role = "dialog" messed up

This "Popup" dialog is messed up. The header bar is inside the first record of the table. In order words, the table is not aligning the bottom part of the header. The close icon is also missing in the left hand side of the header.

    <div id="popup" data-role="dialog">
        <div data-position="inline" data-theme="b" data-role="header">
           <h1>Details</h1>
        </div>
        <div data-theme="c" data-role="content">
            <ul id="details-list" data-role="listview">
            </ul>
        </div>
    </div>

You can see this in OpenLayers JQuery Mobile example here:

http://openlayers.org/dev/examples/mobile-jq.html#mappage

Click on the black location icons and you will see this dialog popup windows.

How do I fix this?

This is the windows that is messed up (below) when using iOS-Styled.

http://openlayers.org/dev/examples/mobile-jq.html#mappage&ui-state=dialog

This is the JQM code.

// This is the popup form for the sprinters
$('div#popup').live('pageshow',function(event, ui){
    var li = "";
    for(var attr in selectedFeature.attributes){
        li += "<li><div style='width:25%;float:left'>" + attr + "</div><div style='width:75%;float:right'>" 
        + selectedFeature.attributes[attr] + "</div></li>";
    }
    $("ul#details-list").empty().append(li).listview("refresh");
});

navbar is broken with jqm1.2.0-rc1

navbar in footer is broken with jqm1.2.0-rc.1.

Example code is here:

    <div data-role="footer">
      <div data-role="navbar">
        <ul>
          <li><a href="#" id="page1" data-icon="custom">nav1</a></li>
          <li><a href="#" id="page2" data-icon="custom" class="ui-btn-active">nav2</a></li>
          <li><a href="#" id="page3" data-icon="custom">nav3</a></li>
        </ul>
      </div>
    </div>

Above code is work with jqm 1.1.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.