common.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767
  1. /*
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. */
  15. *
  16. {
  17. background-repeat: no-repeat;
  18. margin: 0;
  19. padding: 0;
  20. }
  21. body, h1, h2, h3, h4, h5, h6, a, button, input, select, option, textarea, th, td, div.ui-tooltip-content
  22. {
  23. color: #333;
  24. font: 12px/1.6em "Lucida Grande", "DejaVu Sans", "Bitstream Vera Sans", Verdana, Arial, sans-serif;
  25. }
  26. body
  27. {
  28. padding: 30px;
  29. text-align: center;
  30. }
  31. a, button
  32. {
  33. cursor: pointer;
  34. }
  35. input, select, textarea
  36. {
  37. border: 1px solid #c0c0c0;
  38. padding: 2px;
  39. }
  40. input[readonly=readonly]
  41. {
  42. border-color: #f0f0f0;
  43. }
  44. button
  45. {
  46. background-color: #e6e6e6;
  47. background-repeat: no-repeat;
  48. background-image: -webkit-gradient( linear, 0 0, 0 100%, from( #ffffff ), color-stop( 25%, #ffffff ), to( #e6e6e6 ) );
  49. background-image: -webkit-linear-gradient( #ffffff, #ffffff 25%, #e6e6e6 );
  50. background-image: -moz-linear-gradient( top, #ffffff, #ffffff 25%, #e6e6e6 );
  51. background-image: -ms-linear-gradient( #ffffff, #ffffff 25%, #e6e6e6 );
  52. background-image: -o-linear-gradient( #ffffff, #ffffff 25%, #e6e6e6 );
  53. background-image: linear-gradient( #ffffff, #ffffff 25%, #e6e6e6 );
  54. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0 );
  55. border: 1px solid #ccc;
  56. border-bottom-color: #bbb;
  57. -moz-border-radius: 4px;
  58. -webkit-border-radius: 4px;
  59. -khtml-border-radius: 4px;
  60. border-radius: 4px;
  61. -webkit-box-shadow: inset 0 1px 0 rgba( 255, 255, 255, 0.2 ), 0 1px 2px rgba( 0, 0, 0, 0.05 );
  62. -moz-box-shadow: inset 0 1px 0 rgba( 255, 255, 255, 0.2 ), 0 1px 2px rgba( 0, 0, 0, 0.05 );
  63. box-shadow: inset 0 1px 0 rgba( 255, 255, 255, 0.2 ), 0 1px 2px rgba( 0, 0, 0, 0.05 );
  64. color: #333;
  65. cursor: pointer;
  66. display: inline-block;
  67. padding: 4px 7px 5px;
  68. overflow: visible;
  69. text-shadow: 0 1px 1px rgba( 255, 255, 255, 0.75 );
  70. -webkit-transition: 0.1s linear background-image;
  71. -moz-transition: 0.1s linear background-image;
  72. -ms-transition: 0.1s linear background-image;
  73. -o-transition: 0.1s linear background-image;
  74. transition: 0.1s linear background-image;
  75. }
  76. button span
  77. {
  78. background-position: 0 50%;
  79. display: block;
  80. padding-left: 21px;
  81. }
  82. button[type=submit], button.primary
  83. {
  84. background-color: #0064cd;
  85. background-repeat: repeat-x;
  86. background-image: -khtml-gradient( linear, left top, left bottom, from( #049cdb ), to( #0064cd ) );
  87. background-image: -moz-linear-gradient( top, #049cdb, #0064cd );
  88. background-image: -ms-linear-gradient( top, #049cdb, #0064cd );
  89. background-image: -webkit-gradient( linear, left top, left bottom, color-stop( 0%, #049cdb ), color-stop( 100%, #0064cd ) );
  90. background-image: -webkit-linear-gradient( top, #049cdb, #0064cd );
  91. background-image: -o-linear-gradient( top, #049cdb, #0064cd );
  92. background-image: linear-gradient( top, #049cdb, #0064cd );
  93. border-color: #0064cd #0064cd #003f81;
  94. border-color: rgba( 0, 0, 0, 0.1 ) rgba( 0, 0, 0, 0.1 ) rgba( 0, 0, 0, 0.25 );
  95. color: #ffffff;
  96. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#049cdb', endColorstr='#0064cd', GradientType=0 );
  97. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  98. }
  99. button.success
  100. {
  101. background-color: #57a957;
  102. background-repeat: repeat-x;
  103. background-image: -khtml-gradient( linear, left top, left bottom, from( #62c462 ), to( #57a957 ) );
  104. background-image: -moz-linear-gradient( top, #62c462, #57a957 );
  105. background-image: -ms-linear-gradient( top, #62c462, #57a957 );
  106. background-image: -webkit-gradient( linear, left top, left bottom, color-stop( 0%, #62c462 ), color-stop( 100%, #57a957 ) );
  107. background-image: -webkit-linear-gradient( top, #62c462, #57a957 );
  108. background-image: -o-linear-gradient( top, #62c462, #57a957 );
  109. background-image: linear-gradient( top, #62c462, #57a957 );
  110. border-color: #57a957 #57a957 #3d773d;
  111. border-color: rgba( 0, 0, 0, 0.1 ) rgba( 0, 0, 0, 0.1 ) rgba( 0, 0, 0, 0.25 );
  112. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#62c462', endColorstr='#57a957', GradientType=0 );
  113. color: #ffffff;
  114. text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.25 );
  115. }
  116. button.warn
  117. {
  118. background-color: #c43c35;
  119. background-repeat: repeat-x;
  120. background-image: -khtml-gradient( linear, left top, left bottom, from( #ee5f5b ), to( #c43c35 ) );
  121. background-image: -moz-linear-gradient( top, #ee5f5b, #c43c35 );
  122. background-image: -ms-linear-gradient( top, #ee5f5b, #c43c35 );
  123. background-image: -webkit-gradient( linear, left top, left bottom, color-stop( 0%, #ee5f5b ), color-stop( 100%, #c43c35 ) );
  124. background-image: -webkit-linear-gradient( top, #ee5f5b, #c43c35 );
  125. background-image: -o-linear-gradient( top, #ee5f5b, #c43c35 );
  126. background-image: linear-gradient( top, #ee5f5b, #c43c35 );
  127. border-color: #c43c35 #c43c35 #882a25;
  128. border-color: rgba( 0, 0, 0, 0.1 ) rgba( 0, 0, 0, 0.1 ) rgba( 0, 0, 0, 0.25 );
  129. color: #ffffff;
  130. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0 );
  131. text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.25 );
  132. }
  133. a
  134. {
  135. text-decoration: none;
  136. }
  137. pre
  138. {
  139. color: #333;
  140. text-align: left;
  141. }
  142. abbr
  143. {
  144. cursor: help;
  145. }
  146. ul
  147. {
  148. list-style: none;
  149. }
  150. .clearfix:after { clear: both; content: "."; display: block; font-size: 0; height: 0; visibility: hidden; }
  151. .clearfix { display: block; }
  152. .loader
  153. {
  154. background-image: url( ../../img/loader.gif ) !important;
  155. }
  156. .loader-light
  157. {
  158. background-image: url( ../../img/loader-light.gif ) !important;
  159. }
  160. .universal-loader {
  161. position: absolute;
  162. left: -16px;
  163. top: 0px;
  164. width: 16px;
  165. height: 16px;
  166. }
  167. #wrapper
  168. {
  169. position: relative;
  170. margin: 0 auto;
  171. margin-bottom: 30px;
  172. text-align: left;
  173. }
  174. #header
  175. {
  176. padding-bottom: 10px;
  177. position: fixed;
  178. z-index: 42;
  179. }
  180. .scroll #header
  181. {
  182. position: absolute;
  183. }
  184. #header #solr
  185. {
  186. background-image: url( ../../img/solr.svg );
  187. background-size: 128px;
  188. display: block;
  189. height: 78px;
  190. width: 150px;
  191. }
  192. #header #solr span
  193. {
  194. display: none;
  195. }
  196. #main
  197. {
  198. min-width: 750px;
  199. position: relative;
  200. }
  201. #main.error
  202. {
  203. border: 0;
  204. min-height: 0;
  205. padding-top: 20px;
  206. }
  207. #main.error .message
  208. {
  209. background-color: #f00;
  210. background-image: url( ../../img/ico/construction.png );
  211. background-position: 10px 50%;
  212. color: #fff;
  213. font-weight: bold;
  214. margin-left: 150px;
  215. margin-bottom: 20px;
  216. padding: 10px;
  217. padding-left: 35px;
  218. }
  219. #main.error .code
  220. {
  221. border: 1px solid #c0c0c0;
  222. padding: 5px;
  223. }
  224. #meta
  225. {
  226. position: absolute;
  227. bottom: -26px;
  228. right: 0;
  229. }
  230. #meta li
  231. {
  232. float: left;
  233. }
  234. #meta li a
  235. {
  236. background-position: 10px 50%;
  237. display: block;
  238. height: 25px;
  239. line-height: 25px;
  240. padding-left: 31px;
  241. padding-right: 10px;
  242. }
  243. #meta li a:hover
  244. {
  245. background-color: #f0f0f0;
  246. }
  247. #meta .documentation a { background-image: url( ../../img/ico/document-text.png ); }
  248. #meta .issues a { background-image: url( ../../img/ico/bug.png ); }
  249. #meta .irc a { background-image: url( ../../img/ico/users.png ); }
  250. #meta .mailinglist a { background-image: url( ../../img/ico/mail.png ); }
  251. #meta .wiki-query-syntax a { background-image: url( ../../img/ico/script-code.png ); }
  252. #environment
  253. {
  254. background-image: url( ../../img/ico/box.png );
  255. background-position: 5px 50%;
  256. display: none;
  257. font-weight: bold;
  258. margin-top: 10px;
  259. padding: 5px 10px;
  260. padding-left: 26px;
  261. }
  262. .has-environment #environment
  263. {
  264. display: block;
  265. }
  266. #environment.prod
  267. {
  268. background-color: #c37f7f;
  269. color: #fff;
  270. }
  271. #environment.test
  272. {
  273. background-color: #f5f5b2;
  274. }
  275. #environment.dev
  276. {
  277. background-color: #cce7cc;
  278. }
  279. .header-message
  280. {
  281. border: 1px solid #f00;
  282. margin-left: 150px;
  283. margin-bottom: 20px;
  284. }
  285. .header-message h2,
  286. .header-message ul,
  287. .header-message p
  288. {
  289. padding: 10px;
  290. }
  291. .header-message h2
  292. {
  293. background-color: #f00;
  294. color: #fff;
  295. font-weight: bold;
  296. }
  297. .header-message p
  298. {
  299. color: #4D4D4D;
  300. padding-top: 0;
  301. }
  302. #loading
  303. #http-exception
  304. {
  305. display: none;
  306. }
  307. .exception
  308. {
  309. background-color: #f00;
  310. background-image: url( ../../img/ico/construction.png );
  311. background-position: 10px 50%;
  312. color: #fff;
  313. font-weight: bold;
  314. margin-bottom: 20px;
  315. padding: 10px;
  316. padding-left: 35px;
  317. }
  318. #content-wrapper
  319. {
  320. margin-left: 150px;
  321. border: 1px solid #c0c0c0;
  322. min-height: 500px;
  323. }
  324. #content
  325. {
  326. padding: 10px;
  327. }
  328. #content > .loader
  329. {
  330. background-position: 0 50%;
  331. padding-left: 21px;
  332. }
  333. #content iframe
  334. {
  335. border: 0;
  336. display: block;
  337. min-height: 400px;
  338. width: 100%;
  339. }
  340. #content .block
  341. {
  342. margin-bottom: 10px;
  343. }
  344. #content .block h2
  345. {
  346. background-color: #fafafa;
  347. background-position: 5px 50%;
  348. border-bottom: 1px solid #f0f0f0;
  349. font-weight: bold;
  350. padding: 5px;
  351. padding-left: 26px;
  352. }
  353. #content .block.disabled,
  354. #content .block.disabled h2
  355. {
  356. color: #c0c0c0;
  357. }
  358. #content .block .message,
  359. #content .block .content
  360. {
  361. padding: 5px;
  362. }
  363. /* syntax */
  364. pre.syntax
  365. {
  366. overflow: auto;
  367. }
  368. pre.syntax code
  369. {
  370. display: block;
  371. color: #000;
  372. }
  373. pre.syntax .comment,
  374. pre.syntax .template_comment,
  375. pre.syntax .diff .header,
  376. pre.syntax .javadoc
  377. {
  378. color: #998;
  379. font-style: italic;
  380. }
  381. pre.syntax .keyword,
  382. pre.syntax .css .rule .keyword,
  383. pre.syntax .winutils,
  384. pre.syntax .javascript .title,
  385. pre.syntax .lisp .title,
  386. pre.syntax .subst
  387. {
  388. color: #000;
  389. font-weight: bold;
  390. }
  391. pre.syntax .number,
  392. pre.syntax .hexcolor
  393. {
  394. color: #40a070;
  395. }
  396. pre.syntax.language-json .number
  397. {
  398. color: blue;
  399. }
  400. pre.syntax.language-json .literal
  401. {
  402. color: firebrick;
  403. }
  404. pre.syntax .string,
  405. pre.syntax .tag .value,
  406. pre.syntax .phpdoc,
  407. pre.syntax .tex .formula
  408. {
  409. color: #d14;
  410. }
  411. pre.syntax.language-json .string
  412. {
  413. color: green;
  414. }
  415. pre.syntax .title,
  416. pre.syntax .id
  417. {
  418. color: #900;
  419. font-weight: bold;
  420. }
  421. pre.syntax .javascript .title,
  422. pre.syntax .lisp .title,
  423. pre.syntax .subst
  424. {
  425. font-weight: normal;
  426. }
  427. pre.syntax .class .title,
  428. pre.syntax .tex .command
  429. {
  430. color: #458;
  431. font-weight: bold;
  432. }
  433. pre.syntax .tag,
  434. pre.syntax .css .keyword,
  435. pre.syntax .html .keyword,
  436. pre.syntax .tag .title,
  437. pre.syntax .django .tag .keyword
  438. {
  439. color: #000080;
  440. font-weight: normal;
  441. }
  442. pre.syntax .attribute,
  443. pre.syntax .variable,
  444. pre.syntax .instancevar,
  445. pre.syntax .lisp .body
  446. {
  447. color: #008080;
  448. }
  449. pre.syntax.language-json .attribute
  450. {
  451. color: black;
  452. font-weight: bold;
  453. }
  454. pre.syntax .regexp
  455. {
  456. color: #009926;
  457. }
  458. pre.syntax .class
  459. {
  460. color: #458;
  461. font-weight: bold;
  462. }
  463. pre.syntax .symbol,
  464. pre.syntax .ruby .symbol .string,
  465. pre.syntax .ruby .symbol .keyword,
  466. pre.syntax .ruby .symbol .keymethods,
  467. pre.syntax .lisp .keyword,
  468. pre.syntax .tex .special
  469. {
  470. color: #990073;
  471. }
  472. pre.syntax .builtin,
  473. pre.syntax .built_in,
  474. pre.syntax .lisp .title
  475. {
  476. color: #0086b3;
  477. }
  478. pre.syntax .preprocessor,
  479. pre.syntax .pi,
  480. pre.syntax .doctype,
  481. pre.syntax .shebang,
  482. pre.syntax .cdata
  483. {
  484. color: #999;
  485. font-weight: bold;
  486. }
  487. pre.syntax .deletion
  488. {
  489. background: #fdd;
  490. }
  491. pre.syntax .addition
  492. {
  493. background: #dfd;
  494. }
  495. pre.syntax .diff .change
  496. {
  497. background: #0086b3;
  498. }
  499. pre.syntax .chunk
  500. {
  501. color: #aaa;
  502. }
  503. pre.syntax .tex .formula
  504. {
  505. opacity: 0.5;
  506. }
  507. #content .tree li,
  508. #content .tree ins
  509. {
  510. background-color: transparent;
  511. background-image: url( ../../img/tree.png );
  512. background-repeat: no-repeat;
  513. }
  514. #content .tree li
  515. {
  516. background-position: -54px 0;
  517. background-repeat: repeat-y;
  518. line-height: 22px;
  519. }
  520. #content .tree li.jstree-last
  521. {
  522. background:transparent;
  523. }
  524. #content .tree .jstree-open > ins
  525. {
  526. background-position: -36px 0;
  527. }
  528. #content .tree .jstree-closed > ins
  529. {
  530. background-position: -18px 0;
  531. }
  532. #content .tree .jstree-leaf > ins
  533. {
  534. background-position: 0 0;
  535. }
  536. #content .tree .jstree-hovered
  537. {
  538. background:#e7f4f9; border:1px solid #d8f0fa; padding:0 2px 0 1px;
  539. }
  540. #content .tree .jstree-clicked
  541. {
  542. background:#beebff; border:1px solid #99defd; padding:0 2px 0 1px;
  543. }
  544. #content .tree a.active
  545. {
  546. background-color: #f0f0f0;
  547. color: #00f;
  548. }
  549. #content .tree a .jstree-icon
  550. {
  551. background-image: url( ../../img/ico/folder.png );
  552. }
  553. #content .tree .jstree-leaf a .jstree-icon
  554. {
  555. background-image: url( ../../img/ico/document-text.png );
  556. }
  557. #content .tree .jstree-search
  558. {
  559. font-style:italic;
  560. }
  561. #content .tree a.jstree-search
  562. {
  563. color:aqua;
  564. }
  565. #connection-box
  566. {
  567. display: none;
  568. }
  569. #connection-status-modal
  570. {
  571. position: absolute;
  572. top: 0px;
  573. left: 0px;
  574. width: 100%;
  575. height: 100%;
  576. background-color: #e6e6e6;
  577. opacity: 0.5;
  578. z-index: 100;
  579. }
  580. #connection-status-recovered
  581. {
  582. z-index:102;
  583. }
  584. .connection-status
  585. {
  586. position: absolute;
  587. left: 200px;
  588. right: 200px;
  589. top: 40%;
  590. height: 75px;
  591. border: 1px solid #f00;
  592. padding: 30px;
  593. background-color: #fff;
  594. opacity: 1;
  595. z-index: 101;
  596. }
  597. .connection-status p
  598. {
  599. background-image: url( ../../img/ico/network-status-busy.png );
  600. background-position: 0 50%;
  601. color: #800;
  602. padding-left: 26px;
  603. }
  604. #connection-status-recovered p
  605. {
  606. color: #080;
  607. background-image: url( ../../img/ico/network-status.png );
  608. }
  609. #content .address-bar
  610. {
  611. margin-bottom: 10px;
  612. background-image: url( ../../img/ico/ui-address-bar.png );
  613. background-position: 5px 50%;
  614. border: 1px solid #f0f0f0;
  615. box-shadow: 1px 1px 0 #f0f0f0;
  616. -moz-box-shadow: 1px 1px 0 #f0f0f0;
  617. -webkit-box-shadow: 1px 1px 0 #f0f0f0;
  618. color: #4D4D4D;
  619. display: block;
  620. overflow: hidden;
  621. padding: 5px;
  622. padding-left: 26px;
  623. white-space: nowrap;
  624. }
  625. #content .address-bar:focus,
  626. #content .address-bar:hover
  627. {
  628. border-color: #c0c0c0;
  629. box-shadow: 1px 1px 0 #d8d8d8;
  630. -moz-box-shadow: 1px 1px 0 #d8d8d8;
  631. -webkit-box-shadow: 1px 1px 0 #d8d8d8;
  632. color: #333;
  633. }
  634. .exception .show-exception {
  635. margin-top: 4px;
  636. display: block;
  637. position: absolute;
  638. right: 10px;
  639. top: 7px;
  640. color: #fff;
  641. }
  642. #exception .show-exception a:hover {
  643. color: #333;
  644. }
  645. .other-ui-link {
  646. margin: 0px;
  647. position: absolute;
  648. right: 0px;
  649. top: -20px;
  650. }
  651. .other-ui-link span,
  652. .new-ui-warning span.help {
  653. background-image: url( ../../img/ico/information-white.png );
  654. right: 0px;
  655. padding-left: 16px;
  656. }
  657. .other-ui-link a.ul {
  658. text-decoration: underline;
  659. }