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.
 
 
 
 
 

216 lines
4.6 KiB

  1. /**
  2. * This file provides styles for magic matcher plugin
  3. */
  4. /* + + + + + + + + + + + + + + + + + + + + + + + */
  5. /* magic matcher bar with form on top of page */
  6. #spr__magic-matcher {
  7. position: fixed;
  8. top: 0;
  9. left: 0;
  10. width: 100%;
  11. .container {
  12. @media @screen_md-lg {
  13. margin-left: 1.8rem;
  14. }
  15. }
  16. #mm__issueselect_chosen {
  17. max-width: 50%;
  18. }
  19. select[name="mmissues"] + div.chosen-container {
  20. max-width: 67%;
  21. }
  22. button[name="toggleSuggestions"] {
  23. position: absolute;
  24. right: 0;
  25. top: 0;
  26. border: 0;
  27. border-bottom: 1px solid @ini_border;
  28. border-left: 1px solid @ini_border;
  29. color: @ini_nav_menu_color;
  30. background: #fff;
  31. border-radius: 0;
  32. border-bottom-left-radius: 5px;
  33. &:hover,
  34. &:focus,
  35. &:active {
  36. border-color: @ini_button_background;
  37. color: @ini_button_background;
  38. }
  39. }
  40. #magicmatcher__context {
  41. position: relative;
  42. width: 100%;
  43. min-height: @height-context-bar;
  44. box-sizing: border-box;
  45. box-shadow: @box-shadow;
  46. background-color: @ini_background;
  47. border-radius: 0 0 @ini_default_border_radius @ini_default_border_radius;
  48. font-size: @font-size-default;
  49. padding: .8em 1em .5em;
  50. margin-bottom: 0;
  51. .chosen-container-single,
  52. .chosen-container-single *,
  53. #mm_issue_loading,
  54. .mm__status,
  55. .toggleSuggestions {
  56. font-size: @font-size-default;
  57. }
  58. .chosen-container-single {
  59. .chosen-single span {
  60. line-height: @line-height-bigger;
  61. }
  62. }
  63. @media @screen_max-md {
  64. padding-top: @margin-default;
  65. .chosen-container {
  66. display: block;
  67. min-width: 100%;
  68. max-width: 100%;
  69. margin-bottom: .5rem;
  70. }
  71. }
  72. }
  73. }
  74. /* + + + + + in content + + + + + */
  75. a.jiralink {
  76. font-size: @font-size-default;
  77. img {
  78. float: left;
  79. display: inline-block;
  80. margin-top: .13em;
  81. margin-right: 3px;
  82. }
  83. span.mm__status {
  84. display: inline-block;
  85. font-size: @font-size-default;
  86. margin-left: 5px;
  87. padding: 1px 4px;
  88. }
  89. }
  90. /* + + + + + tooltip in metabox + + + + + */
  91. .dokuwiki {
  92. .serverToolTip {
  93. box-shadow: @box-shadow;
  94. border-radius: @fix_border-radius;
  95. font-size: @font-size-default;
  96. h1.issueTitle {
  97. font-size: @font-size-default;
  98. }
  99. h2 {
  100. font-size: @font-size-small;
  101. }
  102. ul {
  103. margin-top: @small-spacing;
  104. }
  105. p,
  106. li {
  107. font-size: (@font-size-small - .06);
  108. * {
  109. font-size: inherit;
  110. }
  111. }
  112. p {
  113. margin-top: @small-spacing;
  114. margin-bottom: @small-spacing;
  115. }
  116. .components {
  117. .component {
  118. font-size: (@font-size-small - .06);
  119. }
  120. }
  121. .labels {
  122. .label {
  123. font-size: (@font-size-small - .06);
  124. }
  125. }
  126. .descriptionTeaser {
  127. font-size: (@font-size-small - .06);
  128. margin-top: (@small-spacing * 2);
  129. margin-bottom: (@small-spacing * 2);
  130. }
  131. }
  132. }
  133. /* + + + + + no js version + + + + + */
  134. .no-js {
  135. #spr__magic-matcher {
  136. display: none;
  137. }
  138. }
  139. .do-admin #dokuwiki__content {
  140. #magicmatcher__repoadmin,
  141. #magicmatcher_adminimport {
  142. .tabs li {
  143. a {
  144. cursor: pointer;
  145. }
  146. &.active {
  147. a {
  148. cursor: default;
  149. }
  150. }
  151. }
  152. .service_wrapper > a{
  153. display: inline-block;
  154. margin-top: 20px;
  155. }
  156. }
  157. }
  158. /* + + + + + + + + + + + + + + + + + + + + + + + + + + */
  159. /* max-width: 1023px */
  160. @media @screen_max-lg {
  161. #spr__magic-matcher {
  162. #magicmatcher__context {
  163. .chosen-container-single {
  164. width: 20% !important;
  165. + select + .chosen-container-single {
  166. width: 58% !important;
  167. }
  168. }
  169. }
  170. }
  171. }
  172. @media @screen_max-md {
  173. #spr__magic-matcher {
  174. display: none;
  175. }
  176. }
  177. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  178. /* print */
  179. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  180. @media print {
  181. #spr__magic-matcher {
  182. display: none;
  183. }
  184. }