rancher.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. .sidebar-nav .btn-group {
  2. margin: 15px 0 0 15px;
  3. }
  4. BODY {
  5. background-color: #f0f2f2;
  6. font-family: 'Lato', sans-serif;
  7. font-size: 14px;
  8. }
  9. img {
  10. max-width: 100%;
  11. height: auto;
  12. }
  13. /* make sidebar nav vertical */
  14. @media (min-width: 768px) {
  15. .sidebar-nav .navbar .navbar-collapse {
  16. padding: 0;
  17. max-height: none;
  18. }
  19. .sidebar-nav .navbar ul {
  20. float: none;
  21. }
  22. .sidebar-nav .navbar ul:not {
  23. display: block;
  24. }
  25. .sidebar-nav .navbar li {
  26. float: none;
  27. display: block;
  28. }
  29. .sidebar-nav .navbar li a {
  30. padding-top: 8px;
  31. padding-bottom: 8px;
  32. font-weight: 300;
  33. }
  34. }
  35. pre {
  36. padding: 0;
  37. margin: 0;
  38. background-color: transparent;
  39. border: none;
  40. border-radius: 0;
  41. }
  42. pre code {
  43. display: block;
  44. padding: 9.5px;
  45. font-size: 13px;
  46. line-height: 1.42857143;
  47. color: #ECF0F1;
  48. word-break: break-all;
  49. word-wrap: break-word;
  50. background-color: #334851;
  51. border: 1px solid #0A141A;
  52. border-radius: 4px;
  53. }
  54. .language-bash pre code{
  55. padding: 9.5px;
  56. margin: 0 0 10px;
  57. font-size: 13px;
  58. line-height: 1.42857143;
  59. word-break: break-all;
  60. word-wrap: break-word;
  61. border-radius: 4px;
  62. border: black;
  63. background-color: #2B2B2B;
  64. color: #ECF0F1;
  65. }
  66. .language-sh pre code{
  67. padding: 9.5px;
  68. margin: 0 0 10px;
  69. font-size: 13px;
  70. line-height: 1.42857143;
  71. word-break: break-all;
  72. word-wrap: break-word;
  73. border-radius: 4px;
  74. border: black;
  75. background-color: black;
  76. color: white;
  77. }
  78. /* Link Color in Content*/
  79. a {
  80. color: #005f88;
  81. text-decoration: none;
  82. }
  83. a:hover,
  84. a:focus {
  85. color: #0077aa;
  86. text-decoration: none;
  87. }
  88. /* Heading in Markdown using # */
  89. h1, h2 {
  90. font-weight: 300;
  91. }
  92. /*h3 {
  93. text-align: center;
  94. }
  95. h3:before, h3:after {
  96. content: "";
  97. width: 50px;
  98. height: 3px;
  99. background: #5c686f;
  100. display: inline-block;
  101. vertical-align: middle;
  102. margin: 0 10px;
  103. }
  104. */
  105. /*HEADERS*/
  106. h1, h2 {
  107. font-weight: 300;
  108. }
  109. h3,
  110. h4,
  111. h5,
  112. h6 {
  113. text-transform: uppercase;
  114. color: #5c686f;
  115. letter-spacing: .75px;
  116. }
  117. h3,
  118. h4,
  119. h5,
  120. h6 {
  121. text-transform: uppercase;
  122. color: #5c686f;
  123. font-weight: 900;
  124. }
  125. h3 {
  126. color: #334851;
  127. }
  128. /* Line bar in markdown as --- */
  129. hr {
  130. margin-top: 10px;
  131. }
  132. /*Remove rounded corners on navigation*/
  133. @media (min-width: 768px) {
  134. .navbar {
  135. border-radius: 0px;
  136. }
  137. }
  138. /* Remove right and left padding on column containers for */
  139. .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  140. padding-right: 0px;
  141. padding-left: 0px;
  142. }
  143. .container {
  144. margin-right: 0;
  145. margin-left: 0;
  146. width: 100%;
  147. }
  148. /*Provides padding around context*/
  149. .content-container {
  150. padding-left: 5%;
  151. max-width: 80%;
  152. }
  153. .navbar-inverse {
  154. background:#fff;
  155. border: none;
  156. color: #5c686f;
  157. }
  158. .navbar-inverse .navbar-nav > li > a {
  159. color: #777;
  160. font-weight: normal;
  161. }
  162. .navbar-inverse .navbar-nav > li > a:hover,
  163. .navbar-inverse .navbar-nav > li > a:focus {
  164. color: #0075a8;
  165. background-color: transparent;
  166. text-decoration: none;
  167. }
  168. .navbar-inverse .navbar-nav > li > .no-list-group {
  169. color: #788188;
  170. }
  171. .navbar-inverse .navbar-nav > li > .no-list-group:hover,
  172. .navbar-inverse .navbar-nav > li > .no-list-group:focus {
  173. background-color: #5c686f;
  174. color:#0075a8;
  175. text-decoration: none;
  176. }
  177. .list-group-item {
  178. position: relative;
  179. display: block;
  180. padding: 10px 10px;
  181. margin-bottom: -1px;
  182. background-color: transparent;
  183. border: none;
  184. }
  185. .list-group-submenu li {
  186. list-style: none;
  187. margin-left: 0;
  188. margin-bottom:7px;
  189. color:#788188;
  190. padding:0;
  191. }
  192. span.highlight {
  193. background-color: yellow;
  194. }
  195. blockquote {
  196. font-size: inherit;
  197. }
  198. code{
  199. padding:2px 5px;
  200. display:inline-block;
  201. background: #21364a;
  202. color: #0075a8;
  203. }
  204. .row{
  205. width:100%;
  206. position:relative;
  207. display:inline-block;
  208. }
  209. .row .col-sm-3{
  210. background-color: #fff;
  211. }
  212. .copyright {
  213. height: 34px;
  214. line-height: 34px;
  215. }
  216. a i {
  217. font-size: 16px;
  218. margin-top: 3px;
  219. padding-right:10px;
  220. }
  221. a.btn i {
  222. margin: 0;
  223. padding: 0;
  224. }
  225. a.collapsed i.fa-angle-down, a i.fa-angle-up{
  226. display:block;
  227. }
  228. a.collapsed i.fa-angle-up, a i.fa-angle-down{
  229. display:none;
  230. }
  231. /*ul li a[aria-expanded=true]{
  232. background-color: #ecf0f1;
  233. }*/
  234. /*NESTED SUBMENU*/
  235. ul.nav.navbar-nav li ul.list-group-submenu {
  236. border-left: solid #0075a8 thick;
  237. padding: 12px;
  238. }
  239. ul.nav.navbar-nav li ul.list-group-submenu li ul{
  240. border-left: solid rgba(0,0,0,.75) thick;
  241. padding-left: 40px;
  242. margin-left: -17px;
  243. }
  244. ul.nav.navbar-nav li ul.list-group-submenu li ul ul {
  245. padding: 0;
  246. margin: 0;
  247. border: none;
  248. margin-left: 27px;
  249. }
  250. ul.collapse {
  251. padding: 0;
  252. }
  253. .navbar-inverse .clearfix{
  254. background-color:#0075A8;
  255. }
  256. .sidebar-nav{
  257. background-color: #5c686f;
  258. }
  259. .navbar-inverse .navbar-nav > li > a.active {
  260. background: #5c686f;
  261. color: white;
  262. }
  263. ul.nav.navbar-nav li a.active:after {
  264. content: "";
  265. border: solid transparent;
  266. height: 0;
  267. width: 0;
  268. pointer-events: none;
  269. border-color: transparent;
  270. border-left-color: #5c686f;
  271. border-width: 10px;
  272. position: absolute;
  273. right: -20px;
  274. top: calc(50% - 10px);
  275. }
  276. ul.nav.navbar-nav .list-group-submenu li a.active:after {
  277. display: none;
  278. }
  279. ul.collapse.in a.active {
  280. color: #0075A8;
  281. }
  282. .panel {
  283. margin-bottom: 0px;
  284. border: 0px;
  285. border-radius: 0px;
  286. -webkit-box-shadow:none;
  287. box-shadow:none;
  288. }
  289. @media (max-width:768px){
  290. .col-sm-9 .content-container{
  291. padding-left: 15px;
  292. }
  293. .row .col-sm-3 {f
  294. height: auto;
  295. min-height: 0px;
  296. }
  297. .container-fluid{
  298. padding:0;
  299. }
  300. .row{
  301. width:100%;
  302. padding:0;
  303. margin:0;
  304. }
  305. .row .col-sm-3{
  306. width:100%;
  307. top:auto;
  308. left:auto;
  309. bottom:auto;
  310. position:relative;
  311. background-color: #5c686f;
  312. }
  313. .row .col-sm-9{
  314. position:relative;
  315. width:100%;
  316. float:right;
  317. }
  318. }
  319. .header-anchor {
  320. font-size: 14px;
  321. visibility: hidden;
  322. position: relative;
  323. top: -3px;
  324. left: 5px;
  325. }
  326. H3:hover .header-anchor,
  327. H4:hover .header-anchor,
  328. H5:hover .header-anchor,
  329. H6:hover .header-anchor {
  330. visibility: visible;
  331. }
  332. /*ANCHORS*/
  333. a {
  334. color: #0075a8;
  335. text-decoration: none;
  336. }
  337. a:hover {
  338. text-decoration: none;
  339. }
  340. hr {
  341. margin: 2% 0;
  342. border-top: 1px solid #BFBFBF;
  343. }
  344. /*LISTS*/
  345. ol {
  346. counter-reset: li;
  347. margin: 20px 0;
  348. padding-left: 0;
  349. }
  350. ol > li {
  351. position: relative;
  352. margin: 0 0 25px 2em;
  353. padding: 4px 8px 4px 20px;
  354. list-style: none;
  355. background: rgba(255,255,255,.75);
  356. }
  357. ol > li::before {
  358. content: counter(li);
  359. counter-increment: li;
  360. position: absolute;
  361. top: 0;
  362. left: -2em;
  363. bottom: 0;
  364. width: 2em;
  365. margin-right: 8px;
  366. padding: 4px;
  367. font-weight: bold;
  368. text-align: center;
  369. background: #BDC3C7;
  370. color: white;
  371. }
  372. li ol,
  373. li ul {
  374. margin-top: 6px;
  375. }
  376. ol ol li:last-child {
  377. margin-bottom: 0;
  378. }
  379. ol > li::before {
  380. }
  381. /*TABLES*/
  382. table {
  383. background: white;
  384. width: 100%;
  385. border-collapse: collapse;
  386. word-wrap:break-word;
  387. }
  388. th {
  389. background: #0075a8;
  390. color: white;
  391. font-weight: 400;
  392. }
  393. th a {
  394. color: #efefef;
  395. border-bottom: solid 2px;
  396. }
  397. td,
  398. th {
  399. padding: 10px;
  400. text-align: left;
  401. }
  402. td {
  403. border: 1px solid #ccd1d3;
  404. }
  405. th {
  406. border-right: 1px dotted rgba(255, 255, 255, 0.15);
  407. border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
  408. }
  409. tr:nth-child(even) {
  410. background: #efefef;
  411. }
  412. td code {
  413. background: rgba(0,0,0,.05);
  414. }
  415. .gsc-search-box td, .gsc-results-wrapper-overlay td {
  416. border-color: transparent;
  417. }
  418. .gsc-table-result td {
  419. border-bottom: solid 2px #efefef;
  420. padding-bottom: 30px;
  421. }
  422. .gsc-search-box td, .gsc-above-wrapper-area-container td {
  423. padding: 0;
  424. }
  425. .cse .gsc-search-button input.gsc-search-button-v2, input.gsc-search-button-v2 {
  426. width: auto!important;
  427. height: auto!important;
  428. }
  429. .gsc-above-wrapper-area .gsc-selected-option-container {
  430. min-width: 100px;
  431. }
  432. .gsc-results-wrapper-overlay {
  433. -webkit-box-shadow: 0 0 0 transparent!important;
  434. -moz-box-shadow: 0 0 0 transparent!important;
  435. -ms-box-shadow: 0 0 0 transparent!important;
  436. -o-box-shadow: 0 0 0 transparent!important;
  437. box-shadow: 0 0 0 transparent!important;
  438. }
  439. .gsc-modal-background-image {
  440. background-color: rgba(153,163,168,.75)!important;
  441. }
  442. /*CODE SNIPPETS*/
  443. code {
  444. word-wrap:break-word;
  445. border-radius: 3px;
  446. color: #444;
  447. background-color: #ddd;
  448. }
  449. /*BLOCKQUOTES*/
  450. blockquote {
  451. border-left: solid thick #0075a8;
  452. padding: 1% 5%;
  453. position: relative;
  454. background: white;
  455. margin-left: 0;
  456. margin-right: 0;
  457. }
  458. blockquote:before {
  459. content: "";
  460. border: solid transparent;
  461. content: " ";
  462. height: 0;
  463. width: 0;
  464. position: absolute;
  465. pointer-events: none;
  466. border-color: transparent;
  467. border-left-color: #0075a8;
  468. border-width: 8px;
  469. position: absolute;
  470. left: 0;
  471. top: calc(50% - 8px);
  472. }
  473. blockquote strong:first-child{
  474. display: block;
  475. text-transform: uppercase;
  476. margin-bottom: 10px;
  477. color: #5c686f;
  478. }
  479. /*ACTIONS*/
  480. #other-actions p:first-child {
  481. margin: 0;
  482. }
  483. .action > span {
  484. display: block;
  485. }
  486. .action .header {
  487. color: #0075a8;
  488. font-weight: bold;
  489. text-transform: uppercase;
  490. background-color: #99c8dc;
  491. float: left;
  492. width: 100%;
  493. line-height: 48px;
  494. padding-left: 10px;
  495. }
  496. .action .header > *{
  497. display: inline-block;
  498. vertical-align: middle;
  499. }
  500. .action .header .headerright {
  501. float: right;
  502. background: #66accb;
  503. color: white;
  504. padding: 8px 10px;
  505. text-transform: none;
  506. line-height: normal;
  507. }
  508. .action .header .headerright code {
  509. color: white;
  510. background: #3391b9;
  511. margin-left: 10px;
  512. padding: 8px;
  513. font-weight: normal;
  514. text-transform: none;
  515. }
  516. .action{
  517. border: solid thin #efefef;
  518. background: white;
  519. display: block;
  520. margin: 10px 0;
  521. }
  522. .action-contents{
  523. padding:20px;
  524. border: solid thin #efefef;
  525. background: white;
  526. clear: both;
  527. }
  528. .action-contents th {
  529. background: #66767c;
  530. }
  531. .input, .output{
  532. background-color: #e5f1f6;
  533. padding: 10px 0;
  534. display: block;
  535. width: 100%;
  536. }
  537. .input strong, .output strong {
  538. padding: 10px;
  539. background: #99c8dc;
  540. position: relative;
  541. margin-right: 15px;
  542. }
  543. .input strong:before,.output strong:before {
  544. content: "";
  545. border: solid transparent;
  546. content: " ";
  547. height: 0;
  548. width: 0;
  549. position: absolute;
  550. pointer-events: none;
  551. border-color: transparent;
  552. border-left-color: #99c8dc;
  553. border-width: 8px;
  554. position: absolute;
  555. right: -15px;
  556. top: calc(50% - 8px);
  557. }
  558. footer {
  559. margin: 20px 0;
  560. padding: 10px 0;
  561. border-top: solid thin #BDC3C7;
  562. height: 34px;
  563. clear: both;
  564. }
  565. @media (max-width:768px){
  566. .navbar-inverse .navbar-toggle {
  567. background: rgba(0,0,0,.25);
  568. }
  569. .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
  570. background: rgba(0,0,0,.5);
  571. }
  572. .navbar-inverse .navbar-header{
  573. background: #0075a8;
  574. }
  575. .col-sm-9 .content-container{
  576. padding: 0 2%;
  577. max-width: 100%;
  578. }
  579. .row .col-sm-3 {
  580. height: auto !important;
  581. min-height: 0px !important;
  582. }
  583. .container-fluid{
  584. padding:0;
  585. }
  586. .row{
  587. width:100%;
  588. padding:0;
  589. margin:0;
  590. }
  591. .row .col-sm-3{
  592. width:100%;
  593. top:auto;
  594. left:auto;
  595. bottom:auto;
  596. position:relative;
  597. background-color:#f2efef;
  598. }
  599. .row .col-sm-9{
  600. position:relative;
  601. width:100%;
  602. float:right;
  603. }
  604. }