UNPKG

@kademi/keditor

Version:

KEditor is a jQuery plugin which provides a content editor with drag n drop, configurable contents

71 lines (59 loc) 1.33 kB
// Import // ------------------------------------------------- @import "../_mixins"; @import "../_variables"; // Topbar // ------------------------------------------------- .keditor-topbar { .clearfix(); .keditor-text(); position: absolute; top: 0; left: 0; width: 100%; background: @topbar-bg; } .keditor-topbar-title { color: @topbar-title-color; line-height: @topbar-height; overflow: hidden; text-overflow: ellipsis; padding-left: 15px; } .keditor-topbar-left, .keditor-topbar-center, .keditor-topbar-right { float: left; height: @topbar-height; word-spacing: -1em; > * { word-spacing: normal; display: inline-block; } } .keditor-topbar-left, .keditor-topbar-right { width: ~"calc(50% - 100px)"; } .keditor-topbar-right { text-align: right; } .keditor-topbar-center { width: 200px; text-align: center; } .keditor-topbar-btn { height: @topbar-height; line-height: @topbar-height; color: @topbar-btn-color !important; text-decoration: none; width: @topbar-height; text-align: center; &:hover, &.active { background: @topbar-btn-hover; } i { font-size: @topbar-btn-icon-size; } }