ace.onpage-help.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /**
  2. You don't need this file.
  3. It's used for Ace demo only, to style the button that launches help, help content, etc ...
  4. */
  5. .onpage-help-container:focus, .onpage-help-toggle-btn:focus {
  6. outline: none;
  7. }
  8. .onpage-help-toggle-container {
  9. position: fixed;
  10. top: 135px;
  11. }
  12. .onpage-help-toggle-container.active {
  13. z-index: 100001;
  14. }
  15. @media (min-width: 768px) {
  16. .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
  17. right: auto;
  18. margin-left: 690px;
  19. }
  20. .rtl .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
  21. right: auto;
  22. left: auto;
  23. margin-left: auto;
  24. margin-right: 690px;
  25. }
  26. }
  27. @media (min-width: 992px) {
  28. .h-navbar ~ .onpage-help-container .onpage-help-toggle-container {
  29. margin-top: 48px;
  30. }
  31. .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
  32. right: auto;
  33. margin-left: 910px;
  34. }
  35. .rtl .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
  36. right: auto;
  37. left: auto;
  38. margin-left: auto;
  39. margin-right: 910px;
  40. }
  41. }
  42. @media (min-width: 1200px) {
  43. .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
  44. right: auto;
  45. margin-left: 1110px;
  46. }
  47. .rtl .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
  48. right: auto;
  49. left: auto;
  50. margin-left: auto;
  51. margin-right: 1110px;
  52. }
  53. }
  54. .onpage-help-toggle-text {
  55. -moz-animation: pulsating 2s 2 linear 1s;
  56. -webkit-animation: pulsating 2s 2 linear 1s;
  57. -o-animation: pulsating 2s 2 linear 1s;
  58. -ms-animation: pulsating 2s 2 linear 1s;
  59. animation: pulsating 2s 2 linear 1s;
  60. }
  61. .onpage-help-content {
  62. background-color: #FFF;
  63. padding: 8px 12px;
  64. border-top: 1px solid #C5D0DC;
  65. }
  66. .onpage-help-content:only-of-type {
  67. border-top-width: 0;
  68. }
  69. .onpage-help-content .help-content + .hr {
  70. border-width: 0 0;
  71. border-style: dotted;
  72. margin: 16px 0;
  73. }
  74. .onpage-help-content .help-title {
  75. border-bottom: 2px solid #DCE8F1;
  76. padding-bottom: 8px;
  77. }
  78. .onpage-help-content .panel-help {
  79. border-radius: 0;
  80. border-width: 0 0 1px;
  81. border-bottom: 1px solid #DCE8F1;
  82. box-shadow: none;
  83. }
  84. .onpage-help-content .panel-help > .panel-heading {
  85. color: #4383B4;
  86. background-color: transparent;
  87. margin-bottom: 5px;
  88. }
  89. .onpage-help-content .panel-help > .panel-heading > .panel-title {
  90. font-size: 18px;
  91. }
  92. .onpage-help-content .panel-help > .panel-heading > .panel-title > a:focus {
  93. outline: none;
  94. }
  95. .onpage-help-content .panel-help > .panel-heading > .panel-title > a:hover {
  96. background-color: #DCE8F1;
  97. text-decoration: none;
  98. }
  99. .onpage-help-content .panel-default > .panel-heading + .panel-collapse .panel-body {
  100. border-top-style: dotted;
  101. }
  102. @media (max-width: 767px) {
  103. .onpage-help-content .panel-default > .panel-heading,
  104. .onpage-help-content .panel-default > .panel-heading + .panel-collapse .panel-body {
  105. padding-right: 5px;
  106. padding-left: 5px;
  107. }
  108. .onpage-help-content .thumbnail {
  109. max-width: 100%;
  110. }
  111. .onpage-help-content .thumbnail img {
  112. max-width: 100%;
  113. }
  114. .onpage-help-modal .modal-body {
  115. padding-right: 10px;
  116. padding-left: 10px;
  117. }
  118. .onpage-help-modal .modal-title code {
  119. white-space: normal;
  120. }
  121. }
  122. .onpage-help-modal .modal-title {
  123. color: #478FCA;
  124. }
  125. .onpage-help-content .info-list {
  126. margin: 0;
  127. }
  128. .onpage-help-content .info-list > li:nth-child(odd) > .ace-icon:first-child {
  129. color: #478FCA;
  130. }
  131. .onpage-help-content .info-list > li:nth-child(even) > .ace-icon:first-child {
  132. color: #69AA46;
  133. }
  134. .onpage-help-content .info-list > li:not(.hr) {
  135. margin-top: 0;
  136. margin-bottom: 0;
  137. padding: 16px 12px;
  138. line-height: 22px;
  139. }
  140. .onpage-help-content .info-list > li:not(.hr):nth-child(even) {
  141. background-color: #FFF;
  142. border: 1px solid #E9E9E9;
  143. }
  144. .onpage-help-content .info-list > li:not(.hr):nth-child(odd) {
  145. background-color: #F0F4F9;
  146. }
  147. .onpage-help-content .info-list > li:not(.hr):nth-child(even) code {
  148. background-color: #F0F4F9;
  149. }
  150. .onpage-help-content .info-list > li:not(.hr):nth-child(odd) code {
  151. background-color: #FFF;
  152. }
  153. .onpage-help-content .help-more {
  154. color: #425663;
  155. border-bottom: 1px dotted #AAA;
  156. padding-bottom: 1px;
  157. }
  158. .onpage-help-content .help-more:hover {
  159. text-decoration: none;
  160. border-bottom-color: #628DB2;
  161. background-color: #E4EAC7;
  162. }
  163. .onpage-help-content u.dotted {
  164. text-decoration: none;
  165. border-bottom: 1px dotted #999;
  166. }
  167. /* because .close here is a rainbow highlighted token not a bootstrap close button */
  168. .onpage-help-content pre .close {
  169. float: inherit;
  170. font-size: inherit;
  171. font-weight: inherit;
  172. line-height: inherit;
  173. opacity: inherit;
  174. text-shadow: inherit;
  175. }
  176. .onpage-help-content .open-file {
  177. cursor: pointer;
  178. -webkit-transition: all 0.12s;
  179. transition: all 0.12s;
  180. }
  181. .onpage-help-content .open-file:hover {
  182. background-color: #CEE0EA !important;
  183. }
  184. .onpage-help-content .open-file .brief-show {
  185. display: none;
  186. }
  187. .onpage-help-content .open-file:hover .brief-show {
  188. display: inline;
  189. }
  190. .onpage-help-content a[href^="http"]:before {
  191. font-family: FontAwesome;
  192. font-size: 15px;
  193. content: "\f08e";
  194. display: inline;
  195. margin-right: 3px;
  196. }