osh-js
Version:
OSH javascript Toolkit
315 lines (267 loc) • 6.47 kB
CSS
.ptz {
height: 164px;
width: 164px;
overflow: hidden;
background: url(../images/tasking/yt.png) no-repeat;
position: relative;
}
.ptz .moveUp {
width: 22px;
height: 12px;
position: absolute;
left: 70px;
top: 23px;
cursor: pointer;
background: url(../images/tasking/fxp_r2_c5a.gif) 0px no-repeat;
}
.ptz .moveTopLeft {
width: 13px;
height: 12px;
position: absolute;
left: 42px;
top: 42px;
cursor: pointer;
background: url(../images/tasking/fxp_r3_c3.gif) 0px no-repeat;
}
.ptz .moveTopRight {
background: url(../images/tasking/fxp_r3_c7.gif) no-repeat;
width: 13px;
height: 12px;
position: absolute;
left: 110px;
top: 42px;
}
.ptz .moveLeft {
background: url(../images/tasking/fxp_r5_c2.gif) no-repeat;
width: 12px;
height: 22px;
position: absolute;
left: 23px;
top: 70px;
}
.ptz .reset {
width: 55px;
height: 55px;
position: absolute;
left: 54px;
top: 55px;
cursor: pointer;
background: url(../images/tasking/fxp_r5_c5.png) 0px no-repeat;
}
.ptz .moveRight {
width: 12px;
height: 22px;
position: absolute;
left: 128px;
top: 70px;
cursor: pointer;
background: url(../images/tasking/fxp_r5_c8.gif) 0px no-repeat;
}
.ptz .moveBottomLeft {
width: 12px;
height: 13px;
position: absolute;
left: 42px;
top: 110px;
cursor: pointer;
background: url(../images/tasking/fxp_r7_c3.gif) 0px no-repeat;
}
.ptz .moveBottomRight {
background: url(../images/tasking/fxp_r7_c7.gif) -24px no-repeat;
width: 13px;
height: 12px;
position: absolute;
left: 110px;
top: 110px;
}
.ptz .moveDown {
background: url(../images/tasking/fxp_r8_c5.gif) no-repeat;
width: 22px;
height: 12px;
position: absolute;
left: 70px;
top: 129px;
}
/** HOVER + active PART **/
.ptz .moveUp:hover {
background: url(../images/tasking/fxp_r2_c5a.gif) -22px no-repeat;
}
.ptz .moveUp:active {
background: url(../images/tasking/fxp_r2_c5a.gif) -44px no-repeat;
}
.ptz .moveDown:hover {
background: url(../images/tasking/fxp_r8_c5.gif) -22px no-repeat;
}
.ptz .moveDown:active {
background: url(../images/tasking/fxp_r8_c5.gif) -44px no-repeat;
}
.ptz .moveRight:hover {
background: url(../images/tasking/fxp_r5_c8.gif) -11px no-repeat;
}
.ptz .moveRight:active {
background: url(../images/tasking/fxp_r5_c8.gif) -23px no-repeat;
}
.ptz .moveLeft:hover {
background: url(../images/tasking/fxp_r5_c2.gif) -12px no-repeat;
}
.ptz .moveLeft:active {
background: url(../images/tasking/fxp_r5_c2.gif) -24px no-repeat;
}
.ptz .moveTopLeft:hover {
background: url(../images/tasking/fxp_r3_c3.gif) -13px no-repeat;
}
.ptz .moveTopLeft:active {
background: url(../images/tasking/fxp_r3_c3.gif) -26px no-repeat;
}
.ptz .moveTopRight:hover {
background: url(../images/tasking/fxp_r3_c7.gif) -13px no-repeat;
}
.ptz .moveTopRight:active {
background: url(../images/tasking/fxp_r3_c7.gif) -26px no-repeat;
}
.ptz .moveBottomLeft:hover {
background: url(../images/tasking/fxp_r7_c3.gif) -11px no-repeat;
}
.ptz .moveBottomLeft:active {
background: url(../images/tasking/fxp_r7_c3.gif) -24px no-repeat;
}
.ptz .moveBottomRight:hover {
background: url(../images/tasking/fxp_r7_c7.gif) -12px no-repeat;
}
.ptz .moveBottomRight:active {
background: url(../images/tasking/fxp_r7_c7.gif) -0px no-repeat;
}
.ptz .reset:hover {
background: url(../images/tasking/fxp_r5_c5.png) -54px no-repeat;
}
.ptz .reset:active {
background: url(../images/tasking/fxp_r5_c5.png) -109px no-repeat;
}
.ptz{
width:165px;
height:165px;
float:left;
margin-bottom: 20px;
}
.ptz-right {
height:165px;
width:200px;
margin-left: 25px;
float:left;
}
.ptz-right .ptz-select-style {
padding: 0;
margin: 0;
border: 1px solid #ccc;
border-radius: 3px;
overflow: hidden;
background-color: #fff;
position: relative;
}
.ptz-right .ptz-select-style:before {
font-family: FontAwesome;
content: "\f0d7";
font-size: 25px;
display: inline-block;
position: absolute;
pointer-events: none;
right: 10px;
color: #777;
top:0px;
}
.ptz-right .ptz-select-style select {
padding: 4px 8px;
width: 100%;
background-color: transparent;
background-image: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 1px solid #aaa;
box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
border-radius: 2px;
}
.ptz-right .ptz-select-style select:focus {
outline: none;
}
/** Form **/
.ptz-right:-moz-placeholder {
color: #777;
}
.ptz-right::-webkit-input-placeholder {
color: #777;
}
.ptz-right*:focus {outline: none;}
.ptz-right ul {
list-style-type:none;
list-style-position:outside;
margin:0px;
padding:0px;
}
.ptz-right li{
padding:0px 0px 8px 0px;
border-bottom:1px solid #eee;
position:relative;
}
.ptz-right li:first-child, .ptz-right li:last-child {
border-bottom:1px solid #777;
}
.ptz-right label {
width: 60px;
margin-top: 3px;
display: inline-block;
float: left;
padding: 3px;
}
.ptz-right .input-text, .ptz-right select {
border:1px solid #aaa;
box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
border-radius:2px;
}
.ptz-right .input-text:focus, .ptz-right select:focus {
background: #fff;
border:1px solid #555;
box-shadow: 0 0 3px #aaa;
}
.discovery-form .input-text, .discovery-form select { /* add this to the already existing style */
-moz-transition: padding .25s;
-webkit-transition: padding .25s;
-o-transition: padding .25s;
transition: padding .25s;
}
.ptz-right select {
padding-right: 21px;
}
.ptz-right select:focus {
padding-right: 21px;
}
/** ZOOM Button **/
.ptz-zoom {
float:left;
margin-top: 15px;
margin-right: 15px;
}
.ptz-zoom .ptz-zoom-in{
font-size: 2.2em;
color: #7c7c7c;
text-shadow: 1px 1px 1px #333333;
}
.ptz-zoom .fa:hover{
color: #626262;
text-shadow: 1px 1px 1px #6a6a6a;
}
.ptz-zoom .fa:active{
color: #464646;
}
.ptz-zoom .ptz-zoom-out{
font-size: 2.2em;
color: #7c7c7c;
text-shadow: 1px 1px 1px #333333;
}
.ptz-zoom-bar {
background-color: #7c7c7c;
height: 60px;
width: 4px;
border-radius: 20px;
margin: 0px 0px 0px 12px;
}