MS figured out moz gradient business

This commit is contained in:
maxwell 2010-07-27 14:34:16 -07:00
parent 9c7b3f0c07
commit 86e090bac3
3 changed files with 82 additions and 50 deletions

View file

@ -20,9 +20,6 @@
%b url:
= @person.url
.span-20
- if @person.posts
%h3= "stream - #{@post_count} item(s)"

View file

@ -238,9 +238,7 @@ ul.comment_set {
.request_buttons > li:first-child {
margin-right: 1em; }
#show_photo {
text-align: center; }
#show_photo img {
#show_photo img {
max-width: 100%; }
#debug_info {
@ -344,23 +342,37 @@ ul#publisher_content_pickers li {
-moz-border-radius: 3px; }
.field_with_submit input[type='text'] {
width: 80%;
width: 85%;
display: inline; }
h1.big_text {
border-top: 2px solid #666666;
.button {
font-size: 12px;
line-height: 100%;
text-shadow: 0 1px 0 white;
color: #666666;
background: -webkit-gradient(linear, 0% 29%, 0% 85%, from(#fafafa), to(#e0e0e0));
background: -moz-linear-gradient(top, #fafafa, #e0e0e0);
padding: 5px;
height: 14px;
display: inline;
border: 1px solid #cccccc;
border-bottom: 1px solid #666666;
text-align: center; }
border-left: 1px solid #999999;
border-right: 1px solid #999999;
border-radius: 3px;
box-shadow: 0 1px 1px #cccccc;
-webkit-box-shadow: 0 1px 1px #cccccc;
-moz-box-shadow: 0 1px 1px #cccccc;
cursor: pointer; }
.button:active {
box-shadow: 0 0px 2px black;
-webkit-box-shadow: 0 0px 2px black;
-moz-box-shadow: 0 0px 2px black;
color: #555555; }
.button a {
display: block;
color: #444444; }
.back {
position: absolute;
left: 0;
font-size: 12px; }
.sub_header {
font-size: 1em;
font-style: italic;
color: #999999;
margin-top: -5px;
margin-bottom: 1em;
text-align: center; }
.right {
float: right;
margin-top: 6px; }

View file

@ -287,14 +287,11 @@ ul.comment_set
:margin-right 1em
#show_photo
:text
:align center
img
:max-width 100%
#debug_info
:margin-top 20px
@ -424,33 +421,59 @@ ul#publisher_content_pickers li
.field_with_submit
input[type='text']
:width 80%
:width 85%
:display inline
h1.big_text
:border
:top 2px solid #666
:bottom 1px solid #666
:text
:align center
.back
:position absolute
:left 0
.button
:font
:size 12px
.sub_header
:font
:size 1em
:style italic
:color #999
:margin
:top -5px
:bottom 1em
:line-height 100%
:text
:align center
:shadow 0 1px 0 #fff
:color #666
:background -webkit-gradient(linear, 0% 29%, 0% 85%, from(#FAFAFA), to(#E0E0E0))
:background -moz-linear-gradient(top, #FAFAFA, #E0E0E0)
:padding 5px
:height 14px
:display inline
:border 1px solid #ccc
:bottom 1px solid #666
:left 1px solid #999
:right 1px solid #999
:radius 3px
:box-shadow 0 1px 1px #ccc
:-webkit-box-shadow 0 1px 1px #ccc
:-moz-box-shadow 0 1px 1px #ccc
:cursor pointer
&:active
:box-shadow 0 0px 2px #000
:-webkit-box-shadow 0 0px 2px #000
:-moz-box-shadow 0 0px 2px #000
:color #555
a
:display block
:color #444
.right
:float right
:margin
:top 6px