mirror of https://github.com/Requarks/wiki.git
12 changed files with 501 additions and 50 deletions
Split View
Diff Options
-
2assets/css/app.css
-
2assets/js/app.js
-
67assets/js/libs.js
-
132client/js/components/editor-image.js
-
1client/scss/app.scss
-
47client/scss/components/_editor.scss
-
131client/scss/libs/jquery-contextmenu.scss
-
56controllers/uploads.js
-
2gulpfile.js
-
88models/localdata.js
-
19package.json
-
4views/modals/editor-image.pug
2
assets/css/app.css
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
2
assets/js/app.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
67
assets/js/libs.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,131 @@ |
|||
@charset "UTF-8"; |
|||
/*! |
|||
* jQuery contextMenu - Plugin for simple contextMenu handling |
|||
* |
|||
* Version: v2.2.5-dev |
|||
* |
|||
* Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF) |
|||
* Web: http://swisnl.github.io/jQuery-contextMenu/ |
|||
* |
|||
* Copyright (c) 2011-2016 SWIS BV and contributors |
|||
* |
|||
* Licensed under |
|||
* MIT License http://www.opensource.org/licenses/mit-license |
|||
* |
|||
* Date: 2016-08-27T11:09:08.919Z |
|||
*/ |
|||
|
|||
.context-menu-icon { |
|||
display: list-item; |
|||
font-family: inherit; |
|||
} |
|||
.context-menu-icon::before { |
|||
position: absolute; |
|||
top: 50%; |
|||
left: 0; |
|||
width: 2em; |
|||
font-family: FontAwesome; |
|||
font-size: 14px; |
|||
font-style: normal; |
|||
font-weight: normal; |
|||
line-height: 1; |
|||
color: $primary; |
|||
text-align: center; |
|||
-webkit-transform: translateY(-50%); |
|||
-ms-transform: translateY(-50%); |
|||
-o-transform: translateY(-50%); |
|||
transform: translateY(-50%); |
|||
|
|||
-webkit-font-smoothing: antialiased; |
|||
-moz-osx-font-smoothing: grayscale; |
|||
} |
|||
.context-menu-icon.context-menu-hover:before { |
|||
color: #fff; |
|||
} |
|||
.context-menu-icon.context-menu-disabled::before { |
|||
color: #bbb; |
|||
} |
|||
|
|||
.context-menu-list { |
|||
position: absolute; |
|||
display: inline-block; |
|||
min-width: 13em; |
|||
max-width: 26em; |
|||
padding: 0 0; |
|||
margin: .3em; |
|||
font-family: inherit; |
|||
font-size: 14px; |
|||
list-style-type: none; |
|||
background: #fff; |
|||
border: 1px solid $primary; |
|||
border-radius: .2em; |
|||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .25); |
|||
box-shadow: 0 2px 5px rgba(0, 0, 0, .25); |
|||
} |
|||
|
|||
.context-menu-item { |
|||
position: relative; |
|||
padding: 7px 2em; |
|||
color: #69707a; |
|||
-webkit-user-select: none; |
|||
-moz-user-select: none; |
|||
-ms-user-select: none; |
|||
user-select: none; |
|||
background-color: #fff; |
|||
font-size: 14px; |
|||
text-align: left; |
|||
} |
|||
|
|||
.context-menu-separator { |
|||
padding: 0; |
|||
margin: .35em 0; |
|||
border-bottom: 1px solid #e6e6e6; |
|||
} |
|||
|
|||
.context-menu-item.context-menu-hover { |
|||
color: #fff; |
|||
cursor: pointer; |
|||
background-color: $primary; |
|||
} |
|||
|
|||
.context-menu-item.context-menu-disabled { |
|||
color: #bbb; |
|||
cursor: default; |
|||
background-color: #fff; |
|||
} |
|||
|
|||
.context-menu-input.context-menu-hover { |
|||
cursor: default; |
|||
} |
|||
|
|||
.context-menu-submenu:after { |
|||
position: absolute; |
|||
top: 50%; |
|||
right: .5em; |
|||
z-index: 1; |
|||
width: 0; |
|||
height: 0; |
|||
content: ''; |
|||
border-color: transparent transparent transparent #2f2f2f; |
|||
border-style: solid; |
|||
border-width: .25em 0 .25em .25em; |
|||
-webkit-transform: translateY(-50%); |
|||
-ms-transform: translateY(-50%); |
|||
-o-transform: translateY(-50%); |
|||
transform: translateY(-50%); |
|||
} |
|||
|
|||
.context-menu-item > .context-menu-list { |
|||
top: .3em; |
|||
/* re-positioned by js */ |
|||
right: -.3em; |
|||
display: none; |
|||
} |
|||
|
|||
.context-menu-item.context-menu-visible > .context-menu-list { |
|||
display: block; |
|||
} |
|||
|
|||
.context-menu-accesskey { |
|||
text-decoration: underline; |
|||
} |
Write
Preview
Loading…
Cancel
Save