Commit graph

216 commits

Author SHA1 Message Date
scottjehl
c03dddf6eb moved focus style to end of theme, so it can override shadowed elements that gain focus 2010-10-11 17:27:09 -04:00
scottjehl
855961ee2d apply theming to inputs using data-theme. background image is set to none, but color is used, along with ui-shadow-inset 2010-10-11 17:26:51 -04:00
scottjehl
fff6b989b2 added ui-shadow-inset class for text inputs 2010-10-11 17:25:15 -04:00
scottjehl
00567105c9 moved focus for buttons over to hover state. no ui-focus class, no outline (hover state provides visual affordance) 2010-10-11 16:32:49 -04:00
scottjehl
3058a5fb47 adjusted classes for buttons in footer, bar 2010-10-11 16:23:34 -04:00
scottjehl
a5410482d6 made sure inline buttons don't have smaller text, no margin. 2010-10-11 16:19:50 -04:00
scottjehl
196a98b8f4 woops killed all the icons. fixed 2010-10-11 15:53:45 -04:00
scottjehl
a26e0a0d6a added "inline" option to buttons and button links. data-inline="true". Fixes #148 2010-10-11 15:47:30 -04:00
scottjehl
3f748dc1b9 added a max width 2010-10-11 15:12:47 -04:00
scottjehl
fe07a8d802 changed up the transitions 2010-10-11 14:56:16 -04:00
scottjehl
ba65a41abc Merge branch 'master' of github.com:jquery/jquery-mobile 2010-10-11 14:41:33 -04:00
scottjehl
effbaa9f58 Refactored select plugin. 2010-10-11 14:41:17 -04:00
Todd Parker
21654b819b Added a new content .ui-body-d with a light yellow gradient to match the d bar. Added gradients to some of the other body blocks. 2010-10-11 12:58:33 -04:00
scottjehl
1bd8e94227 First pass at convering selectmenu over to new page model. Now time for cleanup 2010-10-11 10:33:52 -04:00
scottjehl
54f1464a56 Todd added additional list theme "G". Will become List "c" once broken out. 2010-10-11 08:08:39 -04:00
scottjehl
29913434bf changed name of list grouping to list "divider". Affects class names, css applied, data-attr for configuration. 2010-10-10 21:28:22 -04:00
scottjehl
43d26694f4 killed focus outline on page titles 2010-10-10 20:55:25 -04:00
scottjehl
66099f7418 changed min-height of has-thumb lists. Fixes #135 2010-10-10 17:49:27 -04:00
scottjehl
0888e06f44 made page titles overflow to ellipsis. Fixes #115 2010-10-10 16:35:28 -04:00
scottjehl
218378ee15 moved basic header and footer styles into core.css. Now headerfooter.css only deals with inline/vs follow/fixed positioning of toolbars 2010-10-10 16:32:44 -04:00
scottjehl
96598b626c all button inner divs now overflow to ellipsis. Removed unnecessary styles in navbar. 2010-10-10 16:29:05 -04:00
scottjehl
39c3e0095b Fixed split buttons in full-width listviews. Fixes #123 2010-10-10 15:56:25 -04:00
scottjehl
35a928c3aa count bubble now positioned far right in dividers. Fixes #125 2010-10-10 15:46:51 -04:00
scottjehl
ead866636e Added support for data-role="list-divider", and for readonly li's (those that have no child anchor). Fixes #121, Fixes #122 2010-10-10 15:38:25 -04:00
scottjehl
0b181c6520 added overflow and bottom padding to content divs. Fixes #55 (which wasn't actually a listview bug, it turns out). 2010-10-09 08:45:07 -04:00
scottjehl
4d9c06452e a few more navlist instances 2010-10-09 01:10:28 -04:00
scottjehl
702173eaae renamed navlist to navbar.
Fixes #117
2010-10-08 23:26:04 -04:00
scottjehl
29a7daee60 mobilize now:
* applies data-themes appropriately to header,footer,page,and content roles
* finds first link in header or footer, applies left button class
* finds second link in header or footer, applies right button class
* if no left button, a back button is auto added (this can be disabled through $.mobile.addBackBtn)
* back buttons will not auto-add on the first page visited.
* all headings h1-6 are given ui-title class for constent styling in header and footer
* buttons in ui-bar,ui-header,ui-footer now all have consistent sizing and styling

Fixes #109
Fixes #114
Fixes #28
Fixes #116
2010-10-08 23:10:13 -04:00
scottjehl
9714d4c9e7 fixed up dialog stylin' 2010-10-07 18:18:51 -04:00
Scott González
5c3d35574f Renamed files. 2010-10-07 11:30:48 -04:00
Scott González
3888ff81b6 Renamed files so case changing will hold. 2010-10-07 11:24:44 -04:00
Scott González
e5e115a925 Revert "Moving files so the case chaning will hold."
This reverts commit dacb03383f.
2010-10-07 11:19:34 -04:00
Scott González
d4c904eecb Revert "Renaming files."
This reverts commit ae6bfba68f.
2010-10-07 11:19:21 -04:00
Scott González
ae6bfba68f Renaming files. 2010-10-07 11:13:14 -04:00
Scott González
dacb03383f Moving files so the case chaning will hold. 2010-10-07 11:09:00 -04:00
Scott González
6f10fe2459 Renamed files from jQuery.* to jquery.*. Fixes #33. 2010-10-07 10:50:10 -04:00
scottjehl
000293f4cf made the handler way more bigger 2010-10-06 18:17:08 -04:00
scottjehl
2dad280b12 style override 2010-10-06 18:13:37 -04:00
scottjehl
9758dcdea6 position change on the remove icon 2010-10-06 18:09:02 -04:00
scottjehl
4d09aec0fc toned down the border widths on headers and content areas 2010-10-06 10:11:06 -04:00
scottjehl
5e34201ddc fixed some things with dialog's css and classes 2010-10-06 01:10:30 -04:00
scottjehl
4a7ede3322 added ui-aux class to edit button. fixed a style with that class too 2010-10-06 00:48:42 -04:00
scottjehl
76cf9845ef moved datepicker demo to experiments 2010-10-06 00:16:43 -04:00
scottjehl
540e1f3fb8 added a "clear" button to search input types 2010-10-05 23:54:51 -04:00
scottjehl
ccd3ffa761 new icon: delete 2010-10-05 23:54:31 -04:00
scottjehl
39bf32394c fixes to no-text icon presentation 2010-10-05 23:47:48 -04:00
scottjehl
a8edc991da small cleanup on margins and such 2010-10-05 23:06:18 -04:00
scottjehl
9a9d47e550 removed an unnecessary wrapper 2010-10-05 23:00:33 -04:00
scottjehl
71763d3dfa pretty rough, but here's a functional attempt at rounded-corner switches 2010-10-05 22:57:13 -04:00
scottjehl
30ba455514 adjusted margins 2010-10-05 19:21:20 -04:00
scottjehl
2fe29a1d2b refactored switch sliders - more iPhone-like in behavior and appearance now. 2010-10-05 19:17:47 -04:00
scottjehl
e5207475a9 renamed the classes to "switch". For sliders built from selects with more than 2 options, we can use the name "select". currently, only 2 options are supported for select sliders 2010-10-05 18:28:03 -04:00
scottjehl
5008c95fed tightened up the offsets a bit 2010-10-05 17:46:00 -04:00
scottjehl
adbdf7abc6 adjustments to spacing, layout management, consistency across elements 2010-10-05 17:42:11 -04:00
scottjehl
5467762a3b added fieldset selector for specificity 2010-10-05 17:16:49 -04:00
scottjehl
83f6ff9eef added support for fullscreen data attr on pages. When present, child headers and footers will be absolute positioned and invisible when hidden 2010-10-05 16:08:11 -04:00
scottjehl
b5eca5bd2a Renamed Globalnav "Navlist". Fixed #95 2010-10-05 14:06:28 -04:00
scottjehl
ced22f6962 Sticky footers
Tag a footer div with data-id="foo" and it'll stay visible when transitioning to another page that has a footer of the same data-id.

Fixed #72
All proposed changes above are either implemented, or covered through alternate means.
2010-10-04 19:00:30 -04:00
scottjehl
ecbe90c56a removed unnecessary rule 2010-10-04 14:22:38 -04:00
scottjehl
2e4c537783 a little refactor to improve support for icons, text-only, among other things. Demo page has 3 different globalnav variations now. 2010-10-04 12:50:25 -04:00
scottjehl
c484629e84 reworked the timing and styles for the pageLoading sequences in attempt to reduce blinky behavior. Small improvements... 2010-10-03 16:43:50 -04:00
scottjehl
22eecd11dc refactored. globalnavs can now be generated on any div, and all they do is the "more" nav behavior. Plugin may need renaming...
in these demos, the globalnavs are inside a footer div.
2010-10-01 23:37:43 -04:00
scottjehl
ed96011a28 major refactor - now uses relative positioning.
Interactions still aren't perfect, but the code is cleaner!
2010-10-01 23:36:25 -04:00
scottjehl
bc09ffca8d added fadeout animation name back in 2010-10-01 23:35:46 -04:00
scottjehl
73a84405c8 changed button code for headers and footers so that it works with ui-header or ui-footer instead of wrapper classes 2010-10-01 18:46:21 -04:00
scottjehl
166efc0387 removed swap - we can add it back later if necessary, but it needs some tweaking to look correct 2010-10-01 11:07:33 -04:00
scottjehl
a2519e7687 removed dissolve transition - fade is enough 2010-10-01 11:06:13 -04:00
Douglas Neiner
9d7270141d Added background-clip to the rounded corner classes to help out with background bleeds 2010-09-29 14:00:29 -07:00
scottjehl
2ae165049e edits to margins,widths 2010-09-27 16:55:13 -05:00
scottjehl
63e2b0bd99 more padding,margin adjustments 2010-09-27 16:50:13 -05:00
scottjehl
379349f74a adjusted widths, padding, margins 2010-09-27 16:42:59 -05:00
scottjehl
43f3656a92 added datepicker js and css files (datepicker includes ui) for a temporary datepicker demo. 2010-09-27 16:30:56 -05:00
scottjehl
879f4baa3e not all that !important, as it turns out. 2010-09-27 16:30:19 -05:00
scottjehl
92c49bf97e extended slider to support simple toggle switches based on select menus.
The logic will actually support multi-option selects as well, but the labels are flipped in order for switch-style controls, so if we want to support regular sliders from selects, the labels will have to be in forward order and beneath the slider bar.
2010-09-23 12:51:23 -04:00
scottjehl
a460710557 Replaced keyframe animation with a from-to
fixes 52
2010-09-22 13:16:11 -04:00
scottjehl
da29904834 Replaced expandable plugin with basic scrollHeight vs. offsetHeight check that uses CSS transitions. Shaves about 4kb. 2010-09-22 11:09:06 -04:00
scottjehl
11db1686c2 took the width of the slider track down a tad 2010-09-21 16:09:58 -04:00
scottjehl
3b7a717e92 more updates to slider css and js. Should have itemized commits, but this thing's still in first-pass status. 2010-09-21 16:07:23 -04:00
scottjehl
e82a65871a you're gonna need a bigger handle 2010-09-21 15:34:48 -04:00
scottjehl
4992d7b168 First pass at a simple slider plugin. Can be called on an input element with data-role="slider". Controls communicate both ways during use. 2010-09-21 15:25:23 -04:00
scottjehl
0fbbf6600a added some resets 2010-09-19 19:06:35 -04:00
scottjehl
b2f8c00785 added search styles 2010-09-19 19:04:08 -04:00
scottjehl
32e965b9cc added search icon 2010-09-19 19:03:26 -04:00
scottjehl
c451627dab moved loader div positioning lower 2010-09-19 19:02:47 -04:00
scottjehl
c16dee657b new attribute: data-role="nojs" can be applied to any element that should be accessibly hidden from the page for A browsers. 2010-09-19 18:21:09 -04:00
scottjehl
458e7b5d2f edited globalnav expanded button styles 2010-09-19 12:07:49 -04:00
scottjehl
ad7b3a2293 edited globalnav expanded layout a little bit 2010-09-19 11:09:25 -04:00
scottjehl
62507c5c5e took the font size down a bit on global nav expanded buttons 2010-09-19 10:53:33 -04:00
scottjehl
08f1ec9bf8 rewrite of globalnav plugin. Anything beyond 3 links auto-generates a "more..." button and creates a fully navigable, scrollable page with all the links in a grid view. 2010-09-19 10:51:21 -04:00
scottjehl
8d0f0ea9b8 fixed up min-height to stretch background to fill screen 2010-09-19 10:44:08 -04:00
scottjehl
8f26170f6a changed class names to 'grid' instead of 'config' 2010-09-19 08:13:52 -04:00
scottjehl
60deedf499 set ui-bar to be 16px font size 2010-09-18 10:29:14 -04:00
scottjehl
2e9c5914e6 split CSS files out into individual components 2010-09-18 09:53:00 -04:00
scottjehl
b14ae8bc16 added support for a JS fallback for auto-numbering in listviews made from OL elements. If supported, numbering is pure CSS, otherwise, the script will generate numbering.
In both the css and the js, the counters will restart whenever a list grouping header is encountered.
2010-09-18 08:21:51 -04:00
scottjehl
bd1a5159d2 added support for auto-numbering in listviews made from OL elements.
Note: currently uses CSS :before gen content, so we'll need to test support for that. listview.js includes a JS fallback, currently commented out.
2010-09-18 07:42:10 -04:00
scottjehl
779c79c917 removed extra rule 2010-09-17 17:47:23 -04:00
scottjehl
1c70a9937a fixed up padding on toolbars 2010-09-17 17:14:06 -04:00
scottjehl
d06c22e8d9 added dialog plugin and css, added it to the manifest file, updated some of the content on the _dialog.html demo page 2010-09-17 16:24:12 -04:00
scottjehl
78dca77149 modified the height css for ui-page so it fills the height and can be themeable 2010-09-17 14:26:13 -04:00
scottjehl
03c7773d05 updated counts in grouping data, and count min widths 2010-09-16 17:12:08 -04:00
scottjehl
80e4f57a80 trying overflow ellipsis for lines in the listview items 2010-09-16 17:06:09 -04:00
scottjehl
b25403ff23 switched hover and up states. 2010-09-16 16:57:42 -04:00
scottjehl
780786c0d2 updated listview with demos for groupings 2010-09-16 16:44:06 -04:00
scottjehl
71ded0642e gave aside elements a top margin 2010-09-16 16:25:08 -04:00
scottjehl
633b4ed45b Updates to allow for fill-width or inset style lists.
The fillWidth option defaults to true, and can be overridden through data-fill-width attr.
2010-09-16 12:37:45 -04:00
scottjehl
28f19ba8b3 updated to allow the count spans to adopt the parent theme unless overridden with a data-count-theme attr 2010-09-15 18:07:56 -04:00
scottjehl
8d425b9260 adding listview css 2010-09-15 16:53:23 -04:00
scottjehl
05316a39cf removed CSS for tabs widget. (to be replaced by global nav) 2010-09-15 16:48:46 -04:00
scottjehl
d3991ba1cf removed CSS for tree widget. 2010-09-15 16:47:26 -04:00
scottjehl
b2655629cc updated ui-link-inherit styles for btn states e and f. These are necessary for list view items with links in them. 2010-09-15 16:46:11 -04:00
scottjehl
eb2805f9d9 fixed up globalnav.js plugin and demo page. This could potentially replace the tabs plugin...
CSS updates for globalnav styling.

small changes to mobile.js to make globalNav demo init once at domready, not per ui-page.
2010-09-14 11:44:16 -04:00
scottjehl
9f2e68e827 updated for these new demos that show different variations of the overlays 2010-09-11 12:40:04 -04:00
scottjehl
1923c0a565 edited slide transitions so slideup and slidedown use similar conventions to slide. (slideinfromtop,slideouttobottom, etc) 2010-09-11 09:25:35 -04:00
scottjehl
5678650342 added slidedown,slidebackup transitions. modified slideup transitions' naming to accommodate.
updated transitions demo with new variation, added new transition name to array in mobile.js
2010-09-11 08:49:54 -04:00
scottjehl
9337467724 cleaned out some old comments & a redundant selector 2010-09-11 08:05:28 -04:00
scottjehl
1d0fd4a7d8 committing all the mobiley goodness. 2010-09-10 18:23:13 -04:00