UNPKG

webgme

Version:

Web-based Generic Modeling Environment

130 lines (125 loc) 3.96 kB
/** * @author rkereskenyi / https://github.com/rkereskenyi * @author nabana / https://github.com/nabana */ .webgme-toolbar, .webgme-toolbar-ext { white-space: nowrap; } .webgme-toolbar .toolbar-button, .webgme-toolbar-ext .toolbar-button { display: inline-block; position: relative; } .webgme-toolbar .toolbar-drag-item, .webgme-toolbar-ext .toolbar-drag-item { display: inline-block; position: relative; } .webgme-toolbar .separator, .webgme-toolbar-ext .separator { margin-left: 0; margin-right: 0; border-right: 1px solid #DADFE7; width: 0; height: 26px; display: inline-block; vertical-align: middle; position: relative; } .webgme-toolbar .btn-group, .webgme-toolbar-ext .btn-group { margin-left: 0; margin-right: 0; } .webgme-toolbar .toolbar-input, .webgme-toolbar-ext .toolbar-input { display: inline-block; margin-left: 2px; position: relative; } .webgme-toolbar .toolbar-input .input-append, .webgme-toolbar .toolbar-input .input-prepend, .webgme-toolbar-ext .toolbar-input .input-append, .webgme-toolbar-ext .toolbar-input .input-prepend { margin-bottom: 0; } .webgme-toolbar .toolbar-label, .webgme-toolbar-ext .toolbar-label { display: inline-block; margin-left: 2px; position: relative; font-size: 12px; line-height: 22px; height: 22px; vertical-align: middle; } .webgme-toolbar .toolbar-checkbox, .webgme-toolbar-ext .toolbar-checkbox { display: inline-block; margin-left: 2px; position: relative; vertical-align: middle; } .webgme-toolbar .dropdown-menu li .iCheckBox, .webgme-toolbar-ext .dropdown-menu li .iCheckBox { top: 1px; } .webgme-toolbar .dropdown-menu li .dropdown-list-button.disabled, .webgme-toolbar-ext .dropdown-menu li .dropdown-list-button.disabled { color: gray; cursor: not-allowed; } .webgme-toolbar .toolbar-colorpicker, .webgme-toolbar-ext .toolbar-colorpicker { display: inline-block; } .webgme-toolbar .toolbar-colorpicker input, .webgme-toolbar-ext .toolbar-colorpicker input { margin: 0; width: 20px; color: transparent !important; } .webgme-toolbar .toolbar-colorpicker.input-append, .webgme-toolbar .toolbar-colorpicker.input-prepend, .webgme-toolbar-ext .toolbar-colorpicker.input-append, .webgme-toolbar-ext .toolbar-colorpicker.input-prepend { margin-bottom: 0 !important; } .webgme-toolbar .toolbar-colorpicker.input-append .add-on i:hover, .webgme-toolbar .toolbar-colorpicker.input-prepend .add-on i:hover, .webgme-toolbar-ext .toolbar-colorpicker.input-append .add-on i:hover, .webgme-toolbar-ext .toolbar-colorpicker.input-prepend .add-on i:hover { cursor: pointer; } .webgme-toolbar-ext { position: absolute; right: 0; margin-top: 1px; padding: 0 3px 3px 0; background: #F5F5F5; border: 1px solid #bbbbbb; display: none; white-space: normal; } .webgme-toolbar-ext.shown { display: inline-block; } .webgme-toolbar-ext > div { margin-top: 2px; } .webgme-toolbar-ext-toggle { display: inline-block; position: absolute; right: 2px; top: 2px; background-color: #F5F5F5; height: 22px; width: 7px; cursor: pointer; } .webgme-toolbar-ext-toggle:hover { background-color: #E6E6E6; } .webgme-toolbar-ext-toggle > i { -webkit-transform: scale(0.5, 0.5); -moz-transform: scale(0.5, 0.5); -ms-transform: scale(0.5, 0.5); -o-transform: scale(0.5, 0.5); transform: scale(0.5, 0.5); position: absolute; top: 8px; left: -3px; } .webgme-toolbar-ext-toggle > i:last-child { top: 11px; } div.toolbar-container { position: relative; /*overflow: hidden;*/ overflow-x: visible; top: 34px; height: 30px; padding: 0; } div.toolbar-container .btn { border: 1px solid #fff; border-radius: 0; padding: 1px 5px; margin: 3px 5px !important; box-shadow: none; }