Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

895 rindas
15 KiB

  1. /* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. */
  2. html,
  3. body {
  4. font-family: 'Segoe UI', Tahoma, Helvetica, sans-serif;
  5. height: 100%;
  6. }
  7. button,
  8. a {
  9. color: #337ab7;
  10. cursor: pointer;
  11. }
  12. button:hover,
  13. button:focus,
  14. a:hover,
  15. a:focus {
  16. color: #23527c;
  17. text-decoration: none;
  18. }
  19. a.disable,
  20. a.disable:hover {
  21. text-decoration: none;
  22. cursor: default;
  23. color: #000000;
  24. }
  25. /* workaround for leave space for fixed navbar with # anchor url*/
  26. h1:before,
  27. h2:before,
  28. h3:before,
  29. h4:before {
  30. content: '';
  31. display: block;
  32. position: relative;
  33. width: 0;
  34. height: 100px;
  35. margin-top: -100px;
  36. }
  37. h1, h2, h3, h4, h5, h6, span.xref {
  38. word-wrap: break-word;
  39. word-break: break-all;
  40. }
  41. h1 mark,
  42. h2 mark,
  43. h3 mark,
  44. h4 mark,
  45. h5 mark,
  46. h6 mark {
  47. padding: 0;
  48. }
  49. .inheritance .level0:before,
  50. .inheritance .level1:before,
  51. .inheritance .level2:before,
  52. .inheritance .level3:before,
  53. .inheritance .level4:before,
  54. .inheritance .level5:before {
  55. content: '↳';
  56. margin-right: 5px;
  57. }
  58. .inheritance .level0 {
  59. margin-left: 0em;
  60. }
  61. .inheritance .level1 {
  62. margin-left: 1em;
  63. }
  64. .inheritance .level2 {
  65. margin-left: 2em;
  66. }
  67. .inheritance .level3 {
  68. margin-left: 3em;
  69. }
  70. .inheritance .level4 {
  71. margin-left: 4em;
  72. }
  73. .inheritance .level5 {
  74. margin-left: 5em;
  75. }
  76. span.parametername,
  77. span.paramref,
  78. span.typeparamref {
  79. font-style: italic;
  80. }
  81. span.languagekeyword{
  82. font-weight: bold;
  83. }
  84. svg:hover path {
  85. fill: #ffffff;
  86. }
  87. .hljs {
  88. display: inline;
  89. background-color: inherit;
  90. padding: 0;
  91. }
  92. /* additional spacing fixes */
  93. .btn + .btn {
  94. margin-left: 10px;
  95. }
  96. .btn.pull-right {
  97. margin-left: 10px;
  98. margin-top: 5px;
  99. }
  100. .table {
  101. margin-bottom: 10px;
  102. }
  103. table p {
  104. margin-bottom: 0;
  105. }
  106. table a {
  107. display: inline-block;
  108. }
  109. h1,
  110. .h1,
  111. h2,
  112. .h2,
  113. h3,
  114. .h3 {
  115. margin-top: 15px;
  116. margin-bottom: 10px;
  117. font-weight: 400;
  118. }
  119. h4,
  120. .h4,
  121. h5,
  122. .h5,
  123. h6,
  124. .h6 {
  125. margin-top: 10px;
  126. margin-bottom: 5px;
  127. }
  128. .navbar {
  129. margin-bottom: 0;
  130. }
  131. #wrapper {
  132. min-height: 100%;
  133. position: relative;
  134. }
  135. /* blends header footer and content together with gradient effect */
  136. .grad-top {
  137. /* For Safari 5.1 to 6.0 */
  138. /* For Opera 11.1 to 12.0 */
  139. /* For Firefox 3.6 to 15 */
  140. background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
  141. /* Standard syntax */
  142. height: 5px;
  143. }
  144. .grad-bottom {
  145. /* For Safari 5.1 to 6.0 */
  146. /* For Opera 11.1 to 12.0 */
  147. /* For Firefox 3.6 to 15 */
  148. background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
  149. /* Standard syntax */
  150. height: 5px;
  151. }
  152. .divider {
  153. margin: 0 5px;
  154. color: #cccccc;
  155. }
  156. hr {
  157. border-color: #cccccc;
  158. }
  159. header {
  160. position: fixed;
  161. top: 0;
  162. left: 0;
  163. right: 0;
  164. z-index: 1000;
  165. }
  166. header .navbar {
  167. border-width: 0 0 1px;
  168. border-radius: 0;
  169. }
  170. .navbar-brand {
  171. font-size: inherit;
  172. padding: 0;
  173. }
  174. .navbar-collapse {
  175. margin: 0 -15px;
  176. }
  177. .subnav {
  178. min-height: 40px;
  179. }
  180. .inheritance h5, .inheritedMembers h5{
  181. padding-bottom: 5px;
  182. border-bottom: 1px solid #ccc;
  183. }
  184. article h1, article h2, article h3, article h4{
  185. margin-top: 25px;
  186. }
  187. article h4{
  188. border-bottom: 1px solid #ccc;
  189. }
  190. article span.small.pull-right{
  191. margin-top: 20px;
  192. }
  193. article section {
  194. margin-left: 1em;
  195. }
  196. /*.expand-all {
  197. padding: 10px 0;
  198. }*/
  199. .breadcrumb {
  200. margin: 0;
  201. padding: 10px 0;
  202. background-color: inherit;
  203. white-space: nowrap;
  204. }
  205. .breadcrumb > li + li:before {
  206. content: "\00a0/";
  207. }
  208. #autocollapse.collapsed .navbar-header {
  209. float: none;
  210. }
  211. #autocollapse.collapsed .navbar-toggle {
  212. display: block;
  213. }
  214. #autocollapse.collapsed .navbar-collapse {
  215. border-top: 1px solid transparent;
  216. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  217. }
  218. #autocollapse.collapsed .navbar-collapse.collapse {
  219. display: none !important;
  220. }
  221. #autocollapse.collapsed .navbar-nav {
  222. float: none !important;
  223. margin: 7.5px -15px;
  224. }
  225. #autocollapse.collapsed .navbar-nav > li {
  226. float: none;
  227. }
  228. #autocollapse.collapsed .navbar-nav > li > a {
  229. padding-top: 10px;
  230. padding-bottom: 10px;
  231. }
  232. #autocollapse.collapsed .collapse.in,
  233. #autocollapse.collapsed .collapsing {
  234. display: block !important;
  235. }
  236. #autocollapse.collapsed .collapse.in .navbar-right,
  237. #autocollapse.collapsed .collapsing .navbar-right {
  238. float: none !important;
  239. }
  240. #autocollapse .form-group {
  241. width: 100%;
  242. }
  243. #autocollapse .form-control {
  244. width: 100%;
  245. }
  246. #autocollapse .navbar-header {
  247. margin-left: 0;
  248. margin-right: 0;
  249. }
  250. #autocollapse .navbar-brand {
  251. margin-left: 0;
  252. }
  253. .collapse.in,
  254. .collapsing {
  255. text-align: center;
  256. }
  257. .collapsing .navbar-form {
  258. margin: 0 auto;
  259. max-width: 400px;
  260. padding: 10px 15px;
  261. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
  262. }
  263. .collapsed .collapse.in .navbar-form {
  264. margin: 0 auto;
  265. max-width: 400px;
  266. padding: 10px 15px;
  267. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
  268. }
  269. .navbar .navbar-nav {
  270. display: inline-block;
  271. }
  272. .docs-search {
  273. background: white;
  274. vertical-align: middle;
  275. }
  276. .docs-search > .search-query {
  277. font-size: 14px;
  278. border: 0;
  279. width: 120%;
  280. color: #555;
  281. }
  282. .docs-search > .search-query:focus {
  283. outline: 0;
  284. }
  285. .search-results-frame {
  286. clear: both;
  287. display: table;
  288. width: 100%;
  289. }
  290. .search-results.ng-hide {
  291. display: none;
  292. }
  293. .search-results-container {
  294. padding-bottom: 1em;
  295. border-top: 1px solid #111;
  296. background: rgba(25, 25, 25, 0.5);
  297. }
  298. .search-results-container .search-results-group {
  299. padding-top: 50px !important;
  300. padding: 10px;
  301. }
  302. .search-results-group-heading {
  303. font-family: "Open Sans";
  304. padding-left: 10px;
  305. color: white;
  306. }
  307. .search-close {
  308. position: absolute;
  309. left: 50%;
  310. margin-left: -100px;
  311. color: white;
  312. text-align: center;
  313. padding: 5px;
  314. background: #333;
  315. border-top-right-radius: 5px;
  316. border-top-left-radius: 5px;
  317. width: 200px;
  318. box-shadow: 0 0 10px #111;
  319. }
  320. #search {
  321. display: none;
  322. }
  323. /* Search results display*/
  324. #search-results {
  325. max-width: 960px !important;
  326. margin-top: 120px;
  327. margin-bottom: 115px;
  328. margin-left: auto;
  329. margin-right: auto;
  330. line-height: 1.8;
  331. display: none;
  332. }
  333. #search-results>.search-list {
  334. text-align: center;
  335. font-size: 2.5rem;
  336. margin-bottom: 50px;
  337. }
  338. #search-results p {
  339. text-align: center;
  340. }
  341. #search-results .sr-items {
  342. font-size: 24px;
  343. }
  344. .sr-item {
  345. margin-bottom: 25px;
  346. }
  347. .sr-item>.item-href {
  348. font-size: 14px;
  349. color: #093;
  350. }
  351. .sr-item>.item-brief {
  352. font-size: 13px;
  353. }
  354. .pagination>li>a {
  355. color: #47A7A0
  356. }
  357. .pagination>.active>a {
  358. background-color: #47A7A0;
  359. border-color: #47A7A0;
  360. }
  361. .fixed_header {
  362. position: fixed;
  363. width: 100%;
  364. padding-bottom: 10px;
  365. padding-top: 10px;
  366. margin: 0px;
  367. top: 0;
  368. z-index: 9999;
  369. left: 0;
  370. }
  371. .fixed_header+.toc{
  372. margin-top: 50px;
  373. margin-left: 0;
  374. }
  375. .sidenav, .fixed_header, .toc {
  376. background-color: #f1f1f1;
  377. }
  378. .sidetoc {
  379. position: fixed;
  380. width: 260px;
  381. top: 150px;
  382. bottom: 0;
  383. overflow-x: hidden;
  384. overflow-y: auto;
  385. background-color: #f1f1f1;
  386. border-left: 1px solid #e7e7e7;
  387. border-right: 1px solid #e7e7e7;
  388. z-index: 1;
  389. }
  390. .sidetoc.shiftup {
  391. bottom: 70px;
  392. }
  393. body .toc{
  394. background-color: #f1f1f1;
  395. overflow-x: hidden;
  396. }
  397. .sidetoggle.ng-hide {
  398. display: block !important;
  399. }
  400. .sidetoc-expand > .caret {
  401. margin-left: 0px;
  402. margin-top: -2px;
  403. }
  404. .sidetoc-expand > .caret-side {
  405. border-left: 4px solid;
  406. border-top: 4px solid transparent;
  407. border-bottom: 4px solid transparent;
  408. margin-left: 4px;
  409. margin-top: -4px;
  410. }
  411. .sidetoc-heading {
  412. font-weight: 500;
  413. }
  414. .toc {
  415. margin: 0px 0 0 10px;
  416. padding: 0 10px;
  417. }
  418. .expand-stub {
  419. position: absolute;
  420. left: -10px;
  421. }
  422. .toc .nav > li > a.sidetoc-expand {
  423. position: absolute;
  424. top: 0;
  425. left: 0;
  426. }
  427. .toc .nav > li > a {
  428. color: #666666;
  429. margin-left: 5px;
  430. display: block;
  431. padding: 0;
  432. }
  433. .toc .nav > li > a:hover,
  434. .toc .nav > li > a:focus {
  435. color: #000000;
  436. background: none;
  437. text-decoration: inherit;
  438. }
  439. .toc .nav > li.active > a {
  440. color: #337ab7;
  441. }
  442. .toc .nav > li.active > a:hover,
  443. .toc .nav > li.active > a:focus {
  444. color: #23527c;
  445. }
  446. .toc .nav > li> .expand-stub {
  447. cursor: pointer;
  448. }
  449. .toc .nav > li.active > .expand-stub::before,
  450. .toc .nav > li.in > .expand-stub::before,
  451. .toc .nav > li.in.active > .expand-stub::before,
  452. .toc .nav > li.filtered > .expand-stub::before {
  453. content: "-";
  454. }
  455. .toc .nav > li > .expand-stub::before,
  456. .toc .nav > li.active > .expand-stub::before {
  457. content: "+";
  458. }
  459. .toc .nav > li.filtered > ul,
  460. .toc .nav > li.in > ul {
  461. display: block;
  462. }
  463. .toc .nav > li > ul {
  464. display: none;
  465. }
  466. .toc ul{
  467. font-size: 12px;
  468. margin: 0 0 0 3px;
  469. }
  470. .toc .level1 > li {
  471. font-weight: bold;
  472. margin-top: 10px;
  473. position: relative;
  474. font-size: 16px;
  475. }
  476. .toc .level2 {
  477. font-weight: normal;
  478. margin: 5px 0 0 15px;
  479. font-size: 14px;
  480. }
  481. .toc-toggle {
  482. display: none;
  483. margin: 0 15px 0px 15px;
  484. }
  485. .sidefilter {
  486. position: fixed;
  487. top: 90px;
  488. width: 260px;
  489. background-color: #f1f1f1;
  490. padding: 15px;
  491. border-left: 1px solid #e7e7e7;
  492. border-right: 1px solid #e7e7e7;
  493. z-index: 1;
  494. }
  495. .toc-filter {
  496. border-radius: 5px;
  497. background: #fff;
  498. color: #666666;
  499. padding: 5px;
  500. position: relative;
  501. margin: 0 5px 0 5px;
  502. }
  503. .toc-filter > input {
  504. border: 0;
  505. color: #666666;
  506. padding-left: 20px;
  507. width: 100%;
  508. }
  509. .toc-filter > input:focus {
  510. outline: 0;
  511. }
  512. .toc-filter > .filter-icon {
  513. position: absolute;
  514. top: 10px;
  515. left: 5px;
  516. }
  517. .article {
  518. margin-top: 120px;
  519. margin-bottom: 115px;
  520. }
  521. #_content>a{
  522. margin-top: 105px;
  523. }
  524. .article.grid-right {
  525. margin-left: 280px;
  526. }
  527. .inheritance hr {
  528. margin-top: 5px;
  529. margin-bottom: 5px;
  530. }
  531. .article img {
  532. max-width: 100%;
  533. }
  534. .sideaffix {
  535. margin-top: 50px;
  536. font-size: 12px;
  537. max-height: 100%;
  538. overflow: hidden;
  539. top: 100px;
  540. bottom: 10px;
  541. position: fixed;
  542. }
  543. .sideaffix.shiftup {
  544. bottom: 70px;
  545. }
  546. .affix {
  547. position: relative;
  548. height: 100%;
  549. }
  550. .sideaffix > div.contribution {
  551. margin-bottom: 20px;
  552. }
  553. .sideaffix > div.contribution > ul > li > a.contribution-link {
  554. padding: 6px 10px;
  555. font-weight: bold;
  556. font-size: 14px;
  557. }
  558. .sideaffix > div.contribution > ul > li > a.contribution-link:hover {
  559. background-color: #ffffff;
  560. }
  561. .sideaffix ul.nav > li > a:focus {
  562. background: none;
  563. }
  564. .affix h5 {
  565. font-weight: bold;
  566. text-transform: uppercase;
  567. padding-left: 10px;
  568. font-size: 12px;
  569. }
  570. .affix > ul.level1 {
  571. overflow: hidden;
  572. padding-bottom: 10px;
  573. height: calc(100% - 100px);
  574. margin-right: -20px;
  575. }
  576. .affix ul > li > a:before {
  577. color: #cccccc;
  578. position: absolute;
  579. }
  580. .affix ul > li > a:hover {
  581. background: none;
  582. color: #666666;
  583. }
  584. .affix ul > li.active > a,
  585. .affix ul > li.active > a:before {
  586. color: #337ab7;
  587. }
  588. .affix ul > li > a {
  589. padding: 5px 12px;
  590. color: #666666;
  591. }
  592. .affix > ul > li.active:last-child {
  593. margin-bottom: 50px;
  594. }
  595. .affix > ul > li > a:before {
  596. content: "|";
  597. font-size: 16px;
  598. top: 1px;
  599. left: 0;
  600. }
  601. .affix > ul > li.active > a,
  602. .affix > ul > li.active > a:before {
  603. color: #337ab7;
  604. font-weight: bold;
  605. }
  606. .affix ul ul > li > a {
  607. padding: 2px 15px;
  608. }
  609. .affix ul ul > li > a:before {
  610. content: ">";
  611. font-size: 14px;
  612. top: -1px;
  613. left: 5px;
  614. }
  615. .affix ul > li > a:before,
  616. .affix ul ul {
  617. display: none;
  618. }
  619. .affix ul > li.active > ul,
  620. .affix ul > li.active > a:before,
  621. .affix ul > li > a:hover:before {
  622. display: block;
  623. white-space: nowrap;
  624. }
  625. .codewrapper {
  626. position: relative;
  627. }
  628. .trydiv {
  629. height: 0px;
  630. }
  631. .tryspan {
  632. position: absolute;
  633. top: 0px;
  634. right: 0px;
  635. border-style: solid;
  636. border-radius: 0px 4px;
  637. box-sizing: border-box;
  638. border-width: 1px;
  639. border-color: #cccccc;
  640. text-align: center;
  641. padding: 2px 8px;
  642. background-color: white;
  643. font-size: 12px;
  644. cursor: pointer;
  645. z-index: 100;
  646. display: none;
  647. color: #767676;
  648. }
  649. .tryspan:hover {
  650. background-color: #3b8bd0;
  651. color: white;
  652. border-color: #3b8bd0;
  653. }
  654. .codewrapper:hover .tryspan {
  655. display: block;
  656. }
  657. .sample-response .response-content{
  658. max-height: 200px;
  659. }
  660. footer {
  661. position: absolute;
  662. left: 0;
  663. right: 0;
  664. bottom: 0;
  665. z-index: 1000;
  666. }
  667. .footer {
  668. border-top: 1px solid #e7e7e7;
  669. background-color: #f8f8f8;
  670. padding: 15px 0;
  671. }
  672. @media (min-width: 768px) {
  673. #sidetoggle.collapse {
  674. display: block;
  675. }
  676. .topnav .navbar-nav {
  677. float: none;
  678. white-space: nowrap;
  679. }
  680. .topnav .navbar-nav > li {
  681. float: none;
  682. display: inline-block;
  683. }
  684. }
  685. @media only screen and (max-width: 768px) {
  686. #mobile-indicator {
  687. display: block;
  688. }
  689. /* TOC display for responsive */
  690. .article {
  691. margin-top: 30px !important;
  692. }
  693. header {
  694. position: static;
  695. }
  696. .topnav {
  697. text-align: center;
  698. }
  699. .sidenav {
  700. padding: 15px 0;
  701. margin-left: -15px;
  702. margin-right: -15px;
  703. }
  704. .sidefilter {
  705. position: static;
  706. width: auto;
  707. float: none;
  708. border: none;
  709. }
  710. .sidetoc {
  711. position: static;
  712. width: auto;
  713. float: none;
  714. padding-bottom: 0px;
  715. border: none;
  716. }
  717. .toc .nav > li, .toc .nav > li >a {
  718. display: inline-block;
  719. }
  720. .toc li:after {
  721. margin-left: -3px;
  722. margin-right: 5px;
  723. content: ", ";
  724. color: #666666;
  725. }
  726. .toc .level1 > li {
  727. display: block;
  728. }
  729. .toc .level1 > li:after {
  730. display: none;
  731. }
  732. .article.grid-right {
  733. margin-left: 0;
  734. }
  735. .grad-top,
  736. .grad-bottom {
  737. display: none;
  738. }
  739. .toc-toggle {
  740. display: block;
  741. }
  742. .sidetoggle.ng-hide {
  743. display: none !important;
  744. }
  745. /*.expand-all {
  746. display: none;
  747. }*/
  748. .sideaffix {
  749. display: none;
  750. }
  751. .mobile-hide {
  752. display: none;
  753. }
  754. .breadcrumb {
  755. white-space: inherit;
  756. }
  757. /* workaround for #hashtag url is no longer needed*/
  758. h1:before,
  759. h2:before,
  760. h3:before,
  761. h4:before {
  762. content: '';
  763. display: none;
  764. }
  765. }
  766. /* For toc iframe */
  767. @media (max-width: 260px) {
  768. .toc .level2 > li {
  769. display: block;
  770. }
  771. .toc .level2 > li:after {
  772. display: none;
  773. }
  774. }
  775. /* For code snippet line highlight */
  776. pre > code .line-highlight {
  777. background-color: #ffffcc;
  778. }
  779. /* Alerts */
  780. .alert h5 {
  781. text-transform: uppercase;
  782. font-weight: bold;
  783. margin-top: 0;
  784. }
  785. .alert h5:before {
  786. position:relative;
  787. top:1px;
  788. display:inline-block;
  789. font-family:'Glyphicons Halflings';
  790. line-height:1;
  791. -webkit-font-smoothing:antialiased;
  792. -moz-osx-font-smoothing:grayscale;
  793. margin-right: 5px;
  794. font-weight: normal;
  795. }
  796. .alert-info h5:before {
  797. content:"\e086"
  798. }
  799. .alert-warning h5:before {
  800. content:"\e127"
  801. }
  802. .alert-danger h5:before {
  803. content:"\e107"
  804. }
  805. /* For Embedded Video */
  806. div.embeddedvideo {
  807. padding-top: 56.25%;
  808. position: relative;
  809. width: 100%;
  810. }
  811. div.embeddedvideo iframe {
  812. position: absolute;
  813. top: 0;
  814. left: 0;
  815. right: 0;
  816. bottom: 0;
  817. width: 100%;
  818. height: 100%;
  819. }
  820. /* For printer */
  821. @media print{
  822. .article.grid-right {
  823. margin-top: 0px;
  824. margin-left: 0px;
  825. }
  826. .sideaffix {
  827. display: none;
  828. }
  829. .mobile-hide {
  830. display: none;
  831. }
  832. .footer {
  833. display: none;
  834. }
  835. }