123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525 |
- /*=================================================
- Class Definitions
- =================================================*/
- .sb {
- display: none;
- position: fixed;
- top: 50%;
- left: 50%;
- margin-left: -250px;
- margin-top: -150px;
- width: 500px;
- height: 200px;
- background: white;
- padding: 25px;
- box-shadow: 0 2px 3px rgba(0,0,0,0.5);
- -moz-box-shadow: 0 2px 3px rgba(0,0,0,0.5);
- -webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.5);
- z-index: 1999;
- opacity: 0;
- }
- .sb h2 {
- margin-top: 0;
- }
- .sb p {
- font-size: 20px;
- }
- .sb form input[type='text'], .sb form input[type='password'], .sb form input[type='email'], .sb form textarea{
- margin: 0;
- border: none;
- background: #f7f7f7;
- padding: 18px 10px;
- font-size: 16px;
- width: 79%;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- }
- .sb form input[type='submit']{
- padding: 18px 10px;
- background: none;
- font-size: 16px;
- text-transform: uppercase;
- border: none;
- background: black;
- color: white;
- width: 20%;
- margin: 0;
- }
- .sb .sb-close-btn {
- position: absolute;
- right: 10px;
- top: 10px;
- color: #ccc;
- }
- .sb.sb-withoverlay {
- position: absolute;
- top: 200px;
- left: 50%;
- margin-left: -250px;
- }
- .sb-open.sb-open-with-overlay {
- overflow: hidden;
- }
- .sb-open .sb-overlay {
- opacity: 1;
- }
- .sb-open .sb {
- opacity: 1;
- }
- .sb-overlay {
- height: 100%;
- width: 100%;
- background: rgba(0, 0, 0, 0.58);
- opacity: 0;
- position: fixed;
- left: 0;
- right: 0;
- top: 0;
- z-index: 100;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- transition: all 0.5s ease-in-out;
- overflow: auto;
- }
- .sb-close-backdrop {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- cursor: pointer;
- }
- [class^="sb-animation-"], [class*=" sb-animation-"] {
- -webkit-animation-duration: 500ms;
- -moz-animation-duration: 500ms;
- -o-animation-duration: 500ms;
- animation-duration: 500ms;
- }
- .sb-animation-flyInRight {
- -webkit-animation-name: flyInRight;
- -moz-animation-name: flyInRight;
- -o-animation-name: flyInRight;
- animation-name: flyInRight;
- }
- .sb-animation-flyOutRight {
- -webkit-animation-name: flyOutRight;
- -moz-animation-name: flyOutRight;
- -o-animation-name: flyOutRight;
- animation-name: flyOutRight;
- }
- .sb-animation-flyInLeft {
- -webkit-animation-name: flyInLeft;
- -moz-animation-name: flyInLeft;
- -o-animation-name: flyInLeft;
- animation-name: flyInLeft;
- }
- .sb-animation-flyOutLeft {
- -webkit-animation-name: flyOutLeft;
- -moz-animation-name: flyOutLeft;
- -o-animation-name: flyOutLeft;
- animation-name: flyOutLeft;
- }
- .sb-animation-flyInUp {
- -webkit-animation-name: flyInUp;
- -moz-animation-name: flyInUp;
- -o-animation-name: flyInUp;
- animation-name: flyInUp;
- }
- .sb-animation-flyOutUp {
- -webkit-animation-name: flyOutUp;
- -moz-animation-name: flyOutUp;
- -o-animation-name: flyOutUp;
- animation-name: flyOutUp;
- }
- .sb-animation-flyInDown {
- -webkit-animation-name: flyInDown;
- -moz-animation-name: flyInDown;
- -o-animation-name: flyInDown;
- animation-name: flyInDown;
- }
- .sb-animation-flyOutDown {
- -webkit-animation-name: flyOutDown;
- -moz-animation-name: flyOutDown;
- -o-animation-name: flyOutDown;
- animation-name: flyOutDown;
- }
- /*=================================================
- Animation Library
- =================================================*/
- @-webkit-keyframes flyInRight {
- 0% {
- opacity: 0;
- -webkit-transform: translateX(3000px);
- }
- 100% {
- -webkit-transform: translateX(0);
- }
- }
- @-moz-keyframes flyInRight {
- 0% {
- opacity: 0;
- -moz-transform: translateX(3000px);
- }
- 100% {
- -moz-transform: translateX(0);
- }
- }
- @-o-keyframes flyInRight {
- 0% {
- opacity: 0;
- -o-transform: translateX(3000px);
- }
- 100% {
- -o-transform: translateX(0);
- }
- }
- @keyframes flyInRight {
- 0% {
- opacity: 0;
- transform: translateX(3000px);
- }
- 100% {
- transform: translateX(0);
- }
- }
- @-webkit-keyframes flyOutRight {
- 0% {
- -webkit-transform: translateX(0);
- }
- 100% {
- opacity: 0;
- -webkit-transform: translateX(3000px);
- }
- }
- @-moz-keyframes flyOutRight {
- 0% {
- -moz-transform: translateX(0);
- }
- 100% {
- opacity: 0;
- -moz-transform: translateX(3000px);
- }
- }
- @-o-keyframes flyOutRight {
- 0% {
- -o-transform: translateX(0);
- }
- 100% {
- opacity: 0;
- -o-transform: translateX(3000px);
- }
- }
- @keyframes flyOutRight {
- 0% {
- transform: translateX(0);
- }
- 100% {
- opacity: 0;
- transform: translateX(3000px);
- }
- }
- @-webkit-keyframes flyInLeft {
- 0% {
- opacity: 0;
- -webkit-transform: translateX(-3000px);
- }
- 100% {
- -webkit-transform: translateX(0);
- }
- }
- @-moz-keyframes flyInLeft {
- 0% {
- opacity: 0;
- -moz-transform: translateX(-3000px);
- }
- 100% {
- -moz-transform: translateX(0);
- }
- }
- @-o-keyframes flyInLeft {
- 0% {
- opacity: 0;
- -o-transform: translateX(-3000px);
- }
- 100% {
- -o-transform: translateX(0);
- }
- }
- @keyframes flyInLeft {
- 0% {
- opacity: 0;
- transform: translateX(-3000px);
- }
- 100% {
- transform: translateX(0);
- }
- }
- @-webkit-keyframes flyOutLeft {
- 0% {
- -webkit-transform: translateX(0);
- }
- 100% {
- opacity: 0;
- -webkit-transform: translateX(-3000px);
- }
- }
- @-moz-keyframes flyOutLeft {
- 0% {
- -moz-transform: translateX(0);
- }
- 100% {
- opacity: 0;
- -moz-transform: translateX(-3000px);
- }
- }
- @-o-keyframes flyOutLeft {
- 0% {
- -o-transform: translateX(0);
- }
- 100% {
- opacity: 0;
- -o-transform: translateX(-3000px);
- }
- }
- @keyframes flyOutLeft {
- 0% {
- transform: translateX(0);
- }
- 100% {
- opacity: 0;
- transform: translateX(-3000px);
- }
- }
- @-webkit-keyframes flyInUp {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(-2000px);
- }
- 100% {
- -webkit-transform: translateY(0);
- }
- }
- @-moz-keyframes flyInUp {
- 0% {
- opacity: 0;
- -moz-transform: translateY(-2000px);
- }
- 100% {
- -moz-transform: translateY(0);
- }
- }
- @-o-keyframes flyInUp {
- 0% {
- opacity: 0;
- -o-transform: translateY(-2000px);
- }
- 100% {
- -o-transform: translateY(0);
- }
- }
- @keyframes flyInUp {
- 0% {
- opacity: 0;
- transform: translateY(-2000px);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-webkit-keyframes flyOutUp {
- 0% {
- -webkit-transform: translateY(0);
- }
- 100% {
- opacity: 0;
- -webkit-transform: translateY(-2000px);
- }
- }
- @-moz-keyframes flyOutUp {
- 0% {
- -moz-transform: translateY(0);
- }
- 100% {
- opacity: 0;
- -moz-transform: translateY(-2000px);
- }
- }
- @-o-keyframes flyOutUp {
- 0% {
- -o-transform: translateY(0);
- }
- 100% {
- opacity: 0;
- -o-transform: translateY(-2000px);
- }
- }
- @keyframes flyOutUp {
- 0% {
- transform: translateY(0);
- }
- 100% {
- opacity: 0;
- transform: translateY(-2000px);
- }
- }
- @-webkit-keyframes flyInDown {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(2000px);
- }
- 100% {
- -webkit-transform: translateY(0);
- }
- }
- @-moz-keyframes flyInDown {
- 0% {
- opacity: 0;
- -moz-transform: translateY(2000px);
- }
- 100% {
- -moz-transform: translateY(0);
- }
- }
- @-o-keyframes flyInDown {
- 0% {
- opacity: 0;
- -o-transform: translateY(2000px);
- }
- 100% {
- -o-transform: translateY(0);
- }
- }
- @keyframes flyInDown {
- 0% {
- opacity: 0;
- transform: translateY(2000px);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-webkit-keyframes flyOutDown {
- 0% {
- -webkit-transform: translateY(0);
- }
- 100% {
- opacity: 0;
- -webkit-transform: translateY(2000px);
- }
- }
- @-moz-keyframes flyOutDown {
- 0% {
- -moz-transform: translateY(0);
- }
- 100% {
- opacity: 0;
- -moz-transform: translateY(2000px);
- }
- }
- @-o-keyframes flyOutDown {
- 0% {
- -o-transform: translateY(0);
- }
- 100% {
- opacity: 0;
- -o-transform: translateY(2000px);
- }
- }
- @keyframes flyOutDown {
- 0% {
- transform: translateY(0);
- }
- 100% {
- opacity: 0;
- transform: translateY(2000px);
- }
- }
|