mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
struct changes
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
*.sw[mpcod]
|
*.sw[mpcod]
|
||||||
|
|
||||||
|
.sass-cache/
|
||||||
3
Gruntfile.js
Normal file
3
Gruntfile.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module.exports = function(grunt) {
|
||||||
|
|
||||||
|
}
|
||||||
7
Makefile
Normal file
7
Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
all: release
|
||||||
|
|
||||||
|
release:
|
||||||
|
@sass -I scss/ scss/framework-structure.scss:dist/framework-structure.css
|
||||||
|
@sass -I scss/ scss/framework-theme-default.scss:dist/framework-theme-default.css
|
||||||
15
dist/framework-structure.css
vendored
Normal file
15
dist/framework-structure.css
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
|
html {
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
|
-ms-text-size-adjust: 100%; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
font: 14px/1.25 "Helvetica Neue", sans-serif; }
|
||||||
|
|
||||||
|
a {
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
|
||||||
@ -1,7 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="bower_components/normalize-css/normalize.css">
|
<link rel="stylesheet" href="bower_components/normalize-css/normalize.css">
|
||||||
<link rel="stylesheet" href="app.css">
|
<link rel="stylesheet" href="../dist/framework.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="bar-header">
|
<header class="bar-header">
|
||||||
|
|||||||
0
example/listview.html
Normal file
0
example/listview.html
Normal file
15
package.json
Normal file
15
package.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "framework",
|
||||||
|
"private": true,
|
||||||
|
"version": "0.0.01",
|
||||||
|
"devDependencies": {
|
||||||
|
"grunt": "~0.4.0",
|
||||||
|
"grunt-contrib-watch": "~0.1.0",
|
||||||
|
},
|
||||||
|
"licenses": [
|
||||||
|
{
|
||||||
|
"type": "MIT",
|
||||||
|
"url": "https://github.com/zurb/foundation/blob/master/LICENSE"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
27
scss/framework-structure.scss
Executable file
27
scss/framework-structure.scss
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
|
|
||||||
|
|
||||||
|
// Components
|
||||||
|
@import
|
||||||
|
"framework/structure/base",
|
||||||
|
"framework/structure/accordion",
|
||||||
|
"framework/structure/button-group",
|
||||||
|
"framework/structure/clearing",
|
||||||
|
"framework/structure/footer",
|
||||||
|
"framework/structure/form",
|
||||||
|
"framework/structure/grid",
|
||||||
|
"framework/structure/header",
|
||||||
|
"framework/structure/icon",
|
||||||
|
"framework/structure/img",
|
||||||
|
"framework/structure/input-checkbox",
|
||||||
|
"framework/structure/input-radio",
|
||||||
|
"framework/structure/input-select",
|
||||||
|
"framework/structure/input-slider",
|
||||||
|
"framework/structure/input-text",
|
||||||
|
"framework/structure/label",
|
||||||
|
"framework/structure/listview",
|
||||||
|
"framework/structure/table",
|
||||||
|
"framework/structure/thumb",
|
||||||
|
"framework/structure/transition",
|
||||||
|
"framework/structure/transition-slide",
|
||||||
|
"framework/structure/video";
|
||||||
26
scss/framework-theme-default.scss
Executable file
26
scss/framework-theme-default.scss
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
|
|
||||||
|
|
||||||
|
// Components
|
||||||
|
@import
|
||||||
|
"framework/theme/accordion",
|
||||||
|
"framework/theme/button-group",
|
||||||
|
"framework/theme/clearing",
|
||||||
|
"framework/theme/footer",
|
||||||
|
"framework/theme/form",
|
||||||
|
"framework/theme/grid",
|
||||||
|
"framework/theme/header",
|
||||||
|
"framework/theme/icon",
|
||||||
|
"framework/theme/img",
|
||||||
|
"framework/theme/input-checkbox",
|
||||||
|
"framework/theme/input-radio",
|
||||||
|
"framework/theme/input-select",
|
||||||
|
"framework/theme/input-slider",
|
||||||
|
"framework/theme/input-text",
|
||||||
|
"framework/theme/label",
|
||||||
|
"framework/theme/listview",
|
||||||
|
"framework/theme/table",
|
||||||
|
"framework/theme/thumb",
|
||||||
|
"framework/theme/transition",
|
||||||
|
"framework/theme/transition-slide",
|
||||||
|
"framework/theme/video";
|
||||||
20
scss/framework/structure/_base.scss
Normal file
20
scss/framework/structure/_base.scss
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
// Make sure iOS Safari doesn't scale fonts on orientation changes
|
||||||
|
html {
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
|
-ms-text-size-adjust: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
font: 14px/1.25 "Helvetica Neue", sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Remove tap highlight color on Safari
|
||||||
|
a {
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
0
scss/framework/theme/default/_icon.scss
Normal file
0
scss/framework/theme/default/_icon.scss
Normal file
0
scss/framework/theme/default/_variables.scss
Normal file
0
scss/framework/theme/default/_variables.scss
Normal file
Reference in New Issue
Block a user