You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
2.7 KiB

  1. @charset "UTF-8";
  2. /*!
  3. * jQuery contextMenu - Plugin for simple contextMenu handling
  4. *
  5. * Version: v2.2.5-dev
  6. *
  7. * Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF)
  8. * Web: http://swisnl.github.io/jQuery-contextMenu/
  9. *
  10. * Copyright (c) 2011-2016 SWIS BV and contributors
  11. *
  12. * Licensed under
  13. * MIT License http://www.opensource.org/licenses/mit-license
  14. *
  15. * Date: 2016-08-27T11:09:08.919Z
  16. */
  17. .context-menu-icon {
  18. display: list-item;
  19. font-family: inherit;
  20. }
  21. .context-menu-icon::before {
  22. position: absolute;
  23. top: 50%;
  24. left: 0;
  25. width: 2em;
  26. font-family: FontAwesome;
  27. font-size: 14px;
  28. font-style: normal;
  29. font-weight: normal;
  30. line-height: 1;
  31. color: $primary;
  32. text-align: center;
  33. -webkit-transform: translateY(-50%);
  34. -ms-transform: translateY(-50%);
  35. -o-transform: translateY(-50%);
  36. transform: translateY(-50%);
  37. -webkit-font-smoothing: antialiased;
  38. -moz-osx-font-smoothing: grayscale;
  39. }
  40. .context-menu-icon.context-menu-hover:before {
  41. color: #fff;
  42. }
  43. .context-menu-icon.context-menu-disabled::before {
  44. color: #bbb;
  45. }
  46. .context-menu-list {
  47. position: absolute;
  48. display: inline-block;
  49. min-width: 13em;
  50. max-width: 26em;
  51. padding: 0 0;
  52. margin: .3em;
  53. font-family: inherit;
  54. font-size: 14px;
  55. list-style-type: none;
  56. background: #fff;
  57. border: 1px solid $primary;
  58. border-radius: .2em;
  59. -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
  60. box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
  61. }
  62. .context-menu-item {
  63. position: relative;
  64. padding: 7px 2em;
  65. color: #69707a;
  66. -webkit-user-select: none;
  67. -moz-user-select: none;
  68. -ms-user-select: none;
  69. user-select: none;
  70. background-color: #fff;
  71. font-size: 14px;
  72. text-align: left;
  73. }
  74. .context-menu-separator {
  75. padding: 0;
  76. margin: .35em 0;
  77. border-bottom: 1px solid #e6e6e6;
  78. }
  79. .context-menu-item.context-menu-hover {
  80. color: #fff;
  81. cursor: pointer;
  82. background-color: $primary;
  83. }
  84. .context-menu-item.context-menu-disabled {
  85. color: #bbb;
  86. cursor: default;
  87. background-color: #fff;
  88. }
  89. .context-menu-input.context-menu-hover {
  90. cursor: default;
  91. }
  92. .context-menu-submenu:after {
  93. position: absolute;
  94. top: 50%;
  95. right: .5em;
  96. z-index: 1;
  97. width: 0;
  98. height: 0;
  99. content: '';
  100. border-color: transparent transparent transparent #2f2f2f;
  101. border-style: solid;
  102. border-width: .25em 0 .25em .25em;
  103. -webkit-transform: translateY(-50%);
  104. -ms-transform: translateY(-50%);
  105. -o-transform: translateY(-50%);
  106. transform: translateY(-50%);
  107. }
  108. .context-menu-item > .context-menu-list {
  109. top: .3em;
  110. /* re-positioned by js */
  111. right: -.3em;
  112. display: none;
  113. }
  114. .context-menu-item.context-menu-visible > .context-menu-list {
  115. display: block;
  116. }
  117. .context-menu-accesskey {
  118. text-decoration: underline;
  119. }