Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
greenfield/app/assets/stylesheets/greenfield/player.css.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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
32
greenfield/app/assets/stylesheets/greenfield/post.css.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} |