openaire-assets/library-css/utils.scss

61 lines
1.0 KiB
SCSS
Raw Normal View History

@media (min-width: 960px) {
.float-children-right-at-medium > * {
float: right;
}
}
@media (max-width: 959px) {
.margin-small-top-at-small {
margin-top: 10px !important;
}
}
.space {
margin-left: 4px;
}
.custom-icon {
line-height: unset;
}
.custom-external {
background: rgba(0, 0, 0, 0) url("/assets/common-assets/external-link.svg") no-repeat scroll left 10%;
min-height: 15px;
background-size: 15px 15px;
padding-left: 16px;
}
h2 .custom-external {
min-height: 20px;
background-size: 20px 20px;
padding-left: 21px;
background: rgba(0, 0, 0, 0) url("/assets/common-assets/external-link.svg") no-repeat scroll left center;
}
.multi-line-ellipsis p {
display: -webkit-box;
/* autoprefixer: ignore next */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.multi-line-ellipsis.lines-3 p {
-webkit-line-clamp: 3;
}
.multi-line-ellipsis.lines-10 p {
-webkit-line-clamp: 10;
}
.iframeContainer {
overflow: hidden;
}
.iframeContainer iframe {
width: 100%;
height: 100%;
border: 0;
}