Files
OverlayScrollbars/packages/overlayscrollbars/tests/browser/lifecycles/structureLifecycle/index.scss
T

274 lines
3.6 KiB
SCSS

body {
display: flex;
flex-direction: column;
}
#controls {
flex: none;
}
#stage {
flex: auto;
position: relative;
& > div {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: lightgoldenrodyellow;
}
}
#canvas > div {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.columns {
display: flex;
width: 100%;
height: 100%;
}
.column {
width: 100%;
height: 100%;
font-size: 0;
line-height: 0;
}
.env {
background: rgba(0, 0, 0, 0.1);
}
#target,
#comparison {
position: relative;
.os-viewport::before,
&::before {
content: '';
display: block;
position: absolute;
border: 2px dotted red;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 2;
pointer-events: none;
}
* {
font-size: medium;
line-height: normal;
}
}
#target::before {
opacity: 0.3;
}
#comparison {
overflow: hidden;
z-index: 0;
}
.resize {
overflow: hidden;
background: blue;
border: 1px solid black;
padding: 10px;
}
.percent {
height: 50%;
background: purple;
border: 1px solid black;
padding: 10px;
}
.end {
position: relative;
background: green;
border: 1px solid black;
padding: 10px;
margin: 10px;
}
.end::before {
content: '';
position: absolute;
display: block;
top: -11px;
right: -11px;
bottom: -11px;
left: -11px;
background: green;
z-index: -1;
opacity: 0.5;
}
.resizer {
position: relative;
}
.resizeBtn {
position: absolute;
bottom: 0;
right: 0;
height: 20px;
width: 20px;
background: red;
opacity: 0.3;
}
.widthAuto,
.envWidthAuto {
width: auto;
display: inline-block;
}
#target.widthAuto {
display: inline-flex;
}
.widthHundred,
.envWidthHundred {
width: 100%;
}
.heightAuto,
.envHeightAuto {
height: auto;
}
.heightHundred,
.envHeightHundred {
height: 100%;
}
.width200 {
width: 200px;
}
.height200 {
height: 200px;
}
.floatNone {
float: none;
}
.floatLeft {
float: left;
}
.floatRight {
float: right;
}
.paddingNone {
padding: 0;
}
.paddingSmall {
padding: 5px 50px 15px 20px;
}
.paddingLarge {
padding: 12px 22px 53px 33px;
}
.borderNone {
border: none;
}
.borderSmall {
border-color: darkorange;
border-style: solid;
border-width: 2px 5px 3px 4px;
}
.borderLarge {
border-color: darkorange;
border-style: solid;
border-width: 9px 6px 7px 3px;
}
.marginNone {
margin: 0;
}
.marginSmall {
margin: 21px 16px 4px 33px;
}
.marginLarge {
margin: 33px 46px 69px 23px;
}
.boxSizingBorderBox {
box-sizing: border-box;
}
.boxSizingContentBox {
box-sizing: content-box;
}
.directionLTR {
direction: ltr;
}
.directionRTL {
direction: rtl;
}
.minMaxFixed {
min-height: 180px;
min-width: 180px;
max-height: 420px;
max-width: 420px;
}
.minMaxNone {
min-height: 0;
min-width: 0;
max-height: none;
max-width: none;
}
/*
.os-environment::-webkit-scrollbar,
.os-viewport::-webkit-scrollbar,
.os-environment::-webkit-scrollbar-corner,
.os-viewport::-webkit-scrollbar-corner {
display: none !important;
width: 0px !important;
height: 0px !important;
visibility: hidden !important;
background: transparent !important;
}
div::-webkit-scrollbar:horizontal {
display: none !important;
width: 0px !important;
height: 0px !important;
visibility: hidden !important;
background: transparent !important;
}
div::-webkit-scrollbar:vertical {
display: block !important;
width: 10px !important;
height: 10px !important;
background: red;
}
::-webkit-scrollbar-track {
background: red;
}
::-webkit-scrollbar-thumb {
background: green;
}
*/