Code Monkey home page Code Monkey logo

jquery-mobile-flat-ui-theme's Introduction

Update (04/13/2015)

Please check our new Premium Themes. We think you will like them.

jQuery Mobile Flat-UI Theme

Theme for jQuery Mobile based on Flat-UI.

jQuery-Mobile-Flat-UI-Theme

Demo

http://ququplay.github.com/jquery-mobile-flat-ui-theme

Versions

We are going to use master branch to keep up to date with jQuery Mobile versions. Previous versions will be moved to corresponding branches.

Current branch layout

  • master - jQuery Mobile version 1.4 - currently in progress not production ready yet
  • jqm-1.3.1 - jQuery Mobile version 1.3.1
  • jqm-1.3.0 - jQuery Mobile version 1.3.0

Usage

Copy jquery.mobile.flatui.css, fonts and images from generated folder to your project. Include link to jquery.mobile.flatui.css

 <link rel="stylesheet" type="text/css" href="jquery.mobile.flatui.css" />

Setup

In order to add a new swatch or colors you can add a new stylus file under src/stylus/swatches/ and run grunt from your command line.

  • brew install node
  • npm install -g grunt-cli
  • cd to project's folder
  • npm install
  • grunt watch
  • start modifying css/stylus files

Contributors

##License:

The WTFPL License

jquery-mobile-flat-ui-theme's People

Contributors

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

jquery-mobile-flat-ui-theme's Issues

How do you modify the build_swatch.styl file?

If I wanted to apply some swatch styles (like setting the border-bottom-color of .ui-header to be the highlight_color of the swatch, or setting the border-top-color of .ui-footer), how would I go about modifying the build_swatch.styl file?

Thanks,
Matthew

data-split-icon is off by a few pixels

using data-split-icon on a split button list results in the icon rendered to the right instead of at the center. I had to do the below to center it. it is easier to notice if the list element data-theme is different from the data-split-theme

split-icon-issue

.rem-list-item .ui-li-link-alt .ui-btn-icon-notext .ui-btn-inner .ui-icon {
top: 51%;
}

.rem-list-item .ui-li-link-alt .ui-btn .ui-icon {
right: 52.5%;
}

Theme not applied to data-role="button" when using data-content-theme

The selected theme is not applied to <a href="#" data-role="button"> but is on regular buttons. See the following example:
bug

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" type="text/css" href="css/jquery.mobile.flatui.css" />
  <script src="js/jquery.min.js"></script>
  <script src="js/jqm.min.js"></script>
</head>
<body>
  <div data-role="page">
    <div data-role="header">
      <a data-iconpos="notext" data-role="button" data-icon="home" title="Home">Home</a>
      <h1>A</h1>
      <a data-iconpos="notext" data-role="button" data-icon="flat-menu"></a>
    </div>

    <div data-role="content" data-content-theme="b" role="main">

      <a href="#" data-theme="b" data-role="button">Yes</a>
      <a href="#" data-role="button">Yes</a>

      <div data-role="collapsible" data-theme="g" data-content-theme="g" data-collapsed="false">
        <h3>Section 1</h3>
        <button data-icon="flat-mail">Yes</button>
        <a href="#" data-role="button">Yes</a>
        <div data-role="fieldcontain">
          <div data-role="controlgroup" data-type="horizontal">
          <button>Yes</button>
          <a href="#" data-role="button">Yes</a>
          </div>
        </div>
      </div>
    </div>
  </div>
</body>
</html>

Slider handle button theme

Configuration : jquery 1.10.2, jqm 1.3.2 and latest version of jquery-mobile-flat-ui-theme
Problem : Slider handle does not change when modifying data-theme. it seems that ".ui-slider-handle" always surcharge ".ui-btn-up-x" theme

.icon-bars, .icon-edit

The .icon-bars and .icon-edit default image icons are not rendering.

It's because they are not referenced in the /* supporting original icons */ area in the CSS.

Adding phone icon?

I'm implementing this theme for a client and he has a "call now" button on one of the pages. There's no corresponding telephone icon for that in the Flat UI icon set. Any chance of getting that added?

Error on Popover.

popover.
jquerymobile version 1.2

Will you debug for v1.2?? or only work on and after v1.3?

icons and borders of buttons are not sharp edged

icons and borders of buttons are sharp edged (especially radio and checkbox look strange). The font is not smooth too. Also icons in circles seem to be not centered. chrome win8 and android lg p500 same thing.
123456

is it normal or is this just an early version?

Why use png img rather than font in ui-icon-xxx? The icon gets blurry when scaled up.

.ui-alt-icon.ui-icon-carat-r:after,
.ui-alt-icon .ui-icon-carat-r:after {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAMCAYAAABfnvydAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAE9JREFUGJWdj8sNwCAMQx+wGJuRbsZm9EAQlfkcasmHxE9RDF3m3sqA5l6gKHNRKAEVCED2Xfa5DoAbNIAjpD9cZcw2S6P/of7wKPC9sg1eyBEYSwB/E4QAAAAASUVORK5CYII=');
}

Footer is not being in fixed position

I tried making footer area fixed but I am unable to do it. I checked the markup after the html is generated. I observed that the footer is not getting this css attribute top:window height-footer width. Kindly look into this issue.

Font icons on mini buttons

The font icons do not seem to display correctly when data-mini="true". Also the icon keeps the shadow. I am using JQM 1.3.1

Can't show icons on data-icon in phonegap

when inserting a line with:

<> href="#" data-role="button" data-icon="flat-volume" data-iconpos="notext" data-theme="b" data-inline="true">Volume <>

  • with "a" inside <>

it only shows a green round circle. why is the icon not shown?

Limited Icon Set

Just started using the flat ui theme for mobile but there is a limited number of data-icons? Is there an extension that can be used?

Rails asset precompile complains about invalid CSS

Invalid CSS after "...ckground-color:": expected pseudoclass or pseudoelement, was " primary_color{..."
(in /Users/Tyler/fieldharmony/app/assets/stylesheets/application.css)
(sass):10348

It doesn't like this part :
html background-color: primary_color{border-color:#2c3e50;color:#fff}

Line 4120, 4136, 4152, 4168, 4184, 4200, 4216

All the ui-page-theme-a,b,c,d,e,f,g declarations.

I wrapped it like this:

html{background-color: primary_color{border-color:#2c3e50;color:#fff}}

With curly braces and it would compile - but I get the issue where the only usable theme is A, and when data-theme="a" is applied to the content or page div - that's the only thing that will work for the entire page. You cannot change buttons, collapsible divs etc to other themes...

jQuery Mobile 1.4

So jQuery Mobile people is about to release the public 1.4, right now there is a pre-release with a lot of changes. Among the most important this:

  • No generating of inner button markup.

might be a problem, riight?

Panel data-theme is not working

I've tried a number of different data-theme settings (b,c,d,e,f) none of them effect the panels background colour. The only one that works is "a"

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.