smartinmedia/cunity

View on GitHub
lib/plugins/summernote/css/summernote.css

Summary

Maintainability
Test Coverage
.form-group.has-error .note-editor {
    border-color: #a94442 !important;
}
.note-editor {
    border:1px solid #a9a9a9;
    border-radius: 5px;
}

.note-editor p {
    margin:0;
}

.note-editor .note-dropzone {
    position:absolute;
    z-index:1;
    display:none;
    color:#87cefa;
    background-color:#FFF;
    border:2px dashed #87cefa;
    opacity:.95;
    pointer-event:none
}

.note-editor .note-dropzone .note-dropzone-message {
    display:table-cell;
    font-size:28px;
    font-weight:700;
    text-align:center;
    vertical-align:middle
}

.note-editor .note-dropzone.hover {
    color:#098ddf;
    border:2px dashed #098ddf
}

.note-editor.dragover .note-dropzone {
    display:table
}

.note-editor.fullscreen {
    position:fixed;
    top:0;
    left:0;
    z-index:1050;
    width:100%
}

.note-editor.fullscreen .note-editable {
    background-color:#FFF
}

.note-editor.codeview .note-codable {
    display:block
}

.note-editor .note-toolbar {
    padding-bottom:5px;
    padding-left:5px;
    background-color:#f5f5f5;
    border-bottom:1px solid #a9a9a9;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    margin:0
}

.note-editor .note-toolbar>.btn-group {
    margin-top:5px;
    margin-right:5px;
    margin-left:0
}

.note-editor .note-toolbar .note-table .dropdown-menu {
    min-width:0;
    padding:5px
}

.note-editor .note-toolbar .note-table .dropdown-menu .note-dimension-picker {
    font-size:18px
}

.note-editor .note-toolbar .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-mousecatcher {
    position:absolute!important;
    z-index:3;
    width:10em;
    height:10em;
    cursor:pointer
}

.note-editor .note-toolbar .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-unhighlighted {
    position:relative!important;
    z-index:1;
    width:5em;
    height:5em;
    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC) repeat
}

.note-editor .note-toolbar .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-highlighted {
    position:absolute!important;
    z-index:2;
    width:1em;
    height:1em;
    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC) repeat
}

.note-editor .note-toolbar .note-color .dropdown-toggle {
    width:20px;
    padding-left:5px
}

.note-editor .note-toolbar .note-color .dropdown-menu {
    min-width:290px
}

.note-editor .note-toolbar .note-color .dropdown-menu .btn-group:first-child {
    margin:0 5px
}

.note-editor .note-toolbar .note-color .dropdown-menu .btn-group .note-palette-title {
    font-size:12px;
    text-align:center;
    border-bottom:1px solid #eee;
    margin:2px 7px
}

.note-editor .note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset {
    font-size:12px;
    cursor:pointer;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    margin:5px;
    padding:0 3px
}

.note-editor .note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset:hover {
    background:#eee
}

.note-editor .note-toolbar .note-para .dropdown-menu {
    min-width:153px;
    padding:5px
}

.note-editor .note-toolbar .note-para li:first-child {
    margin-bottom:5px
}

.note-editor .note-statusbar {
    background-color:#f5f5f5
}

.note-editor .note-statusbar .note-resizebar {
    width:100%;
    height:8px;
    cursor:s-resize;
    border-top:1px solid #a9a9a9;
    display:none;
}

.note-editor .note-statusbar .note-resizebar .note-icon-bar {
    width:20px;
    border-top:1px solid #a9a9a9;
    margin:1px auto
}

.note-editor .note-popover .popover {
    max-width:none
}

.note-editor .note-popover .popover .popover-content {
    padding:5px
}

.note-editor .note-popover .popover .popover-content a {
    display:inline-block;
    max-width:200px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    vertical-align:middle
}

.note-editor .note-popover .popover .popover-content .btn-group+.btn-group {
    margin-left:5px
}

.note-editor .note-popover .popover .arrow {
    left:20px
}

.note-editor .note-handle .note-control-selection {
    position:absolute;
    display:none;
    border:1px solid #000
}

.note-editor .note-handle .note-control-selection>div {
    position:absolute
}

.note-editor .note-handle .note-control-selection .note-control-selection-bg {
    width:100%;
    height:100%;
    background-color:#000;
    -webkit-opacity:.3;
    -khtml-opacity:.3;
    -moz-opacity:.3;
    opacity:.3;
    -ms-filter:alpha(opacity=30);
    filter:alpha(opacity=30)
}

.note-editor .note-handle .note-control-selection .note-control-sizing {
    width:7px;
    height:7px;
    background-color:#FFF;
    border:1px solid #000
}

.note-editor .note-handle .note-control-selection .note-control-nw {
    top:-5px;
    left:-5px;
    border-right:0;
    border-bottom:0
}

.note-editor .note-handle .note-control-selection .note-control-ne {
    top:-5px;
    right:-5px;
    border-bottom:0;
    border-left:none
}

.note-editor .note-handle .note-control-selection .note-control-sw {
    bottom:-5px;
    left:-5px;
    border-top:0;
    border-right:0
}

.note-editor .note-handle .note-control-selection .note-control-se {
    right:-5px;
    bottom:-5px;
    cursor:se-resize
}

.note-editor .note-handle .note-control-selection .note-control-selection-info {
    right:0;
    bottom:0;
    font-size:12px;
    color:#FFF;
    background-color:#000;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    -webkit-opacity:.7;
    -khtml-opacity:.7;
    -moz-opacity:.7;
    opacity:.7;
    -ms-filter:alpha(opacity=70);
    filter:alpha(opacity=70);
    margin:5px;
    padding:5px
}

.note-editor .note-dialog .note-image-dialog .note-dropzone {
    min-height:100px;
    margin-bottom:10px;
    font-size:30px;
    line-height:4;
    color:lightgray;
    text-align:center;
    border:4px dashed lightgray
}

.note-editor .note-dialog .note-help-dialog {
    font-size:12px;
    color:#ccc;
    background:transparent;
    background-color:#222!important;
    border:0;
    -webkit-opacity:.9;
    -khtml-opacity:.9;
    -moz-opacity:.9;
    opacity:.9;
    -ms-filter:alpha(opacity=90);
    filter:alpha(opacity=90)
}

.note-editor .note-dialog .note-help-dialog .modal-content {
    background:transparent;
    border:1px solid #FFF;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    -webkit-box-shadow:none;
    -moz-box-shadow:none;
    box-shadow:none
}

.note-editor .note-dialog .note-help-dialog a {
    font-size:12px;
    color:#FFF
}

.note-editor .note-dialog .note-help-dialog .title {
    padding-bottom:5px;
    font-size:14px;
    font-weight:700;
    color:#FFF;
    border-bottom:#FFF 1px solid
}

.note-editor .note-dialog .note-help-dialog .modal-close {
    font-size:14px;
    color:#dd0;
    cursor:pointer
}

.note-editor .note-dialog .note-help-dialog .note-shortcut-layout {
    width:100%
}

.note-editor .note-dialog .note-help-dialog .note-shortcut-layout td {
    vertical-align:top
}

.note-editor .note-dialog .note-help-dialog .note-shortcut {
    margin-top:8px
}

.note-editor .note-dialog .note-help-dialog .note-shortcut th {
    font-size:13px;
    color:#dd0;
    text-align:left
}

.note-editor .note-dialog .note-help-dialog .note-shortcut td:first-child {
    min-width:110px;
    padding-right:10px;
    font-family:"Courier New";
    color:#dd0;
    text-align:right
}

.note-editor .note-editable {
    overflow:auto;
    outline:0;
    padding:10px
}

.note-editor .note-codable {
    display:none;
    width:100%;
    margin-bottom:0;
    font-family:Menlo,Monaco,monospace,sans-serif;
    font-size:14px;
    color:#ccc;
    background-color:#222;
    border:0;
    -webkit-border-radius:0;
    -moz-border-radius:0;
    border-radius:0;
    box-shadow:none;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;
    resize:none;
    padding:10px
}

.note-editor .dropdown-menu {
    min-width:90px
}

.note-editor .dropdown-menu.right {
    right:0;
    left:auto
}

.note-editor .dropdown-menu.right::before {
    right:9px;
    left:auto!important
}

.note-editor .dropdown-menu.right::after {
    right:10px;
    left:auto!important
}

.note-editor .dropdown-menu li a i {
    color:#00BFFF;
    visibility:hidden
}

.note-editor .dropdown-menu li a.checked i {
    visibility:visible
}

.note-editor .note-fontsize-10 {
    font-size:10px
}

.note-editor .note-color-palette {
    line-height:1
}

.note-editor .note-color-palette div .note-color-btn {
    width:17px;
    height:17px;
    border:1px solid #fff;
    margin:0;
    padding:0
}

.note-editor .note-color-palette div .note-color-btn:hover {
    border:1px solid #000
}

.note-editor.fullscreen .note-resizebar,.note-editor.codeview .note-editable,.note-editor .note-dialog>div {
    display:none
}

.note-editor .note-toolbar .note-style h1,.note-editor .note-toolbar .note-style h2,.note-editor .note-toolbar .note-style h3,.note-editor .note-toolbar .note-style h4,.note-editor .note-toolbar .note-style h5,.note-editor .note-toolbar .note-style h6,.note-editor .note-toolbar .note-style blockquote,.note-editor .note-toolbar .note-color .dropdown-menu .btn-group {
    margin:0
}

.note-editor .note-handle .note-control-selection .note-control-handle,.note-editor .note-handle .note-control-selection .note-control-holder {
    width:7px;
    height:7px;
    border:1px solid #000
}