mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Start of base themes and example including built thing correctly
This commit is contained in:
14
dist/framework.css
vendored
14
dist/framework.css
vendored
@ -1 +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>
|
||||
<head>
|
||||
<link rel="stylesheet" href="bower_components/normalize-css/normalize.css">
|
||||
<link rel="stylesheet" href="app.css">
|
||||
<link rel="stylesheet" href="../dist/framework.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="bar-header">
|
||||
|
||||
@ -5,4 +5,5 @@
|
||||
|
||||
// Components
|
||||
@import
|
||||
"framework/components/buttons";
|
||||
"framework/base",
|
||||
"framework/components/button";
|
||||
20
scss/framework/_base.scss
Normal file
20
scss/framework/_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);
|
||||
}
|
||||
Reference in New Issue
Block a user