123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- button {
- color: #555;
- background-color: #ddd;
- border: 0px;
- padding: 5px 8px;
- text-transform: uppercase;
- cursor: pointer;
- outline: none;
- }
- button:hover {
- background-color: #fff;
- }
- button.selected {
- background-color: #fff;
- }
- input, textarea {
- border: 1px solid transparent;
- color: #444;
- }
- input.Number {
- color: #08f!important;
- font-size: 12px;
- border: 0px;
- padding: 2px;
- cursor: col-resize;
- }
- select {
- color: #666;
- background-color: #ddd;
- border: 0px;
- text-transform: uppercase;
- cursor: pointer;
- outline: none;
- }
- select:hover {
- background-color: #fff;
- }
- /* UI */
- #viewport {
- position: absolute;
- top: 32px;
- left: 0;
- right: 300px;
- bottom: 0;
- }
- #viewport #info {
- text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
- pointer-events: none;
- }
- #script {
- position: absolute;
- top: 32px;
- left: 0;
- right: 300px;
- bottom: 0;
- opacity: 0.9;
- }
- #player {
- position: absolute;
- top: 32px;
- left: 0;
- right: 300px;
- bottom: 0;
- }
- #menubar {
- position: absolute;
- width: 100%;
- height: 32px;
- background: #eee;
- padding: 0;
- margin: 0;
- right: 0;
- top: 0;
- }
- #menubar .menu {
- float: left;
- cursor: pointer;
- padding-right: 8px;
- }
- #menubar .menu.right {
- float: right;
- cursor: auto;
- padding-right: 0;
- text-align: right;
- }
- #menubar .menu .title {
- display: inline-block;
- color: #888;
- margin: 0;
- padding: 8px;
- line-height: 16px;
- }
- #menubar .menu .options {
- position: fixed;
- display: none;
- padding: 5px 0;
- background: #eee;
- width: 150px;
- max-height: calc(100% - 80px);
- overflow: auto;
- }
- #menubar .menu:hover .options {
- display: block;
- }
- #menubar .menu .options hr {
- border-color: #ddd;
- }
- #menubar .menu .options .option {
- color: #666;
- background-color: transparent;
- padding: 5px 10px;
- margin: 0 !important;
- }
- #menubar .menu .options .option:hover {
- color: #fff;
- background-color: #08f;
- }
- #menubar .menu .options .option:active {
- color: #666;
- background: transparent;
- }
- #menubar .menu .options .inactive {
- color: #bbb;
- background-color: transparent;
- padding: 5px 10px;
- margin: 0 !important;
- }
- #sidebar {
- position: absolute;
- right: 0;
- top: 32px;
- bottom: 0;
- width: 300px;
- background: #eee;
- overflow: auto;
- }
- #sidebar * {
- vertical-align: middle;
- }
- #sidebar .Panel {
- color: #888;
- padding: 10px;
- border-top: 1px solid #ccc;
- }
- #sidebar .Panel.collapsed {
- margin-bottom: 0;
- }
- #sidebar .Row {
- min-height: 20px;
- margin-bottom: 10px;
- }
- #tabs {
- background-color: #ddd;
- border-top: 1px solid #ccc;
- }
- #tabs span {
- color: #aaa;
- border-right: 1px solid #ccc;
- padding: 10px;
- }
- #tabs span.selected {
- color: #888;
- background-color: #eee;
- }
- #toolbar {
- position: absolute;
- left: calc(50% - 290px); /* ( ( 100% - 300px ) / 2.0 ) - 140px */
- width: 280px;
- bottom: 16px;
- height: 32px;
- background: #eee;
- color: #333;
- }
- #toolbar * {
- vertical-align: middle;
- }
- #toolbar .Panel {
- padding: 4px;
- color: #888;
- }
- #toolbar button {
- margin-right: 6px;
- line-height: 14px;
- height: 24px;
- }
- .Outliner {
- color: #444;
- background-color: #fff;
- padding: 0;
- width: 100%;
- height: 140px;
- font-size: 12px;
- cursor: default;
- overflow: auto;
- outline: none !important;
- }
- .Outliner .option {
- padding: 4px;
- color: #666;
- white-space: nowrap;
- }
- .Outliner .option:hover {
- background-color: rgba(0,0,0,0.02);
- }
- .Outliner .option.active {
- background-color: rgba(0,0,0,0.04);
- }
- .TabbedPanel .Tabs {
- background-color: #ddd;
- border-top: 1px solid #ccc;
- }
- .TabbedPanel .Tab {
- color: #aaa;
- border-right: 1px solid #ccc;
- }
- .TabbedPanel .Tab.selected {
- color: #888;
- background-color: #eee;
- }
- /* */
- @media all and ( max-width: 600px ) {
- #menubar .menu .options {
- max-height: calc(100% - 372px);
- }
- #menubar .menu.right {
- display: none;
- }
- #viewport {
- left: 0;
- right: 0;
- top: 32px;
- height: calc(100% - 352px);
- }
- #script {
- left: 0;
- right: 0;
- top: 32px;
- height: calc(100% - 352px);
- }
- #player {
- left: 0;
- right: 0;
- top: 32px;
- height: calc(100% - 352px);
- }
- #sidebar {
- left: 0;
- width: 100%;
- top: calc(100% - 320px);
- bottom: 0;
- }
- #toolbar {
- left: calc(50% - 140px);
- width: 280px;
- top: 68px;
- }
- }
|