0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Move styles from ember-hacks.css in Ghost to here

This commit is contained in:
Paul Adam Davis 2014-06-24 14:50:06 +01:00
parent 4e639594dc
commit 60eadfa70a
4 changed files with 44 additions and 4 deletions

View file

@ -28,7 +28,7 @@
TODO: Make the fadeIn keyframe name hyphenated, not camelCase TODO: Make the fadeIn keyframe name hyphenated, not camelCase
========================================================================== */ ========================================================================== */
@include keyframes(fadeIn) { @include keyframes(fade-in) {
from { from {
opacity: 0; opacity: 0;
} }
@ -36,6 +36,12 @@
opacity: 1; opacity: 1;
} }
} }
.fade-in {
-o-animation: fade-in 0.5s;
-moz-animation: fade-in 0.5s;
-webkit-animation: fade-in 0.5s;
animation: fade-in 0.5s;
}
/* ========================================================================== /* ==========================================================================
Fade Out Fade Out
@ -50,3 +56,9 @@
opacity: 0; opacity: 0;
} }
} }
.fade-out {
-o-animation: fade-out 0.5s;
-moz-animation: fade-out 0.5s;
-webkit-animation: fade-out 0.5s;
animation: fade-out 0.5s;
}

View file

@ -88,9 +88,15 @@
} }
button {
border: 0;
padding: 0;
background: transparent;
}
// This is the default button style // This is the default button style
.button, .button,
button, // button,
input[type="button"] { input[type="button"] {
@extend %btn; @extend %btn;
color:#777; color:#777;

View file

@ -4,6 +4,7 @@
* Table of Contents * Table of Contents
* *
* Dropdowns * Dropdowns
* Dropdown Show & Hide
* Menu * Menu
* Menu Positioning Options * Menu Positioning Options
* Post Settings * Post Settings
@ -27,6 +28,27 @@
} // .dropdown } // .dropdown
a.dropdown,
button.dropdown {
cursor: pointer;
}
/* ==========================================================================
Dropdown Show & Hide
---
Sadly !important is needed, to counteract the stringer selectors applying
a display property.
========================================================================== */
.ghost-popover {
display: none !important;
}
.ghost-popover.open {
display: block !important;
}
/* ========================================================================== /* ==========================================================================
Menu Menu

File diff suppressed because one or more lines are too long