//= require font-awesome //= require select2 //= require select2-bootstrap //= require upload-image $spacing: 16px; $half-spacing: 8px; @import 'bootstrap-sprockets'; @import 'bootstrap'; @import 'colors'; @import 'common'; @import '_select2'; #top-nav-buttons { position: fixed; top: 0; width: 100%; z-index: 1000; a:first-child { border-top-left-radius: 0; } a:last-child { border-top-right-radius: 0; } a { color: $text-color; border-color: $main-color; } a:hover { background-color: lighten($main-color, 20%); border-color: lighten($main-color, 20%); color: white; } a.active { background-color: $main-color; color: white; } a.active:hover { background-color: lighten($main-color, 20%); border-color: lighten($main-color, 20%); } } #main-container { width: 100%; #main-content { margin-top: 50px; padding-left: $spacing; padding-right: $spacing; } } .model-index-panel { width: 100%; .panel-body { overflow: scroll; padding-left: 0; padding-right: 0; } table { margin-bottom: 0; table-layout: fixed; width: 100%; td { overflow: scroll; } th:first-child, td:first-child { padding-left: $spacing; } th:last-child { width: 50px; } } } .model-new-panel, .model-edit-panel { max-width: 600px; margin-left: auto; margin-right: auto; textarea { max-width: 100%; min-height: 300px; } .markdown-preview { display: none; min-height: 300px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; } } #dashboard-index-buttons { display: inline-block; margin-right: $spacing; line-height: 34px; } #search-input { position: relative; .icon { position: absolute; bottom: 8px; left: 8px; color: #ccc; } input { width: 100%; padding-left: 30px; } }