You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
271 lines
4.1 KiB
271 lines
4.1 KiB
#scene {
|
|
position: relative;
|
|
}
|
|
|
|
#scene > div {
|
|
|
|
}
|
|
|
|
#scalesCell {
|
|
display: table;
|
|
}
|
|
#scalesCell > div {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#scalesWrapper {
|
|
padding: 0px 100px 200px;
|
|
position: relative;
|
|
}
|
|
|
|
.onEdit #scalesWrapper {
|
|
padding-top: 100px;
|
|
}
|
|
|
|
#scales {
|
|
position: relative;
|
|
}
|
|
|
|
.scale {
|
|
position: absolute;
|
|
width: 250px;
|
|
height: 0;
|
|
padding: 200px 45px 50px;
|
|
top: 145px;
|
|
background: url(images/scale.png) no-repeat center bottom;
|
|
}
|
|
|
|
#tray, .scale {
|
|
-webkit-transition: -webkit-transform 0.25s ease-in;
|
|
-moz-transition: -moz-transform 0.25s ease-in;
|
|
-ms-transition: -ms-transform 0.25s ease-in;
|
|
transition: transform 0.25s ease-in;
|
|
}
|
|
|
|
#leftScale {
|
|
left: 0;
|
|
margin-left: -150px;
|
|
}
|
|
|
|
#rightScale {
|
|
right: 0;
|
|
margin-right: -150px;
|
|
}
|
|
|
|
#tray {
|
|
position: relative;
|
|
background-color: red;
|
|
top: 50%;
|
|
margin-top: -1px;
|
|
width: 550px;
|
|
height: 288px;
|
|
background: url("images/scales.png") no-repeat center;
|
|
}
|
|
|
|
#graduations {
|
|
width: 100px;
|
|
height: 30px;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
margin-left: -50px;
|
|
background: url(images/graduations.png) center no-repeat;
|
|
}
|
|
|
|
#pivot {
|
|
position: absolute;
|
|
width: 80px;
|
|
height: 80px;
|
|
left: 235px;
|
|
top: 106px;
|
|
background: url(images/pivot.png) center no-repeat;
|
|
}
|
|
|
|
#objects {
|
|
position: relative;
|
|
display: inline-block;
|
|
padding: 0 5px 0 10px;
|
|
}
|
|
|
|
#objects .object {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
}
|
|
|
|
#objects button[role="add"] {
|
|
display: none;
|
|
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
text-indent: -100px;
|
|
|
|
width: 68px;
|
|
height: 70px;
|
|
|
|
margin-left: 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(255,255,255, 0.15);
|
|
background: rgba(0,0,0, 0.15) url(images/weight-add.png) center no-repeat;
|
|
}
|
|
|
|
.onEdit #objects button[role="add"] {
|
|
display: inline-block;
|
|
}
|
|
|
|
#leftScale .object {
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
|
|
.object input {
|
|
border: none;
|
|
width: 40px;
|
|
padding: none;
|
|
margin: 0 2px 0 0;
|
|
|
|
text-align: center;
|
|
font-size: 16px;
|
|
|
|
color: #000;
|
|
border-radius: 3px;
|
|
background-color: #FFF;
|
|
box-shadow: 0 1px 2px rgba(0,0,0, 0.4);
|
|
}
|
|
|
|
.object .tools {
|
|
display: none;
|
|
position: absolute;
|
|
top: -23px;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.onEdit button[role="remove"] {
|
|
display: inline-block;
|
|
position: relative;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
width: 22px;
|
|
height: 22px;
|
|
text-indent: -100px;
|
|
border: none;
|
|
margin: 0;
|
|
outline: 0;
|
|
padding: 0;
|
|
background: transparent url(images/delete.png) center no-repeat;
|
|
}
|
|
|
|
.onEdit .object .tools {
|
|
display: block;
|
|
}
|
|
|
|
.object input:disabled {
|
|
color: #CCC;
|
|
background: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.object input:disabled::-webkit-outer-spin-button,
|
|
.object input:disabled::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
#objects .desk {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 20px;
|
|
top: 72px;
|
|
border-radius: 4px;
|
|
box-shadow: 0 3px 0 #999, 0 1px 2px rgba(0,0,0, .65);
|
|
background-color: #CCC;
|
|
background-image: -moz-linear-gradient(90deg, #FFF 0%, #CCC 100%);
|
|
background-image: -o-linear-gradient(90deg, #FFF 0%, #CCC 100%);
|
|
background-image: -webkit-linear-gradient(90deg, #FFF 0%, #CCC 100%);
|
|
background-image: linear-gradient(90deg, #FFF 0%, #CCC 100%);
|
|
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFF', endColorstr='#CCC', GradientType=0);
|
|
}
|
|
|
|
#rightScale .weight {
|
|
position: absolute !important;
|
|
}
|
|
|
|
#weights {
|
|
display: none;
|
|
position: absolute;
|
|
top: 40px;
|
|
right: 40px;
|
|
width: 230px;
|
|
}
|
|
|
|
.onEdit #weights {
|
|
display: block;
|
|
}
|
|
|
|
#weights .weight {
|
|
display: inline-block;
|
|
}
|
|
|
|
.weight {
|
|
position: relative;
|
|
width: 64px;
|
|
height: 70px;
|
|
|
|
margin-left: 10px;
|
|
margin-bottom: 30px;
|
|
|
|
font-size: 16px;
|
|
text-align: center;
|
|
color: #CCC;
|
|
text-shadow: 0 -1px 0 #000;
|
|
}
|
|
|
|
.weight .amount {
|
|
height: 100%;
|
|
padding: 4px 4px 0;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(255,255,255, 0.15);
|
|
background-color: rgba(0,0,0, 0.15);
|
|
}
|
|
|
|
.weight > div.bg {
|
|
position: absolute;
|
|
left: -3px;
|
|
bottom: -18px;
|
|
width: 70px;
|
|
height: 64px;
|
|
background: url(images/weight.png) no-repeat center bottom;
|
|
}
|
|
|
|
.weight.w500 {
|
|
|
|
}
|
|
|
|
.weight.w200 {
|
|
|
|
}
|
|
|
|
.weight.w100 {
|
|
|
|
}
|
|
|
|
.weight.w50 {
|
|
|
|
}
|
|
|
|
.weight.w20 {
|
|
|
|
}
|
|
|
|
.weight.w10 {
|
|
|
|
}
|
|
|
|
.onOut .amount {
|
|
background-color: rgba(255,0,0, 0.15);
|
|
} |