Skip to content

Commit

Permalink
Add new scss files
Browse files Browse the repository at this point in the history
  • Loading branch information
sudara committed Feb 14, 2015
1 parent 81dde1e commit 57ef41c
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 0 deletions.
66 changes: 66 additions & 0 deletions greenfield/app/assets/stylesheets/greenfield/player.css.scss
@@ -0,0 +1,66 @@

.player {
margin-top: 1em;
margin-bottom: 1em;
height: 126px; // 8em - 2px
border-top: 1px solid $light-gray;
border-bottom: 1px solid $light-gray;
display: block;
position: relative;

.time{
color: $lightest-gray;
position:absolute;
right:0;
font-size: 12px;
display:inline-block;
}
.play-button, .pause-button{
color: $not-quite-black;
margin-top:18px;
padding:18px;
text-indent: 9px;
width:54px;
height:54px;
vertical-align: middle;
display: inline-block;
border: 1px solid $light-gray;
border-radius: 50%;
cursor: pointer;
&:hover{
color:$black;
}
}
.pause-button{
color: $light-gray;
text-indent: 4.5px;
}

.waveform {
position: absolute;
display: inline-block;
right:0;
width: 540px;
height: 100%;
.seekbar {
width: 1px;
height: 100%;
background-color: #aaa;
position: absolute;
top: 0px;
}

&:hover .seekbar {
display: block;
}

&:not(:hover) .seekbar {
display: none;
}
}

.download-button {
font-size: 34px;
display: inline-block;
}
}
32 changes: 32 additions & 0 deletions greenfield/app/assets/stylesheets/greenfield/post.css.scss
@@ -0,0 +1,32 @@

.post_content, .post_content textarea{
font-size: $text;
background-color: $not-quite-white;
border: none;
margin-top: 2em;
margin-bottom: 3em;
-webkit-font-smoothing: antialiased;
word-break: break-word;
word-wrap: break-word;
text-rendering: optimizelegibility;
color: $not-quite-black;
p{
margin-bottom: 1em;
img{
max-width:700px;
}
}
hr{
border: 0;
margin:1.5em auto;
border-bottom: 1px solid $light-gray;
width: 433px;
}
h3{
margin-top: 34px; // margin + font size adds up to multiple of em (18px)
margin-bottom: 0px;
font-family: $bold-header-family;
font-size: 20px;
color: $not-quite-black;
}
}

0 comments on commit 57ef41c

Please sign in to comment.