framework/views/install/app.php

174 lines
3.9 KiB
PHP
Raw Normal View History

2015-08-17 12:42:02 +08:00
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $title; ?></title>
2015-08-17 12:42:02 +08:00
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">
<style>
@import url(//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,600);
2015-08-17 12:42:02 +08:00
body {
background: #fff;
margin: 0;
padding: 0;
line-height: 1.5;
}
body, input, button {
font-family: 'Open Sans', sans-serif;
font-size: 16px;
color: #7E96B3;
}
.container {
max-width: 515px;
margin: 0 auto;
padding: 100px 30px;
text-align: center;
}
a {
color: #e7652e;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
h1 {
margin-bottom: 40px;
}
h2 {
font-size: 28px;
font-weight: normal;
color: #3C5675;
margin-bottom: 0;
}
form {
margin-top: 40px;
}
.FormGroup {
margin-bottom: 20px;
}
.FormGroup .FormField:first-child input {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.FormGroup .FormField:last-child input {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.FormField input {
background: #EDF2F7;
2015-08-17 13:02:38 +08:00
margin: 0 0 1px;
2015-08-17 12:42:02 +08:00
border: 2px solid transparent;
transition: background 0.2s, border-color 0.2s, color 0.2s;
width: 100%;
padding: 15px 15px 15px 180px;
box-sizing: border-box;
}
.FormField input:focus {
border-color: #e7652e;
background: #fff;
color: #444;
outline: none;
}
.FormField label {
float: left;
width: 160px;
text-align: right;
margin-right: -160px;
position: relative;
margin-top: 18px;
font-size: 14px;
pointer-events: none;
opacity: 0.7;
}
button {
background: #3C5675;
color: #fff;
border: 0;
font-weight: bold;
border-radius: 4px;
cursor: pointer;
padding: 15px 30px;
-webkit-appearance: none;
}
button[disabled] {
opacity: 0.5;
}
#error {
background: #D83E3E;
color: #fff;
padding: 15px 20px;
border-radius: 4px;
margin-bottom: 20px;
}
.animated {
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-duration: 0.5s;
animation-duration: 0.5s;
animation-delay: 1.7s;
-webkit-animation-delay: 1.7s;
}
@-webkit-keyframes fadeIn {
0% {opacity: 0}
100% {opacity: 1}
}
@keyframes fadeIn {
0% {opacity: 0}
100% {opacity: 1}
}
.fadeIn {
-webkit-animation-name: fadeIn;
animation-name: fadeIn;
}
.Errors {
margin-top: 50px;
}
.Errors .Error:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.Errors .Error:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.Error {
background: #EDF2F7;
margin: 0 0 1px;
padding: 20px 25px;
text-align: left;
}
.Error-message {
font-size: 16px;
color: #3C5675;
font-weight: normal;
margin: 0;
}
.Error-detail {
font-size: 13px;
margin: 5px 0 0;
}
2015-08-17 12:42:02 +08:00
</style>
</head>
<body>
<div class="container">
<h1>
2016-02-26 11:09:39 +08:00
<?php echo file_get_contents(__DIR__.'/logo.svg'); ?>
2015-08-17 12:42:02 +08:00
</h1>
<div class="animated fadeIn">
<?php echo $content; ?>
2015-08-17 12:42:02 +08:00
</div>
</div>
</body>
</html>