![db-2001](/assets/img/avatar_default.png)
Added Test and Rest API calls, API side will need to be updated. Separated out CSS files for future expansion.
172 lines
3.0 KiB
CSS
172 lines
3.0 KiB
CSS
#addPublication {
|
|
cursor: pointer;
|
|
background-color: var(--secondary-color);
|
|
width: 180px;
|
|
height: 300px;
|
|
border-radius: 5px;
|
|
margin: 10px 10px;
|
|
padding: 15px 20px;
|
|
position: relative;
|
|
}
|
|
|
|
#addPublication p{
|
|
width: 100%;
|
|
text-align: center;
|
|
font-size: 150pt;
|
|
vertical-align: middle;
|
|
line-height: 300px;
|
|
margin: 0;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.pill {
|
|
flex-grow: 0;
|
|
height: 14pt;
|
|
font-size: 12pt;
|
|
border-radius: 9pt;
|
|
background-color: var(--primary-color);
|
|
padding: 2pt 17px;
|
|
color: black;
|
|
}
|
|
|
|
publication{
|
|
cursor: pointer;
|
|
background-color: var(--secondary-color);
|
|
width: 180px;
|
|
height: 300px;
|
|
border-radius: 5px;
|
|
margin: 10px 10px;
|
|
padding: 15px 19px;
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
publication:hover {
|
|
background-color: black;
|
|
}
|
|
|
|
publication:hover::after{
|
|
background: linear-gradient(rgba(0,0,0,0.8), rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0.2));
|
|
}
|
|
|
|
publication:hover > publication-information {
|
|
display: flex;
|
|
opacity:1;
|
|
}
|
|
|
|
publication::after{
|
|
content: '';
|
|
position: absolute;
|
|
left: 0; top: 0;
|
|
border-radius: 5px;
|
|
width: 100%; height: 100%;
|
|
background: none;
|
|
}
|
|
|
|
publication-information {
|
|
display: none;
|
|
flex-direction: column;
|
|
justify-content: start;
|
|
}
|
|
|
|
publication-information * {
|
|
z-index: 1;
|
|
color: white;
|
|
}
|
|
|
|
connector-name{
|
|
width: fit-content;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
publication-name{
|
|
width: fit-content;
|
|
font-size: 16pt;
|
|
font-weight: bold;
|
|
}
|
|
|
|
publication-status {
|
|
display:block;
|
|
height: 10px;
|
|
width: 10px;
|
|
border-radius: 50%;
|
|
margin: 5px;
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
z-index: 2;
|
|
box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 10px, rgb(51, 51, 51) 0px 0px 10px 3px;
|
|
}
|
|
|
|
publication-status::after {
|
|
content: attr(release-status);
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
/*Text Properties*/
|
|
font-size:10pt;
|
|
font-weight:bold;
|
|
color:white;
|
|
text-align: center;
|
|
|
|
/*Size*/
|
|
padding: 3px 8px;
|
|
border-radius: 6px;
|
|
border: 0px;
|
|
background-color: inherit;
|
|
}
|
|
|
|
publication-status:hover::after{
|
|
visibility:visible;
|
|
}
|
|
|
|
|
|
publication-status[release-status="Ongoing"]{
|
|
background-color: limegreen;
|
|
}
|
|
|
|
publication-status[release-status="Completed"]{
|
|
background-color: blueviolet;
|
|
}
|
|
|
|
publication-status[release-status="On Hiatus"]{
|
|
background-color: darkorange;
|
|
}
|
|
|
|
publication-status[release-status="Cancelled"]{
|
|
background-color: firebrick;
|
|
}
|
|
|
|
publication-status[release-status="Upcoming"]{
|
|
background-color: aqua;
|
|
}
|
|
|
|
publication-status[release-status="Status Unavailable"]{
|
|
background-color: gray;
|
|
}
|
|
|
|
|
|
publication-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: start;
|
|
}
|
|
|
|
publication-details * {
|
|
z-index: 1;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
publication img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
z-index: 0;
|
|
border-radius: 5px;
|
|
} |