Started converting to sass
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by visionmedia · committed by visionmedia · parent 9f263e3 · Browse files · 5 files·+102 added−97 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
5 files+102 added−97 removed
- other:+102 added−97 removed
Provenance
- Commit
f8879ac- Tree
a2b0357- Author
visionmedia <tj@vision-media.ca>- Committer
visionmedia <tj@vision-media.ca>- Parent
9f263e3
5 files changed+102 added−97 removed
deleted:examples/public/stylesheets/style.css-95 removed
1-body {2- font-family: "Helvetica Neue", "Lucida Grande", "Arial";3- font-size: 13px;4- text-align: center;5- -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);6- color: #555;7-}8-h1, h2 {9- margin: 0;10- font-size: 22px;11- color: #343434;12-}13-h1 {14- text-shadow: 1px 2px 2px #ddd;15- font-size: 60px;16-}17-img.bubble {18- position: absolute;19- top: -25px;20- left: 120px;21-}22-#wrapper {23- position: relative;24- margin: 100px auto;25- width: 500px;26- text-align: left;27-}28-ul {29- margin: 0;30- padding: 0;31-}32-ul li {33- margin: 5px 0;34- padding: 3px 8px;35- list-style: none;36- border: 1px solid #eee;37- -webkit-border-radius: 3px;38- -mox-border-radius: 3px;39- -webkit-transition-property: color;40- -webkit-transition-duration: 0.1s;41-}42-ul li:hover {43- cursor: pointer;44- color: #2E2E2E;45-}46-ul {47- max-height: 300px;48- overflow-x: hidden;49-}50-input[type=text] {51- padding: 5px;52- border: 1px solid #ddd;53- outline: none;54- -webkit-border-radius: 2px;55- -moz-border-radius: 2px;56-}57-input[type=text]:focus {58- border-color: #00C3FF;59-}60-input[type=submit] {61- -webkit-border-radius: 2px;62- -moz-border-radius: 2px;63- -webkit-box-shadow: 0 1px 2px #ddd;64- -moz-box-shadow: 0 1px 2px #ddd;65- padding: 6px 10px;66- border: solid 1px #999;67- background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#ddd));68- color: #333;69- text-decoration: none;70- cursor: pointer;71- display: inline-block;72- text-align: center;73- text-shadow: 0px 1px 1px #fff;74- line-height: 1;75-}76-input[type=submit]:hover {77- background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#E6E4E4));78-}79-input[type=submit]:active {80- background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#c7c7c7));81-}82-input[name=name] {83- width: 80px;84-}85-a {86- color: #1ABFF1;87- -webkit-transition-property: padding;88- -webkit-transition-duration: 0.15s;89-}90-a:hover {91- padding: 0 5px;92-}93-a:hover:before {94- content: 'visit: ';95-}modified:examples/views/layout.haml.html+1 added-1 removed
123456678%html %head %title Chat %script{ src: '/public/javascripts/jquery.js' } %script{ src: '/public/javascripts/app.js' } %link{ rel: 'stylesheet', href: '/public/stylesheets/style.css' } %link{ rel: 'stylesheet', href: '/style.css' } %body #wrapper= bodyadded:examples/views/style.sass.css+95 added
1+body {2+ font-family: "Helvetica Neue", "Lucida Grande", "Arial";3+ font-size: 13px;4+ text-align: center;5+ -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);6+ color: #555;7+}8+h1, h2 {9+ margin: 0;10+ font-size: 22px;11+ color: #343434;12+}13+h1 {14+ text-shadow: 1px 2px 2px #ddd;15+ font-size: 60px;16+}17+img.bubble {18+ position: absolute;19+ top: -25px;20+ left: 120px;21+}22+#wrapper {23+ position: relative;24+ margin: 100px auto;25+ width: 500px;26+ text-align: left;27+}28+ul {29+ margin: 0;30+ padding: 0;31+}32+ul li {33+ margin: 5px 0;34+ padding: 3px 8px;35+ list-style: none;36+ border: 1px solid #eee;37+ -webkit-border-radius: 3px;38+ -mox-border-radius: 3px;39+ -webkit-transition-property: color;40+ -webkit-transition-duration: 0.1s;41+}42+ul li:hover {43+ cursor: pointer;44+ color: #2E2E2E;45+}46+ul {47+ max-height: 300px;48+ overflow-x: hidden;49+}50+input[type=text] {51+ padding: 5px;52+ border: 1px solid #ddd;53+ outline: none;54+ -webkit-border-radius: 2px;55+ -moz-border-radius: 2px;56+}57+input[type=text]:focus {58+ border-color: #00C3FF;59+}60+input[type=submit] {61+ -webkit-border-radius: 2px;62+ -moz-border-radius: 2px;63+ -webkit-box-shadow: 0 1px 2px #ddd;64+ -moz-box-shadow: 0 1px 2px #ddd;65+ padding: 6px 10px;66+ border: solid 1px #999;67+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#ddd));68+ color: #333;69+ text-decoration: none;70+ cursor: pointer;71+ display: inline-block;72+ text-align: center;73+ text-shadow: 0px 1px 1px #fff;74+ line-height: 1;75+}76+input[type=submit]:hover {77+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#E6E4E4));78+}79+input[type=submit]:active {80+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#c7c7c7));81+}82+input[name=name] {83+ width: 80px;84+}85+a {86+ color: #1ABFF1;87+ -webkit-transition-property: padding;88+ -webkit-transition-duration: 0.15s;89+}90+a:hover {91+ padding: 0 5px;92+}93+a:hover:before {94+ content: 'visit: ';95+}modified:examples/app.js+4 added
49 unmodified lines5051525354555657585960619 unmodified lines49 unmodified linesget('/public/*', function(file){ this.sendfile(dirname(__filename) + '/public/' + file)})
get('/*.css', function(file){ this.render(file + '.sass.css', { layout: false })})
get('/error/view', function(){ this.render('does.not.exist')})
9 unmodified linesmodified:lib/express/plugins/view.js+2 added-1 removed
11 unmodified lines121314151616171819202177 unmodified lines11 unmodified lines */
var engine = { ejs: require('support/ejs/ejs'), haml: require('support/haml/lib/haml') haml: require('support/haml/lib/haml'), sass: require('support/sass/lib/sass')}
// --- View
77 unmodified lines