p5.js-web-editor/client/styles/components/_resizer.scss

51 lines
1.2 KiB
SCSS
Raw Normal View History

2016-08-11 19:41:13 +00:00
.Resizer {
2016-09-21 22:52:44 +00:00
@include themify() {
background: getThemifyVariable('ide-border-color');
}
2016-08-11 19:41:13 +00:00
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
z-index: 1;
2016-09-21 22:52:44 +00:00
opacity: 0.02;
2016-08-11 19:41:13 +00:00
-moz-background-clip: padding;
-webkit-background-clip: padding;
background-clip: padding-box;
2018-12-12 19:43:28 +00:00
z-index: 9999;
2016-08-11 19:41:13 +00:00
}
// .Resizer:hover {
// -webkit-transition: all 2s ease;
// transition: all 2s ease;
// }
.Resizer.horizontal {
2016-09-21 22:52:44 +00:00
height: 10px;
2016-08-11 19:41:13 +00:00
margin: -5px 0;
border-top: 5px solid rgba(255, 255, 255, 0);
border-bottom: 5px solid rgba(255, 255, 255, 0);
cursor: row-resize;
width: 100%;
}
.Resizer.horizontal:hover {
// border-top: 5px solid rgba(0, 0, 0, 0.5);
// border-bottom: 5px solid rgba(0, 0, 0, 0.5);
}
.Resizer.vertical {
2016-09-21 22:52:44 +00:00
width: 10px;
2016-08-11 19:41:13 +00:00
margin: 0 -5px;
border-left: 5px solid rgba(255, 255, 255, 0);
border-right: 5px solid rgba(255, 255, 255, 0);
cursor: col-resize;
}
.Resizer.vertical:hover {
// border-left: 5px solid rgba(0, 0, 0, 0.5);
// border-right: 5px solid rgba(0, 0, 0, 0.5);
}
.Resizer.vertical.disabled,
.Resizer.horizontal.disabled{
cursor: default;
2016-08-11 19:41:13 +00:00
}