|
|
|
|
@ -49,23 +49,32 @@
|
|
|
|
|
font-weight: bold; |
|
|
|
|
} |
|
|
|
|
/*collapsable text on collections pages*/ |
|
|
|
|
.text-container { |
|
|
|
|
max-width: 600px; /* Adjust as needed */ |
|
|
|
|
} |
|
|
|
|
.views-field-field-abstract { |
|
|
|
|
.text-container { |
|
|
|
|
max-width: 100%; /* Adjust as needed */ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.truncated-text { |
|
|
|
|
max-height: 3em; /* Initial truncation height (~3 lines) */ |
|
|
|
|
overflow: hidden; |
|
|
|
|
transition: max-height 0.3s ease; |
|
|
|
|
} |
|
|
|
|
.truncated-text { |
|
|
|
|
max-height: 8em; /* Initial truncation height (~3 lines) */ |
|
|
|
|
overflow: hidden; |
|
|
|
|
transition: max-height 0.3s ease; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.truncated-text.full { |
|
|
|
|
max-height: none; /* Show full text */ |
|
|
|
|
.truncated-text.full { |
|
|
|
|
max-height: none; /* Show full text */ |
|
|
|
|
} |
|
|
|
|
p { |
|
|
|
|
margin: 0; |
|
|
|
|
} |
|
|
|
|
.more-link { |
|
|
|
|
/*color: #007bff;*/ |
|
|
|
|
cursor: pointer; |
|
|
|
|
font-family: var(--font-sans); |
|
|
|
|
display: inline-block; |
|
|
|
|
margin-top: 5px; |
|
|
|
|
float: right; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.more-link { |
|
|
|
|
color: #007bff; |
|
|
|
|
cursor: pointer; |
|
|
|
|
display: inline-block; |
|
|
|
|
margin-top: 5px; |
|
|
|
|
div#block-olivespwc-views-block-abstract-block-for-collections-info-block { |
|
|
|
|
margin: 0; |
|
|
|
|
} |
|
|
|
|
|