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

Deprecate old files and introduce _shame.scss

- New _shame.scss to hold styles/components which need to be refactored or removed
- layout.scss and floatingheader.scss merged into global.scss/shame.scss
This commit is contained in:
John O'Nolan 2014-07-30 08:07:23 +03:00
parent 62fa89cd23
commit bd3bb31b6c
3 changed files with 86 additions and 3 deletions

View file

@ -1,3 +1,66 @@
//
// Box
// --------------------------------------------------
.box {
padding: 15px;
margin-bottom: 15px;
background: #fff;
position: relative;
box-shadow: $shadow;
header {
height:14px;
border-bottom: 1px solid $lightbrown;
padding-bottom: 15px;
margin-bottom: 15px;
text-transform: uppercase;
font-size:0.85em;
color: $brown;
}
footer {
height:14px;
border-top: 1px solid $lightbrown;
padding-top: 10px;
margin-top:15px;
text-transform: uppercase;
font-size:0.85em;
color: $brown;
}
header a,
footer a {
color:$brown;
&:hover {
color:$darkgrey;
text-decoration: none;
}
}
}
//
// Main
// --------------------------------------------------
main {
position: absolute;
top: 55px;
right: 15px;
bottom: 0;
left: 15px;
padding: 0;
@media (max-width: 400px) {
top: 40px;
left: 0;
right: 0;
}
}
//
// Floating Header
// --------------------------------------------------

View file

@ -57,6 +57,14 @@ a, a:active {
// Utilities
// --------------------------------------------------
.clearfix {
@include clearfix;
}
.wrapper {
position: relative;
}
.show {
display: block !important;
}
@ -89,4 +97,16 @@ a, a:active {
overflow: visible;
clip: auto;
}
}
.right {
float: right;
}
.left {
float: left;
}
.vertical {
display: table-cell;
vertical-align: middle;
}

View file

@ -21,21 +21,21 @@
// --------------------------------------------------
@import "patterns/global";
@import "patterns/_shame"; // TODO: Remove
@import "patterns/forms";
@import "patterns/buttons";
//
// Components - User interface objects
// Components - Groups of Patterns
// --------------------------------------------------
@import "components/navigation";
@import "components/dropdowns";
@import "components/floatingheader"; // TODO: Remove
//
// Layouts - Individual application screens
// Layouts - Groups of Components
// --------------------------------------------------
@import "layouts/default";