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

64 lines
1.2 KiB
SCSS
Raw Normal View History

2016-09-08 03:51:54 +02:00
.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;
}
2016-07-05 22:04:14 +02:00
.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;
}
2016-07-05 22:04:14 +02:00
}
.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');
}
}
}