Merge branch 'sass'
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by visionmedia · committed by visionmedia · parents 98e566a, 7d0470d · Browse files · 6 files·+93 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
6 files+93 added−97 removed
- other:+93 added−97 removed
Provenance
- Commit
7afb895- Tree
d4db938- Author
visionmedia <tj@vision-media.ca>- Committer
visionmedia <tj@vision-media.ca>- Parent 1
98e566a- Parent 2
7d0470d
6 files changed+93 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+83 added
1+body2+ :font-family "Helvetica Neue", "Lucida Grande", "Arial"3+ :font-size 13px4+ :text-align center5+ :-webkit-text-stroke 1px rgba(255, 255, 255, 0.1)6+ :color #5557+ 8+h1, h29+ :margin 010+ :font-size 22px11+ :color #34343412+h113+ :text-shadow 1px 2px 2px #ddd14+ :font-size 60px15+ 16+img.bubble17+ :position absolute18+ :top -25px19+ :left 120px20+ 21+#wrapper22+ :position relative23+ :margin 100px auto24+ :width 500px25+ :text-align left26+ 27+ul28+ :margin 029+ :padding 030+ :max-height 300px31+ :overflow-x hidden32+ li33+ :margin 5px 034+ :padding 3px 8px35+ :list-style none36+ :border 1px solid #eee37+ :-webkit-border-radius 3px38+ :-mox-border-radius 3px39+ :-webkit-transition-property color40+ :-webkit-transition-duration 0.1s41+ li:hover42+ :cursor pointer43+ :color #2E2E2E44+45+input[type=text]46+ :padding 5px47+ :border 1px solid #ddd48+ :outline none49+ :-webkit-border-radius 2px50+ :-moz-border-radius 2px51+input[type=text]:focus52+ :border-color #00C3FF53+54+input[type=submit]55+ :-webkit-border-radius 2px56+ :-moz-border-radius 2px57+ :-webkit-box-shadow 0 1px 2px #ddd58+ :-moz-box-shadow 0 1px 2px #ddd59+ :padding 6px 10px60+ :border solid 1px #99961+ :background -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#ddd))62+ :color #33363+ :text-decoration none64+ :cursor pointer65+ :display inline-block66+ :text-align center67+ :text-shadow 0px 1px 1px #fff68+ :line-height 169+input[type=submit]:hover70+ :background -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#E6E4E4))71+input[type=submit]:active72+ :background -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#c7c7c7))73+input[name=name]74+ :width 80px75+ 76+a77+ :color #1ABFF178+ :-webkit-transition-property padding79+ :-webkit-transition-duration 0.15s80+a:hover81+ :padding 0 5px82+a:hover:before83+ :content 'visit: '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 linesmodified:.gitmodules+3 added
5 unmodified lines6 url = git://github.com/creationix/haml-js.git7 [submodule "lib/support/js-oo"]8 path = lib/support/js-oo9 url = git://github.com/visionmedia/js-oo.git10+[submodule "lib/support/sass"]11+ path = lib/support/sass12+ url = git://github.com/visionmedia/sass.js.git