Skip to content
Myr

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

5 files+102 added−97 removed

deleted:examples/public/stylesheets/style.css-95 removed
1body {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}8h1, h2 {9 margin: 0;10 font-size: 22px;11 color: #343434;12}13h1 {14 text-shadow: 1px 2px 2px #ddd;15 font-size: 60px;16}17img.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}28ul {29 margin: 0;30 padding: 0;31}32ul 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}42ul li:hover {43 cursor: pointer;44 color: #2E2E2E;45}46ul {47 max-height: 300px;48 overflow-x: hidden;49}50input[type=text] {51 padding: 5px;52 border: 1px solid #ddd;53 outline: none;54 -webkit-border-radius: 2px;55 -moz-border-radius: 2px;56}57input[type=text]:focus {58 border-color: #00C3FF;59}60input[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}76input[type=submit]:hover {77 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#E6E4E4));78}79input[type=submit]:active {80 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#c7c7c7));81}82input[name=name] {83 width: 80px;84}85a {86 color: #1ABFF1;87 -webkit-transition-property: padding;88 -webkit-transition-duration: 0.15s;89}90a:hover {91 padding: 0 5px;92}93a:hover:before {94 content: 'visit: ';95}
modified:examples/views/layout.haml.html+1 added-1 removed
added:examples/views/style.sass.css+95 added
1body {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}8h1, h2 {9 margin: 0;10 font-size: 22px;11 color: #343434;12}13h1 {14 text-shadow: 1px 2px 2px #ddd;15 font-size: 60px;16}17img.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}28ul {29 margin: 0;30 padding: 0;31}32ul 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}42ul li:hover {43 cursor: pointer;44 color: #2E2E2E;45}46ul {47 max-height: 300px;48 overflow-x: hidden;49}50input[type=text] {51 padding: 5px;52 border: 1px solid #ddd;53 outline: none;54 -webkit-border-radius: 2px;55 -moz-border-radius: 2px;56}57input[type=text]:focus {58 border-color: #00C3FF;59}60input[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}76input[type=submit]:hover {77 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#E6E4E4));78}79input[type=submit]:active {80 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#c7c7c7));81}82input[name=name] {83 width: 80px;84}85a {86 color: #1ABFF1;87 -webkit-transition-property: padding;88 -webkit-transition-duration: 0.15s;89}90a:hover {91 padding: 0 5px;92}93a:hover:before {94 content: 'visit: ';95}
modified:examples/app.js+4 added
modified:lib/express/plugins/view.js+2 added-1 removed