|
|
@@ -0,0 +1,403 @@
|
|
|
+.w-e-toolbar * {
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+ outline: none;
|
|
|
+ line-height: 1.5;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar {
|
|
|
+ background-color: var(--w-e-toolbar-bg-color);
|
|
|
+ color: var(--w-e-toolbar-color);
|
|
|
+ font-size: 14px;
|
|
|
+ padding: 0 5px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar svg {
|
|
|
+ fill: var(--w-e-toolbar-color);
|
|
|
+ height: 14px;
|
|
|
+ width: 14px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-show {
|
|
|
+ display: flex
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-hidden {
|
|
|
+ display: none
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-hover-bar {
|
|
|
+ border: 1px solid var(--w-e-toolbar-border-color);
|
|
|
+ border-radius: 3px;
|
|
|
+ box-shadow: 0 2px 5px #0000001f;
|
|
|
+ position: absolute
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-toolbar {
|
|
|
+ flex-wrap: wrap;
|
|
|
+ position: relative
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-divider {
|
|
|
+ background-color: var(--w-e-toolbar-border-color);
|
|
|
+ display: inline-flex;
|
|
|
+ height: 40px;
|
|
|
+ margin: 0 5px;
|
|
|
+ width: 1px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item {
|
|
|
+ display: flex;
|
|
|
+ height: 40px;
|
|
|
+ padding: 4px;
|
|
|
+ position: relative;
|
|
|
+ text-align: center
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item, .w-e-bar-item button {
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item button {
|
|
|
+ background: transparent;
|
|
|
+ border: none;
|
|
|
+ color: var(--w-e-toolbar-color);
|
|
|
+ cursor: pointer;
|
|
|
+ display: inline-flex;
|
|
|
+ height: 32px;
|
|
|
+ overflow: hidden;
|
|
|
+ padding: 0 8px;
|
|
|
+ white-space: nowrap
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item button:hover {
|
|
|
+ background-color: var(--w-e-toolbar-active-bg-color);
|
|
|
+ color: var(--w-e-toolbar-active-color)
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item button .title {
|
|
|
+ margin-left: 5px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item .active {
|
|
|
+ background-color: var(--w-e-toolbar-active-bg-color);
|
|
|
+ color: var(--w-e-toolbar-active-color)
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item .disabled {
|
|
|
+ color: var(--w-e-toolbar-disabled-color);
|
|
|
+ cursor: not-allowed
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item .disabled svg {
|
|
|
+ fill: var(--w-e-toolbar-disabled-color)
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item .disabled:hover {
|
|
|
+ background-color: var(--w-e-toolbar-bg-color);
|
|
|
+ color: var(--w-e-toolbar-disabled-color)
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item .disabled:hover svg {
|
|
|
+ fill: var(--w-e-toolbar-disabled-color)
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-menu-tooltip-v5:before {
|
|
|
+ background-color: var(--w-e-toolbar-active-color);
|
|
|
+ border-radius: 5px;
|
|
|
+ color: var(--w-e-toolbar-bg-color);
|
|
|
+ content: attr(data-tooltip);
|
|
|
+ font-size: .75em;
|
|
|
+ opacity: 0;
|
|
|
+ padding: 5px 10px;
|
|
|
+ position: absolute;
|
|
|
+ text-align: center;
|
|
|
+ top: 40px;
|
|
|
+ transition: opacity .6s;
|
|
|
+ visibility: hidden;
|
|
|
+ white-space: pre;
|
|
|
+ z-index: 1
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-menu-tooltip-v5:after {
|
|
|
+ border: 5px solid transparent;
|
|
|
+ border-bottom: 5px solid var(--w-e-toolbar-active-color);
|
|
|
+ content: "";
|
|
|
+ opacity: 0;
|
|
|
+ position: absolute;
|
|
|
+ top: 30px;
|
|
|
+ transition: opacity .6s;
|
|
|
+ visibility: hidden
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-menu-tooltip-v5:hover:after, .w-e-menu-tooltip-v5:hover:before {
|
|
|
+ opacity: 1;
|
|
|
+ visibility: visible
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-menu-tooltip-v5.tooltip-right:before {
|
|
|
+ left: 100%;
|
|
|
+ top: 10px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-menu-tooltip-v5.tooltip-right:after {
|
|
|
+ border-bottom-color: transparent;
|
|
|
+ border-left-color: transparent;
|
|
|
+ border-right-color: var(--w-e-toolbar-active-color);
|
|
|
+ border-top-color: transparent;
|
|
|
+ left: 100%;
|
|
|
+ margin-left: -10px;
|
|
|
+ top: 16px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item-group .w-e-bar-item-menus-container {
|
|
|
+ background-color: var(--w-e-toolbar-bg-color);
|
|
|
+ border: 1px solid var(--w-e-toolbar-border-color);
|
|
|
+ border-radius: 3px;
|
|
|
+ box-shadow: 0 2px 10px #0000001f;
|
|
|
+ display: none;
|
|
|
+ left: 0;
|
|
|
+ margin-top: 40px;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ z-index: 1
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-item-group:hover .w-e-bar-item-menus-container {
|
|
|
+ display: block
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-select-list {
|
|
|
+ background-color: var(--w-e-toolbar-bg-color);
|
|
|
+ border: 1px solid var(--w-e-toolbar-border-color);
|
|
|
+ border-radius: 3px;
|
|
|
+ box-shadow: 0 2px 10px #0000001f;
|
|
|
+ left: 0;
|
|
|
+ margin-top: 40px;
|
|
|
+ max-height: 350px;
|
|
|
+ min-width: 100px;
|
|
|
+ overflow-y: auto;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ z-index: 1
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-select-list ul {
|
|
|
+ line-height: 1;
|
|
|
+ list-style: none
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-select-list ul .selected {
|
|
|
+ background-color: var(--w-e-toolbar-active-bg-color)
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-select-list ul li {
|
|
|
+ cursor: pointer;
|
|
|
+ padding: 7px 0 7px 25px;
|
|
|
+ position: relative;
|
|
|
+ text-align: left;
|
|
|
+ white-space: nowrap
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-select-list ul li:hover {
|
|
|
+ background-color: var(--w-e-toolbar-active-bg-color)
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-select-list ul li svg {
|
|
|
+ left: 0;
|
|
|
+ margin-left: 5px;
|
|
|
+ margin-top: -7px;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-bottom .w-e-select-list {
|
|
|
+ bottom: 0;
|
|
|
+ margin-bottom: 40px;
|
|
|
+ margin-top: 0;
|
|
|
+ top: inherit
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-drop-panel {
|
|
|
+ background-color: var(--w-e-toolbar-bg-color);
|
|
|
+ border: 1px solid var(--w-e-toolbar-border-color);
|
|
|
+ border-radius: 3px;
|
|
|
+ box-shadow: 0 2px 10px #0000001f;
|
|
|
+ margin-top: 40px;
|
|
|
+ min-width: 200px;
|
|
|
+ padding: 10px;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ z-index: 1
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-bar-bottom .w-e-drop-panel {
|
|
|
+ bottom: 0;
|
|
|
+ margin-bottom: 40px;
|
|
|
+ margin-top: 0;
|
|
|
+ top: inherit
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-modal {
|
|
|
+ background-color: var(--w-e-toolbar-bg-color);
|
|
|
+ border: 1px solid var(--w-e-toolbar-border-color);
|
|
|
+ border-radius: 3px;
|
|
|
+ box-shadow: 0 2px 10px #0000001f;
|
|
|
+ color: var(--w-e-toolbar-color);
|
|
|
+ font-size: 14px;
|
|
|
+ min-height: 40px;
|
|
|
+ min-width: 100px;
|
|
|
+ padding: 20px 15px 0;
|
|
|
+ position: absolute;
|
|
|
+ text-align: left;
|
|
|
+ z-index: 1
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-modal .btn-close {
|
|
|
+ cursor: pointer;
|
|
|
+ line-height: 1;
|
|
|
+ padding: 5px;
|
|
|
+ position: absolute;
|
|
|
+ right: 8px;
|
|
|
+ top: 7px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-modal .btn-close svg {
|
|
|
+ fill: var(--w-e-toolbar-color);
|
|
|
+ height: 10px;
|
|
|
+ width: 10px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-modal .babel-container {
|
|
|
+ display: block;
|
|
|
+ margin-bottom: 15px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-modal .babel-container span {
|
|
|
+ display: block;
|
|
|
+ margin-bottom: 10px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-modal .button-container {
|
|
|
+ margin-bottom: 15px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-modal button {
|
|
|
+ background-color: var(--w-e-modal-button-bg-color);
|
|
|
+ border: 1px solid var(--w-e-modal-button-border-color);
|
|
|
+ border-radius: 4px;
|
|
|
+ color: var(--w-e-toolbar-color);
|
|
|
+ cursor: pointer;
|
|
|
+ font-weight: 400;
|
|
|
+ height: 32px;
|
|
|
+ padding: 4.5px 15px;
|
|
|
+ text-align: center;
|
|
|
+ touch-action: manipulation;
|
|
|
+ transition: all .3s cubic-bezier(.645, .045, .355, 1);
|
|
|
+ -webkit-user-select: none;
|
|
|
+ -moz-user-select: none;
|
|
|
+ user-select: none;
|
|
|
+ white-space: nowrap
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-modal input[type=number], .w-e-modal input[type=text], .w-e-modal textarea {
|
|
|
+ font-feature-settings: "tnum";
|
|
|
+ background-color: var(--w-e-toolbar-bg-color);
|
|
|
+ border: 1px solid var(--w-e-modal-button-border-color);
|
|
|
+ border-radius: 4px;
|
|
|
+ color: var(--w-e-toolbar-color);
|
|
|
+ font-variant: tabular-nums;
|
|
|
+ padding: 4.5px 11px;
|
|
|
+ transition: all .3s;
|
|
|
+ width: 100%
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-modal textarea {
|
|
|
+ min-height: 60px
|
|
|
+}
|
|
|
+
|
|
|
+body .w-e-modal, body .w-e-modal * {
|
|
|
+ box-sizing: border-box
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+.w-e-panel-content-color {
|
|
|
+ list-style: none;
|
|
|
+ text-align: left;
|
|
|
+ width: 230px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-color li {
|
|
|
+ border: 1px solid var(--w-e-toolbar-bg-color);
|
|
|
+ border-radius: 3px 3px;
|
|
|
+ cursor: pointer;
|
|
|
+ display: inline-block;
|
|
|
+ padding: 2px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-color li:hover {
|
|
|
+ border-color: var(--w-e-toolbar-color)
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-color li .color-block {
|
|
|
+ border: 1px solid var(--w-e-toolbar-border-color);
|
|
|
+ border-radius: 3px 3px;
|
|
|
+ height: 17px;
|
|
|
+ width: 17px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-color .active {
|
|
|
+ border-color: var(--w-e-toolbar-color)
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-color .clear {
|
|
|
+ line-height: 1.5;
|
|
|
+ margin-bottom: 5px;
|
|
|
+ width: 100%
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-color .clear svg {
|
|
|
+ height: 16px;
|
|
|
+ margin-bottom: -4px;
|
|
|
+ width: 16px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-emotion {
|
|
|
+ font-size: 20px;
|
|
|
+ list-style: none;
|
|
|
+ text-align: left;
|
|
|
+ width: 300px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-emotion li {
|
|
|
+ border-radius: 3px 3px;
|
|
|
+ cursor: pointer;
|
|
|
+ display: inline-block;
|
|
|
+ padding: 0 5px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-emotion li:hover {
|
|
|
+ background-color: var(--w-e-textarea-slight-bg-color)
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-table {
|
|
|
+ background-color: var(--w-e-toolbar-bg-color)
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-table table {
|
|
|
+ border-collapse: collapse
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-table td {
|
|
|
+ border: 1px solid var(--w-e-toolbar-border-color);
|
|
|
+ cursor: pointer;
|
|
|
+ height: 15px;
|
|
|
+ padding: 3px 5px;
|
|
|
+ width: 20px
|
|
|
+}
|
|
|
+
|
|
|
+.w-e-panel-content-table td.active {
|
|
|
+ background-color: var(--w-e-toolbar-active-bg-color)
|
|
|
+}
|