| 1 |
a { |
| 2 |
color: inherit; |
| 3 |
} |
| 4 |
html, body { |
| 5 |
height: 100%; |
| 6 |
margin: 0; |
| 7 |
padding: 0; |
| 8 |
overflow: hidden; |
| 9 |
} |
| 10 |
body { |
| 11 |
background: #111; |
| 12 |
background: linear-gradient(#111, #333); |
| 13 |
color: #fff; |
| 14 |
font-family: sans-serif; |
| 15 |
font-size: 12px; |
| 16 |
text-align: center; |
| 17 |
} |
| 18 |
x3d, #x3dom-x3d-object { |
| 19 |
border: 0; |
| 20 |
height: 100% !important; |
| 21 |
width: 100% !important; |
| 22 |
} |
| 23 |
#x3d_viewer_error { |
| 24 |
color: #ff4500; |
| 25 |
padding: 5px 0; |
| 26 |
top: -100%; |
| 27 |
} |
| 28 |
#x3d_viewer_error, #x3dom_logdiv { |
| 29 |
background: rgba(16, 16, 16, .75); |
| 30 |
border: 0; |
| 31 |
display: block !important; |
| 32 |
font-size: 12px; |
| 33 |
height: auto; |
| 34 |
position: absolute; |
| 35 |
transition: all .5s ease; |
| 36 |
width: 100%; |
| 37 |
} |
| 38 |
#x3dom_logdiv { |
| 39 |
bottom: -100%; |
| 40 |
max-height: 25%; |
| 41 |
padding: 5px 0 0; |
| 42 |
text-align: left; |
| 43 |
} |
| 44 |
#x3dom_logdiv p { |
| 45 |
padding: 0 5px; |
| 46 |
} |
| 47 |
#x3dom_logdiv p:last-child { |
| 48 |
padding-bottom: 35px; |
| 49 |
} |
| 50 |
#x3d_viewer_toolbar { |
| 51 |
bottom: -30px; |
| 52 |
padding: 5px 0; |
| 53 |
position: absolute; |
| 54 |
transition: all .5s ease; |
| 55 |
width: 100%; |
| 56 |
z-index: 9999; |
| 57 |
} |
| 58 |
.button { |
| 59 |
display: inline-block; |
| 60 |
height: 14px; |
| 61 |
padding: 3px 0; |
| 62 |
} |
| 63 |
.button, .options { |
| 64 |
background: #ccc; |
| 65 |
background: linear-gradient(#ccc, #999); |
| 66 |
border: 0; |
| 67 |
border-bottom: 1px outset #999; |
| 68 |
border-left: 1px solid #999; |
| 69 |
border-top: 1px outset #999; |
| 70 |
color: #000; |
| 71 |
cursor: default; |
| 72 |
line-height: 14px; |
| 73 |
min-width: 15ex; |
| 74 |
position: relative; |
| 75 |
text-shadow: 1px 1px #ccc; |
| 76 |
transition: all .125s linear; |
| 77 |
-moz-user-select: none; |
| 78 |
-webkit-user-select: none; |
| 79 |
-ms-user-select: none; |
| 80 |
user-select: none; |
| 81 |
white-space: nowrap; |
| 82 |
} |
| 83 |
.button:first-child, .options { |
| 84 |
border-bottom-left-radius: 5px; |
| 85 |
border-left: 1px outset #999; |
| 86 |
border-top-left-radius: 5px; |
| 87 |
} |
| 88 |
.button:last-child, .options { |
| 89 |
border-bottom-right-radius: 5px; |
| 90 |
border-right: 1px outset #999; |
| 91 |
border-top-right-radius: 5px; |
| 92 |
} |
| 93 |
.mousedown:hover { |
| 94 |
background: linear-gradient(#999, #666); |
| 95 |
border-color: #666; |
| 96 |
} |
| 97 |
.options { |
| 98 |
border-bottom-right-radius: 0; |
| 99 |
display: none; |
| 100 |
padding: 1px 0; |
| 101 |
} |
| 102 |
.options div { |
| 103 |
border-radius: 3px; |
| 104 |
margin: 0 1px; |
| 105 |
padding: 2px 5px; |
| 106 |
} |
| 107 |
.options div.checked, |
| 108 |
.options div.unchecked { |
| 109 |
text-align: left; |
| 110 |
} |
| 111 |
.options div.checked:before, |
| 112 |
.options div.unchecked:before, |
| 113 |
.selected:before { |
| 114 |
content: '\2022\00a0'; |
| 115 |
} |
| 116 |
.options div.unchecked:before, |
| 117 |
.selected:before { |
| 118 |
opacity: 0; |
| 119 |
} |
| 120 |
.options div:hover { |
| 121 |
background: rgba(16, 16, 16, .75); |
| 122 |
color: #fff; |
| 123 |
text-shadow: 1px 1px #000; |
| 124 |
} |
| 125 |
.button:hover .options { |
| 126 |
bottom: -1px; |
| 127 |
display: block; |
| 128 |
left: -1px; |
| 129 |
position: absolute; |
| 130 |
} |
| 131 |
.selected { |
| 132 |
display: inline-block; |
| 133 |
padding: 0 6px; |
| 134 |
text-align: left; |
| 135 |
width: 100%; |
| 136 |
} |
| 137 |
.selected:after { |
| 138 |
color: #666; |
| 139 |
content: '\25bc'; |
| 140 |
font-size: 10px; |
| 141 |
position: absolute; |
| 142 |
right: 10px; |
| 143 |
text-align: right; |
| 144 |
top: 3px; |
| 145 |
} |