base.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. h1 {
  2. font-size: 45px;
  3. }
  4. .intro-code {
  5. margin-top: 20px;
  6. }
  7. pre.highlight code * {
  8. white-space: nowrap; /* this sets all children inside to nowrap */
  9. }
  10. pre.highlight {
  11. overflow-x: auto; /* this sets the scrolling in x */
  12. }
  13. pre.highlight code {
  14. white-space: pre; /* forces <code> to respect <pre> formatting */
  15. }
  16. .main-container {
  17. padding-left: 30px;
  18. padding-right: 30px;
  19. }
  20. .btn:focus,
  21. .btn:focus:active {
  22. outline: none;
  23. }
  24. .sidebar {
  25. overflow: auto;
  26. font-family: verdana, sans-serif;
  27. font-size: 12px;
  28. font-weight: 200;
  29. background-color: #2e353d;
  30. position: fixed;
  31. top: 0px;
  32. width: 225px;
  33. height: 100%;
  34. color: #FFF;
  35. }
  36. .sidebar .brand {
  37. background-color: #23282e;
  38. display: block;
  39. text-align: center;
  40. padding: 25px 0;
  41. margin-top: 0;
  42. margin-bottom: 0;
  43. }
  44. .sidebar .brand a {
  45. color: #FFF;
  46. }
  47. .sidebar .brand a:hover,
  48. .sidebar .brand a:active,
  49. .sidebar .brand a:focus {
  50. text-decoration: none;
  51. }
  52. .sidebar .toggle-btn {
  53. display: none;
  54. }
  55. .sidebar .menu-list {
  56. width: inherit;
  57. }
  58. .sidebar .menu-list ul,
  59. .sidebar .menu-list li {
  60. background: #2e353d;
  61. list-style: none;
  62. padding: 0px;
  63. margin: 0px;
  64. line-height: 35px;
  65. cursor: pointer;
  66. }
  67. .sidebar .menu-list ul :not(collapsed) .arrow:before,
  68. .sidebar .menu-list li :not(collapsed) .arrow:before {
  69. font-family: FontAwesome;
  70. content: "\f078";
  71. display: inline-block;
  72. padding-left: 10px;
  73. padding-right: 10px;
  74. vertical-align: middle;
  75. float: right;
  76. }
  77. .sidebar .menu-list ul .active,
  78. .sidebar .menu-list li .active {
  79. border-left: 3px solid #d19b3d;
  80. background-color: #4f5b69;
  81. }
  82. .sidebar .menu-list ul .sub-menu li.active,
  83. .sidebar .menu-list li .sub-menu li.active {
  84. color: #d19b3d;
  85. }
  86. .sidebar .menu-list ul .sub-menu li.active a,
  87. .sidebar .menu-list li .sub-menu li.active a {
  88. color: #d19b3d;
  89. }
  90. .sidebar .menu-list ul .sub-menu li,
  91. .sidebar .menu-list li .sub-menu li {
  92. background-color: #181c20;
  93. border: none;
  94. border-bottom: 1px solid #23282e;
  95. margin-left: 0px;
  96. line-height: 1.4;
  97. padding-top: 10px;
  98. padding-bottom: 10px;
  99. padding-right: 10px;
  100. padding-left: 25px;
  101. }
  102. .sidebar .menu-list ul .sub-menu li:hover,
  103. .sidebar .menu-list li .sub-menu li:hover {
  104. background-color: #020203;
  105. }
  106. .sidebar .menu-list ul .sub-menu li a,
  107. .sidebar .menu-list li .sub-menu li a {
  108. display: block;
  109. }
  110. .sidebar .menu-list ul .sub-menu li a:before,
  111. .sidebar .menu-list li .sub-menu li a:before {
  112. font-family: FontAwesome;
  113. font-size: 14px;
  114. font-weight: bold;
  115. content: "\f105";
  116. display: inline;
  117. vertical-align: middle;
  118. padding-left: 0;
  119. padding-right: 7px;
  120. margin-left: -12px;
  121. }
  122. .sidebar .menu-list li {
  123. padding-left: 0px;
  124. border-left: 3px solid #2e353d;
  125. border-bottom: 1px solid #23282e;
  126. }
  127. .sidebar .menu-list li a {
  128. text-decoration: none;
  129. color: white;
  130. }
  131. .sidebar .menu-list li a i {
  132. padding-left: 10px;
  133. width: 20px;
  134. padding-right: 20px;
  135. }
  136. .sidebar .menu-list li:hover {
  137. border-left: 3px solid #d19b3d;
  138. background-color: #4f5b69;
  139. -webkit-transition: all 1s ease;
  140. -moz-transition: all 1s ease;
  141. -o-transition: all 1s ease;
  142. -ms-transition: all 1s ease;
  143. transition: all 1s ease;
  144. }
  145. .sidebar #menu-content {
  146. padding-bottom: 70px;
  147. }
  148. body {
  149. margin: 0px;
  150. padding: 0px;
  151. }
  152. .coredocs-section-title {
  153. margin-top: 20px;
  154. padding-bottom: 10px;
  155. border-bottom: 1px solid lightgrey;
  156. }
  157. .coredocs-link-title a,
  158. .coredocs-section-title a {
  159. display: none;
  160. }
  161. .coredocs-link-title a,
  162. .coredocs-section-title a {
  163. text-decoration: none;
  164. }
  165. .coredocs-link-title:hover a,
  166. .coredocs-section-title:hover a {
  167. display: inline;
  168. font-size: 20px;
  169. }
  170. .coredocs-section-title:last-child {
  171. margin-top: 0;
  172. }
  173. /* @group Language Switcher */
  174. .sidebar .menu-list.menu-list-bottom {
  175. margin-bottom: 0;
  176. position: fixed;
  177. width: inherit;
  178. bottom: 0;
  179. left: 0;
  180. right: 0;
  181. border-top: 1px solid #23282e;
  182. }
  183. .sidebar .menu-list-bottom li span {
  184. float: right;
  185. margin-right: 20px;
  186. color: #d19b3d;
  187. }
  188. /* @end Language Switcher */
  189. /* @group Docs Content */
  190. .docs-content .meta .label {
  191. vertical-align: middle;
  192. font-size: 14px;
  193. font-weight: normal;
  194. }
  195. .docs-content .meta code {
  196. vertical-align: middle;
  197. padding: .2em .6em .3em;
  198. font-size: 14px;
  199. }
  200. .docs-content .btn {
  201. font-size: inherit;
  202. }
  203. .code-samples pre {
  204. margin-top: 20px;
  205. }
  206. /* @end Docs Content */
  207. @media (max-width: 767px) {
  208. .main-container {
  209. padding-left: 15px;
  210. padding-right: 15px;
  211. }
  212. .sidebar {
  213. position: relative;
  214. width: 100%;
  215. margin-bottom: 10px;
  216. overflow: visible;
  217. }
  218. .sidebar .toggle-btn {
  219. display: block;
  220. cursor: pointer;
  221. position: absolute;
  222. right: 10px;
  223. top: 10px;
  224. z-index: 10 !important;
  225. padding: 3px;
  226. width: 40px;
  227. text-align: center;
  228. }
  229. .sidebar .menu-list.menu-list-bottom {
  230. position: static;
  231. }
  232. .sidebar .brand {
  233. margin-top: 0;
  234. margin-bottom: 0;
  235. text-align: left !important;
  236. font-size: 22px;
  237. padding: 0;
  238. padding-left: 20px;
  239. line-height: 50px !important;
  240. }
  241. }
  242. @media (min-width: 767px) {
  243. .sidebar .menu-list .menu-content {
  244. display: block;
  245. }
  246. #main {
  247. width:calc(100% - 225px);
  248. float: right;
  249. }
  250. }
  251. @media (min-width: 992px) {
  252. .modal-lg {
  253. width: 980px;
  254. }
  255. }
  256. .api-modal .modal-title .fa {
  257. color: #93c54b;
  258. }
  259. .api-modal .modal-body .request-awaiting {
  260. padding: 35px 10px;
  261. color: #7F8177;
  262. text-align: center;
  263. }
  264. .api-modal .modal-body .meta {
  265. margin-bottom: 20px;
  266. }
  267. .api-modal .modal-body .meta .label {
  268. vertical-align: middle;
  269. font-size: 14px;
  270. font-weight: normal;
  271. }
  272. .api-modal .modal-body .meta code {
  273. vertical-align: middle;
  274. padding: .2em .6em .3em;
  275. font-size: 14px;
  276. }
  277. .api-modal .modal-content .toggle-view {
  278. text-align: right;
  279. float: right;
  280. }
  281. .api-modal .modal-content .response .well {
  282. margin: 0;
  283. max-height: 550px;
  284. }
  285. .highlight {
  286. background-color: #f7f7f9
  287. }
  288. .checkbox label.control-label {
  289. font-weight: bold
  290. }
  291. @media (min-width: 768px) {
  292. .navbar-nav.navbar-right:last-child {
  293. margin-right: 0 !important;
  294. }
  295. }