From 25a9e7883d8468b3a0f811d69826e2eb488e403a Mon Sep 17 00:00:00 2001 From: Ben Schwarz Date: Sun, 13 Jan 2013 11:04:00 +1100 Subject: [PATCH] Reorder style declarations and remove new lines. --- dist/ratchet.css | 19 +++++++------------ lib/css/modals.css | 19 +++++++------------ 2 files changed, 14 insertions(+), 24 deletions(-) diff --git a/dist/ratchet.css b/dist/ratchet.css index 9de25c4..6e987c3 100644 --- a/dist/ratchet.css +++ b/dist/ratchet.css @@ -1133,33 +1133,28 @@ select { .modal { position: fixed; top: 0; - background-color: #fff; + opacity: 0; + z-index: 11; width: 100%; - + overflow: hidden; + min-height: 100%; + background-color: #fff; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); -webkit-transition: -webkit-transform .25s ease-in-out, opacity 1ms .25s; transition: transform .25s ease-in-out, opacity 1ms .25s; - - opacity: 0; - overflow: hidden; - z-index: 11; - - min-height: 100%; } /* Modal - When active -------------------------------------------------- */ .modal.active { + opacity: 1; + height: 100%; -webkit-transition: -webkit-transform .25s ease-in-out; transition: transform: .25 ease-in-out; - -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); - - opacity: 1; - height: 100%; }/* Slider styles (to be used with sliders.js) -------------------------------------------------- */ diff --git a/lib/css/modals.css b/lib/css/modals.css index 0cf6e43..356a62a 100644 --- a/lib/css/modals.css +++ b/lib/css/modals.css @@ -3,31 +3,26 @@ .modal { position: fixed; top: 0; - background-color: #fff; + opacity: 0; + z-index: 11; width: 100%; - + overflow: hidden; + min-height: 100%; + background-color: #fff; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); -webkit-transition: -webkit-transform .25s ease-in-out, opacity 1ms .25s; transition: transform .25s ease-in-out, opacity 1ms .25s; - - opacity: 0; - overflow: hidden; - z-index: 11; - - min-height: 100%; } /* Modal - When active -------------------------------------------------- */ .modal.active { + opacity: 1; + height: 100%; -webkit-transition: -webkit-transform .25s ease-in-out; transition: transform: .25 ease-in-out; - -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); - - opacity: 1; - height: 100%; } \ No newline at end of file -- 2.39.2