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.
276 lines
4.2 KiB
276 lines
4.2 KiB
13 years ago
|
#scene {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
#scene > div {
|
||
|
|
||
|
}
|
||
|
|
||
|
#scalesCell {
|
||
|
display: table;
|
||
|
}
|
||
|
#scalesCell > div {
|
||
|
display: table-cell;
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
|
||
|
#scalesWrapper {
|
||
12 years ago
|
padding: 0px 100px 100px;
|
||
13 years ago
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.onEdit #scalesWrapper {
|
||
|
padding-top: 100px;
|
||
|
}
|
||
|
|
||
|
#scales {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.scale {
|
||
|
position: absolute;
|
||
12 years ago
|
width: 125px;
|
||
13 years ago
|
height: 0;
|
||
12 years ago
|
padding: 90px 20px 35px;
|
||
|
top: 72px;
|
||
13 years ago
|
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;
|
||
12 years ago
|
margin-left: -75px;
|
||
13 years ago
|
}
|
||
|
|
||
|
#rightScale {
|
||
|
right: 0;
|
||
12 years ago
|
margin-right: -75px;
|
||
13 years ago
|
}
|
||
|
|
||
|
#tray {
|
||
|
position: relative;
|
||
|
background-color: red;
|
||
|
top: 50%;
|
||
|
margin-top: -1px;
|
||
12 years ago
|
width: 225px;
|
||
|
height: 144px;
|
||
13 years ago
|
background: url("images/scales.png") no-repeat center;
|
||
|
}
|
||
|
|
||
|
#graduations {
|
||
12 years ago
|
width: 50px;
|
||
|
height: 15px;
|
||
13 years ago
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 50%;
|
||
12 years ago
|
margin-left: -25px;
|
||
13 years ago
|
background: url(images/graduations.png) center no-repeat;
|
||
|
}
|
||
|
|
||
|
#pivot {
|
||
|
position: absolute;
|
||
12 years ago
|
width: 40px;
|
||
|
height: 40px;
|
||
|
left: 93px;
|
||
|
top: 52px;
|
||
13 years ago
|
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;
|
||
|
|
||
12 years ago
|
width: 34px;
|
||
|
height: 34px;
|
||
13 years ago
|
|
||
|
margin-left: 10px;
|
||
|
|
||
|
cursor: pointer;
|
||
|
|
||
12 years ago
|
border-radius: 2px;
|
||
13 years ago
|
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;
|
||
12 years ago
|
width: 100%;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
13 years ago
|
|
||
|
text-align: center;
|
||
12 years ago
|
font-size: 12px;
|
||
13 years ago
|
|
||
|
color: #000;
|
||
12 years ago
|
border-radius: 2px;
|
||
13 years ago
|
background-color: #FFF;
|
||
|
box-shadow: 0 1px 2px rgba(0,0,0, 0.4);
|
||
|
}
|
||
|
|
||
|
.object .tools {
|
||
|
display: none;
|
||
|
position: absolute;
|
||
12 years ago
|
top: -13px;
|
||
13 years ago
|
width: 100%;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.onEdit button[role="remove"] {
|
||
|
display: inline-block;
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
cursor: pointer;
|
||
12 years ago
|
width: 11px;
|
||
|
height: 11px;
|
||
13 years ago
|
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;
|
||
12 years ago
|
top: 36px;
|
||
13 years ago
|
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;
|
||
12 years ago
|
top: 20px;
|
||
|
right: 0px;
|
||
|
width: 160px;
|
||
13 years ago
|
}
|
||
|
|
||
|
.onEdit #weights {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
#weights .weight {
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.weight {
|
||
|
position: relative;
|
||
12 years ago
|
|
||
|
width: 32px;
|
||
|
height: 35px;
|
||
|
|
||
13 years ago
|
margin-left: 10px;
|
||
|
margin-bottom: 30px;
|
||
|
|
||
12 years ago
|
font-size: 12px;
|
||
13 years ago
|
text-align: center;
|
||
|
color: #CCC;
|
||
|
text-shadow: 0 -1px 0 #000;
|
||
|
}
|
||
|
|
||
12 years ago
|
.weight .unit {
|
||
|
font-size: 10px;
|
||
|
}
|
||
|
|
||
13 years ago
|
.weight .amount {
|
||
|
height: 100%;
|
||
12 years ago
|
padding: 4px 2px 0;
|
||
13 years ago
|
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;
|
||
12 years ago
|
left: -2px;
|
||
13 years ago
|
bottom: -18px;
|
||
12 years ago
|
width: 35px;
|
||
|
height: 32px;
|
||
13 years ago
|
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);
|
||
|
}
|