main.css 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441
  1. body {
  2. padding-bottom: 0px;
  3. color: #000;
  4. }
  5. body a {
  6. color: #3b73af;
  7. }
  8. p {
  9. max-width: 1100px
  10. }
  11. /* AVDW: Updated style for notes */
  12. blockquote {
  13. padding: 12.5px 25px;
  14. margin: 0 0 25px;
  15. font-size: 16px;
  16. border: 3px solid #4060c0;
  17. }
  18. /* Updated style for footer */
  19. footer {
  20. position: static;
  21. left: 0;
  22. right: 0;
  23. bottom: 0;
  24. z-index: auto;
  25. }
  26. footer .inner-footer p {
  27. max-width: none;
  28. }
  29. /* Updated style for menu items */
  30. .toc .level1>li {
  31. font-weight: normal;
  32. }
  33. /* Updated style for images in list */
  34. ul li img,
  35. ol li img {
  36. display: inline;
  37. }
  38. /********************************************/
  39. .comment-section {
  40. margin-top: 20px;
  41. }
  42. .sidefilter {
  43. position: inherit;
  44. }
  45. .sidetoc {
  46. top: 156px;
  47. width: 100%;
  48. }
  49. .breadcrumb {
  50. padding: 6px 0 0 0;
  51. margin: 0;
  52. }
  53. .row {
  54. margin-left: 0px;
  55. margin-right: 0px;
  56. }
  57. th,
  58. td {
  59. padding-left: 5px;
  60. padding-right: 10px;
  61. vertical-align: top;
  62. border: solid 1px #ccc;
  63. text-align: left;
  64. padding-left: 5px;
  65. padding-right: 10px;
  66. vertical-align: middle;
  67. }
  68. th,
  69. td img {
  70. text-align: center;
  71. padding-top: 5px;
  72. padding-bottom: 5px;
  73. }
  74. .search-list {
  75. padding-top: 25px;
  76. }
  77. .video_container {
  78. float: left;
  79. width: 780px;
  80. margin-top: 30px;
  81. }
  82. .video_container_left {
  83. float: left;
  84. width: 360px;
  85. margin-right: 10px;
  86. }
  87. .video_container_right {
  88. float: left;
  89. width: 360px;
  90. margin-left: 30px;
  91. }
  92. .video_container_content {
  93. float: left;
  94. width: 100%;
  95. text-align: center;
  96. }
  97. @media only screen and (max-width: 768px) {
  98. .toc-toggle {
  99. display: inherit;
  100. }
  101. /* Our site.css override btn.display */
  102. .mobile-hide {
  103. display: none !important;
  104. }
  105. .article {
  106. margin-top: 10px !important;
  107. }
  108. .sidenav #sidetoggle.stride-page-Manual #sidetoc,
  109. .sidenav #sidetoggle.stride-page-ReleaseNotes #sidetoc {
  110. height: auto;
  111. margin-bottom: -50px;
  112. }
  113. .toc .level1>li {
  114. text-align: left;
  115. }
  116. }
  117. /* Already defined on navbar, but since we have conflict with current Stride navbar we redefine them on breadcrumb */
  118. .navbar {
  119. z-index: 50;
  120. margin-bottom: 0px;
  121. background-color: #f8f8f8;
  122. border-color: #e7e7e7;
  123. min-height: 36px;
  124. }
  125. /* Don't try to make a collapsable navbar, even on smaller devices */
  126. .navbar-nav {
  127. margin-top: 0;
  128. margin-bottom: 0;
  129. }
  130. .navbar-right {
  131. float: right !important;
  132. }
  133. .navbar-default .navbar-nav {
  134. /*border-left: 1px solid #e7e7e7;*/
  135. width: 530px;
  136. margin-top: 0 !important;
  137. }
  138. .navbar-default .navbar-nav>li {
  139. height: 50px;
  140. border-right: 1px solid #e7e7e7;
  141. float: left;
  142. }
  143. .navbar-default .navbar-nav>li>a {
  144. color: #111111;
  145. padding-top: 0;
  146. padding-bottom: 0;
  147. line-height: 50px;
  148. }
  149. .navbar-default .navbar-nav>li>a:hover {
  150. background: #f0f0f0;
  151. }
  152. .navbar-default .navbar-nav>.active>a,
  153. .navbar-default .navbar-nav>.active>a:hover,
  154. .navbar-default .navbar-nav>.active>a:focus {
  155. background-color: #666;
  156. }
  157. /* make container auto adjust up to 1370px */
  158. .container {
  159. width: initial;
  160. }
  161. @media only screen and (max-width: 768px) {
  162. .container {
  163. padding-top: 20px;
  164. }
  165. }
  166. .toc .nav>li>a {
  167. margin-left: 5px;
  168. }
  169. .toc .level1>li {
  170. margin-top: 5px;
  171. white-space: nowrap;
  172. overflow: hidden;
  173. text-overflow: ellipsis;
  174. padding-left: 10px;
  175. }
  176. .toc .level3 {
  177. font-weight: normal;
  178. margin-left: 15px;
  179. font-size: 14px;
  180. }
  181. .toc .level1,
  182. .toc .level2,
  183. .toc .level3,
  184. .toc .level4,
  185. .toc .level5 {
  186. margin-top: 0px;
  187. }
  188. .nav.level2 li .expand-stub+a,
  189. .nav.level2 li .expand-stub {
  190. margin-top: 5px;
  191. }
  192. .toc .level4 {
  193. font-weight: normal;
  194. margin-left: 15px;
  195. font-size: 12px;
  196. }
  197. .toc .level5 {
  198. font-weight: normal;
  199. margin-left: 15px;
  200. font-size: 12px;
  201. }
  202. h1,
  203. h2,
  204. h3,
  205. h4,
  206. h5,
  207. h6,
  208. span.xref {
  209. word-wrap: normal;
  210. word-break: normal;
  211. }
  212. /* adjust before size so that anchor (#title) makes text scroll to proper location without hiding it under title bar */
  213. h1:before,
  214. h2:before,
  215. h3:before,
  216. h4:before {
  217. height: 106px;
  218. margin-top: -106px;
  219. }
  220. footer {
  221. text-align: center;
  222. }
  223. article ul li,
  224. article ol li {
  225. list-style: inherit;
  226. margin-left: 1em;
  227. }
  228. article .img-caption {
  229. display: block;
  230. font-style: italic;
  231. font-size: small;
  232. color: #555;
  233. }
  234. article table {
  235. margin-bottom: 10px;
  236. }
  237. /* Tip, Note and Warning
  238. TODO: Perform some HTML or CSS transform to directly map boostrap instead?
  239. */
  240. .TIP,
  241. .NOTE,
  242. .WARNING,
  243. .doc-incomplete,
  244. .doc-no-translated {
  245. border: 1px solid #fff;
  246. border-radius: 4px;
  247. padding: 10px 10px 10px 36px;
  248. margin-top: 10px;
  249. margin-bottom: 10px;
  250. position: relative;
  251. max-width: 1100px;
  252. }
  253. .TIP {
  254. background-color: #f3f9f4;
  255. border-color: #91c89c;
  256. }
  257. .NOTE,
  258. .doc-no-translated {
  259. background-color: #e5ebf6;
  260. border-color: #7d9fc1;
  261. }
  262. .WARNING,
  263. .doc-incomplete {
  264. background: #fff8f7;
  265. border-color: #d04437;
  266. }
  267. .TIP> :first-child,
  268. .NOTE> :first-child,
  269. .WARNING> :first-child,
  270. .doc-no-translated> :first-child {
  271. font-size: 0;
  272. margin: 0;
  273. padding: 0;
  274. }
  275. .TIP> :first-child::before,
  276. .NOTE> :first-child::before,
  277. .WARNING> :first-child::before,
  278. .doc-incomplete::before,
  279. .doc-no-translated::before {
  280. position: absolute;
  281. display: inline-block;
  282. font-family: 'Glyphicons Halflings';
  283. font-size: initial;
  284. margin-left: -22px;
  285. margin-top: 15px;
  286. }
  287. .TIP> :first-child::before {
  288. color: #14892c;
  289. content: "\e089";
  290. }
  291. .NOTE> :first-child::before,
  292. .doc-no-translated::before {
  293. color: #4a6785;
  294. content: "\e086";
  295. }
  296. .WARNING> :first-child::before {
  297. color: #cf4336;
  298. content: "\e101";
  299. }
  300. .doc-incomplete::before {
  301. color: #cf4336;
  302. content: "\e136";
  303. }
  304. .doc-no-translated:before {
  305. margin-top: 0;
  306. }
  307. .doc-no-translated,
  308. .doc-no-translated:after {
  309. color: #4a6785
  310. }
  311. .TIP> :last-child,
  312. .NOTE> :last-child,
  313. .WARNING> :last-child,
  314. .doc-incomplete> :last-child,
  315. .doc-no-translated> :last-child {
  316. margin-bottom: 0;
  317. }
  318. /* Labels
  319. TODO: Perform some HTML or CSS transform to directly map boostrap instead?
  320. */
  321. .label-doc-level {
  322. background-color: #337ab7;
  323. }
  324. .label-doc-audience {
  325. background-color: #5cb85c;
  326. }
  327. .doc-incomplete {
  328. margin-bottom: 10px;
  329. }
  330. .doc-incomplete::before {
  331. margin-top: 0;
  332. }
  333. .doc-incomplete::after {
  334. content: "This documentation is under construction";
  335. }
  336. .doc-no-translated::after {
  337. content: "申し訳ありません。このページの日本語訳はございません。英語で表示いたします。";
  338. }
  339. .label-doc-highlight {
  340. background-color: #5cb85c;
  341. }
  342. /* Set new font-sizes for heading */
  343. h1 {
  344. font-size: 35px;
  345. }
  346. h2 {
  347. font-size: 28px;
  348. }
  349. h3 {
  350. font-size: 22px;
  351. }
  352. h4 {
  353. font-size: 18px;
  354. }
  355. h5 {
  356. font-size: 16px;
  357. }
  358. .stride-documentation-table {
  359. font-size: 16px;
  360. margin-top: 15px;
  361. margin-bottom: 15px;
  362. }
  363. .article.grid-right {
  364. padding-left: 15px;
  365. }
  366. @media only screen and (max-width: 1625px) {
  367. .sidefilter,
  368. .sidetoc {
  369. margin-left: 0;
  370. }
  371. }
  372. @media only screen and (max-width: 1275px) {
  373. .sidefilter,
  374. .sidetoc {
  375. margin-left: 0;
  376. /*width: 260px;*/
  377. }
  378. }
  379. @media only screen and (max-width: 768px) {
  380. .article.grid-right {
  381. margin-left: 0;
  382. }
  383. .sidefilter,
  384. .sidetoc {
  385. width: 100%;
  386. }
  387. }
  388. /* Redesign Documentation main page (05.12.2016) */
  389. .submenu-navbar {
  390. margin: 5px 0 5px 50px;
  391. }
  392. .submenu-navbar li {
  393. display: inline-block;
  394. border-right: 1px solid #e7e7e7;
  395. }
  396. .submenu-navbar li:last-child {
  397. border-right: none;
  398. }
  399. .submenu-navbar li a {
  400. display: inline-block;
  401. color: #111111;
  402. font-size: 1.4rem;
  403. padding-left: 20px;
  404. padding-right: 20px;
  405. }
  406. .stride-documentation-list {
  407. display: contents;
  408. list-style: none;
  409. margin: 0;
  410. padding: 0;
  411. margin-left: 35px;
  412. }
  413. .stride-documentation-list li {
  414. margin-left: 0;
  415. position: relative;
  416. margin-bottom: 15px;
  417. min-height: 140px;
  418. border-radius: 5px;
  419. display: -webkit-box;
  420. display: -moz-box;
  421. display: -ms-flexbox;
  422. display: -webkit-flex;
  423. display: flex;
  424. justify-content: flex-start;
  425. align-items: stretch;
  426. }
  427. .stride-documentation-list li>a {
  428. display: block;
  429. width: 100%;
  430. height: 100%;
  431. padding: 10px 0 10px 20px;
  432. display: -webkit-box;
  433. display: -moz-box;
  434. display: -ms-flexbox;
  435. display: -webkit-flex;
  436. display: flex;
  437. justify-content: flex-start;
  438. align-items: stretch;
  439. }
  440. .stride-documentation-list li>a>h2 {
  441. margin-left: -3px;
  442. }
  443. .stride-documentation-list li a p {
  444. margin-right: 60px;
  445. padding-right: 50px;
  446. }
  447. .stride-documentation-list li a h2,
  448. .stride-documentation-list li a p {
  449. color: #000;
  450. position: relative;
  451. }
  452. .stride-documentation-list li a h2:before {
  453. display: none;
  454. }
  455. .stride-documentation-list li .xi_arrowLink {
  456. width: 48px;
  457. height: 78px;
  458. float: right;
  459. position: relative;
  460. top: -28px;
  461. right: 40px;
  462. display: block;
  463. overflow: hidden;
  464. background: url(http://stride3d.net/media/api-icons/svg/arrow.svg) no-repeat -26px 50%;
  465. background-size: 140px 200px;
  466. }
  467. .stride-documentation-list li:hover .xi_arrowLink {
  468. background-position: 100% 50%;
  469. }
  470. .stride-documentation-list li:hover {
  471. background-color: #E8E8E8;
  472. }
  473. .stride-custom-breadcrumb {
  474. padding: 0;
  475. }
  476. .stride-custom-breadcrumb ul {
  477. padding: 5px 0 0 0;
  478. margin: 0;
  479. background: transparent;
  480. }
  481. .stride-custom-breadcrumb+article.content h1 {
  482. margin-top: 36px;
  483. margin-bottom: 10px;
  484. max-width: calc(100% - 5px);
  485. }
  486. .stride-custom-breadcrumb+article.content h2 {
  487. margin-top: 16px;
  488. }
  489. .stride-custom-breadcrumb+article.content h3,
  490. .stride-custom-breadcrumb+article.content h4 {
  491. margin-top: 28px;
  492. margin-bottom: 10px;
  493. }
  494. #_content h1:first-child,
  495. .stride-margin-default {
  496. margin-top: 10px !important;
  497. }
  498. @media screen and (max-width: 768px) {
  499. .stride-documentation-list li a p:after {
  500. display: none;
  501. }
  502. .stride-custom-breadcrumb+article.content h1,
  503. .stride-custom-breadcrumb+article.content h2 {
  504. margin-top: 6px;
  505. margin-bottom: 10px;
  506. max-width: 100%;
  507. padding-right: 58px;
  508. }
  509. }
  510. @media screen and (max-width: 480px) {
  511. .submenu-navbar li a {
  512. font-size: 1.2rem;
  513. padding-left: 10px;
  514. padding-right: 10px;
  515. }
  516. .stride-documentation-list li a p {
  517. padding-right: 10px;
  518. }
  519. .stride-documentation-list li .xi_arrowLink {
  520. top: 12px;
  521. right: 10px;
  522. }
  523. }
  524. @media only screen and (max-width: 1625px) {
  525. .sidefilter,
  526. .sidetoc {
  527. margin-left: 0;
  528. }
  529. }
  530. @media only screen and (max-width: 1275px) {
  531. .sidefilter,
  532. .sidetoc {
  533. margin-left: 0;
  534. /*width: 260px;*/
  535. }
  536. }
  537. @media only screen and (max-width: 768px) {
  538. .article.grid-right {
  539. margin-left: 0;
  540. }
  541. .sidefilter,
  542. .sidetoc {
  543. width: 100%;
  544. }
  545. .toc .level2>li {
  546. display: block;
  547. text-align: left;
  548. margin-top: 5px;
  549. }
  550. .toc .level2>li:after {
  551. display: none;
  552. }
  553. article h1,
  554. article h2,
  555. article h3,
  556. article h4 {
  557. word-break: break-word;
  558. word-wrap: break-word;
  559. }
  560. }
  561. .stride-documentation-image {
  562. display: -webkit-box;
  563. display: -moz-box;
  564. display: -ms-flexbox;
  565. display: -webkit-flex;
  566. display: flex;
  567. justify-content: center;
  568. align-items: center;
  569. min-width: 128px;
  570. }
  571. .stride-documentation-list .stride-documentation-image img {
  572. max-width: 128px;
  573. }
  574. .stride-documentation-list li:nth-child(1) .stride-documentation-chapter,
  575. .stride-documentation-list li:nth-child(4) .stride-documentation-chapter {
  576. padding-left: 20px;
  577. }
  578. .stride-documentation-list li:nth-child(2) .stride-documentation-image img,
  579. .stride-documentation-list li:nth-child(3) .stride-documentation-image img {
  580. max-width: 165px;
  581. margin-left: -20px;
  582. }
  583. @media only screen and (max-width: 768px) {
  584. .stride-documentation-list {
  585. margin-left: -15px;
  586. margin-right: -15px;
  587. margin-top: -70px;
  588. margin-bottom: -80px;
  589. }
  590. .stride-documentation-list li {
  591. min-height: auto;
  592. }
  593. .stride-documentation-image {
  594. min-width: 0;
  595. padding-right: 15px;
  596. }
  597. .stride-documentation-image img {
  598. width: 100%;
  599. }
  600. .stride-documentation-list li {
  601. margin: 10px 0 20px 0;
  602. padding: 20px 0;
  603. }
  604. .stride-documentation-list li>a {
  605. display: -webkit-box;
  606. display: -moz-box;
  607. display: -ms-flexbox;
  608. display: -webkit-flex;
  609. display: flex;
  610. align-items: center;
  611. height: auto;
  612. position: relative;
  613. }
  614. .stride-documentation-list li .xi_arrowLink {
  615. position: absolute;
  616. top: calc(50% - 25px);
  617. right: 38px;
  618. width: 40px;
  619. height: 50px;
  620. background-size: 92px 200px;
  621. background-position: -7px 50%;
  622. }
  623. .stride-documentation-list li:hover .xi_arrowLink {
  624. background-size: 92px 200px;
  625. }
  626. .stride-documentation-list li>a>h2 {
  627. padding-right: 65px;
  628. margin: 0 !important;
  629. }
  630. .stride-documentation-list li:first-child .stride-documentation-image img,
  631. .stride-documentation-list li:nth-child(2) .stride-documentation-image img,
  632. .stride-documentation-list li:last-child .stride-documentation-image img {
  633. margin-top: 0 !important;
  634. }
  635. }
  636. /* Class page fixes */
  637. .stride-bordered-title {
  638. border-bottom: 1px solid #ccc;
  639. }
  640. .stride-methods-wrapper .stride-hidden-table.stride-returns-table,
  641. .stride-hidden-table {
  642. display: none;
  643. }
  644. .stride-methods-wrapper .stride-hidden-table {
  645. display: table;
  646. }
  647. h6,
  648. .h6 {
  649. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  650. }
  651. h6 strong,
  652. .h6 strong {
  653. font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
  654. }
  655. article h4 {
  656. border: none;
  657. }
  658. article h1,
  659. article h2,
  660. article h3,
  661. article h4 {
  662. margin-top: 36px;
  663. }
  664. .alert a {
  665. color: #ef5f18;
  666. text-decoration: underline;
  667. }
  668. .toc .nav>li>.expand-stub+a {
  669. padding-left: 10px;
  670. }
  671. .expand-stub+.stride-custom-icon {
  672. display: none;
  673. }
  674. .expand-stub {
  675. left: 0;
  676. }
  677. .stride-Class:before,
  678. .stride-class-icon {
  679. content: " ";
  680. display: inline-block;
  681. width: 25px;
  682. height: 25px;
  683. background: url("../media/api-icons/stride-Class-icon.png");
  684. margin-right: 5px;
  685. background-size: 100% 100%;
  686. position: relative;
  687. top: 8px;
  688. }
  689. .stride-Delegate:before {
  690. content: " ";
  691. display: inline-block;
  692. width: 25px;
  693. height: 25px;
  694. background: url("../media/api-icons/stride-Delegate-icon.png");
  695. margin-right: 5px;
  696. background-size: 100% 100%;
  697. position: relative;
  698. top: 8px;
  699. }
  700. .stride-Enum:before,
  701. .stride-enum-icon {
  702. content: " ";
  703. display: inline-block;
  704. width: 25px;
  705. height: 25px;
  706. background: url("../media/api-icons/stride-Enum-icon.png");
  707. margin-right: 5px;
  708. background-size: 100% 100%;
  709. position: relative;
  710. top: 8px;
  711. }
  712. .stride-method-icon {
  713. content: " ";
  714. display: inline-block;
  715. width: 30px;
  716. height: 30px;
  717. background: url("../media/api-icons/stride-Method-icon.png");
  718. margin-right: 5px;
  719. position: absolute;
  720. top: 4px;
  721. background-size: 100% 100%
  722. }
  723. .stride-Interface:before,
  724. .stride-interface-icon {
  725. content: " ";
  726. display: inline-block;
  727. width: 25px;
  728. height: 25px;
  729. background: url("../media/api-icons/stride-Interface-icon.png");
  730. margin-right: 5px;
  731. background-size: 100% 100%;
  732. position: relative;
  733. top: 8px;
  734. }
  735. .stride-field-icon {
  736. content: " ";
  737. display: inline-block;
  738. width: 30px;
  739. height: 30px;
  740. background: url("../media/api-icons/stride-Field-icon.png");
  741. margin-right: 5px;
  742. position: absolute;
  743. top: 4px;
  744. background-size: 100% 100%
  745. }
  746. .stride-Struct:before,
  747. .stride-struct-icon {
  748. content: " ";
  749. display: inline-block;
  750. width: 25px;
  751. height: 25px;
  752. background: url("../media/api-icons/stride-Struct-icon.png");
  753. margin-right: 5px;
  754. background-size: 100% 100%;
  755. position: relative;
  756. top: 8px;
  757. }
  758. .stride-property-icon {
  759. content: " ";
  760. display: inline-block;
  761. width: 30px;
  762. height: 30px;
  763. background: url("../media/api-icons/stride-Property-icon.png");
  764. margin-right: 5px;
  765. position: absolute;
  766. top: 4px;
  767. background-size: 100% 100%
  768. }
  769. .stride-constructor-icon {
  770. content: " ";
  771. display: inline-block;
  772. width: 30px;
  773. height: 30px;
  774. background: url("../media/api-icons/stride-Construct-icon.png");
  775. margin-right: 5px;
  776. position: absolute;
  777. top: 4px;
  778. background-size: 100% 100%
  779. }
  780. .stride-events-icon {
  781. content: " ";
  782. display: inline-block;
  783. width: 30px;
  784. height: 30px;
  785. background: url("../media/api-icons/stride-Events-icon.png");
  786. margin-right: 5px;
  787. position: absolute;
  788. top: 4px;
  789. background-size: 100% 100%
  790. }
  791. .stride-icon-column {
  792. width: 45px;
  793. position: relative;
  794. min-width: 40px;
  795. }
  796. .stride-icon-column .stride-struct-icon,
  797. .stride-icon-column .stride-interface-icon,
  798. .stride-icon-column .stride-enum-icon,
  799. .stride-icon-column .stride-class-icon {
  800. width: 30px;
  801. height: 30px;
  802. position: absolute;
  803. top: 3px;
  804. }
  805. @media only screen and (min-width: 767px) {
  806. /* Create resizable TOC section (issue #138) */
  807. /*Hide elements while script doesn't set the sizes to it*/
  808. .container.body-content.hide-when-search {
  809. display: none;
  810. }
  811. #sidetoggle {
  812. position: fixed;
  813. top: 105px;
  814. z-index: 999;
  815. width: 280px;
  816. min-height: 100vh;
  817. background-color: #f1f1f1;
  818. }
  819. .sidefilter+.sidetoc {
  820. position: static;
  821. /*margin-top: 65px;*/
  822. }
  823. .ui-resizable-handle.ui-resizable-e {
  824. width: 4px;
  825. user-select: none;
  826. background: #d0d0d0;
  827. box-shadow: -1px 0px 1px 0px #CCC;
  828. right: -2px;
  829. }
  830. .ui-resizable-handle.ui-resizable-e:after {
  831. content: "::::::::";
  832. display: inline-block;
  833. font-size: 7px;
  834. color: #1d1b1b;
  835. position: absolute;
  836. top: 50%;
  837. transform: rotate(90deg);
  838. left: -7px;
  839. line-height: 0.2;
  840. font-weight: 700;
  841. letter-spacing: 0px;
  842. margin-top: -9px;
  843. }
  844. #sidetoc {
  845. height: calc(100vh - 166px);
  846. overflow: auto;
  847. background-color: #f1f1f1;
  848. }
  849. .toc .level1>li {
  850. text-align: left;
  851. }
  852. }
  853. /*Hide filter area at the Manual amd ReleaseNotes pages*/
  854. #sidetoggle.stride-page-Manual #sidetoc,
  855. #sidetoggle.stride-page-ReleaseNotes #sidetoc {
  856. height: calc(100vh - 105px);
  857. margin-top: 0;
  858. }
  859. #sidetoggle.stride-page-Api .sidefilter,
  860. #sidetoggle.stride-page-Default .sidefilter {
  861. display: block !important;
  862. }
  863. /*Preloader*/
  864. #floatingBarsG {
  865. position: relative;
  866. width: 60px;
  867. height: 60px;
  868. margin: 40px auto -40px auto;
  869. }
  870. .blockG {
  871. position: absolute;
  872. background-color: rgb(255, 255, 255);
  873. width: 10px;
  874. height: 5px;
  875. transform: scale(0.4);
  876. -o-transform: scale(0.4);
  877. -ms-transform: scale(0.4);
  878. -webkit-transform: scale(0.4);
  879. -moz-transform: scale(0.4);
  880. animation-name: fadeG;
  881. -o-animation-name: fadeG;
  882. -ms-animation-name: fadeG;
  883. -webkit-animation-name: fadeG;
  884. -moz-animation-name: fadeG;
  885. animation-duration: 1.2s;
  886. -o-animation-duration: 1.2s;
  887. -ms-animation-duration: 1.2s;
  888. -webkit-animation-duration: 1.2s;
  889. -moz-animation-duration: 1.2s;
  890. animation-iteration-count: infinite;
  891. -o-animation-iteration-count: infinite;
  892. -ms-animation-iteration-count: infinite;
  893. -webkit-animation-iteration-count: infinite;
  894. -moz-animation-iteration-count: infinite;
  895. animation-direction: normal;
  896. -o-animation-direction: normal;
  897. -ms-animation-direction: normal;
  898. -webkit-animation-direction: normal;
  899. -moz-animation-direction: normal;
  900. }
  901. #rotateG_01 {
  902. left: 0;
  903. top: 27px;
  904. animation-delay: 0.45s;
  905. -o-animation-delay: 0.45s;
  906. -ms-animation-delay: 0.45s;
  907. -webkit-animation-delay: 0.45s;
  908. -moz-animation-delay: 0.45s;
  909. transform: rotate(-90deg);
  910. -o-transform: rotate(-90deg);
  911. -ms-transform: rotate(-90deg);
  912. -webkit-transform: rotate(-90deg);
  913. -moz-transform: rotate(-90deg);
  914. }
  915. #rotateG_02 {
  916. left: 8px;
  917. top: 10px;
  918. animation-delay: 0.6s;
  919. -o-animation-delay: 0.6s;
  920. -ms-animation-delay: 0.6s;
  921. -webkit-animation-delay: 0.6s;
  922. -moz-animation-delay: 0.6s;
  923. transform: rotate(-45deg);
  924. -o-transform: rotate(-45deg);
  925. -ms-transform: rotate(-45deg);
  926. -webkit-transform: rotate(-45deg);
  927. -moz-transform: rotate(-45deg);
  928. }
  929. #rotateG_03 {
  930. left: 25px;
  931. top: 3px;
  932. animation-delay: 0.75s;
  933. -o-animation-delay: 0.75s;
  934. -ms-animation-delay: 0.75s;
  935. -webkit-animation-delay: 0.75s;
  936. -moz-animation-delay: 0.75s;
  937. transform: rotate(0deg);
  938. -o-transform: rotate(0deg);
  939. -ms-transform: rotate(0deg);
  940. -webkit-transform: rotate(0deg);
  941. -moz-transform: rotate(0deg);
  942. }
  943. #rotateG_04 {
  944. right: 8px;
  945. top: 10px;
  946. animation-delay: 0.9s;
  947. -o-animation-delay: 0.9s;
  948. -ms-animation-delay: 0.9s;
  949. -webkit-animation-delay: 0.9s;
  950. -moz-animation-delay: 0.9s;
  951. transform: rotate(45deg);
  952. -o-transform: rotate(45deg);
  953. -ms-transform: rotate(45deg);
  954. -webkit-transform: rotate(45deg);
  955. -moz-transform: rotate(45deg);
  956. }
  957. #rotateG_05 {
  958. right: 0;
  959. top: 27px;
  960. animation-delay: 1.05s;
  961. -o-animation-delay: 1.05s;
  962. -ms-animation-delay: 1.05s;
  963. -webkit-animation-delay: 1.05s;
  964. -moz-animation-delay: 1.05s;
  965. transform: rotate(90deg);
  966. -o-transform: rotate(90deg);
  967. -ms-transform: rotate(90deg);
  968. -webkit-transform: rotate(90deg);
  969. -moz-transform: rotate(90deg);
  970. }
  971. #rotateG_06 {
  972. right: 8px;
  973. bottom: 7px;
  974. animation-delay: 1.2s;
  975. -o-animation-delay: 1.2s;
  976. -ms-animation-delay: 1.2s;
  977. -webkit-animation-delay: 1.2s;
  978. -moz-animation-delay: 1.2s;
  979. transform: rotate(135deg);
  980. -o-transform: rotate(135deg);
  981. -ms-transform: rotate(135deg);
  982. -webkit-transform: rotate(135deg);
  983. -moz-transform: rotate(135deg);
  984. }
  985. #rotateG_07 {
  986. bottom: 0;
  987. left: 25px;
  988. animation-delay: 1.35s;
  989. -o-animation-delay: 1.35s;
  990. -ms-animation-delay: 1.35s;
  991. -webkit-animation-delay: 1.35s;
  992. -moz-animation-delay: 1.35s;
  993. transform: rotate(180deg);
  994. -o-transform: rotate(180deg);
  995. -ms-transform: rotate(180deg);
  996. -webkit-transform: rotate(180deg);
  997. -moz-transform: rotate(180deg);
  998. }
  999. #rotateG_08 {
  1000. left: 8px;
  1001. bottom: 7px;
  1002. animation-delay: 1.5s;
  1003. -o-animation-delay: 1.5s;
  1004. -ms-animation-delay: 1.5s;
  1005. -webkit-animation-delay: 1.5s;
  1006. -moz-animation-delay: 1.5s;
  1007. transform: rotate(-135deg);
  1008. -o-transform: rotate(-135deg);
  1009. -ms-transform: rotate(-135deg);
  1010. -webkit-transform: rotate(-135deg);
  1011. -moz-transform: rotate(-135deg);
  1012. }
  1013. @keyframes fadeG {
  1014. 0% {
  1015. background-color: rgb(0, 0, 0);
  1016. }
  1017. 100% {
  1018. background-color: rgb(255, 255, 255);
  1019. }
  1020. }
  1021. @-o-keyframes fadeG {
  1022. 0% {
  1023. background-color: rgb(0, 0, 0);
  1024. }
  1025. 100% {
  1026. background-color: rgb(255, 255, 255);
  1027. }
  1028. }
  1029. @-ms-keyframes fadeG {
  1030. 0% {
  1031. background-color: rgb(0, 0, 0);
  1032. }
  1033. 100% {
  1034. background-color: rgb(255, 255, 255);
  1035. }
  1036. }
  1037. @-webkit-keyframes fadeG {
  1038. 0% {
  1039. background-color: rgb(0, 0, 0);
  1040. }
  1041. 100% {
  1042. background-color: rgb(255, 255, 255);
  1043. }
  1044. }
  1045. @-moz-keyframes fadeG {
  1046. 0% {
  1047. background-color: rgb(0, 0, 0);
  1048. }
  1049. 100% {
  1050. background-color: rgb(255, 255, 255);
  1051. }
  1052. }
  1053. #search-results>.search-list {
  1054. margin-bottom: 20px;
  1055. }
  1056. #stride-current-version.form-control {
  1057. width: auto;
  1058. height: auto;
  1059. padding: 3px 0px;
  1060. }
  1061. .stride-flex {
  1062. display: -webkit-box;
  1063. display: -moz-box;
  1064. display: -ms-flexbox;
  1065. display: -webkit-flex;
  1066. display: flex;
  1067. align-items: center;
  1068. }
  1069. #stride-current-version.form-control {
  1070. border-radius: 0;
  1071. padding: 5px 10px 5px 2px;
  1072. margin: 10px 10px 10px 0px;
  1073. }
  1074. #stride-current-version.form-control:active,
  1075. #stride-current-version.form-control:focus,
  1076. #stride-current-version.form-control:hover {
  1077. outline: none;
  1078. }
  1079. #stride-current-version+.submenu-navbar {
  1080. margin-left: 10px;
  1081. }
  1082. .nav>li,
  1083. .toc .nav>li>a {
  1084. white-space: nowrap;
  1085. overflow: hidden;
  1086. text-overflow: ellipsis;
  1087. }
  1088. #wrapper #x_wrap {
  1089. padding-bottom: 0;
  1090. }
  1091. .stride-constructor h4 {
  1092. display: none;
  1093. }
  1094. .table-bordered {
  1095. margin-bottom: 50px;
  1096. max-width: 1100px;
  1097. }
  1098. h4+.table-bordered {
  1099. margin-bottom: 25px;
  1100. }
  1101. .stride-property h4,
  1102. .stride-property .stride-parameters {
  1103. display: none;
  1104. }
  1105. .stride-method {
  1106. margin-bottom: 10px;
  1107. }
  1108. .stride-returns p {
  1109. padding: 0;
  1110. min-height: 0;
  1111. margin: 0;
  1112. }
  1113. h4.returns {
  1114. margin-bottom: 3px;
  1115. margin-top: 25px;
  1116. }
  1117. #search-results .pagination {
  1118. border-radius: 4px;
  1119. margin: 0;
  1120. padding: 0;
  1121. width: 100%;
  1122. display: -webkit-box;
  1123. display: -moz-box;
  1124. display: -ms-flexbox;
  1125. display: -webkit-flex;
  1126. display: flex;
  1127. justify-content: center;
  1128. }
  1129. #search-results .page-item.prev a.page-link {
  1130. background-image: url(https://stride3d.net/images/svg/arrow_red_mini_8.svg);
  1131. margin-left: 0;
  1132. border-bottom-left-radius: 4px;
  1133. border-top-left-radius: 4px;
  1134. color: #777777;
  1135. background-color: #fff;
  1136. border-color: #ddd;
  1137. cursor: default;
  1138. display: inline-block;
  1139. width: 39px;
  1140. height: 39px;
  1141. background-size: 100% 75%;
  1142. background-position: center;
  1143. background-repeat: no-repeat;
  1144. -moz-transform: rotate(180deg);
  1145. -webkit-transform: rotate(180deg);
  1146. transform: rotate(180deg);
  1147. border-radius: 0;
  1148. color: transparent;
  1149. overflow: hidden;
  1150. }
  1151. #search-results .page-item.prev.disabled a.page-link,
  1152. #search-results .page-item.next.disabled a.page-link {
  1153. background-image: url(https://stride3d.net/images/svg/arrow_gray_8.svg);
  1154. }
  1155. .page-item.active a.page-link,
  1156. .page-item.disabled a.page-link {
  1157. pointer-events: none;
  1158. }
  1159. #search-results .page-item.next a.page-link {
  1160. background: url(https://stride3d.net/images/svg/arrow_red_mini_8.svg);
  1161. display: inline-block;
  1162. width: 38px;
  1163. height: 39px;
  1164. background-size: 100% 75%;
  1165. background-position: center;
  1166. background-repeat: no-repeat;
  1167. color: transparent;
  1168. overflow: hidden;
  1169. }
  1170. #search-results .page-item.active a.page-link {
  1171. color: #777777;
  1172. background-color: #fff;
  1173. border-color: #ddd;
  1174. cursor: default;
  1175. }
  1176. #search-results .page-item a:hover {
  1177. color: #f19118;
  1178. background-color: #eeeeee !important;
  1179. border-color: #ddd;
  1180. }
  1181. .stride-searching-link {
  1182. text-decoration: underline;
  1183. color: #3b73af;
  1184. }
  1185. .stride-searching-link:hover {
  1186. cursor: pointer;
  1187. text-decoration: none;
  1188. }
  1189. #stride-search-summary {
  1190. margin-bottom: 10px;
  1191. font-weight: 500;
  1192. font-family: 'Segoe UI', Tahoma, Helvetica, sans-serif;
  1193. display: none;
  1194. }
  1195. .tutorial {
  1196. position: relative;
  1197. display: inline-block;
  1198. background: transparent;
  1199. box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.0);
  1200. transition: 0.3s ease;
  1201. margin: 0 20px 20px 0;
  1202. border: 1px solid #ddd;
  1203. }
  1204. .tutorial:hover {
  1205. background: transparent;
  1206. box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.6);
  1207. }
  1208. .tutorial .tutorial_title {
  1209. text-align: center;
  1210. }
  1211. .tutorial .tutorial_thumb {}
  1212. .tutorial .tutorial_description {
  1213. padding: 10px;
  1214. }
  1215. /* adjust anchor */
  1216. :target:before {
  1217. content: "";
  1218. display: block;
  1219. height: 120px;
  1220. margin: -120px 0 0;
  1221. }
  1222. @media only screen and (max-width: 768px) {
  1223. :target:before {
  1224. height: 75px;
  1225. margin: -75px 0 0;
  1226. }
  1227. }
  1228. .lang-btn-drpdown-show {
  1229. height: auto !important;
  1230. }