index.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. .try .drops {
  2. margin: 0;
  3. list-style: none;
  4. float: right;
  5. }
  6. .try .drops li {
  7. float: left;
  8. width: auto;
  9. height: auto;
  10. text-indent: 0;
  11. font-size: 26px;
  12. line-height: normal;
  13. margin: 0 12px;
  14. cursor: pointer;
  15. }
  16. .try .drops li a:hover,
  17. .try .drops li a:focus {
  18. text-decoration: none;
  19. }
  20. .try .drops li h4 {
  21. color: #999;
  22. }
  23. .try .drops li.active h4,
  24. .try .drops li.active:hover h4 {
  25. color: #0072c6;
  26. }
  27. .try .drops li:hover h4 {
  28. color: rgba(0, 114, 198, 0.5);
  29. }
  30. .try .editor.row {
  31. padding: 18px 0;
  32. }
  33. .try .row h4 {
  34. padding-bottom: 6px;
  35. }
  36. .try .tile {
  37. position: relative;
  38. height: 72px;
  39. border: 1px solid #ddd;
  40. text-align: right;
  41. overflow: hidden;
  42. cursor: pointer;
  43. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  44. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  45. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  46. -webkit-box-sizing: border-box;
  47. -o-box-sizing: border-box;
  48. -moz-box-sizing: border-box;
  49. -ms-box-sizing: border-box;
  50. box-sizing: border-box;
  51. }
  52. .try .tile:hover {
  53. -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  54. -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  55. box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  56. }
  57. .try .tile h4 {
  58. margin: 0;
  59. position: absolute;
  60. right: 12px;
  61. bottom: 12px;
  62. z-index: 1;
  63. }
  64. .try .tile .glyph {
  65. position: absolute;
  66. left: 12px;
  67. bottom: -6px;
  68. background: url('../img/cloud.png') no-repeat;
  69. background-size: 80px 43px;
  70. height: 43px;
  71. width: 80px;
  72. opacity: 0.5;
  73. transition: opacity 0.5s ease, bottom 0.5s ease;
  74. -webkit-transition: opacity 0.5s ease, bottom 0.5s ease;
  75. }
  76. .try .tile:hover .glyph {
  77. opacity: 1;
  78. bottom: -2px;
  79. }
  80. .try .editor.row h4 small {
  81. color: #555;
  82. }
  83. .try .editor.row .control-label {
  84. display: inline-block;
  85. position: relative;
  86. top: -4px;
  87. margin-right: 4px;
  88. }
  89. .try .editor.row .monaco-editor .find-widget input[type='text'] {
  90. margin-bottom: 0;
  91. -webkit-box-shadow: none;
  92. -moz-box-shadow: none;
  93. box-shadow: none;
  94. -webkit-transition: none;
  95. -moz-transition: none;
  96. -o-transition: none;
  97. transition: none;
  98. }
  99. .try .editor.row .monaco-editor .find-widget .monaco-checkbox .label {
  100. min-height: 20px;
  101. min-width: 20px;
  102. }
  103. .try .editor.row .monaco-editor .find-widget .close {
  104. float: none;
  105. opacity: 1;
  106. }
  107. .try .editor .editor-frame {
  108. position: relative;
  109. }
  110. .try .editor .editor-frame #editor,
  111. .try .editor .editor-frame #diff-editor {
  112. height: 400px;
  113. margin-bottom: 10px;
  114. border: 1px solid #eee;
  115. }
  116. .try .editor .editor-frame .loading {
  117. position: absolute;
  118. height: 100%;
  119. width: 100%;
  120. background-color: rgba(255, 255, 255, 0.5);
  121. margin: 0 auto;
  122. display: none;
  123. z-index: 100;
  124. }
  125. .try .editor .editor-frame .progress {
  126. width: 50%;
  127. margin: 15% auto 0;
  128. }
  129. .try .editor .editor-frame .progress .bar {
  130. width: 100%;
  131. background-color: #4bb1cf;
  132. }
  133. .try .editor .editor-frame #editor .alert,
  134. .try .editor .editor-frame #diff-editor .alert {
  135. margin: 18% auto 0;
  136. width: 30%;
  137. text-align: center;
  138. color: #b94a48;
  139. background-color: #f2dede;
  140. border-color: #eed3d7;
  141. }
  142. .try .editor #editor .monaco-editor .row,
  143. .try .editor #diff-editor .monaco-editor .row {
  144. margin-left: 0;
  145. }
  146. .try .editor .vs.monaco-editor .context-view.monaco-menu-container a {
  147. color: #646465;
  148. }
  149. .try .editor .vs-dark.monaco-editor .context-view.monaco-menu-container a {
  150. color: #bbb;
  151. }
  152. @media (min-width: 1200px) {
  153. .try .editor .row {
  154. margin-left: 0px;
  155. }
  156. }
  157. @media (max-width: 767px) {
  158. .try .container {
  159. margin: 0 24px;
  160. }
  161. .try .tile h4 {
  162. right: 6px;
  163. }
  164. .try .editor > .span9 .row .span4 {
  165. float: left;
  166. width: 50%;
  167. }
  168. .try .editor h4 {
  169. margin-top: 0;
  170. }
  171. }
  172. @media (max-width: 520px) {
  173. .try .editor > .span3 p,
  174. .try .editor > .span3 h4 {
  175. display: none;
  176. }
  177. }
  178. @media (max-width: 320px) {
  179. .try .editor > .span9 {
  180. display: none;
  181. }
  182. }
  183. /* ------- BEGIN bootstrap fixes for the editor ------- */
  184. .monaco-editor .container:before,
  185. .monaco-editor .row:before {
  186. content: '';
  187. display: inherit;
  188. }
  189. .monaco-editor .container:after,
  190. .monaco-editor .row:after {
  191. clear: inherit;
  192. }
  193. .monaco-editor .container {
  194. width: auto;
  195. margin: inherit;
  196. padding: inherit;
  197. }
  198. .monaco-editor .close {
  199. float: none;
  200. font-size: inherit;
  201. font-weight: inherit;
  202. line-height: inherit;
  203. color: inherit;
  204. text-shadow: inherit;
  205. opacity: inherit;
  206. filter: inherit;
  207. }
  208. .monaco-editor .row {
  209. margin: inherit;
  210. }
  211. .monaco-editor .invisible {
  212. visibility: visible;
  213. }
  214. /* ------- END bootstrap fixes for the editor ------- */