2015-11-05 01:54:57 +03:00
|
|
|
// This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
|
|
|
|
|
2014-10-03 15:58:24 +04:00
|
|
|
.card {
|
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
/***** Make height equal to width (http://stackoverflow.com/a/6615994) ****/
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
.card-height-indicator {
|
|
|
|
margin-top: 100%;
|
|
|
|
}
|
|
|
|
.card-content {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
/**************************************************************************/
|
2014-10-03 15:58:24 +04:00
|
|
|
|
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
border-radius: 2px;
|
|
|
|
color: $card-body-text;
|
|
|
|
background: $card-body-background;
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-05 00:57:47 +03:00
|
|
|
@include shadow-z-2();
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
.card-image {
|
|
|
|
height: 60%;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-top-left-radius: 2px;
|
|
|
|
border-top-right-radius: 2px;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.card-image-headline {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 16px;
|
|
|
|
left: 18px;
|
|
|
|
color: $card-image-headline;
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
}
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
.card-body {
|
|
|
|
height: 30%;
|
|
|
|
padding: 18px;
|
|
|
|
}
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
.card-footer {
|
|
|
|
height: 10%;
|
|
|
|
padding: 18px;
|
|
|
|
button {
|
|
|
|
margin: 0 !important;
|
|
|
|
position: relative;
|
|
|
|
bottom: 25px;
|
|
|
|
width: auto;
|
|
|
|
&:first-child {
|
|
|
|
left: -15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-10-08 16:52:08 +04:00
|
|
|
}
|