<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<div class="col-xs-4">
<div class="offer offer-warning">
<div class="shape">
<div class="shape-text" title="pripravene na test viac ako 3 dni">
stav
</div>
</div>
<div class="offer-content">
<h3 class="lead">
<span class="facebook-plus" style="width:33%;"><a style="display:inline"><span class="fa fa-exclamation-triangle"></span></a></span>
<span class="google-plus" style="width:33%;"><a style="display:inline"><span class="fa fa-flag"></span></a></span>
SxT-237-GeN
</h3>
<p>
Nazov ulohy
</p>
</div>
</div>
</div>
<div class="col-xs-4">
<div class="offer offer-danger">
<div class="shape">
<div class="shape-text" title="test zlyhal">
stav
</div>
</div>
<div class="offer-content">
<h3 class="lead">
<span class="facebook-plus" style="width:33%;"><a style="display:inline"><span class="fa fa-exclamation-triangle"></span></a></span>
<span class="google-plus" style="width:33%;"><a style="display:inline"><span class="fa fa-flag"></span></a></span>
SxT-237-GeN
</h3>
<p>
Nazov ulohy
</p>
</div>
</div>
</div>
<div class="col-xs-4">
<div class="offer offer-success">
<div class="shape">
<div class="shape-text" title="vyriesene">
stav
</div>
</div>
<div class="offer-content">
<h3 class="lead">
<span class="facebook-plus" style="width:33%;"><a style="display:inline"><span class="fa fa-exclamation-triangle"></span></a></span>
<span class="google-plus" style="width:33%;"><a style="display:inline"><span class="fa fa-flag"></span></a></span>
SxT-237-GeN
</h3>
<p>
Nazov ulohy trochu o dost dlhy ako tie predtym
</p>
</div>
</div>
</div>
<div class="col-xs-12">
<div class="offer offer-warning">
<div class="shape">
<div class="shape-text" title="pripravene na test viac ako 3 dni">
stav
</div>
</div>
<div class="offer-content">
<h3 class="lead">
<span class="facebook-plus" style="width:33%;"><a style="display:inline"><span class="fa fa-exclamation-triangle"></span></a></span>
<span class="google-plus" style="width:33%;"><a style="display:inline"><span class="fa fa-flag"></span></a></span>
SxT-237-GeN
<span class="facebook-plus" style="width:33%;"><a style="display:inline"><span class="fa fa-lock"></span></a></span>
</h3>
<span>
Nazov ulohy ktory je trochu dlhsi ale nie moc
<span class="facebook-plus"><a class="pull-right" style="display:inline"> <span class="fa fa-clock-o"></span></span></a></span>
<span class="facebook-plus"><a class="pull-right" style="display:inline"> <span class="fa fa-paperclip"></span></a></span>
<span class="facebook-plus"><a class="pull-right" style="display:inline"> <span class="fa fa-comment-o"></span></span></a></span>
</span>
</div>
</div>
</div>
</div>
</div>
@import url("http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,400italic");
@import url("//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css");
h3 { margin-top: 0px !important }
.shape{
border-style: solid; border-width: 0 70px 40px 0; float:right; height: 0px; width: 0px;
-ms-transform:rotate(360deg); /* IE 9 */
-o-transform: rotate(360deg); /* Opera 10.5 */
-webkit-transform:rotate(360deg); /* Safari and Chrome */
transform:rotate(360deg);
}
.offer{
background:#fff; border:1px solid #ddd; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); margin: 15px 0; overflow:hidden;
}
.offer-radius{
border-radius:7px;
}
.offer-danger { border-color: #d9534f; }
.offer-danger .shape{
border-color: transparent #d9534f transparent transparent;
border-color: rgba(255,255,255,0) #d9534f rgba(255,255,255,0) rgba(255,255,255,0);
}
.offer-success { border-color: #5cb85c; }
.offer-success .shape{
border-color: transparent #5cb85c transparent transparent;
border-color: rgba(255,255,255,0) #5cb85c rgba(255,255,255,0) rgba(255,255,255,0);
}
.offer-default { border-color: #999999; }
.offer-default .shape{
border-color: transparent #999999 transparent transparent;
border-color: rgba(255,255,255,0) #999999 rgba(255,255,255,0) rgba(255,255,255,0);
}
.offer-primary { border-color: #428bca; }
.offer-primary .shape{
border-color: transparent #428bca transparent transparent;
border-color: rgba(255,255,255,0) #428bca rgba(255,255,255,0) rgba(255,255,255,0);
}
.offer-info { border-color: #5bc0de; }
.offer-info .shape{
border-color: transparent #5bc0de transparent transparent;
border-color: rgba(255,255,255,0) #5bc0de rgba(255,255,255,0) rgba(255,255,255,0);
}
.offer-warning { border-color: #f0ad4e; }
.offer-warning .shape{
border-color: transparent #f0ad4e transparent transparent;
border-color: rgba(255,255,255,0) #f0ad4e rgba(255,255,255,0) rgba(255,255,255,0);
}
.shape-text{
color:#fff; font-size:12px; font-weight:bold; position:relative; right:-40px; top:2px; white-space: nowrap;
-ms-transform:rotate(30deg); /* IE 9 */
-o-transform: rotate(360deg); /* Opera 10.5 */
-webkit-transform:rotate(30deg); /* Safari and Chrome */
transform:rotate(30deg);
}
.offer-content{
padding:2px 4px 0px;
}
.facebook a,
.twitter a,
.google-plus a {
display: block;
width: 100%;
color: rgb(75, 110, 168) !important;
}
.twitter a {
color: rgb(79, 213, 248) !important;
}
.google-plus a {
color: rgb(221, 75, 57) !important;
}
.facebook:hover a {
color: rgb(255, 255, 255) !important;
background-color: rgb(75, 110, 168) !important;
}
.twitter:hover a {
color: rgb(255, 255, 255) !important;
background-color: rgb(79, 213, 248) !important;
}
.google-plus:hover a {
color: rgb(255, 255, 255) !important;
background-color: rgb(221, 75, 57) !important;
}
.lead { font-size: 16px !important; margin-bottom: 0px !important;}
span > a { margin-left: 4px; }
h3 {display: inline !important;}