decentraland-ui
Version:
Decentraland's UI components and styles
39 lines (34 loc) • 1.06 kB
CSS
.dcl.back {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='14' viewBox='0 0 8 14'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M0-5h8v24H0z'/%3E%3Cpath fill='%23FFF' d='M0 7l6.379 6.228a.966.966 0 0 0 1.343 0 .912.912 0 0 0 0-1.31L2.686 7l5.036-4.917a.912.912 0 0 0 0-1.311.966.966 0 0 0-1.343 0L0 7z'/%3E%3C/g%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position-x: 10px;
background-position-y: 9px;
width: 32px;
height: 32px;
border-radius: 100%;
border: solid 1px var(--divider);
background-size: 7px;
cursor: pointer;
margin: 0px 2px;
filter: var(--brightness);
padding: 8px;
}
.dcl.back:hover {
border: solid 1px rgba(255, 255, 255, 0.5);
}
.dcl.back.absolute {
position: absolute;
}
@media (max-width: 768px) {
.dcl.back {
width: 28px;
height: 28px;
background-size: 6px;
background-position-x: 8px;
background-position-y: 8px;
}
.dcl.back.absolute {
position: relative;
margin-right: 16px;
}
}