p5.js-web-editor/client/styles/components/_sketch-list.scss

64 lines
1.2 KiB
SCSS

.sketch-list {
@extend %modal;
display: flex;
flex-wrap: wrap;
flex-flow: column;
width: #{1000 / $base-font-size}rem;
height: 80%;
}
.sketch-list__header {
display: flex;
justify-content: space-between;
padding: #{20 / $base-font-size}rem;
}
.sketches-table-container {
flex: 1 0 0%;
overflow-y: scroll;
}
.sketches-table {
width: 100%;
padding: #{10 / $base-font-size}rem 0;
padding-left: #{20 / $base-font-size}rem;
max-height: 100%;
& .sketch-list__trash-column {
width: #{22 / $base-font-size}rem;
}
}
.sketches-table__row {
margin: #{10 / $base-font-size}rem;
height: #{25 / $base-font-size}rem;
}
.sketch-list__exit-button {
@include themify() {
@extend %icon;
}
}
.visibility-toggle .sketch-list__trash-button {
@extend %hidden-element;
}
.visibility-toggle:hover .sketch-list__trash-button {
@include themify() {
background-color: transparent;
border: none;
cursor: pointer;
padding: 0;
position: initial;
left: 0;
top: 0;
width:#{20 / $base-font-size}rem;
height:#{20 / $base-font-size}rem;
& g {
opacity: 1;
fill: getThemifyVariable('icon-hover-color');
}
}
}