X-Git-Url: http://git.scottworley.com/picsort/blobdiff_plain/59a0fba182b1c592474e3c3c01730917b51828ea..0605a43e45d86c656afcf0e2f1275aed1976b285:/picsorter.css?ds=inline diff --git a/picsorter.css b/picsorter.css index 943bbd3..bad3b89 100644 --- a/picsorter.css +++ b/picsorter.css @@ -7,26 +7,32 @@ to { opacity: 0; } } +img { + -webkit-transform-origin: top left; + -ms-transform-origin: top left; + transform-origin: top left; +} + .rot90 { - rotation: 90deg; - -webkit-transform: rotate(90deg); - -moz-transform: rotate(90deg); - -o-transform: rotate(90deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); + -webkit-transform: rotate(90deg) translateY(-100%);; + -moz-transform: rotate(90deg) translateY(-100%);; + -o-transform: rotate(90deg) translateY(-100%);; + rotation: 90deg translateY(-100%);; } .rot180 { - rotation: 180deg; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -o-transform: rotate(180deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); + -webkit-transform: rotate(180deg) translate(-100%,-100%); + -moz-transform: rotate(180deg) translate(-100%,-100%); + -o-transform: rotate(180deg) translate(-100%,-100%); + rotation: 180deg translate(-100%,-100%); } .rot270 { - rotation: 270deg; - -webkit-transform: rotate(270deg); - -moz-transform: rotate(270deg); - -o-transform: rotate(270deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); + -webkit-transform: rotate(270deg) translateX(-100%); + -moz-transform: rotate(270deg) translateX(-100%); + -o-transform: rotate(270deg) translateX(-100%); + rotation: 270deg translateX(-100%); } #message { @@ -41,9 +47,10 @@ background-color: rgba(200,200,200,0.5); } -#namecontainer { +.inputcontainer { position: fixed; width: 100%; + height: 100%; } #name { display: block; @@ -51,13 +58,22 @@ margin-right: auto; font-size: 30pt; } +#shell_out { + display: none; + width: 80%; + height: 80%; + margin: 5em; + color: white; + background-color: black; + padding: 1em; +} .fade { opacity: 0; - animation-duration: 2s; - animation-name: fadeOut; -webkit-animation-duration: 2s; -webkit-animation-name: fadeOut; + animation-duration: 2s; + animation-name: fadeOut; } .fit_view {