0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/assets/sass/layouts/setup.scss

150 lines
2.7 KiB
SCSS
Raw Normal View History

// ------------------------------------------------------------
2014-07-30 02:46:18 -05:00
// Setup
//
// Styles for the Tag Management screen
2014-07-30 02:51:37 -05:00
// Slug: /ghost/setup/
//
// * Page
// * Wrapper
// * Form
// ------------------------------------------------------------
//
// Page
2014-07-30 02:51:37 -05:00
// --------------------------------------------------
// Applied to the <body> element
2014-07-30 02:46:18 -05:00
.ghost-setup {
color: $midgrey;
background: $darkgrey;
2014-07-30 02:46:18 -05:00
@media (max-width: 550px) {
background: darken($darkgrey, 5%);
}
main {
padding-top: 15px;
2014-09-27 04:44:27 -05:00
overflow: auto;
-webkit-overflow-scrolling: touch;
2014-07-30 02:46:18 -05:00
@media (max-width: 550px) {
top: 0;
}
}
}
//
// Wrapper
// --------------------------------------------------
// Centered in the middle of the screen
2014-07-30 02:46:18 -05:00
.setup-box {
display: table;
max-width: 500px;
height: 90%;
margin: 0 auto;
padding: 0;
}
//
// Form
// --------------------------------------------------
2014-07-30 02:46:18 -05:00
.setup-form {
max-width: 530px;
padding: 40px;
color: lighten($midgrey, 15%);
border-radius: 2px;
@media (max-width: 400px) {
padding: 15px;
}
@media (min-width: 551px) {
background: darken($darkgrey, 5%);
}
2014-07-30 02:46:18 -05:00
header {
margin-bottom: 30px;
}
label {
color: $lightgrey;
font-weight: 300;
@media (max-width: 550px) {
width: 100%;
}
}
.form-group input {
2014-07-30 02:46:18 -05:00
padding: 7px;
border: none;
color: #fff;
background: lighten($darkgrey, 10%);
transition: background 0.25s ease;
2014-07-30 02:46:18 -05:00
&:focus {
border:none;
background: lighten($darkgrey, 15%);
}
}
// Chrome auto-fill style
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px $lightgrey inset !important;
}
h1 {
margin: 0;
font-weight: 200;
font-size: 26px;
letter-spacing: 0;
2014-07-30 02:46:18 -05:00
color: $lightgrey;
@media (max-width: 400px) {
font-size: 18px;
}
2014-07-30 02:46:18 -05:00
@media (max-width: 550px) {
font-size: 20px;
}
}
h2 {
margin: 6px 0 0 0;
padding: 0;
border: none;
font-weight: 200;
font-size: 16px;
letter-spacing: 0;
2014-07-30 02:46:18 -05:00
color: $midgrey;
@media (max-width: 400px) {
font-size: 12px;
}
2014-07-30 02:46:18 -05:00
@media (max-width: 550px) {
font-size: 14px;
}
}
p {
font-size: 12px;
line-height: 1.4em;
color: $midgrey;
}
footer {
margin: 30px 0 5px 0;
}
.btn-green {
2014-07-30 02:46:18 -05:00
width: 100%;
padding: 0.9em 1.8em;
font-size: 13px;
}
}//.setup-form