40 lines
556 B
SCSS
40 lines
556 B
SCSS
.widget-container {
|
|
overflow:auto;
|
|
margin-bottom:1rem;
|
|
}
|
|
|
|
.widget {
|
|
position:relative;
|
|
border: 1px solid var(--bs-gray-500);
|
|
user-select: none;
|
|
display:inline-block;
|
|
width:50%;
|
|
overflow:hidden;
|
|
float:left;
|
|
}
|
|
|
|
.widget:after {
|
|
content: "";
|
|
display: block;
|
|
padding-bottom: 100%;
|
|
}
|
|
|
|
.content {
|
|
position:absolute;
|
|
width:100%;
|
|
height:100%;
|
|
}
|
|
|
|
.widget:hover {
|
|
background-color: var(--bs-gray-100);
|
|
}
|
|
|
|
.widget-container {
|
|
padding:1rem;
|
|
}
|
|
|
|
.item-container {
|
|
display:block;
|
|
height:100%;
|
|
}
|