diff --git a/labs/demos/index.coffee b/labs/demos/index.coffee index bb46bb6352..51ea607f74 100644 --- a/labs/demos/index.coffee +++ b/labs/demos/index.coffee @@ -21,8 +21,9 @@ app.get("/*", (req, res, next) -> file = req.params[0] console.log "\t :: Express :: file requested : " + file - if file is "public/js/app.js" or file is "config.json" + if file is "public/js/app.js" or file is "public/stylesheets/login.css" or file is "config.json" #Send the requesting client the file. res.sendfile __dirname + "/" + file next -) \ No newline at end of file +) + diff --git a/labs/demos/public/stylesheets/login.css b/labs/demos/public/stylesheets/login.css new file mode 100644 index 0000000000..47c2c09a8f --- /dev/null +++ b/labs/demos/public/stylesheets/login.css @@ -0,0 +1,61 @@ +body { + margin:0; + font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; + font-size: 14px; + line-height: 1.42857143; +} +.login { } +.login-banner { + background:#f2f2f2; + height:325px; + border-bottom: 1px solid rgba(0,0,0,.05); +} +.login-form { + width:25%; + margin:0 auto; + background:#fff; + border:1px solid #ddd; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + top:45%; + padding:40px; + display:block; + position: relative; + -webkit-box-shadow: inset 0 3px 6px rgba(0,0,0,.05); + box-shadow: inset 0 3px 6px rgba(0,0,0,.05); + } +.login-form label { + display: inline-block; + max-width: 100%; + margin-bottom: 5px; + font-weight: 700; +} +.login-form input { + display: block; + width: 100%; + padding: 12px 18px; + font-size: 14px; + line-height: 1.42857143; + background-image: none; + border: 1px solid #c7cdd1; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075); + -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s; + -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; + transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; + margin-bottom: 20px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.success { + color: #FFF; + background: #54A7DB; + border:0 !important; +} +.success:hover { + background: #4695c6; + cursor: pointer; +} diff --git a/labs/demos/views/index.html b/labs/demos/views/index.html index 60607dd9e8..a4345b5b12 100755 --- a/labs/demos/views/index.html +++ b/labs/demos/views/index.html @@ -4,73 +4,7 @@ - - - - +