body {
    background: #aaa;
}

.ruler-tool {
    display:none;
}

.ruler-top-left {
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    z-index: 10;
    position: absolute;
    color: white;
}

.ruler-top-left .ruler-lock-guide {
    width: 25px;
    height: 25px;
    cursor: pointer;
    color: #727274;;
}

.ruler-top {
    position: absolute;
    top:0; left:0;
    width: 5000px;
    height: 25px;
    color: #ffffff;
    font-family: arial;
    font-size: 12px; line-height: 14px;
    overflow: hidden;
    z-index: 9;
    user-select: none;
}
.ruler-top > div {
    display: inline-block;
    background: #393a3d;
}
.ruler-top .tickLabel {
    position:relative;
    top: -10px;
    margin-left: 4px;
    width: 1px;
    height: 100%;
    text-indent: 1px;
    line-height: 20px;
    color: #ffffff;
}
.ruler-top .tickLabel:first-of-type {
    margin-left: 0px;
}
.ruler-top .tickMajor {
    margin-top: 19px;
    margin-left: 4px;
    width: 1px;
    height: 6px;
    color: #ffffff;
}
.ruler-top .tickMinor {
    margin-left: 4px;
    width: 1px;
    height: 4px;
    color: #ffffff;
}

.ruler-top .tickVal {
    margin-left: 3px;
    font-size: 11px;
    color: #727274;
}



.ruler-left {
    position: absolute;
    top:0; left:0;
    width: 25px;
    height: 5000px;
    color: #ffffff;
    font-family: arial;
    font-size: 12px; line-height: 14px;
    overflow: hidden;
    z-index: 9;
    user-select: none;
}
.ruler-left > div {
    display: inline-block;
    background: #393a3d;
}
.ruler-left .tickLabel {
    position:relative;
    margin-top: 4px;
    margin-left: 4px;
    height: 1px;
    width: 100%;
    text-indent: 1px;
    line-height: 20px;
    display: flex;
    color: #ffffff;
}
.ruler-left .tickLabel:first-of-type {
    margin-top: 0px;
    color: #ffffff;
}
.ruler-left .tickMajor {
    margin-top: 4px;
    margin-left: 19px;
    width: 6px;
    height: 1px;
    display: flex;
    color: #ffffff;
}
.ruler-left .tickMinor {
    margin-top: 4px;
    margin-left: 21px;
    width: 4px;
    height: 1px;
    display: flex;
    color: #ffffff;
}

.ruler-left .tickVal {
    transform: rotate(-90deg);
    margin-left: -10px;
    margin-top: 15px;
    width: 25px;
    height: 10px;
    text-align: right;
    font-size: 11px;
    color: #727274;;
}

.ruler-top-mark {
    visibility: hidden;
    position: absolute;
    width: 2px;
    height: 25px;
    background: #2dff9e;
    z-index: 99999;
}

.ruler-left-mark {
    visibility: hidden;
    position: absolute;
    width: 25px;
    height: 2px;
    background: #2dff9e;
    z-index: 99999;
}


.ruler-top-object {
    visibility: hidden;
    position: absolute;
    height: 25px;
    background: rgb(0 163 255 / 10%) !important;
    z-index: 98;
}

.ruler-left-object {
    visibility: hidden;
    position: absolute;
    width: 25px;
    background: rgb(0 163 255 / 10%) !important;
    z-index: 98;
}


.guidelineX {
    width: 100%;
    height: 1px;
    position: absolute;
    background: #4ffffe;
    display: none;
    z-index: 10;
}

.guidelineY {
    width: 1px;
    height: 100%;
    position: absolute;
    background: #4ffffe;
    display: none;
    z-index: 10;
}