mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +08:00
renamed framework-with-theme.css to framework.css
This commit is contained in:
2
Makefile
2
Makefile
@ -3,4 +3,4 @@
|
||||
all: release
|
||||
|
||||
release:
|
||||
@sass -I scss/ scss/framework-with-default-theme.scss:dist/framework-with-theme.css
|
||||
@sass -I scss/ scss/framework.scss:dist/framework.css
|
||||
|
||||
0
dist/framework-theme-default.css
vendored
0
dist/framework-theme-default.css
vendored
@ -32,6 +32,7 @@ body {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
font: 14px/1.25 "Helvetica Neue", sans-serif; }
|
||||
|
||||
a {
|
||||
@ -41,6 +42,16 @@ ul {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
body > section {
|
||||
position: relative;
|
||||
z-index: 100;
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
max-width: 100%;
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
max-height: 100%; }
|
||||
|
||||
main {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@ -60,12 +71,6 @@ main > * {
|
||||
.content-padded {
|
||||
padding: 10px; }
|
||||
|
||||
.hide {
|
||||
display: none; }
|
||||
|
||||
.show {
|
||||
display: block; }
|
||||
|
||||
.ptr-capable {
|
||||
-webkit-user-drag: element; }
|
||||
|
||||
@ -84,15 +89,24 @@ main > * {
|
||||
.ptr-content .refreshing {
|
||||
display: none; }
|
||||
|
||||
/* the page content the panel should move around */
|
||||
.panel-page-container {
|
||||
left: 100px; }
|
||||
|
||||
/* the container of panel content to show */
|
||||
.panel-content {
|
||||
width: 17em;
|
||||
min-height: 100%;
|
||||
max-height: none;
|
||||
max-height: 100%;
|
||||
border-width: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
display: block; }
|
||||
|
||||
.panel-reveal {
|
||||
z-index: 0;
|
||||
left: -17em; }
|
||||
|
||||
.button {
|
||||
position: relative;
|
||||
display: block;
|
||||
@ -517,3 +531,6 @@ a.list-item {
|
||||
|
||||
.ptr-content {
|
||||
background: #eee; }
|
||||
|
||||
.panel-content {
|
||||
background: #eee; }
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
<link rel="stylesheet" href="app.css">
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular.min.js"></script>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
<link rel="stylesheet" href="app.css">
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular.min.js"></script>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
<link rel="stylesheet" href="app.css">
|
||||
<script>
|
||||
</script>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
<link rel="stylesheet" href="app.css">
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular.min.js"></script>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body ng-app="peopleApp">
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body ng-app="peopleApp">
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body ng-app="peopleApp">
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
<link rel="stylesheet" href="app.css">
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular.min.js"></script>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -6,24 +6,25 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<section>
|
||||
<section class="panel-page-container">
|
||||
|
||||
<header class="bar bar-header bar-dark">
|
||||
<h1 class="title">Panels</h1>
|
||||
</header>
|
||||
|
||||
<main class="has-header">
|
||||
<main class="content-padded has-header">
|
||||
<p>A whole bunch of content</p>
|
||||
<a class="button button-primary" href="#">Panel</a>
|
||||
</main>
|
||||
|
||||
</section>
|
||||
|
||||
<section class="panel-content">
|
||||
<section class="panel-content panel-reveal">
|
||||
Panel!
|
||||
</section>
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="../../dist/framework.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -11,4 +11,5 @@
|
||||
"framework/theme/icon",
|
||||
"framework/theme/listview",
|
||||
"framework/theme/pull-to-refresh",
|
||||
"framework/theme/panel",
|
||||
"framework/theme/table";
|
||||
@ -1,2 +0,0 @@
|
||||
@import "framework-structure";
|
||||
@import "framework-theme-default";
|
||||
2
scss/framework.scss
Normal file
2
scss/framework.scss
Normal file
@ -0,0 +1,2 @@
|
||||
@import "framework-structure";
|
||||
@import "framework-theme";
|
||||
@ -28,3 +28,5 @@ $barPaddingLandscape : 5px;
|
||||
// Lists
|
||||
$listItemBorder: 1px solid #ddd;
|
||||
|
||||
// Panels
|
||||
$panelViewWidth: 17em;
|
||||
@ -11,6 +11,7 @@ body {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
font: 14px/1.25 "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
@ -21,6 +22,17 @@ a {
|
||||
|
||||
ul { margin: 0; padding: 0; }
|
||||
|
||||
body > section {
|
||||
position: relative;
|
||||
z-index: 100;
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
max-width: 100%;
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
main {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@ -44,9 +56,3 @@ main > * {
|
||||
padding: $contentPadding;
|
||||
}
|
||||
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
.show {
|
||||
display: block;
|
||||
}
|
||||
@ -1,14 +1,28 @@
|
||||
|
||||
|
||||
/* the page content the panel should move around */
|
||||
.panel-page-container {
|
||||
|
||||
left: 100px;
|
||||
}
|
||||
|
||||
|
||||
/* the container of panel content to show */
|
||||
.panel-content {
|
||||
width: 17em;
|
||||
width: $panelViewWidth;
|
||||
min-height: 100%;
|
||||
max-height: none;
|
||||
max-height: 100%;
|
||||
border-width: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.panel-content {
|
||||
.panel-reveal {
|
||||
z-index: 0;
|
||||
left: $panelViewWidth * -1;
|
||||
}
|
||||
|
||||
.panel-reveal-open {
|
||||
|
||||
}
|
||||
4
scss/framework/theme/_panel.scss
Normal file
4
scss/framework/theme/_panel.scss
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
.panel-content {
|
||||
background: #eee;
|
||||
}
|
||||
Reference in New Issue
Block a user