247 lines
4.5 KiB
SCSS
247 lines
4.5 KiB
SCSS
@keyframes scaleIn {
|
|
from {
|
|
transform: scale(0.5, 0.5);
|
|
opacity: 0.5;
|
|
}
|
|
to {
|
|
transform: scale(2.5, 2.5);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.ds-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
grid-auto-rows: minmax(12.5rem, auto);
|
|
border: 2px dashed #f1f1f1;
|
|
border-radius: $border-radius-x-large;
|
|
padding: 2rem;
|
|
width: 100%;
|
|
user-select: none;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
|
|
.ds-list--entity {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
border: 1px solid #dadce0;
|
|
border-radius: $border-radius-small;
|
|
padding: 0.5rem;
|
|
margin: 1rem;
|
|
word-wrap: break-word;
|
|
|
|
*:not(div) {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.title {
|
|
color: rgba(0, 0, 0, 0.72);
|
|
font-size: 0.9rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.subtitle {
|
|
color: rgba(0, 0, 0, 0.54);
|
|
}
|
|
|
|
.tag {
|
|
font-size: 0.8rem;
|
|
color: rgb(248, 248, 248);
|
|
margin-top: 0.5rem;
|
|
padding: 0.2rem 1.5rem;
|
|
background-color: #2962ff94;
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.entity-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.entity-body--row {
|
|
margin: 0.4rem 0;
|
|
}
|
|
|
|
.entity-share {
|
|
border-radius: 50%;
|
|
background-color: #f1f5f9;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: background-color 0.2s ease-in-out;
|
|
width: 25px;
|
|
height: 25px;
|
|
color: #313747;
|
|
}
|
|
|
|
.entity-share:hover {
|
|
background-color: #e3e6e9;
|
|
}
|
|
|
|
.entity-icon--access {
|
|
font-size: 0.8rem;
|
|
color: rgb(154, 156, 158);
|
|
}
|
|
|
|
.entity-icon--star {
|
|
color: #ffcc47;
|
|
margin-right: 0.2rem;
|
|
}
|
|
|
|
.entity-icon--star--off {
|
|
color: #d9dde0;
|
|
margin-right: 0.2rem;
|
|
}
|
|
|
|
.entity-state {
|
|
border-radius: 50%;
|
|
width: 10px;
|
|
height: 10px;
|
|
position: absolute;
|
|
left: 0;
|
|
opacity: 0;
|
|
animation: scaleIn 4s infinite cubic-bezier(0.36, 0.11, 0.89, 0.32);
|
|
}
|
|
|
|
.entity-state--container {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.entity-state--blue {
|
|
background-color: #2962ff;
|
|
}
|
|
.entity-state--green {
|
|
background-color: #3ead7f;
|
|
}
|
|
.entity-state--red {
|
|
background-color: #e73636;
|
|
}
|
|
}
|
|
|
|
.active {
|
|
background-color: #e8f0fe !important;
|
|
}
|
|
}
|
|
|
|
/**
|
|
Cards
|
|
**/
|
|
.lift {
|
|
box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
|
|
transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
}
|
|
.lift:hover {
|
|
transform: translateY(-0.3333333333rem);
|
|
box-shadow: 0 0.5rem 2rem 0 rgba(33, 40, 50, 0.25);
|
|
}
|
|
.lift:active {
|
|
transform: none;
|
|
box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
|
|
}
|
|
|
|
.lift-sm {
|
|
box-shadow: 0 0.125rem 0.25rem 0 rgba(33, 40, 50, 0.2);
|
|
}
|
|
.lift-sm:hover {
|
|
transform: translateY(-0.1666666667rem);
|
|
box-shadow: 0 0.25rem 1rem 0 rgba(33, 40, 50, 0.25);
|
|
}
|
|
.lift-sm:active {
|
|
transform: none;
|
|
box-shadow: 0 0.125rem 0.25rem 0 rgba(33, 40, 50, 0.2);
|
|
}
|
|
|
|
.card-encuesta {
|
|
border-radius: 12px;
|
|
background-color: #ffffff;
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
border: 0 none;
|
|
}
|
|
|
|
.card-encuesta.lift {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.card-flag {
|
|
position: absolute;
|
|
font-size: 0.7rem;
|
|
padding: 0.3rem 0.5rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.card-flag-dark {
|
|
background-color: rgba(33, 40, 50, 0.7);
|
|
color: #fff;
|
|
}
|
|
|
|
.card-flag-light {
|
|
background-color: rgba(255, 255, 255, 0.7);
|
|
color: #69707a;
|
|
}
|
|
|
|
.card-flag-lg {
|
|
font-size: 0.9rem;
|
|
padding: 0.5rem 0.65rem;
|
|
}
|
|
|
|
.card-flag-top-right {
|
|
border-top-left-radius: 0.25rem;
|
|
border-bottom-left-radius: 0.25rem;
|
|
top: 0.5rem;
|
|
right: 0;
|
|
}
|
|
|
|
.card-flag-top-left {
|
|
border-top-right-radius: 0.25rem;
|
|
border-bottom-right-radius: 0.25rem;
|
|
top: 0.5rem;
|
|
left: 0;
|
|
}
|
|
|
|
.card-encuesta .entity-icon--star {
|
|
color: #ffcc47;
|
|
margin-right: 0.2rem;
|
|
}
|
|
|
|
.card-encuesta .card-title {
|
|
font-size: 2em;
|
|
}
|
|
|
|
.card-encuesta .tag {
|
|
font-size: 0.8rem;
|
|
color: #f8f8f8;
|
|
margin-top: 0.5rem;
|
|
padding: 0.2rem 1.5rem;
|
|
background-color: #2962ff94;
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.card-encuesta .subtitle {
|
|
color: rgba(0, 0, 0, 0.54);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.card-encuesta .btn-card {
|
|
padding: 11px 10px !important;
|
|
}
|
|
|
|
.border-cyan {
|
|
border-color: #00cfd5 !important;
|
|
}
|
|
|
|
.py-10 {
|
|
padding-top: 6rem !important;
|
|
padding-bottom: 6rem !important;
|
|
}
|