kopia lustrzana https://github.com/dgtlmoon/changedetection.io
UI - Visual Selector should be the same page-size as Browser Steps (fit inside the browser viewport)
rodzic
1cadcc6d15
commit
b16d65741c
|
@ -0,0 +1,28 @@
|
||||||
|
|
||||||
|
#selector-wrapper {
|
||||||
|
height: 100%;
|
||||||
|
max-height: 70vh;
|
||||||
|
overflow-y: scroll;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
//width: 100%;
|
||||||
|
>img {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 4;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
>canvas {
|
||||||
|
position: relative;
|
||||||
|
z-index: 5;
|
||||||
|
max-width: 100%;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#selector-current-xpath {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
|
@ -943,32 +943,7 @@ ul {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#selector-wrapper {
|
@import "parts/_visualselector";
|
||||||
height: 100%;
|
|
||||||
overflow-y: scroll;
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
//width: 100%;
|
|
||||||
>img {
|
|
||||||
position: absolute;
|
|
||||||
z-index: 4;
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
>canvas {
|
|
||||||
position: relative;
|
|
||||||
z-index: 5;
|
|
||||||
max-width: 100%;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#selector-current-xpath {
|
|
||||||
font-size: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#webdriver-override-options {
|
#webdriver-override-options {
|
||||||
input[type="number"] {
|
input[type="number"] {
|
||||||
|
|
|
@ -980,6 +980,7 @@ ul {
|
||||||
|
|
||||||
#selector-wrapper {
|
#selector-wrapper {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
max-height: 70vh;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
position: relative; }
|
position: relative; }
|
||||||
#selector-wrapper > img {
|
#selector-wrapper > img {
|
||||||
|
|
Ładowanie…
Reference in New Issue