rancher-docs.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. ---
  2. ---
  3. header {
  4. background-image: url('{{ site.baseurl }}/img/header-bg.png');
  5. background-color: #0075A8;
  6. background-size: contain;
  7. min-height: 100px;
  8. }
  9. .logo {
  10. background-image: url('{{ site.baseurl }}/img/rancher-logo-nopadding.svg');
  11. background-size: 180px;
  12. background-position: center 15px;
  13. background-repeat: no-repeat;
  14. height: 100px;
  15. }
  16. h1, h2, h3, h4, h5, h6 {
  17. color: #34495E;
  18. margin-bottom: .5em;
  19. margin-top: 1.5em;
  20. }
  21. h3, h4, h5, h6 {
  22. text-transform: uppercase;
  23. font-weight: 900;
  24. letter-spacing: 0.05em;
  25. }
  26. h1, h2 {
  27. margin-top: 1em;
  28. margin-bottom: 0;
  29. }
  30. p {
  31. margin-top: 0;
  32. line-height: 1.5em;
  33. }
  34. a {
  35. border-bottom: 0!important;
  36. }
  37. img {
  38. max-width:100%;
  39. height: auto;
  40. }
  41. .gsc-search-box {
  42. background-color: transparent;
  43. }
  44. .content-container {
  45. background-color: white;
  46. padding: 10px 40px;
  47. margin-top: -50px;
  48. position: relative;
  49. }
  50. body {
  51. font-family: 'Lato', sans-serif;
  52. }
  53. .sidebar {
  54. }
  55. .banner.bg-info{
  56. border: solid 1px #78C9CF;
  57. background: rgba(120, 201, 207, 0.1);
  58. color: #78C9CF;
  59. }
  60. ol {
  61. counter-reset: li;
  62. margin: 20px 0;
  63. padding-left: 0;
  64. }
  65. ol > li {
  66. position: relative;
  67. margin: 0 0 25px 2em;
  68. padding: 4px 8px 4px 20px;
  69. list-style: none;
  70. background: #ECF0F1;
  71. }
  72. ol > li::before {
  73. content: counter(li);
  74. counter-increment: li;
  75. position: absolute;
  76. top: 0;
  77. left: -2em;
  78. bottom: 0;
  79. width: 2em;
  80. margin-right: 8px;
  81. padding: 4px;
  82. font-weight: bold;
  83. text-align: center;
  84. background: #BDC3C7;
  85. color: white;
  86. }
  87. #menu {
  88. margin: 0;
  89. padding: 0;
  90. list-style-type: none;
  91. }
  92. #menu li {
  93. list-style-type: none;
  94. }
  95. #menu li a {
  96. text-decoration: none;
  97. border-bottom: none;
  98. padding: 10px 20px;
  99. border-radius: 3px;
  100. display: block;
  101. border-bottom: solid rgba(153, 163, 168, .25) 2px;
  102. }
  103. #menu li ul {
  104. padding: 0;
  105. margin-bottom: 10px;
  106. background-color: rgba(153, 163, 168, .25);
  107. border-left: solid 3px rgba(153, 163, 168, .5);
  108. }
  109. #menu li ul li ul {
  110. margin-left: -3px;
  111. }
  112. #menu li ul li ul li a i{
  113. margin: 0 10px 0 20px;
  114. }
  115. #menu li i.pull-right.fa.fa-angle-down {
  116. line-height: 22px;
  117. }
  118. /*NESTED SUBMENU*/
  119. ul.nav.navbar-nav li ul.list-group-submenu {
  120. border-left: solid #0075a8 thick;
  121. padding: 12px;
  122. }
  123. ul.nav.navbar-nav li ul.list-group-submenu li ul{
  124. border-left: solid rgba(0,0,0,.75) thick;
  125. padding-left: 40px;
  126. margin-left: -17px;
  127. }
  128. ul.nav.navbar-nav li ul.list-group-submenu li ul ul {
  129. padding: 0;
  130. margin: 0;
  131. border: none;
  132. margin-left: 27px;
  133. }
  134. ul.collapse {
  135. padding: 0;
  136. }
  137. .navbar-inverse .clearfix{
  138. background-color:#0075A8;
  139. }
  140. .sidebar-nav{
  141. background-color: #5c686f;
  142. }
  143. .navbar-inverse .navbar-nav > li > a.active {
  144. background: #5c686f;
  145. color: white;
  146. }
  147. ul.nav.navbar-nav li a.active:after {
  148. content: "";
  149. border: solid transparent;
  150. height: 0;
  151. width: 0;
  152. pointer-events: none;
  153. border-color: transparent;
  154. border-left-color: #5c686f;
  155. border-width: 10px;
  156. position: absolute;
  157. right: -20px;
  158. top: calc(50% - 10px);
  159. }
  160. ul.nav.navbar-nav .list-group-submenu li a.active:after {
  161. display: none;
  162. }
  163. ul.collapse.in a.active {
  164. color: #0075A8;
  165. }
  166. .panel {
  167. margin-bottom: 0px;
  168. border: 0px;
  169. border-radius: 0px;
  170. -webkit-box-shadow:none;
  171. box-shadow:none;
  172. }
  173. /*slicknav*/
  174. .slicknav_menu {
  175. display:none;
  176. }
  177. @media screen and (max-width: 768px) {
  178. #menu {
  179. display:none;
  180. }
  181. .logo {
  182. height: 45px;
  183. }
  184. .content-container {
  185. margin-top: 0;
  186. }
  187. .slicknav_menu {
  188. display: block;
  189. }
  190. }
  191. #menu ul {
  192. display: none;
  193. }
  194. #menu li.active > ul {
  195. display: block;
  196. }
  197. #menu li.active > ul {
  198. margin-left: 25px;
  199. }
  200. #menu li.active > a > i {
  201. -ms-transform: rotate(180deg);
  202. -webkit-transform: rotate(180deg);
  203. transform: rotate(180deg);
  204. }
  205. #menu a.active {
  206. font-weight: bold;
  207. }
  208. /*search results*/
  209. .cse .gsc-control-cse, .gsc-control-cse {
  210. background-color: transparent!important;
  211. border: 0!important;
  212. }
  213. form.gsc-search-box {
  214. padding: 0!important;
  215. border: 0!important;
  216. margin-bottom: 0!important;
  217. }
  218. #___gcse_0 > * {
  219. border: 0!important
  220. }
  221. table.gsc-search-box tr td {
  222. padding: 0!important;
  223. }
  224. table.gsc-search-box tbody tr {
  225. border: 0!important;
  226. }
  227. pre {
  228. border-radius: 4px;
  229. }
  230. pre code {
  231. display: block;
  232. padding: 9.5px;
  233. font-size: 13px;
  234. line-height: 1.42857143;
  235. color: #ECF0F1;
  236. word-break: break-all;
  237. word-wrap: break-word;
  238. background-color: #334851;
  239. border: 1px solid #0A141A;
  240. }
  241. .language-bash pre code{
  242. padding: 9.5px;
  243. font-size: 13px;
  244. line-height: 1.42857143;
  245. word-break: break-all;
  246. word-wrap: break-word;
  247. border-radius: 4px;
  248. border: black;
  249. background-color: #2B2B2B;
  250. color: #ECF0F1;
  251. }
  252. .language-sh pre code{
  253. padding: 9.5px;
  254. margin: 0 0 10px;
  255. font-size: 13px;
  256. line-height: 1.42857143;
  257. word-break: break-all;
  258. word-wrap: break-word;
  259. border-radius: 4px;
  260. border: black;
  261. background-color: black;
  262. color: white;
  263. }
  264. code {
  265. padding: 2px 5px;
  266. word-wrap:break-word;
  267. border-radius: 3px;
  268. color: #444;
  269. background-color: #ddd;
  270. }
  271. /*TABLES*/
  272. table {
  273. background: white;
  274. width: 100%;
  275. border-collapse: collapse;
  276. word-wrap:break-word;
  277. }
  278. tbody {
  279. font-size: .75em;
  280. }
  281. th a {
  282. color: #ecf0f1;
  283. border-bottom: solid 2px;
  284. }
  285. td,
  286. th {
  287. padding: 10px;
  288. text-align: left;
  289. }
  290. td {
  291. border: 1px solid #99a3a8;
  292. }
  293. th {
  294. border-right: 1px dotted rgba(255, 255, 255, 0.15);
  295. border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
  296. }
  297. tr:nth-child(even) {
  298. background: #ecf0f1;
  299. }
  300. td code {
  301. background: rgba(0,0,0,.05);
  302. }
  303. .gsc-search-box td, .gsc-results-wrapper-overlay td {
  304. border-color: transparent;
  305. }
  306. .gsc-table-result td {
  307. border-bottom: solid 2px #ecf0f1;
  308. padding-bottom: 30px;
  309. }
  310. .gsc-search-box td, .gsc-above-wrapper-area-container td {
  311. padding: 0;
  312. }
  313. .cse .gsc-search-button input.gsc-search-button-v2, input.gsc-search-button-v2 {
  314. width: auto!important;
  315. height: auto!important;
  316. margin-top: 3px !important;
  317. padding: 5px 20px !important;
  318. border-radius: 0 !important;
  319. }
  320. .gsc-above-wrapper-area .gsc-selected-option-container {
  321. min-width: 100px;
  322. }
  323. .gsc-results-wrapper-overlay {
  324. -webkit-box-shadow: 0 0 0 transparent!important;
  325. -moz-box-shadow: 0 0 0 transparent!important;
  326. -ms-box-shadow: 0 0 0 transparent!important;
  327. -o-box-shadow: 0 0 0 transparent!important;
  328. box-shadow: 0 0 0 transparent!important;
  329. }
  330. .gsc-modal-background-image {
  331. background-color: rgba(153,163,168,.75)!important;
  332. }
  333. /*BLOCKQUOTES*/
  334. blockquote {
  335. border-left: solid thick #0075a8;
  336. padding: 1% 5%;
  337. position: relative;
  338. background: rgba(236, 240, 241, .5);
  339. margin-left: 0;
  340. margin-right: 0;
  341. }
  342. blockquote:before {
  343. content: "";
  344. border: solid transparent;
  345. content: " ";
  346. height: 0;
  347. width: 0;
  348. position: absolute;
  349. pointer-events: none;
  350. border-color: transparent;
  351. border-left-color: #0075a8;
  352. border-width: 8px;
  353. position: absolute;
  354. left: 0;
  355. top: calc(50% - 8px);
  356. }
  357. blockquote strong:first-child{
  358. display: block;
  359. text-transform: uppercase;
  360. margin-bottom: 10px;
  361. color: #5c686f;
  362. }
  363. /*ACTIONS*/
  364. #other-actions p:first-child {
  365. margin: 0;
  366. }
  367. .action > span {
  368. display: block;
  369. }
  370. .action .header {
  371. color: #0075a8;
  372. font-weight: bold;
  373. text-transform: uppercase;
  374. background-color: #99c8dc;
  375. float: left;
  376. width: 100%;
  377. line-height: 48px;
  378. padding-left: 10px;
  379. }
  380. .action .header > *{
  381. display: inline-block;
  382. vertical-align: middle;
  383. }
  384. .action .header .headerright {
  385. float: right;
  386. background: #66accb;
  387. color: white;
  388. padding: 13px 10px;
  389. text-transform: none;
  390. line-height: normal;
  391. }
  392. .action .header .headerright code {
  393. color: white;
  394. background: #3391b9;
  395. margin-left: 10px;
  396. padding: 8px;
  397. font-weight: normal;
  398. text-transform: none;
  399. }
  400. .action{
  401. border: solid thin #efefef;
  402. background: white;
  403. display: block;
  404. margin: 10px 0;
  405. }
  406. .action-contents{
  407. padding:20px;
  408. border: solid thin #efefef;
  409. background: white;
  410. clear: both;
  411. }
  412. .action-contents th {
  413. background: #66767c;
  414. }
  415. .input, .output{
  416. background-color: #e5f1f6;
  417. padding: 10px 0;
  418. display: block;
  419. width: 100%;
  420. }
  421. .input strong, .output strong {
  422. padding: 10px;
  423. background: #99c8dc;
  424. position: relative;
  425. margin-right: 15px;
  426. }
  427. .input strong:before,.output strong:before {
  428. content: "";
  429. border: solid transparent;
  430. content: " ";
  431. height: 0;
  432. width: 0;
  433. position: absolute;
  434. pointer-events: none;
  435. border-color: transparent;
  436. border-left-color: #99c8dc;
  437. border-width: 8px;
  438. position: absolute;
  439. right: -15px;
  440. top: calc(50% - 8px);
  441. }
  442. footer {
  443. background: #99a3a8;
  444. color: #efefef;
  445. padding: 10px;
  446. position: absolute;
  447. right: 0;
  448. left: 0;
  449. bottom: -75px;
  450. }
  451. .copyright {
  452. padding: 10px 0;
  453. }
  454. .header-anchor {
  455. padding-left: 10px;
  456. }
  457. #google-search * {
  458. transition: none !important;
  459. }