.capsules-area {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.capsule-item {
position: relative;
flex-basis: 25%;
cursor: pointer;
margin-bottom: 25px;
min-width: 250px;
.capsule-item-inner {
transition: 0.4s all;
padding: 20px;
box-shadow: 5px 10px 28px 5px #cccccc30;
margin: 10px;
min-height: 250px;
&:hover {
box-shadow: 10px 20px 40px 0px #ccc;
}
.capsule-status {
position: absolute;
top: 10px;
right: 5px;
font-size: 0.6rem;
&.retired {
background: red;
}
}
.capsule-serial {
font-size: 1.5rem;
}
.capsule-type {
font-size: 0.8rem;
background: darkslateblue;
color: #fff;
padding: 2px 5px;
}
.capsule-landings {
font-size: 1rem;
}
.capsule-mission {
font-size: 1rem;
}
.original-launch {
margin: 0;
margin-top: 50px;
font-size: 0.8rem;
}
}
}
.bsf-spacex-no-capsule {
color: #ccc;
text-align: center;
.capsule-svg-image {
display: flex;
justify-content: center;
}
.filter-reset-button {
background: #0891b2;
padding: 15px 20px;
border: 0;
min-width: 165px;
color: #fff;
cursor: pointer;
&:click, &:focus, &:focus-visible {
border: 0;
}
}
}
.bsf-spacex-modal {
.capsule-item {
cursor: auto;
.capsule-item-inner {
box-shadow: none;
&:hover {
box-shadow: none;
}
.capsule-serial {
padding: 0px;
margin: 10px 0px;
}
.subheading {
font-size: 1.2rem;
margin: 10px 0px;
padding: 10px 0px;
}
.missions {
.single-mission {
box-shadow: 7px 8px 16px 2px #cccccc61;
padding: 5px 30px;
margin-bottom: 10px;
}
.no-mission {
color: gray;
padding: 5px 0px;
}
}
}
}
}
|