Skip to content

Commit 59b3498

Browse files
authored
Merge pull request #10 from parklab/cfm-publications_fix
feat: updates to publication page
2 parents 42c4593 + 33053ed commit 59b3498

File tree

3 files changed

+19479
-19394
lines changed

3 files changed

+19479
-19394
lines changed

_sass/pages/_publications.scss

Lines changed: 62 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,68 @@
2020
font-size: 15px;
2121
}
2222

23-
.pubInfo
24-
{
25-
font-size: 100%;
26-
margin-bottom: 30px;
23+
.pubInfo {
24+
font-size: 100%;
25+
margin-bottom: 30px;
26+
27+
.pdf_link {
28+
svg {
29+
width: 15px;
30+
margin-left: 2px;
31+
}
32+
}
33+
34+
.abstract-toggle-button {
35+
font-size: 15px;
36+
font-weight: 700;
37+
background-color: transparent;
38+
border: none;
39+
color: #155799;
40+
padding: 0px;
41+
margin-right: 5px;
42+
43+
svg {
44+
width: 12px;
45+
transition: transform 0.3s ease;
46+
margin: 0px 2px;
47+
}
48+
49+
&:hover {
50+
cursor: pointer;
51+
}
52+
53+
&.active {
54+
svg {
55+
transform: rotate(180deg);
56+
transition: transform 0.3s ease;
57+
}
58+
}
59+
}
60+
61+
.abstract {
62+
display: flex;
63+
border: 1px solid rgb(194, 192, 192);
64+
background-color: whitesmoke;
65+
border-radius: 4px;
66+
font-weight: 400;
67+
margin-top: 10px;
68+
overflow: hidden;
69+
height: auto;
70+
max-height: 800px;
71+
transition: max-height 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
72+
73+
p {
74+
margin: 10px;
75+
}
76+
77+
&.hidden {
78+
max-height: 0px;
79+
overflow: hidden;
80+
transition: max-height 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
81+
border-color: transparent;
82+
background-color: transparent;
83+
}
84+
}
2785
}
2886

2987
.lab_member

0 commit comments

Comments
 (0)