0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

New first run screen

This commit is contained in:
John O'Nolan 2014-05-25 11:15:00 +02:00
parent c04185fa3d
commit 3abd027b03
4 changed files with 209 additions and 1 deletions

View file

@ -0,0 +1,120 @@
//
// Setup Ghost for The First Time
// --------------------------------------------------
.ghost-setup {
color: $midgrey;
background: $darkgrey;
@include breakpoint(550px) { background: darken($darkgrey, 5%); }
main {
top: 15px;
@include breakpoint(550px) { top: 0; }
}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px $lightgrey inset !important;
}
h1 {
margin: 0;
font-weight: 200;
font-size: 26px;
color: $lightgrey;
@include breakpoint(550px) {
font-size: 20px;
}
}
h2 {
margin: 10px 0 0 0;
padding: 0;
border: none;
font-weight: 200;
font-size: 16px;
color: $midgrey;
@include breakpoint(550px) {
font-size: 14px;
}
}
}
.setup-box {
display: table;
max-width: 500px;
height: 90%;
margin: 0 auto;
padding: 0;
}
.setup-form {
@include box-sizing(border-box);
max-width: 530px;
padding: 40px;
color: lighten($midgrey, 15%);
background: darken($darkgrey, 5%);
@include breakpoint(400px) {
padding: 15px;
}
header {
margin-bottom: 45px;
@include breakpoint(550px) { margin-bottom: 35px; }
}
footer {
margin: 40px 0 5px 0;
@include breakpoint(550px) { margin-top: 35px; }
}
label {
width: 90px;
color: $lightgrey;
font-weight: 300;
@include breakpoint(550px) {
width: 100%;
}
}
.form-group {
padding-left: 110px;
@include breakpoint(550px) {
padding-left: 0;
}
}
input {
width: 300px;
padding: 7px;
border: none;
color: #fff;
background: lighten($darkgrey, 10%);
@include transition(background ease 0.25s);
@include breakpoint(550px) {
width: 100%;
}
&:focus {
border:none;
background: lighten($darkgrey, 15%);
}
}
p {
font-size: 12px;
line-height: 1.4em;
color: $midgrey;
}
.button-add {
width: 100%;
padding: 0.9em 1.8em;
font-size: 13px;
}
}

View file

@ -30,5 +30,6 @@
// Settings Layouts - Styles for the settings panes, grouped by pane.
@import "layouts/setup";
@import "layouts/settings";
@import "layouts/users";

File diff suppressed because one or more lines are too long

87
setup.html Normal file
View file

@ -0,0 +1,87 @@
<!doctype html>
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if (gte IE 9)| IEMobile |!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Ghost Admin</title>
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1, minimal-ui" />
<meta http-equiv="cleartype" content="on" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-title" content="Ghost" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon-precomposed" href="/ghost/img/touch-icon-iphone.png?v=f0332a6f54" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="/ghost/img/touch-icon-ipad.png?v=f0332a6f54" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/ghost/img/small.png?v=f0332a6f54" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/ghost/img/medium.png?v=f0332a6f54" />
<meta name="application-name" content="Ghost" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="msapplication-square70x70logo" content="/ghost/img/small.png?v=f0332a6f54" />
<meta name="msapplication-square150x150logo" content="/ghost/img/medium.png?v=f0332a6f54" />
<meta name="msapplication-square310x310logo" content="/ghost/img/large.png?v=f0332a6f54" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:400,300,700" />
<link rel="stylesheet" href="/Users/John/Sites/Ghost-UI/dist/css/ghost-ui.css" />
</head>
<body class="ghost-setup">
<main role="main" id="main">
<aside id="notifications" class="notifications">
</aside>
<section class="setup-box js-setup-box">
<div class="vertical">
<form id="setup" class="setup-form" method="post" novalidate="novalidate">
<header>
<h1>Welcome to your new Ghost blog</h1>
<h2>Let's get a few things set up so you can get started.</h2>
</header>
<div class="form-group">
<label for="blog-title">Blog Title</label>
<input id="blog-title" type="text">
<p>What would you like to call your blog?</p>
</div>
<div class="form-group">
<label for="blog-title">Full Name</label>
<input id="blog-title" type="text">
<p>The name that you will sign your posts with</p>
</div>
<div class="form-group">
<label for="blog-title">Email Address</label>
<input id="blog-title" type="email">
<p>Used for important notifications</p>
</div>
<div class="form-group">
<label for="blog-title">Password</label>
<input id="blog-title" type="password">
<p>Must be at least 8 characters</p>
</div>
<footer>
<button class="button-add large">Ok, Let's Do This</button>
</footer>
</form>
</div>
</section>
</main>
<div id="modal-container"></div>
<div class="modal-background fade"></div>
<script src="https://newstartuptest.ghost.io/ghost/scripts/ghost.min.js"></script>
</body>
</html>