guoren/public/stylesheets/summernote.css

371 lines
8.0 KiB
CSS
Executable File

.note-editor {
border: 1px solid #a9a9a9;
}
.note-editor.fullscreen {
position: fixed;
top: 0;
left: 0;
z-index: 1050;
width: 100%;
}
.note-editor.fullscreen .note-editable {
background-color: #FFF;
}
.note-editor.fullscreen .note-resizebar {
display: none;
}
.note-editor .note-toolbar {
padding-bottom: 5px;
padding-left: 5px;
margin: 0;
background-color: #f8f8f8;
border-bottom: 1px solid #aaaaaa;
}
.note-editor .note-toolbar>.btn-group {
margin-top: 5px;
margin-right: 5px;
margin-left: 0;
margin-bottom: 0;
}
.note-editor .note-toolbar .btn [class^="icon-"] {
margin: 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-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 {
margin: 0;
}
.note-editor .note-toolbar .note-fontsize button {
height: 26px;
}
.note-editor .note-toolbar .note-color .dropdown-toggle {
width: 20px;
padding: 2px 5px;
}
.note-editor .note-toolbar .note-color .dropdown-menu {
min-width: 290px;
}
.note-editor .note-toolbar .note-color .dropdown-menu .btn-group {
margin: 0;
}
.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;
}
.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;
}
.note-editor .note-statusbar .note-resizebar .note-icon-bar {
width: 20px;
margin: 1px auto;
border-top: 1px solid #a9a9a9;
}
.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-handle {
width: 7px;
height: 7px;
border: 1px solid #000;
}
.note-editor .note-handle .note-control-selection .note-control-holder {
width: 7px;
height: 7px;
border: 1px solid #000;
}
.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;
padding: 5px;
margin: 5px;
font-size: 12px;
color: #FFF;
background-color: #000;
border-radius: 5px;
-webkit-opacity: .7;
-khtml-opacity: .7;
-moz-opacity: .7;
opacity: .7;
-ms-filter: alpha(opacity=70);
filter: alpha(opacity=70);
}
.note-editor .note-dialog>div {
display: none;
}
.note-editor .note-dialog .note-image-dialog .note-dropzone {
min-height: 200px;
font-size: 30px;
line-height: 6;
color: lightgray;
text-align: center;
border: 4px dashed lightgray;
}
.note-editor .note-dialog .note-help-dialog {
font-size: 12px;
color: #FFF;
background: transparent;
background-color: #000 !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;
border-radius: 5px;
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 {
padding: 10px;
overflow: scroll;
outline: 0;
}
.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 .btn-sm {
min-height: 33px;
font-size: 14px;
}
.note-editor .note-color-palette {
line-height: 1;
}
.note-editor .note-color-palette div .note-color-btn {
width: 17px;
height: 17px;
padding: 0;
margin: 0;
border: 1px solid #fff;
}
.note-editor .note-color-palette div .note-color-btn:hover {
border: 1px solid #000;
}