ratchet/sass/cards.scss

38 строки
883 B
SCSS
Исходник Обычный вид История

2013-12-21 23:17:58 +04:00
//
// Cards
// --------------------------------------------------
.card {
overflow: hidden;
margin: $bar-side-spacing;
2013-12-22 01:35:17 +04:00
background-color: $card-bg;
2013-12-21 23:17:58 +04:00
border: $border-default;
border-radius: $border-radius;
}
2014-02-10 03:07:40 +04:00
// Cards with table-views
// --------------------------------------------------
2014-02-15 23:30:18 +04:00
.card .table-view {
2014-02-21 06:02:13 +04:00
margin-bottom: 0;
2014-02-15 23:30:18 +04:00
border-top: 0;
border-bottom: 0;
2014-02-15 23:45:22 +04:00
// Rounding first divider on carded lists and remove border on the top
.table-view-divider:first-child {
top: 0;
2014-02-21 06:02:13 +04:00
border-top-right-radius: $border-radius;
border-top-left-radius: $border-radius;
2014-02-15 23:45:22 +04:00
}
// Rounding last divider on carded table views
.table-view-divider:last-child {
2014-02-21 06:02:13 +04:00
border-bottom-right-radius: $border-radius;
border-bottom-left-radius: $border-radius;
2014-02-15 23:45:22 +04:00
}
2014-02-15 23:30:18 +04:00
}
2014-02-21 04:11:39 +04:00
// Remove the bottom border from last table cell
.card .table-view-cell:last-child {
border-bottom: 0;
}