/source/app/NOS.Wiki/Themes/NOS/includes/3-base.css

http://github.com/agross/netopenspace · CSS · 905 lines · 705 code · 167 blank · 33 comment · 0 complexity · 87d7c6a08e10e54a27d35671fd03de50 MD5 · raw file

  1. html {
  2. min-height: 100%;
  3. margin-bottom: 1px;
  4. font-size: .9em;
  5. }
  6. html, input, textarea {
  7. font-family: Segoe UI, Verdana, Tahoma, Arial, Sans-Serif;
  8. }
  9. body {
  10. line-height: 1.5em;
  11. background: #e1df9e url(images/layout/page-background.png) repeat-x scroll left top;
  12. color: #111;
  13. }
  14. body form {
  15. background: transparent url(images/layout/content-border.png) repeat-y scroll left top;
  16. padding: 0 6px;
  17. }
  18. pre {
  19. font-family: Consolas, Lucida Console, Monospace;
  20. margin: .5em 1em;
  21. margin-top: 0;
  22. overflow: scroll;
  23. }
  24. a {
  25. color: #648c13;
  26. text-decoration: none;
  27. }
  28. a:hover {
  29. text-decoration: underline;
  30. }
  31. a.preview {
  32. display: inline-block;
  33. color: #aaa;
  34. }
  35. a.direct-link {
  36. display: inline;
  37. text-decoration: none;
  38. color: #fff;
  39. margin-left: .1em;
  40. }
  41. .separator:hover a.direct-link {
  42. color: #648c13;
  43. }
  44. strong, b, strong *, b * {
  45. font-weight: bold;
  46. }
  47. em {
  48. font-style: italic;
  49. }
  50. input[type="text"], input[type="password"], input[type="file"], select, textarea, span.prefix {
  51. color: #3f3e3e;
  52. padding: .2em;
  53. border: 1px solid #c2c2c2;
  54. margin-bottom: .5em;
  55. font-size: .9em;
  56. }
  57. span.prefix {
  58. border-right: 0;
  59. color: #aaa;
  60. padding-right: 0;
  61. }
  62. span.prefix.disabled {
  63. background-color: #F0F0F0;
  64. }
  65. input.has-prefix {
  66. border-left: 0;
  67. padding-left: 0;
  68. }
  69. label, input[type="submit"], input[type="image"], button {
  70. cursor: pointer;
  71. }
  72. label {
  73. margin-right: .5em;
  74. }
  75. select {
  76. padding-top: .07em;
  77. padding-bottom: .07em;
  78. vertical-align: top;
  79. }
  80. hr {
  81. border: 0;
  82. border-bottom: 1px solid #f3f3f3;
  83. }
  84. blockquote {
  85. border-left: 0.3em solid #5b5b5b;
  86. margin-left: 1em;
  87. padding-left: .5em;
  88. }
  89. .clearfix:after,
  90. .cleanup:after {
  91. clear: both;
  92. content: ".";
  93. display: block;
  94. height: 0;
  95. visibility: hidden;
  96. }
  97. .clearfix,
  98. .cleanup {
  99. display: inline-block;
  100. }
  101. /* Hides from IE-mac \*/
  102. * html .clearfix,
  103. * html .cleanup {
  104. height: 1%;
  105. }
  106. .clearfix,
  107. .cleanup {
  108. display: block;
  109. }
  110. /* End hide from IE-mac */
  111. h1, h2, h3, h4, h5, h6 {
  112. font-family: Georgia, Palatino, Serif;
  113. font-size: 1.5em;
  114. line-height: 1.6em;
  115. padding-bottom: .5em;
  116. color: #a12d0d;
  117. }
  118. h2 {
  119. font-size: 1.4em;
  120. }
  121. h3 {
  122. font-size: 1.3em;
  123. }
  124. h4 {
  125. font-size: 1.2em;
  126. }
  127. h5 {
  128. font-size: 1.1em;
  129. }
  130. h6 {
  131. font-size: 1em;
  132. }
  133. ul li {
  134. list-style-type: square;
  135. margin-left: 2em;
  136. }
  137. ul li li {
  138. list-style-type: disc;
  139. }
  140. ol li {
  141. list-style-type: decimal;
  142. margin-left: 2em;
  143. }
  144. ol li li {
  145. list-style-type: lower-alpha;
  146. }
  147. .small {
  148. font-size: .9em;
  149. }
  150. .smaller {
  151. font-size: .8em;
  152. }
  153. .smallest {
  154. font-size: .7em;
  155. }
  156. .large {
  157. font-size: 1.1em;
  158. }
  159. .larger {
  160. font-size: 1.2em;
  161. }
  162. .largest {
  163. font-size: 1.3em;
  164. }
  165. /*
  166. Tables
  167. ------------------------------------------------------------------------------------------------------------------------
  168. */
  169. table {
  170. vertical-align: top;
  171. border-collapse: collapse;
  172. width: 100%;
  173. }
  174. table th, table td {
  175. padding: .2em;
  176. vertical-align: top;
  177. }
  178. table th {
  179. font-weight: bold;
  180. background-color: #ddd;
  181. border-color: #fff;
  182. }
  183. table th a {
  184. font-weight: bold;
  185. }
  186. table.generic td,
  187. table.generictable td {
  188. border-top: 1px solid #ccc;
  189. border-bottom: 1px solid #ccc;
  190. vertical-align: middle;
  191. }
  192. tr.tablerowalternate td {
  193. background-color: #f5f5f5;
  194. }
  195. #PageContentDiv table {
  196. border: 2px solid #ccc;
  197. width: auto;
  198. }
  199. #PageContentDiv table th,
  200. #PageContentDiv table td {
  201. border: 1px solid #ddd;
  202. }
  203. #PageContentDiv table th {
  204. border-color: #fff;
  205. }
  206. #TocContainerTable,
  207. #TocContainerTable td,
  208. #PageContentDiv table.imageauto,
  209. #PageContentDiv table.imageauto td {
  210. border: 0 !important;
  211. }
  212. /*
  213. Header
  214. ------------------------------------------------------------------------------------------------------------------------
  215. */
  216. #header {
  217. background: transparent url(images/layout/header-background.png) no-repeat scroll left top;
  218. height: 134px;
  219. }
  220. #header h1 {
  221. left: -2500px;
  222. position: absolute;
  223. }
  224. #header #logo {
  225. background: transparent url(images/layout/header-logo.png) no-repeat scroll left top;
  226. width: 500px;
  227. height: 134px;
  228. float: left;
  229. }
  230. #header a:hover {
  231. text-decoration: none;
  232. }
  233. #header .basictab {
  234. float: right;
  235. width: 30%;
  236. height: 134px;
  237. font-size: 1.2em;
  238. position: relative;
  239. }
  240. #header .basictab li {
  241. display: block;
  242. list-style-type: none;
  243. }
  244. #header .pos1 {
  245. position: absolute;
  246. top: 20px;
  247. right: 7em;
  248. }
  249. #header .pos2 {
  250. position: absolute;
  251. top: 20px;
  252. right: 25px;
  253. }
  254. #header .pos3 {
  255. position: absolute;
  256. top: 3.8em;
  257. right: 7em;
  258. }
  259. #header .pos4 {
  260. position: absolute;
  261. top: 5.5em;
  262. right: 15px;
  263. }
  264. #header .pos5 {
  265. position: absolute;
  266. top: 3.5em;
  267. right: 54px;
  268. }
  269. #header .pos6 {
  270. position: absolute;
  271. top: 6em;
  272. right: 12.5em;
  273. }
  274. #header .pos7 {
  275. position: absolute;
  276. top: 6em;
  277. right: 6em;
  278. }
  279. #header .pos8 {
  280. position: absolute;
  281. top: 20px;
  282. right: 15.1em;
  283. }
  284. #header .basictab li a {
  285. color: #fff;
  286. background-color: #9dab42;
  287. padding: 5px 9px;
  288. }
  289. #header .basictab li a:hover {
  290. background-color: #e1df9e;
  291. color: #111;
  292. }
  293. #header .basictab li.selected a {
  294. background-color: #a12d0d;
  295. }
  296. #header .basictab li .language a {
  297. background-image: url(images/language.png);
  298. background-repeat: no-repeat;
  299. background-attachment: scroll;
  300. background-position: 3px center;
  301. padding-left: 21px;
  302. }
  303. #header .basictab ul.submenu {
  304. margin-top: 7px;
  305. }
  306. #header .basictab ul.submenu li {
  307. padding: 0;
  308. margin: 0;
  309. }
  310. #header .basictab ul.submenu li a {
  311. display: block;
  312. padding: 3px 5px 3px 9px;
  313. }
  314. /*
  315. Sidebar
  316. ------------------------------------------------------------------------------------------------------------------------
  317. */
  318. #SidebarDiv .rss {
  319. display: inline;
  320. margin-left: 1em;
  321. }
  322. #SidebarDiv .separator a {
  323. color: #a12d0d;
  324. }
  325. #SidebarDiv .editsectionlink,
  326. #SidebarContentDiv big {
  327. display: none;
  328. }
  329. .other-years, .remote-spaces, .buzz {
  330. color: #FFF;
  331. background: #A12D0D none no-repeat scroll top right;
  332. }
  333. .other-years {
  334. background-image: url(images/layout/other-years.png);
  335. min-height: 123px;
  336. }
  337. .other-years .submenu, .remote-spaces .submenu {
  338. display: none;
  339. margin: 0 26px 0 .5em;
  340. width: 7em;
  341. }
  342. .remote-spaces {
  343. background-image: url(images/layout/remote-spaces.png);
  344. min-height: 76px;
  345. }
  346. .other-years a, .remote-spaces a, .buzz a {
  347. color: #FFF;
  348. }
  349. .buzz .content {
  350. margin-left: .5em;
  351. width: 8.8em;
  352. }
  353. .buzz .header {
  354. background: transparent url("images/twitter.png") top left scroll no-repeat;
  355. padding: 0 0 0 18px;
  356. }
  357. /*
  358. Partners
  359. ------------------------------------------------------------------------------------------------------------------------
  360. */
  361. .partner ul li {
  362. margin-left: 0;
  363. margin-bottom: .5em;
  364. list-style-type: none;
  365. }
  366. .partner ul li img {
  367. border: 1px solid #ccc;
  368. padding: .2em;
  369. }
  370. #SidebarDiv .partner {
  371. margin-left: 2em;
  372. }
  373. #PageContentDiv .partner li {
  374. display: inline;
  375. margin-right: .5em;
  376. }
  377. /*
  378. Content
  379. ------------------------------------------------------------------------------------------------------------------------
  380. */
  381. #ContainerDiv,
  382. #ContainerSADiv {
  383. background-color: #fff;
  384. }
  385. h1.pagetitle {
  386. font-weight: bold;
  387. }
  388. #PageContentDiv {
  389. margin-top: 1em;
  390. }
  391. #PageContentDiv pre {
  392. width: 90%;
  393. background-color: #f5f5f5;
  394. border: 1px solid #e1df9e;
  395. padding: 1em;
  396. }
  397. #PageContentDiv div.copy-code {
  398. font-size: 0.8em;
  399. display: block;
  400. border: 1px solid #ccc;
  401. border-bottom: none;
  402. margin-top: 0.5em;
  403. margin-left: 80%;
  404. cursor: pointer;
  405. width: 77px;
  406. }
  407. .highlight {
  408. background-color: #E1DF9E;
  409. }
  410. /*
  411. Footer
  412. ------------------------------------------------------------------------------------------------------------------------
  413. */
  414. #footer {
  415. background: transparent url(images/layout/footer-background.png) no-repeat scroll left bottom;
  416. }
  417. #footer .content {
  418. background-color: #132e28;
  419. color: #fff;
  420. }
  421. #footer .logos {
  422. float: right;
  423. }
  424. #footer .logos ul li {
  425. float: right;
  426. list-style-type: none;
  427. margin-left: 1em;
  428. }
  429. /*
  430. ScrewTurn Wiki-related styles
  431. ------------------------------------------------------------------------------------------------------------------------
  432. */
  433. .resulterror, .resultok {
  434. padding-left: 18px;
  435. }
  436. .resulterror {
  437. background: transparent url(images/error.png) no-repeat scroll left center;
  438. color: red;
  439. }
  440. .resultok {
  441. background: transparent url(images/success.png) no-repeat scroll left center;
  442. color: green;
  443. }
  444. #NavigationSADiv {
  445. background: #fff url(images/go-back.png) no-repeat scroll 1em center;
  446. padding-left: 35px;
  447. border-bottom: 1px solid #ccc;
  448. }
  449. body#VisualEditorBody,
  450. body#VisualEditorBody form,
  451. body#ToolWindowBody,
  452. body#ToolWindowBody form {
  453. margin: 0;
  454. width: auto;
  455. padding: 0;
  456. background: #fff;
  457. background-image: none;
  458. }
  459. #EditNoticeDiv,
  460. #UploadAttachmentDiv p.small {
  461. padding: .5em;
  462. background-color: #F0F0F0;
  463. }
  464. div.draftmanagement
  465. {
  466. padding: .5em;
  467. background: none repeat scroll 0 0 #FFF6BF;
  468. border: 2px solid #FFD324;
  469. color: #514721;
  470. }
  471. #EditNoticeDiv,
  472. div.draftmanagement {
  473. margin: 0 0 1em 0;
  474. }
  475. #ButtonsDiv {
  476. float:right;
  477. }
  478. #PageNameAndTitleDiv {
  479. width: 63%;
  480. }
  481. input.bigtextbox {
  482. width: 95%;
  483. font-size: 1.5em
  484. }
  485. #CategoriesDiv, #EditCommentDiv,
  486. #MainAttachmentManagerDiv, #UploadAttachmentDiv {
  487. float: left;
  488. width: 49%;
  489. }
  490. #EditCommentDiv input {
  491. display: block;
  492. }
  493. #EditCommentDiv br {
  494. display: none;
  495. }
  496. #CategoriesDiv, #MainAttachmentManagerDiv {
  497. padding-right: 10px;
  498. }
  499. #AttachmentsDiv {
  500. clear: both;
  501. }
  502. #AttachmentManagerTable {
  503. font-size: .8em;
  504. }
  505. #EditHistoryLinkDiv {
  506. float: right;
  507. margin-left: 1em;
  508. }
  509. #EditHistoryLinkDiv a {
  510. margin-left: 1em;
  511. color: #132e28 !important;
  512. border-color: #132e28 !important;
  513. float: left;
  514. }
  515. #EditHistoryLinkDiv a:hover {
  516. color: #fff !important;
  517. background-color: #132e28 !important;
  518. text-decoration: none;
  519. }
  520. a.externallink {
  521. background-image: url(images/link-external.gif);
  522. background-position: right;
  523. background-repeat: no-repeat;
  524. padding-right: 14px;
  525. }
  526. #EditHistoryLinkDiv a, a.editsectionlink {
  527. margin: .5em 0 0 .5em;
  528. padding: 0 .2em;
  529. font-size: .8em;
  530. border: 1px solid #e1df9e;
  531. color: #e1df9e;
  532. }
  533. a.editsectionlink {
  534. float: right;
  535. }
  536. a.editsectionlink:hover {
  537. text-decoration: none;
  538. background-color: #e1df9e;
  539. color: #111;
  540. }
  541. /* HACK */
  542. a.editsectionlink:empty {
  543. border: 0;
  544. }
  545. #RssLinkDiv, #PrintLinkDiv, #EmailNotificationDiv {
  546. float: right;
  547. position: relative;
  548. }
  549. input.activenotification,
  550. input.inactivenotification,
  551. #RssLink, #PrintLink {
  552. background-repeat: no-repeat;
  553. text-indent: -2500px;
  554. display: block;
  555. height: 16px;
  556. width: 16px;
  557. margin-left: .5em;
  558. margin-top: .3em;
  559. }
  560. input.activenotification,
  561. input.inactivenotification {
  562. height: 17px;
  563. }
  564. input.activenotification {
  565. background-image: url(images/email-notification-on.png);
  566. }
  567. input.inactivenotification {
  568. background-image: url(images/email-notification-off.png);
  569. }
  570. input.activenotification.discuss {
  571. background-image: url(images/email-notification-discussion-on.png);
  572. }
  573. input.inactivenotification.discuss {
  574. background-image: url(images/email-notification-discussion-off.png);
  575. }
  576. #RssLink {
  577. background-image: url(images/RSS.png);
  578. }
  579. #PrintLink {
  580. background-image: url(images/print.png);
  581. margin-left: .5em;
  582. }
  583. #PageInfoDiv {
  584. color: #aaa;
  585. font-size: .8em;
  586. }
  587. a.formatlink:focus {
  588. outline: 0;
  589. }
  590. div.imageleft {
  591. float: left;
  592. margin: .5em 1em .5em 0;
  593. }
  594. div.imageright {
  595. float: right;
  596. margin: .5em 0 .5em 1em;
  597. }
  598. div.transcludedpage {
  599. clear: right;
  600. }
  601. a.unknownlink {
  602. color: #a12d0d;
  603. background-image: url(images/link-broken.png);
  604. background-position: right;
  605. background-repeat: no-repeat;
  606. padding-right: 19px;
  607. }
  608. #PageAttachmentsLink, #AdminToolsLink {
  609. background: transparent url(images/dropdown.png) scroll no-repeat right center;
  610. padding-right: 16px !important;
  611. }
  612. #PageAttachmentsLink:hover, #AdminToolsLink:hover {
  613. background-image: url(images/dropdown-selected.png);
  614. }
  615. #PageAttachmentsDiv, #AdminToolsDiv {
  616. background-color: #fff;
  617. border: 1px solid #132E28;
  618. padding: .2em;
  619. font-size: .8em;
  620. /* HACK */
  621. margin-left: -183px;
  622. margin-top: -15px;
  623. }
  624. /* HACK */
  625. .menucontainer {
  626. margin-left: -183px;
  627. margin-top: -15px;
  628. }
  629. #AdminToolsDiv a {
  630. display: block;
  631. }
  632. #PageDiscussionSpan {
  633. font-size: 2em;
  634. }
  635. div.messagecontainer {
  636. margin-left: 1em;
  637. }
  638. div.rootmessagecontainer {
  639. border-top: 2px solid #648C13;
  640. margin-bottom: 1em;
  641. }
  642. div.messageheader {
  643. background-color: #f5f5f5;
  644. padding: .2em;
  645. }
  646. span.messagesubject {
  647. font-weight: bold;
  648. }
  649. span.messagedatetime {
  650. font-size: .9em;
  651. padding-left: 1em;
  652. }
  653. div.messagebody {
  654. border: 1px solid #f5f5f5;
  655. border-top: 0;
  656. margin-bottom: .5em;
  657. padding: .2em;
  658. }
  659. div.messagebody:hover {
  660. background-color: #ffc;
  661. }
  662. div.reply {
  663. float: right;
  664. margin-right: 1em;
  665. font-size: .75em;
  666. }
  667. a.reply, a.edit, a.delete {
  668. background: transparent url(images/message-reply.png) scroll no-repeat left center;
  669. padding-left: 12px;
  670. margin-left: 1em;
  671. }
  672. a.edit {
  673. background-image: url(images/message-edit.png);
  674. }
  675. a.delete {
  676. background-image: url(images/message-delete.png);
  677. }
  678. input.txtsearchbox {
  679. background: transparent url(images/search.png) scroll no-repeat 3px center;
  680. padding-left: 20px;
  681. }
  682. #SearchControlsDiv {
  683. margin-top: 1.5em;
  684. }
  685. #SearchControlsDiv input.textbox {
  686. width: 80%;
  687. }
  688. #SearchControlsDiv input.textbox,
  689. #SearchControlsDiv input.button {
  690. font-size: 1.5em;
  691. }
  692. #RadiosDiv {
  693. margin-top: .5em;
  694. }
  695. #SearchStatsDiv {
  696. margin-top: 1em;
  697. color: #aaa;
  698. }
  699. #SearchStatsDiv b:last-child {
  700. color: #000;
  701. }
  702. h3.searchresultpage,
  703. h3.searchresultmessage,
  704. h3.searchresultfile,
  705. h3.searchresultattachment {
  706. margin-top: 1em;
  707. background: transparent url(images/type-page.png) scroll no-repeat left 30%;
  708. padding-left: 18px;
  709. }
  710. h3.searchresultmessage {
  711. background-image: url(images/type-message.png);
  712. }
  713. h3.searchresultfile {
  714. background-image: url(images/type-file.png);
  715. }
  716. h3.searchresultattachment {
  717. background-image: url(images/type-attachment.png);
  718. }
  719. #UserGravatarDiv {
  720. float: right;
  721. border: 1px solid #f5f5f5;
  722. padding: .2em;
  723. margin: 0 0 1em 1em;
  724. position: relative;
  725. top: -49px;
  726. }
  727. table.recentchanges {
  728. width: 88%;
  729. margin-bottom: 1em;
  730. }
  731. #EmailMessageDiv textarea {
  732. width: 95.5%;
  733. height: 15em;
  734. }
  735. p.excerpt b.searchkeyword, b.searchkeyword {
  736. font-weight: normal;
  737. background-color: #FFEE64;
  738. }