overleaf/services/web/public/stylesheets/components/card.less

57 lines
1.2 KiB
Text
Raw Normal View History

2014-06-06 12:47:52 -04:00
.card {
background-color: white;
border-radius: @border-radius-base;
2017-09-25 12:12:31 -04:00
box-shadow: @card-box-shadow;
2014-06-06 12:47:52 -04:00
padding: @line-height-computed;
2014-06-09 03:54:14 -04:00
.page-header {
margin: 0 0 1.5625rem;
2014-07-25 09:33:46 -04:00
h1, h2, h3 {
2014-06-09 05:19:02 -04:00
margin-top: 0;
}
2014-06-09 03:54:14 -04:00
}
> .container-fluid {
padding: 0;
}
.card-header {
border-bottom: 1px solid @gray-lighter;
padding-bottom: @line-height-computed;
margin-bottom: @line-height-computed;
h2 {
margin: 0;
}
}
2014-06-06 12:47:52 -04:00
}
.card-thin {
padding: @line-height-computed / 2
}
.card-group {
.card {
margin: @line-height-computed -15px 0 -15px;
border-radius: 0;
&.card-highlighted {
// Bring card in front of other cards
position: relative;
z-index: 1;
// Make it taller and card like
margin-top: 0;
border-radius: @border-radius-base;
}
&.card-first {
border-top-left-radius: @border-radius-base;
border-bottom-left-radius: @border-radius-base;
}
&.card-last {
border-top-right-radius: @border-radius-base;
border-bottom-right-radius: @border-radius-base;
}
}
2018-08-27 11:08:15 -04:00
}
.card-border {
border: @border-width-base solid @border-color-base;
2014-06-06 12:47:52 -04:00
}