2019-12-29 18:45:17 +00:00
|
|
|
/*
|
2021-08-31 16:29:49 +00:00
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:RelatedArticles
|
|
|
|
* Module: ext.relatedArticles.cards
|
|
|
|
* Version: REL1_35 0f27333
|
|
|
|
*
|
|
|
|
* Date: 2021-08-31
|
2019-12-29 18:45:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
|
|
|
|
.ext-related-articles-card-list {
|
2021-03-03 08:14:55 +00:00
|
|
|
h3 {
|
2021-03-03 17:27:13 +00:00
|
|
|
a {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
2021-03-01 16:47:42 +00:00
|
|
|
|
2021-03-03 08:14:55 +00:00
|
|
|
&:after {
|
2021-08-31 16:29:49 +00:00
|
|
|
background-image: linear-gradient( to right, transparent, var( --color-surface-1 ) 50% );
|
2021-03-03 08:14:55 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-03 08:15:38 +00:00
|
|
|
|
2019-12-29 18:45:17 +00:00
|
|
|
.ext-related-articles-card {
|
2021-08-31 16:29:49 +00:00
|
|
|
border-color: var( --border-color-base );
|
|
|
|
background-color: var( --color-surface-1 );
|
2022-04-24 19:24:09 +00:00
|
|
|
box-shadow: var( --box-shadow-card );
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2021-08-31 16:29:49 +00:00
|
|
|
&:first-child {
|
|
|
|
border-radius: var( --border-radius--medium ) var( --border-radius--medium ) 0 0;
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
|
2021-08-31 16:29:49 +00:00
|
|
|
&:last-child {
|
|
|
|
border-radius: 0 0 var( --border-radius--medium ) var( --border-radius--medium );
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-01 16:47:42 +00:00
|
|
|
|
2021-08-31 16:29:49 +00:00
|
|
|
.ext-related-articles-card > a {
|
|
|
|
&:hover {
|
2022-04-24 19:24:09 +00:00
|
|
|
box-shadow: var( --box-shadow-dialog );
|
2021-08-31 16:29:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2021-03-01 16:47:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ext-related-articles-card-extract {
|
|
|
|
color: var( --color-base--subtle );
|
2021-08-31 16:29:49 +00:00
|
|
|
font-size: @content-caption-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-related-articles-card-thumb {
|
|
|
|
border-radius: var( --border-radius--medium ) 0 0 var( --border-radius--medium );
|
2022-09-28 21:02:56 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
2021-03-01 16:47:42 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
|
2021-08-31 16:29:49 +00:00
|
|
|
// 720px - @width-breakpoint-tablet
|
|
|
|
@media all and ( min-width: 720px ) {
|
|
|
|
.ext-related-articles-card-list {
|
|
|
|
border-top: 0;
|
|
|
|
|
|
|
|
.ext-related-articles-card {
|
|
|
|
border-color: var( --border-color-base );
|
|
|
|
|
|
|
|
// Individual border-radius when cards side by side (not stacked)
|
|
|
|
&,
|
|
|
|
&:first-child,
|
|
|
|
&:last-child {
|
|
|
|
border-radius: var( --border-radius--medium );
|
|
|
|
}
|
|
|
|
|
|
|
|
& + .ext-related-articles-card {
|
|
|
|
border-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|