Created
August 30, 2012 22:36
-
-
Save wrumsby/3543416 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
This file contains hidden or 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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background-color: #f9f9f9; | |
color: #333; | |
font-family: Arial, Helvetica, sans-serif; | |
} | |
ul, li { | |
margin: 0; | |
padding: 0; | |
} | |
.wrapper { | |
} | |
.summary { | |
background-color: #fff; | |
margin: 0 auto; | |
font-weight: bold; | |
width: 900px; | |
height: 70px; | |
border-radius: 4px; | |
border: 1px solid #ccc; | |
box-shadow: -2px 2px 4px #ddd, 2px 2px 4px #ddd; | |
font-size: 22px; | |
line-height: 1.1em; | |
margin-bottom: 10px; | |
} | |
.view { | |
font-size: 11px; | |
color: #999; | |
} | |
.back, | |
.forward { | |
text-decoration: none; | |
background: transparent no-repeat; | |
width: 18px; | |
height: 17px; | |
display: inline-block; | |
} | |
.back { | |
background-image: url(http://personal.web/common/images/periodmenu.png); | |
position: absolute; | |
top: 34px; | |
left: 8px; | |
background-position: 0 -17px; | |
} | |
.back:hover { | |
background-image: url(http://personal.web/common/images/periodmenu.png); | |
background-position: 0px 0px; | |
} | |
.forward { | |
background-image: url(http://personal.web/common/images/periodmenu.png); | |
position: absolute; | |
top: 34px; | |
right: 4px; | |
background-position: -18px -17px; | |
} | |
.forward:hover { | |
background-image: url(http://personal.web/common/images/periodmenu.png); | |
background-position: -18px 0; | |
} | |
.date { | |
padding-left: 30px; | |
} | |
.year { | |
color: #888; | |
font-size: 18px; | |
} | |
.date-range { | |
padding: 2px 4px 8px 8px; | |
width: 290px; | |
display: block; | |
position: relative; | |
float: left; | |
} | |
.summary-panels { | |
display: inline-block; | |
max-height: 66px; | |
} | |
.panel { | |
display: block; | |
border-left: 1px solid #ccc; | |
padding-top: 6px; | |
padding-left: 6px; | |
height: 64px; | |
float: left; | |
} | |
.negative { | |
color: #C00; | |
} | |
.num-2 .panel { | |
width: 270px; | |
} | |
.num-3 .panel { | |
width: 180px; | |
} | |
.panel-title { | |
font-size: 12px; | |
} | |
.panel.action { | |
padding-top: 20px; | |
text-align: center; | |
height: 50px | |
} | |
.amount .minor, | |
.cents { | |
font-size: 14px; | |
} |
This file contains hidden or 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
<div class="wrapper"> | |
<div class="summary"> | |
<div class="date-range"> | |
<span class="view"> | |
View: | |
</span> | |
<br> | |
<a href="#" class="back"> </a> | |
<span class="date">3 Jun - 31 Aug <span class="year">2012</span></span> | |
<a href="#" class="forward"> </a> | |
</div> | |
<ul class="summary-panels num-2"> | |
<li class="panel"> | |
<div class="panel-title">Income</div> | |
<div class="amount"> | |
<span class="major">0</span>.<span class="minor">00</span> | |
</div> | |
</li> | |
<li class="panel action"> | |
<button>New Planned Payment</button> | |
</li> | |
</ul> | |
</div> | |
<div class="summary"> | |
<div class="date-range"> | |
<span class="view"> | |
View: | |
</span> | |
<br> | |
<a href="#" class="back"> </a> | |
<span class="date">3 Jun - 31 Aug <span class="year">2012</span></span> | |
<a href="#" class="forward"> </a> | |
</div> | |
<ul class="summary-panels num-3"> | |
<li class="panel"> | |
<div class="panel-title">Income</div> | |
<div><span class="dollars">0</span>.<span class="cents">00</span></div> | |
</li> | |
<li class="panel"> | |
<div class="panel-title">Spent</div> | |
<div><span class="dollars">1,287</span>.<span class="cents">74</span></div> | |
</li> | |
<li class="panel negative"> | |
<div class="panel-title">Overspent</div> | |
<div><span class="dollars">1,287</span>.<span class="cents">74</span></div> | |
</li> | |
</ul> | |
</div> | |
<div class="summary"> | |
<div class="date-range"> | |
<span class="view"> | |
View: | |
</span> | |
<br> | |
<a href="#" class="back"> </a> | |
<span class="date">3 Jun - 31 Aug <span class="year">2012</span></span> | |
<a href="#" class="forward"> </a> | |
</div> | |
<div class="summary-panels num-2"> | |
<div class="panel"> | |
<div class="panel-title">Income</div> | |
<div> | |
<span class="dollars">0</span>.<span class="cents">00</span> | |
</div> | |
</div> | |
<div class="panel action"> | |
<button>New Planned Payment</button> | |
</div> | |
</div> | |
</div> | |
<div class="summary"> | |
<div class="date-range"> | |
<span class="view"> | |
View: | |
</span> | |
<br> | |
<a href="#" class="back"> </a> | |
<span class="date">3 Jun - 31 Aug <span class="year">2012</span></span> | |
<a href="#" class="forward"> </a> | |
</div> | |
<ul class="summary-panels"> | |
<li class="panel"> | |
<div class="panel-title">Income</div> | |
<div class="amount"> | |
<span class="major">0</span>.<span class="minor">00</span> | |
</div> | |
</li> | |
</ul> | |
</div> | |
</div> |
This file contains hidden or 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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment