Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SCSS and minified versions for JS/CSS. Fix Twitter button width i…
…ssue (thank you Twitter :P)
- Loading branch information
Showing
4 changed files
with
131 additions
and
93 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,98 +1,24 @@ | ||
/************************************************* | ||
* MedCalc Newsfeed Styles * | ||
* Created by Pascal Pfiffner, 2012-11-09 * | ||
* Copyright 2012 MedCalc, all rights reserved * | ||
* "debut_light.png" by Luke McDonald * | ||
*************************************************/ | ||
/************************************************* MedCalc Newsfeed Styles * Created by Pascal Pfiffner, 2012-11-09 * Copyright 2012 MedCalc, all rights reserved * "debut_light.png" by Luke McDonald * ************************************************/ | ||
html, body { margin: 0; padding: 0; font-family: "Helvetica Neue", Helvetica, "Lucida Grande", sans-serif; font-size: 17px; line-height: 1.4; background: url("debut_light.png") top left repeat #f1f1f1; } | ||
|
||
a { color: #0075cb; text-decoration: none; } | ||
a:visited { color: #757575; text-decoration: none; } | ||
|
||
html, body { | ||
margin: 0; padding: 0; | ||
font-family: "Helvetica Neue", Helvetica, "Lucida Grande", sans-serif; font-size: 17px; | ||
line-height: 1.4; | ||
background: url('debut_light.png') top left repeat rgb(241,241,241); | ||
} | ||
#header { min-height: 50px; padding: 20px; clear: right; } | ||
#header img { width: 50px; height: 50px; border: 1px solid #a1a7ad; -webkit-border-radius: 5px; border-radius: 5px; background-color: white; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 0 8px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 0 8px rgba(0, 0, 0, 0.1); } | ||
|
||
a { | ||
color: rgb(0,117,203); | ||
text-decoration: none; | ||
} | ||
#tagline { clear: right; float: right; margin: 4px 1px 0 0; font-size: 0.85em; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); color: rgba(0, 0, 0, 0.75); } | ||
|
||
a:visited { | ||
color: rgb(117,117,117); | ||
text-decoration: none; | ||
} | ||
#loader { padding: 30px 20px; text-align: center; color: rgba(0, 0, 0, 0.75); } | ||
|
||
#twitter_follow { float: right; width: 144px; } | ||
|
||
/* header */ | ||
#header { | ||
min-height: 50px; | ||
padding: 20px; | ||
clear: right; | ||
} | ||
#news { padding: 0 20px 20px; } | ||
|
||
#header img { | ||
width: 50px; height: 50px; | ||
border: 1px solid rgb(161,167,173); | ||
-webkit-border-radius: 5px; border-radius: 5px; | ||
background-color: white; | ||
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.8), inset 0 0 8px rgba(0,0,0,0.1); box-shadow: 0 1px 0 rgba(255,255,255,0.8), inset 0 0 8px rgba(0,0,0,0.1); | ||
} | ||
|
||
#tagline { | ||
clear: right; float: right; | ||
margin: 4px 1px 0 0; | ||
font-size: 0.85em; text-shadow: 0 1px 0 rgba(255,255,255,0.8); | ||
color: rgba(0,0,0,0.75); | ||
} | ||
|
||
|
||
/* loader */ | ||
#loader { | ||
padding: 30px 20px; | ||
text-align: center; | ||
color: rgba(0,0,0,0.75); | ||
} | ||
|
||
|
||
/* news */ | ||
#news { | ||
padding: 0 20px 20px; | ||
} | ||
|
||
.parent { | ||
border: 1px solid rgb(161,167,173); | ||
-webkit-border-radius: 5px; border-radius: 5px; | ||
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.8); box-shadow: 0 1px 0 rgba(255,255,255,0.8); | ||
} | ||
|
||
.newsitem { | ||
padding: 0.75em 20px; | ||
word-wrap: break-word; | ||
border-bottom: 1px solid rgb(202,202,202); border-top: 1px solid rgba(255,255,255,0.8); | ||
background-color: white; | ||
} | ||
.newsitem:first-child { | ||
border-top-color: rgba(0,0,0,0.1); | ||
border-top-left-radius: 5px; | ||
border-top-right-radius: 5px; | ||
} | ||
.newsitem:last-child { | ||
border-bottom: none; | ||
border-bottom-left-radius: 5px; | ||
border-bottom-right-radius: 5px; | ||
} | ||
|
||
.newsitem.unread-true { | ||
padding-left: 18px; | ||
border-left: 2px solid rgb(78,163,223); | ||
-webkit-box-shadow: inset 5px 0 5px -5px rgba(78,163,223,0.75); | ||
} | ||
|
||
.newsitem .date { | ||
float: right; | ||
margin: 0 0 0.5em 0.75em; | ||
font-size: 0.85em; | ||
color: rgba(0,0,0,0.6); | ||
} | ||
.parent { border: 1px solid #a1a7ad; -webkit-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } | ||
|
||
.newsitem { padding: 0.75em 20px; word-wrap: break-word; border-bottom: 1px solid #cacaca; border-top: 1px solid rgba(255, 255, 255, 0.8); background-color: white; } | ||
.newsitem:first-child { border-top-color: rgba(0, 0, 0, 0.1); border-top-left-radius: 5px; border-top-right-radius: 5px; } | ||
.newsitem:last-child { border-bottom: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } | ||
.newsitem.unread-true { padding-left: 18px; border-left: 2px solid #4ea3df; -webkit-box-shadow: inset 5px 0 5px -5px rgba(78, 163, 223, 0.75); } | ||
.newsitem .date { float: right; margin: 0 0 0.5em 0.75em; font-size: 0.85em; color: rgba(0, 0, 0, 0.6); } |
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,105 @@ | ||
/************************************************* | ||
* MedCalc Newsfeed Styles * | ||
* Created by Pascal Pfiffner, 2012-11-09 * | ||
* Copyright 2012 MedCalc, all rights reserved * | ||
* "debut_light.png" by Luke McDonald * | ||
*************************************************/ | ||
|
||
|
||
html, body { | ||
margin: 0; padding: 0; | ||
font-family: "Helvetica Neue", Helvetica, "Lucida Grande", sans-serif; font-size: 17px; | ||
line-height: 1.4; | ||
background: url('debut_light.png') top left repeat rgb(241,241,241); | ||
} | ||
|
||
a { | ||
color: rgb(0,117,203); | ||
text-decoration: none; | ||
|
||
&:visited { | ||
color: rgb(117,117,117); | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
|
||
// header | ||
#header { | ||
min-height: 50px; | ||
padding: 20px; | ||
clear: right; | ||
|
||
img { | ||
width: 50px; height: 50px; | ||
border: 1px solid rgb(161,167,173); | ||
-webkit-border-radius: 5px; border-radius: 5px; | ||
background-color: white; | ||
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.8), inset 0 0 8px rgba(0,0,0,0.1); box-shadow: 0 1px 0 rgba(255,255,255,0.8), inset 0 0 8px rgba(0,0,0,0.1); | ||
} | ||
} | ||
|
||
#tagline { | ||
clear: right; float: right; | ||
margin: 4px 1px 0 0; | ||
font-size: 0.85em; text-shadow: 0 1px 0 rgba(255,255,255,0.8); | ||
color: rgba(0,0,0,0.75); | ||
} | ||
|
||
|
||
// loader | ||
#loader { | ||
padding: 30px 20px; | ||
text-align: center; | ||
color: rgba(0,0,0,0.75); | ||
} | ||
|
||
|
||
// Services | ||
#twitter_follow { | ||
float: right; | ||
width: 144px; | ||
} | ||
|
||
|
||
// news | ||
#news { | ||
padding: 0 20px 20px; | ||
} | ||
|
||
.parent { | ||
border: 1px solid rgb(161,167,173); | ||
-webkit-border-radius: 5px; border-radius: 5px; | ||
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.8); box-shadow: 0 1px 0 rgba(255,255,255,0.8); | ||
} | ||
|
||
.newsitem { | ||
padding: 0.75em 20px; | ||
word-wrap: break-word; | ||
border-bottom: 1px solid rgb(202,202,202); border-top: 1px solid rgba(255,255,255,0.8); | ||
background-color: white; | ||
|
||
&:first-child { | ||
border-top-color: rgba(0,0,0,0.1); | ||
border-top-left-radius: 5px; | ||
border-top-right-radius: 5px; | ||
} | ||
&:last-child { | ||
border-bottom: none; | ||
border-bottom-left-radius: 5px; | ||
border-bottom-right-radius: 5px; | ||
} | ||
|
||
&.unread-true { | ||
padding-left: 18px; | ||
border-left: 2px solid rgb(78,163,223); | ||
-webkit-box-shadow: inset 5px 0 5px -5px rgba(78,163,223,0.75); | ||
} | ||
|
||
.date { | ||
float: right; | ||
margin: 0 0 0.5em 0.75em; | ||
font-size: 0.85em; | ||
color: rgba(0,0,0,0.6); | ||
} | ||
} |