Skip to content

Instantly share code, notes, and snippets.

@leehambley
Created August 25, 2015 12:35
Show Gist options
  • Select an option

  • Save leehambley/c2a5caed4e54d569b035 to your computer and use it in GitHub Desktop.

Select an option

Save leehambley/c2a5caed4e54d569b035 to your computer and use it in GitHub Desktop.
rVXvGz
<!-- Cowardly Includes -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,800,300,600' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Anonymous+Pro' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="http://pfefferle.github.io/openwebicons/packages/openwebicons/css/openwebicons-cdn.css">
<!-- End Cowardly Includes -->
<div class="harrow-card">
<div class="harrow-card-title harrow-card-title_success">
<h3><strong class="harrow-card-title-environment">Production</strong> Deployment</h3>
</div>
<a href=""><code>03a0c47..a95e448</code></a>
<ul class="harrow-card-commit-list">
<li>Add support for Git shallow clone <a class="harrow-commit-list-commit-author-name" href="">Lee</a></li>
<li>Remove <code>vendor/bundle</code> from default <code>:linked_dirs</code> <a class="harrow-commit-list-commit-author-name" href="">Nathan</a></li>
<li>Added application name validation. <a class="harrow-commit-list-commit-author-name" href="">Lee</a></li>
<li>Ignore <code>ctags</code> file <a class="harrow-commit-list-commit-author-name" href="">Paul</a></li>
</ul>
<button class="harrow-card-run-now-button">
<i class="fa fa-fw fa-play"></i>
Run Now
</button>
<button class="harrow-card-schedule-button">
<i class="fa fa-fw fa-clock-o"></i>
</button>
<div class="harrow-card-controls">
<i class="fa fa-fw fa-rss"></i>
<i class="fa fa-fw fa-git"></i>
<i class="fa fa-fw fa-eye"></i>
<i class="icon-webhooks"></i>
</div>
<div id="box" class="harrow-card-visibility-popover">
<div id="box-inner">
<div class="box-content">
<p>Hello World</p>
<p>Hello World</p>
<p>Hello World</p>
</div>
</div>
</div>
</div>
pre, code {
font-family: 'Anonymous Pro', ;
}
body {
text-align: center;
font-family: 'Open Sans', sans-serif;
padding: 50px;
color: #555555;
}
a, a:hover, a:active {
outline: none;
color: #4A90E2;
text-decoration: none;
}
.harrow-card {
position: relative;
text-align: left;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
display: inline-block;
}
.harrow-card-title h3 {
padding: 0;
margin: 0;
font-weight: normal;
}
.harrow-card-title {
letter-spacing: .065em;
margin: -20px -20px 20px -20px;
padding: 18px;
background-color: #73AC4F; /* Green */
color: #fff;
}
.harrow-card-title h3 {
font-weight: 300;
}
.harrow-card-title strong {
font-weight: 600;
}
.harrow-card-commit-list {
padding-left: 20px;
}
.harrow-card-commit-list code {
background-color: HSLA(240, 2%, 91%, 1);
padding: .2em;
}
.harrow-commit-list-commit-author-name::before {
content: '(';
}
.harrow-commit-list-commit-author-name::after {
content: ')';
}
.harrow-card-title-environment {
font-weight: bold;
}
.harrow-card-controls {
position: absolute;
bottom: 20px;
right: 20px;
color: #9B9B9B;
}
.harrow-card-controls .fa {
cursor: pointer;
}
.harrow-card-run-now-button {
border-radius: 5px;
color: #fff;
border: 1px solid #73AC4F; /* Green */
background-color: #73AC4F; /* Green */
font-size: 12pt;
font-weight: 600;
letter-spacing: .065em;
padding: 10px 20px;
cursor: pointer;
}
.harrow-card-schedule-button {
border-radius: 5px;
color: #9B9B9B;
border: 1px solid #9B9B9B;
background-color: #fff;
font-size: 12pt;
font-weight: 600;
letter-spacing: .065em;
padding: 10px;
cursor: pointer;
}
.harrow-card-visibility-popover {
position: absolute;
background-color: #fff;
bottom: -155px;
right: -180px;
width: 250px;
height: 150px;
}
/**************************************************************
* https://gist.github.com/lunaru/2494350
*/
#box
{
border: 1px solid rgba(0, 0, 0, 0.5);
}
#box-inner {
background: white;
margin-top: -50px;
height: 150px;
transform: rotate(0deg); /* transform z-index hack */
}
.box-content {
/* padding: 20px; */
}
#box:before {
content: '';
position: relative;
margin-left: 25px;
top: -20px;
background: #fff;
display: block;
width: 25px;
height: 25px;
border: 1px solid rgba(0, 0, 0, 0.5);
transform: rotate(45deg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment