You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

858 lines
13 KiB

  1. /*
  2. // Project: Web Reference Database (refbase) <http://www.refbase.net>
  3. // Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
  4. // original author(s).
  5. //
  6. // This code is distributed in the hope that it will be useful,
  7. // but WITHOUT ANY WARRANTY. Please see the GNU General Public
  8. // License for more details.
  9. //
  10. // File: ./css/style.css
  11. // Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/css/style.css $
  12. // Author(s): Matthias Steffens <mailto:refbase@extracts.de>
  13. //
  14. // Created: 20-Oct-02, 15:08
  15. // Modified: $Date: 2013-04-16 20:34:32 +0000 (Tue, 16 Apr 2013) $
  16. // $Author: msteffens $
  17. // $Revision: 1373 $
  18. */
  19. /* refbase CSS definitions - default style */
  20. body {
  21. background: #FFFFFF;
  22. color: #000000;
  23. }
  24. pre, code {
  25. font-family: monaco,courier,monospace;
  26. font-size: 7pt;
  27. }
  28. .smaller {
  29. font-size: 0.7em;
  30. }
  31. .small {
  32. font-size: 0.7em;
  33. }
  34. .smallup {
  35. font-size: 0.85em;
  36. position: relative;
  37. top: -10px;
  38. }
  39. .moveup {
  40. position: relative;
  41. top: -8px;
  42. }
  43. .unapi {
  44. font-size: smaller;
  45. }
  46. .Z3988 {
  47. font-size: smaller;
  48. }
  49. .ok {
  50. color: #009900;
  51. }
  52. .warning {
  53. color: red;
  54. }
  55. .warning2 {
  56. color: red;
  57. font-family: "lucida grande",helvetica,arial,sans-serif;
  58. font-size: 0.75em;
  59. }
  60. .mainfieldsbg {
  61. background-color: #E6E6E6;
  62. }
  63. .otherfieldsbg {
  64. background-color: #FFFFFF;
  65. }
  66. .userfieldsbg {
  67. background-color: #FFFFCC;
  68. }
  69. th {
  70. font-family: "lucida grande",helvetica,arial,sans-serif;
  71. font-size: 0.9em;
  72. }
  73. td, div {
  74. font-family: "lucida grande",helvetica,arial,sans-serif;
  75. font-size: 0.8em;
  76. }
  77. p {
  78. font-family: "lucida grande",helvetica,arial,sans-serif;
  79. font-size: 0.8em;
  80. }
  81. a:link {
  82. color: #0033CC;
  83. text-decoration: none;
  84. }
  85. a:visited {
  86. color: #666666;
  87. text-decoration: none;
  88. }
  89. a:active {
  90. color: #990000;
  91. text-decoration: none;
  92. }
  93. a:hover {
  94. color: #3366FF;
  95. text-decoration: none;
  96. }
  97. h1, h2, h3, h4 {
  98. font-family: "lucida grande",helvetica,arial,sans-serif;
  99. color: #990000;
  100. }
  101. h5, h6 {
  102. font-family: "lucida grande",helvetica,arial,sans-serif;
  103. }
  104. h2, h3 {
  105. margin-top: 1em;
  106. margin-bottom: 0.5em;
  107. }
  108. h2 {
  109. font-size: 1.8em;
  110. }
  111. h3 {
  112. font-size: 1.35em;
  113. }
  114. h4, h5 {
  115. margin-top: 0em;
  116. margin-bottom: 0em;
  117. }
  118. h4 {
  119. font-size: 1.25em;
  120. }
  121. h5 {
  122. font-size: 1.1em;
  123. }
  124. .pageheader {
  125. }
  126. .pagefooter {
  127. }
  128. .results {
  129. }
  130. hr.results {
  131. width: 100%;
  132. background-color: #DEDEDE;
  133. height: 1px;
  134. border: 0;
  135. }
  136. div.resultsheader {
  137. margin: 1.2em 3.3em 0.9em 3.3em;
  138. }
  139. hr.resultsheader, hr.resultsfooter {
  140. width: 93%;
  141. background-color: #DEDEDE;
  142. height: 1px;
  143. border: 0;
  144. }
  145. div.resultsfooter {
  146. margin: 1.2em 3.3em 0.9em 3.3em;
  147. }
  148. .showhide {
  149. }
  150. #loginInfo {
  151. font-size: 1em;
  152. }
  153. #loginInfo > * {
  154. margin-top: 0.4em;
  155. font-size: 1em;
  156. }
  157. .suggestProgress {
  158. position: absolute;
  159. margin-top: 3px;
  160. margin-left: -25px;
  161. }
  162. .searchSuggestions {
  163. background-color: #FFFFFF;
  164. border: 1px solid #999999;
  165. margin-left: -1px;
  166. z-index: 1;
  167. text-align: left;
  168. font-size: 1em;
  169. }
  170. .searchSuggestions ul {
  171. margin: 0 0 0 -40px;
  172. list-style-type: none;
  173. font-size: 1em;
  174. line-height: 1.3em;
  175. }
  176. .searchSuggestions li {
  177. border-top: 1px solid #999999;
  178. padding: 0.15em 0 0.15em 0.5em;
  179. }
  180. .searchSuggestions .selected {
  181. background-color: #DDDDDD;
  182. }
  183. form[name="record"] .searchSuggestions, form[name="record"] .suggestProgress {
  184. font-size: 0.85em;
  185. }
  186. form[name="show"] .searchSuggestions, form[name="show"] .suggestProgress {
  187. font-size: 0.85em;
  188. }
  189. form[name="simpleSearch"] .searchSuggestions, form[name="simpleSearch"] .suggestProgress {
  190. font-size: 0.85em;
  191. }
  192. #refineresults .searchSuggestions, #refineresults .suggestProgress {
  193. font-size: 0.85em;
  194. }
  195. #queryrefs {
  196. margin-top: 1.3em;
  197. margin-bottom: -1em;
  198. margin-right: -11px;
  199. font-size: 1em;
  200. }
  201. #queryrefs fieldset {
  202. border: none;
  203. }
  204. #queryrefs legend, #queryrefs #queryField label {
  205. display: none;
  206. }
  207. #queryrefs #queryField, #queryrefs #querySubmit {
  208. display: inline;
  209. font-size: 1em;
  210. }
  211. #userlogin, #userlogin .boxBody {
  212. margin-bottom: -1.1em;
  213. font-size: 1em;
  214. }
  215. #userlogin fieldset {
  216. border: none;
  217. }
  218. #userlogin legend {
  219. display: none;
  220. }
  221. #userlogin #loginUser, #userlogin #loginPwd {
  222. font-size: 1em;
  223. }
  224. /* NOTE: Support for the 'inline-block' display type was added in Firefox 3.
  225. A JavaScript work-around that works for Firefox 2 users is given at:
  226. <http://www.alistapart.com/articles/prettyaccessibleforms>
  227. */
  228. #userlogin #loginUserLabel, #userlogin #loginPwdLabel {
  229. display: inline-block;
  230. width: 38%;
  231. font-size: 1em;
  232. }
  233. #userlogin #loginUserLabel:lang(fr), #userlogin #loginPwdLabel:lang(fr) {
  234. width: 52%;
  235. }
  236. #userlogin #loginUserLabel:lang(cn), #userlogin #loginPwdLabel:lang(cn) {
  237. width: 27%;
  238. }
  239. #userlogin #loginUserInput, #userlogin #loginPwdInput {
  240. display: inline;
  241. }
  242. #userlogin #loginEmail, #userlogin #loginPassword {
  243. width: 55%;
  244. }
  245. #userlogin #loginEmail:lang(fr), #userlogin #loginPassword:lang(fr) {
  246. width: 41%;
  247. }
  248. #userlogin #loginEmail:lang(cn), #userlogin #loginPassword:lang(cn) {
  249. width: 66%;
  250. }
  251. #userlogin #loginSubmit input[type=submit] {
  252. margin-top: 0.6em;
  253. }
  254. #userlogin #register {
  255. margin-top: 1em;
  256. text-align: right;
  257. font-size: 0.7em;
  258. font-weight: bold;
  259. line-height: 1.5em;
  260. }
  261. #recentlinks {
  262. margin-left: -15px;
  263. font-size: 1em;
  264. }
  265. #includerefs {
  266. margin-left: -22px;
  267. font-size: 1.25em;
  268. }
  269. #includeprogress, #includerefs > a {
  270. margin-left: 30px;
  271. font-size: 0.8em;
  272. }
  273. #includeprogress > img {
  274. position: relative;
  275. top: 3px;
  276. left: 5px;
  277. }
  278. #showgroupmain {
  279. margin-bottom: 1.25em;
  280. font-size: 1em;
  281. }
  282. #showgroupmain fieldset {
  283. border: none;
  284. }
  285. #showgroupmain legend, #showgroupmain #groupSelect label {
  286. display: none;
  287. }
  288. #showgroupmain #groupSubmit input[type=submit] {
  289. margin-top: 0.6em;
  290. }
  291. #recallquerymain {
  292. margin-top: -0.9em;
  293. font-size: 1em;
  294. }
  295. #recallquerymain fieldset {
  296. border: none;
  297. }
  298. #recallquerymain legend, #recallquerymain #recallSelect label {
  299. display: none;
  300. }
  301. #recallquerymain #recallSubmit input[type=submit] {
  302. margin-top: 0.6em;
  303. }
  304. #resultoptions {
  305. margin-left: 20px;
  306. text-align: center;
  307. font-size: 1em;
  308. }
  309. #resultoptions legend {
  310. color: #000000;
  311. font-style: italic;
  312. text-align: left;
  313. }
  314. #resultoptions label {
  315. margin-left: 0.15em;
  316. }
  317. #resultoptions form {
  318. display: inline;
  319. }
  320. #resultoptions fieldset {
  321. display: inline;
  322. border: none;
  323. text-align: left;
  324. }
  325. #showgroup {
  326. display: inline;
  327. margin-right: 1.1em;
  328. font-size: 1em;
  329. }
  330. #showgroup #groupSelect {
  331. font-size: 1em;
  332. }
  333. #showgroup #groupSubmit {
  334. margin-top: 0.25em;
  335. font-size: 1em;
  336. }
  337. #showgroup #groupSelect label, #refineresults #refineField label, #displayopt #optShowHideField label {
  338. display: none;
  339. }
  340. #refineresults {
  341. display: inline;
  342. font-size: 1em;
  343. }
  344. #refineresults #refineField {
  345. display: block;
  346. margin-bottom: 0.25em;
  347. font-size: 1em;
  348. }
  349. #refineresults form[action="search.php"] #refineField:lang(en) {
  350. width: 16.7em;
  351. }
  352. #refineresults form[action="search.php"] #refineField:lang(de), #refineresults form[action="search.php"] #refineField:lang(fr) {
  353. width: 20.2em;
  354. }
  355. #refineresults form[action="search.php"] #refineField:lang(cn) {
  356. width: 14.1em;
  357. }
  358. #refineresults #refineOpt, #refineresults #refineSubmit {
  359. display: inline;
  360. font-size: 1em;
  361. }
  362. #displayopt {
  363. display: inline;
  364. margin-left: 1.1em;
  365. font-size: 1em;
  366. }
  367. #displayopt #optMain {
  368. font-size: 1em;
  369. }
  370. #displayopt #optShowHideField, #displayopt #optCiteStyle, #displayopt #optSubmit {
  371. display: inline;
  372. font-size: 1em;
  373. }
  374. #displayopt #optOther {
  375. margin-top: 0.25em;
  376. font-size: 1em;
  377. }
  378. #displayopt #optCiteOrder, #displayopt #optRecsPerPage {
  379. display: inline;
  380. font-size: 1em;
  381. }
  382. #displayopt #optCiteOrder {
  383. margin-right: 0.4em;
  384. }
  385. .resultnav {
  386. }
  387. .mainnav {
  388. }
  389. .pagenav {
  390. }
  391. .viewnav {
  392. font-size: 0.75em;
  393. }
  394. #columns {
  395. position: relative;
  396. left: 4px;
  397. }
  398. #columns .itemlinks a {
  399. color: #000000;
  400. border-bottom: 1px #CCCCCC solid;
  401. }
  402. #columns .itemlinks a:hover {
  403. color: #3366FF;
  404. border-bottom: 0px;
  405. }
  406. #details {
  407. position: relative;
  408. left: 4px;
  409. }
  410. #details .itemlinks a {
  411. color: #000000;
  412. border-bottom: 1px #CCCCCC solid;
  413. }
  414. #details .mainfieldsbg .itemlinks a {
  415. border-bottom: 1px #CCCCCC solid;
  416. }
  417. #details .itemlinks a:hover {
  418. color: #3366FF;
  419. border-bottom: 0px;
  420. }
  421. #citations {
  422. position: relative;
  423. left: 4px;
  424. }
  425. .citation {
  426. }
  427. .citation .showhide {
  428. margin-top: 0.4em;
  429. }
  430. .citation .moreinfo {
  431. margin-left: 1.25em;
  432. font-size: 1em;
  433. }
  434. .citation .moreinfo > * {
  435. margin-bottom: 0.4em;
  436. font-size: 0.85em;
  437. color: #333333;
  438. line-height: 1.3em;
  439. /*
  440. max-width: 700px;
  441. */
  442. }
  443. .citation .moreinfo .reflinks {
  444. margin-top: 0.8em;
  445. /*
  446. max-width: none;
  447. */
  448. }
  449. .citation .moreinfo .reflinks > * {
  450. display: inline;
  451. font-size: 1em;
  452. }
  453. .citation .moreinfo .itemlinks a {
  454. color: #333333;
  455. border-bottom: 1px #CCCCCC solid;
  456. }
  457. .citation .moreinfo .itemlinks a:hover {
  458. color: #3366FF;
  459. border-bottom: 0px;
  460. }
  461. #error {
  462. }
  463. #queryhistory {
  464. margin-left: 2.6em;
  465. margin-right: 2.6em;
  466. margin-bottom: 1.75em;
  467. }
  468. #currentquery, #previousqueries {
  469. margin-top: 1.2em;
  470. font-size: 1em;
  471. }
  472. #queryhistory .even, #queryhistory .odd {
  473. margin-top: 0.25em;
  474. margin-left: 1.2em;
  475. margin-right: 1.2em;
  476. font-size: 1em;
  477. }
  478. .helpbody {
  479. font-size: 1em;
  480. }
  481. .examples {
  482. font-size: 1em;
  483. }
  484. .links {
  485. }
  486. .sect {
  487. font-size: 1em;
  488. font-weight: bold;
  489. }
  490. .even {
  491. background-color: #FFFFFF;
  492. padding: 5px;
  493. }
  494. .odd {
  495. background-color: #F4F4F4;
  496. padding: 5px;
  497. }
  498. #queryform {
  499. }
  500. #resultactions {
  501. margin-left: 20px;
  502. text-align: center;
  503. font-size: 1em;
  504. }
  505. #resultactions input, #resultactions select {
  506. margin-left: 0.5em;
  507. }
  508. #resultactions legend {
  509. color: #000000;
  510. font-style: italic;
  511. text-align: left;
  512. }
  513. #resultactions label {
  514. margin-left: 0.15em;
  515. }
  516. #resultactions fieldset {
  517. display: inline;
  518. margin-left: 1.5em;
  519. border: none;
  520. vertical-align: top;
  521. text-align: left;
  522. }
  523. #selectresults {
  524. margin-bottom: 0.75em;
  525. font-size: 1em;
  526. text-align: left;
  527. }
  528. #selectresults input#selRecs {
  529. margin-left: 1.5em;
  530. }
  531. #citerefs {
  532. font-size: 1em;
  533. }
  534. #citerefs input[type=submit], #exportrefs input[type=submit] {
  535. display: block;
  536. margin-top: 0.6em;
  537. margin-left: 0.25em;
  538. }
  539. #citerefs label, #exportrefs label {
  540. display: none;
  541. }
  542. #citerefs select, #exportrefs select {
  543. margin-left: 0.25em;
  544. }
  545. #grouprefs {
  546. font-size: 1em;
  547. }
  548. #grouprefs #myGroup {
  549. display: block;
  550. margin-bottom: 0.25em;
  551. font-size: 1em;
  552. }
  553. #grouprefs #newGroup, #grouprefs #addRemoveGroup {
  554. display: inline;
  555. font-size: 1em;
  556. }
  557. #exportrefs {
  558. font-size: 1em;
  559. }
  560. #searchopt {
  561. display: none;
  562. }
  563. #helptxt {
  564. display: none;
  565. }
  566. #helptxt .sect {
  567. padding-top: 2px;
  568. }
  569. #helptxt .even {
  570. margin-left: -5px;
  571. margin-top: -3px;
  572. }
  573. #helptxt .odd {
  574. margin-left: -5px;
  575. }
  576. .toggleimg {
  577. }
  578. .toggletxt {
  579. display: inline;
  580. margin-left: 5px;
  581. font-size: 1em;
  582. }
  583. a:link .toggletxt {
  584. color: #0033CC;
  585. }
  586. a:visited .toggletxt {
  587. color: #666666;
  588. }
  589. a:hover .toggletxt {
  590. color: #3366FF;
  591. }
  592. .resultviews {
  593. display: inline;
  594. font-size: 0.85em;
  595. }
  596. .activeview {
  597. display: inline;
  598. font-size: 1em;
  599. }
  600. .leftview {
  601. display: inline;
  602. font-size: 1em;
  603. }
  604. .middleview {
  605. display: inline;
  606. font-size: 1em;
  607. }
  608. .rightview {
  609. display: inline;
  610. font-size: 1em;
  611. }
  612. .toggleprint {
  613. position: relative;
  614. top: 3px;
  615. }
  616. #accountinfo {
  617. font-size: 1.25em;
  618. }
  619. #accountdetails {
  620. font-size: 1em;
  621. }
  622. #accountopt {
  623. font-size: 1em;
  624. }
  625. #accountperm {
  626. font-size: 1em;
  627. }
  628. #accountdetails ul, #accountopt ul, #accountperm ul {
  629. position: relative;
  630. top: -0.8em;
  631. list-style-type: none;
  632. font-size: 0.85em;
  633. line-height: 1.3em;
  634. }
  635. /* Begin ThrashBox code (modified slightly for use with refbase)
  636. Credit: Simple Rounded Corner CSS Boxes by Ryan Thrash
  637. see <http://www.modxcms.com/simple-rounded-corner-css-boxes.html>
  638. and the ThrashBox online generator <http://www.spiffybox.com/>
  639. */
  640. /* set the image to use and establish the lower-right position */
  641. .box, .boxBody, .boxHead, .boxHead h3 {
  642. background: transparent url(../img/rounded_box.png) no-repeat bottom right;
  643. }
  644. .box {
  645. /* intended total box width - padding-right(next) */
  646. /* width: 200px !important; */
  647. /* IE Win = width - padding */
  648. /* width: 185px; */
  649. padding-right: 5px; /* the gap on the right edge of the image (not content padding) */
  650. margin: 0 auto; /* use to position the box */
  651. }
  652. /* set the top-right image */
  653. .boxHead {
  654. background-position: top right; margin-right: -5px; /* pull the right image over on top of border */
  655. padding-right: 15px; /* right-image-gap + right-inside padding */
  656. }
  657. /* set the top-left image */
  658. .boxHead h3 {
  659. background-position: top left;
  660. margin: 0; /* reset main site styles*/
  661. border: 0; /* ditto */
  662. padding: 10px 0 10px 15px; /* padding-left = image gap + interior padding ... no padding-right */
  663. height: auto !important; height: 1%; /* IE Holly Hack */
  664. }
  665. /* set the lower-left corner image */
  666. .boxBody {
  667. background-position: bottom left;
  668. margin-right: 0; /* interior-padding right */
  669. padding: 0 0 1px 5px; /* mirror .boxHead right/left */
  670. }
  671. /* font styling */
  672. .boxHead h3 {
  673. color: #222222;
  674. }
  675. /* End ThrashBox code */