main.css 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. /*!
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing,
  13. * software distributed under the License is distributed on an
  14. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. * KIND, either express or implied. See the License for the
  16. * specific language governing permissions and limitations
  17. * under the License.
  18. */
  19. body {
  20. position: relative;
  21. padding: 70px 0;
  22. min-height: 100vh;
  23. overflow-y: scroll;
  24. background-color: #fff;
  25. }
  26. nav {
  27. box-shadow: 0 3px 3px #aaa;
  28. z-index: 999;
  29. }
  30. pre {
  31. overflow: auto;
  32. word-wrap: normal;
  33. white-space: pre;
  34. }
  35. pre code {
  36. overflow-wrap: normal;
  37. white-space: pre;
  38. }
  39. input,
  40. select {
  41. margin: 0;
  42. }
  43. div.container {
  44. width: 98%;
  45. padding-left: 15px;
  46. padding-right: 15px;
  47. }
  48. .navbar a {
  49. color: #51504f;
  50. font-weight: bold;
  51. }
  52. .navbar a .caret {
  53. color: #e2d2e2;
  54. }
  55. /* If a category has a lot of menu items, we cap it, and
  56. add a scroll bar */
  57. .navbar li.dropdown .dropdown-menu {
  58. max-height: 85vh;
  59. overflow-y: auto;
  60. }
  61. .navbar-nav li.dropdown:hover > .dropdown-menu,
  62. .navbar-nav li.dropdown:focus-within > .dropdown-menu {
  63. display: block;
  64. }
  65. /* If a menu remains open due to focus, a menu
  66. opened via hover will always be displayed on top */
  67. .navbar-nav li.dropdown:hover > .dropdown-menu {
  68. z-index: 1001;
  69. }
  70. .navbar-brand {
  71. padding: 0 15px;
  72. height: 60px;
  73. display: inline-flex;
  74. align-items: center;
  75. }
  76. .brand-logo {
  77. width: 104px;
  78. height: 40px;
  79. overflow: visible !important; /* Allow for animation */
  80. }
  81. @keyframes pinSpin {
  82. from {
  83. transform: rotate(0) translateX(0);
  84. }
  85. to {
  86. transform: rotate(360deg) translateX(0);
  87. }
  88. }
  89. @media (prefers-reduced-motion: no-preference) {
  90. .navbar-brand:hover .brand-logo-pinwheel {
  91. transform-origin: 17.66px 17.66px;
  92. animation: pinSpin 1.5s linear;
  93. }
  94. }
  95. .navbar-user-icon {
  96. display: inline-flex;
  97. justify-content: center;
  98. align-items: center;
  99. vertical-align: middle;
  100. margin: -5px 0;
  101. width: 30px;
  102. height: 30px;
  103. border-radius: 50%;
  104. color: #017cee;
  105. background-color: #c0defb;
  106. }
  107. span.status_square {
  108. width: 10px;
  109. height: 10px;
  110. border: 1px solid grey;
  111. display: inline-block;
  112. padding-left: 0;
  113. cursor: pointer;
  114. }
  115. div.squares {
  116. float: right;
  117. font-size: 1;
  118. }
  119. .d3-tip {
  120. background: rgba(0, 0, 0, 0.85);
  121. color: #fff;
  122. border: 0;
  123. border-radius: 5px;
  124. padding: 10px;
  125. margin-top: -4px;
  126. }
  127. input#execution_date {
  128. width: 220px;
  129. margin-bottom: 0;
  130. }
  131. table.highlighttable {
  132. width: 100%;
  133. table-layout: fixed;
  134. }
  135. div.linenodiv {
  136. padding-right: 1px !important;
  137. }
  138. .linenos {
  139. width: 50px;
  140. border: 0;
  141. }
  142. div.linenodiv pre {
  143. padding-left: 0;
  144. padding-right: 4px;
  145. color: #8e8e8d;
  146. background-color: transparent;
  147. text-align: right;
  148. }
  149. .wrap {
  150. white-space: pre-wrap;
  151. }
  152. .code {
  153. font-family: monospace;
  154. }
  155. #sql {
  156. border: 1px solid #ccc;
  157. border-radius: 5px;
  158. }
  159. .ace_editor div {
  160. font: inherit !important;
  161. }
  162. #ace_container {
  163. margin: 10px 0;
  164. }
  165. #sql_ace {
  166. visibility: hidden;
  167. }
  168. table.dataframe {
  169. font-size: 12px;
  170. }
  171. table.dataframe tbody tr td {
  172. padding: 2px;
  173. }
  174. table.dataframe.dataTable thead > tr > th {
  175. padding: 10px 20px 10px 10px;
  176. }
  177. table.dataTable.dataframe thead .sorting {
  178. background: url("./../sort_both.png") no-repeat center right;
  179. }
  180. table.dataTable.dataframe thead .sorting_desc {
  181. background: url("./../sort_desc.png") no-repeat center right;
  182. }
  183. table.dataTable.dataframe thead .sorting_asc {
  184. background: url("./../sort_asc.png") no-repeat center right;
  185. }
  186. .no-wrap {
  187. white-space: nowrap;
  188. }
  189. div.form-inline {
  190. margin-bottom: 5px;
  191. }
  192. body div.panel {
  193. padding: 0;
  194. }
  195. .legend-row {
  196. display: flex;
  197. align-items: center;
  198. justify-content: space-between;
  199. }
  200. .legend-item {
  201. display: inline-flex;
  202. align-items: center;
  203. margin-right: 4px;
  204. border-radius: 4px;
  205. border: solid 2px #cbcbcb;
  206. padding: 0 3px;
  207. font-size: 11px;
  208. }
  209. .legend-item--interactive {
  210. cursor: pointer;
  211. }
  212. .legend-item--no-border {
  213. border-color: transparent;
  214. padding: 0;
  215. }
  216. .legend-item:last-child {
  217. margin-right: 0;
  218. }
  219. .legend-item__swatch {
  220. display: inline-block;
  221. margin-right: 3px;
  222. width: 12px;
  223. height: 12px;
  224. border-radius: 2px;
  225. border: solid 1px #8e8e8d;
  226. background: #fff;
  227. }
  228. .legend-item__swatch--circle {
  229. border-radius: 50%;
  230. width: 14px;
  231. height: 14px;
  232. }
  233. .legend-item__swatch--no-border {
  234. border-color: transparent;
  235. }
  236. label[for="timezone-other"],
  237. #timezone-other {
  238. margin: 3px 20px;
  239. font-weight: normal;
  240. }
  241. #timezone-menu ul.typeahead.dropdown-menu {
  242. max-height: 200px;
  243. overflow-y: auto;
  244. overflow-x: hidden;
  245. }
  246. /* depending on the version of FAB in use, we may have a style conflict */
  247. .bootstrap-datetimepicker-widget .datepicker > div {
  248. display: block;
  249. }
  250. .accordion-toggle {
  251. display: block;
  252. }
  253. .accordion-toggle.collapsed > .toggle-direction {
  254. transform: rotate(180deg);
  255. }
  256. .hll {
  257. background-color: #ffc;
  258. }
  259. .c {
  260. color: #408080;
  261. font-style: italic;
  262. } /* Comment */
  263. .err {
  264. border: 1px solid #f00;
  265. } /* Error */
  266. .k {
  267. color: #008000;
  268. font-weight: bold;
  269. } /* Keyword */
  270. .o {
  271. color: #666;
  272. } /* Operator */
  273. .cm {
  274. color: #408080;
  275. font-style: italic;
  276. } /* Comment.Multiline */
  277. .cp {
  278. color: #bc7a00;
  279. } /* Comment.Preproc */
  280. .c1 {
  281. color: #408080;
  282. font-style: italic;
  283. } /* Comment.Single */
  284. .cs {
  285. color: #408080;
  286. font-style: italic;
  287. } /* Comment.Special */
  288. .gd {
  289. color: #a00000;
  290. } /* Generic.Deleted */
  291. .ge {
  292. font-style: italic;
  293. } /* Generic.Emph */
  294. .gr {
  295. color: #f00;
  296. } /* Generic.Error */
  297. .gh {
  298. color: #000080;
  299. font-weight: bold;
  300. } /* Generic.Heading */
  301. .gi {
  302. color: #00a000;
  303. } /* Generic.Inserted */
  304. .go {
  305. color: #888;
  306. } /* Generic.Output */
  307. .gp {
  308. color: #000080;
  309. font-weight: bold;
  310. } /* Generic.Prompt */
  311. .gs {
  312. font-weight: bold;
  313. } /* Generic.Strong */
  314. .gu {
  315. color: #800080;
  316. font-weight: bold;
  317. } /* Generic.Subheading */
  318. .gt {
  319. color: #04d;
  320. } /* Generic.Traceback */
  321. .kc {
  322. color: #008000;
  323. font-weight: bold;
  324. } /* Keyword.Constant */
  325. .kd {
  326. color: #008000;
  327. font-weight: bold;
  328. } /* Keyword.Declaration */
  329. .kn {
  330. color: #008000;
  331. font-weight: bold;
  332. } /* Keyword.Namespace */
  333. .kp {
  334. color: #008000;
  335. } /* Keyword.Pseudo */
  336. .kr {
  337. color: #008000;
  338. font-weight: bold;
  339. } /* Keyword.Reserved */
  340. .kt {
  341. color: #b00040;
  342. } /* Keyword.Type */
  343. .m {
  344. color: #666;
  345. } /* Literal.Number */
  346. .s {
  347. color: #ba2121;
  348. } /* Literal.String */
  349. .na {
  350. color: #7d9029;
  351. } /* Name.Attribute */
  352. .nb {
  353. color: #008000;
  354. } /* Name.Builtin */
  355. .nc {
  356. color: #00f;
  357. font-weight: bold;
  358. } /* Name.Class */
  359. .no {
  360. color: #800;
  361. } /* Name.Constant */
  362. .nd {
  363. color: #a2f;
  364. } /* Name.Decorator */
  365. .ni {
  366. color: #999;
  367. font-weight: bold;
  368. } /* Name.Entity */
  369. .ne {
  370. color: #d2413a;
  371. font-weight: bold;
  372. } /* Name.Exception */
  373. .nf {
  374. color: #00f;
  375. } /* Name.Function */
  376. .nl {
  377. color: #a0a000;
  378. } /* Name.Label */
  379. .nn {
  380. color: #00f;
  381. font-weight: bold;
  382. } /* Name.Namespace */
  383. .nt {
  384. color: #008000;
  385. font-weight: bold;
  386. } /* Name.Tag */
  387. .nv {
  388. color: #19177c;
  389. } /* Name.Variable */
  390. .ow {
  391. color: #a2f;
  392. font-weight: bold;
  393. } /* Operator.Word */
  394. .w {
  395. color: #bbb;
  396. } /* Text.Whitespace */
  397. .mb {
  398. color: #666;
  399. } /* Literal.Number.Bin */
  400. .mf {
  401. color: #666;
  402. } /* Literal.Number.Float */
  403. .mh {
  404. color: #666;
  405. } /* Literal.Number.Hex */
  406. .mi {
  407. color: #666;
  408. } /* Literal.Number.Integer */
  409. .mo {
  410. color: #666;
  411. } /* Literal.Number.Oct */
  412. .sb {
  413. color: #ba2121;
  414. } /* Literal.String.Backtick */
  415. .sc {
  416. color: #ba2121;
  417. } /* Literal.String.Char */
  418. .sd {
  419. color: #ba2121;
  420. font-style: italic;
  421. } /* Literal.String.Doc */
  422. .s2 {
  423. color: #ba2121;
  424. } /* Literal.String.Double */
  425. .s1 {
  426. color: #ba2121;
  427. } /* Literal.String.Single */
  428. .footer {
  429. display: flex;
  430. align-items: center;
  431. justify-content: space-between;
  432. position: absolute;
  433. bottom: 0;
  434. width: 100%;
  435. height: 60px;
  436. color: #8e8e8d;
  437. background-color: #f5f5f5;
  438. }
  439. .dag-view-tools {
  440. margin: 16px 0;
  441. padding: 16px 0;
  442. background-color: #f0f0f0;
  443. }
  444. .code-wrap {
  445. position: relative;
  446. margin-top: 30px;
  447. }
  448. .code-wrap-toggle {
  449. position: absolute;
  450. top: 15px;
  451. right: 15px;
  452. }
  453. .search-input {
  454. position: relative;
  455. }
  456. .search-input__input {
  457. padding-right: 40px;
  458. }
  459. .search-input__clear-btn {
  460. position: absolute;
  461. right: 2px;
  462. top: 2px;
  463. border: 0;
  464. }
  465. /* Override default Bootstrap behavior to prevent wrapping */
  466. .btn-group {
  467. display: inline-flex;
  468. }
  469. /* Override FAB table views where table width extends beyond parent containers */
  470. .panel-body .panel-group + div {
  471. overflow-x: auto;
  472. }
  473. .task-instance-modal-column {
  474. margin-top: 8px;
  475. overflow-x: auto;
  476. }
  477. .refresh-actions {
  478. justify-content: flex-end;
  479. min-width: 225px;
  480. float: right;
  481. display: inline-flex;
  482. align-items: center;
  483. right: 10px;
  484. margin-bottom: 15px;
  485. position: relative;
  486. }
  487. .refresh-actions > .switch-label {
  488. margin: 0 10px;
  489. }
  490. .loading-dots.refresh-loading {
  491. display: none;
  492. }
  493. .trigger-dropdown-btn {
  494. border-bottom-right-radius: 0;
  495. border-top-right-radius: 0;
  496. border-right-width: 0;
  497. }
  498. .trigger-dropdown-menu {
  499. left: -112px;
  500. }
  501. .dropdown-form-btn {
  502. padding: 3px 20px;
  503. line-height: 1.428571429;
  504. color: #51504f;
  505. background-color: white;
  506. border: none;
  507. width: 100%;
  508. text-align: left;
  509. }
  510. .dropdown-form-btn:hover,
  511. .dropdown-form-btn:focus {
  512. color: #262626;
  513. background-color: #f5f5f5;
  514. }
  515. .tooltip {
  516. z-index: 0;
  517. max-width: 300px;
  518. }
  519. .tooltip.in,
  520. .tooltip.d3-tip {
  521. z-index: 1070;
  522. }
  523. details summary {
  524. display: list-item;
  525. }
  526. .menu-scroll {
  527. max-height: 300px;
  528. overflow-y: auto;
  529. }
  530. .next-dataset-triggered:hover {
  531. cursor: pointer;
  532. background-color: #cbcbcb;
  533. }