style.css revision 94459811a242df1339dc440122d58e30a5ec6695
cd348e325366620fe047edcc849e3c9424828599Peter Bray/* common stuff */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Braydiv#src a.l.selected:after, div#src a.hl.selected:after,
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Braydiv#src0 a.l.selected:after, div#src0 a.hl.selected:after{
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray/* highlight line number with anchor */
983523cf73bc85cce6282cb5aa78b60f6bcd959fLubos Koscodiv[id^='src'] a.l.target, div[id^='src'] a.hl.target {
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotaltbody tr:nth-child(EVEN) { /* alternate color for odd rows */
983523cf73bc85cce6282cb5aa78b60f6bcd959fLubos Koscoinput.submit:hover, input.submit:active, button:hover, button:active {
fbf97ea1786d1e25add88bbfb91810170473bc9fLubos Kosco * Project list on the index page
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray.panel > .panel-heading, .panel > .panel-heading-accordion {
cd348e325366620fe047edcc849e3c9424828599Peter Bray.panel > .panel-body, .panel > .panel-body-accordion {
c842732324ee4c74ede17887ad1f0dcdc4364a2cLubos Kosco.panel-group .panel-heading, .panel-group .panel-heading-accordion {
bc5565fc58603964988b42b6aee40e246f35d94fVladimir Kotal.panel-body > table, .panel-body-accordion > table {
bc5565fc58603964988b42b6aee40e246f35d94fVladimir Kotal.panel-body > table:last-child, .panel-body-accordion > table:last-child {
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray * Changesets colorization
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Kosco * 1 is the most recent changeset
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray * class is set in web/Util.java
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray * version class is generated for every version number
cd348e325366620fe047edcc849e3c9424828599Peter Bray * by setting those classes in style.css (or generating them) you can adjust
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray * the colorification for more versions than 10 versions
cd348e325366620fe047edcc849e3c9424828599Peter Bray.version_color_1 { background-color: rgb( 255, 231, 38 ) !important; }
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray.version_color_2 { background-color: rgb( 255, 221, 38 ) !important; }
cd348e325366620fe047edcc849e3c9424828599Peter Bray.version_color_3 { background-color: rgb( 255, 215, 38 ) !important; }
d961aa46ea0d50fed47802497e45226b1965b12dVladimir Kotal.version_color_4 { background-color: rgb( 255, 204, 38 ) !important; }
e9dbb478e3339d96ce4f0af5c6ab7e1d35ebb86dVladimir Kotal.version_color_5 { background-color: rgb( 255, 199, 38 ) !important;}
d961aa46ea0d50fed47802497e45226b1965b12dVladimir Kotal.version_color_6 { background-color: rgb( 255, 187, 38 ) !important;}
d961aa46ea0d50fed47802497e45226b1965b12dVladimir Kotal.version_color_7 { background-color: rgb( 255, 183, 38 ) !important;}
d961aa46ea0d50fed47802497e45226b1965b12dVladimir Kotal.version_color_8 { background-color: rgb( 255, 170, 38 ) !important;}
d961aa46ea0d50fed47802497e45226b1965b12dVladimir Kotal.version_color_9 { background-color: rgb( 255, 167, 38 ) !important;}
d961aa46ea0d50fed47802497e45226b1965b12dVladimir Kotal.version_color_10{ background-color: rgb( 255, 153, 38 ) !important;}
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray/* ############### start of header ############## */
cd348e325366620fe047edcc849e3c9424828599Peter Bray/* *** banner/deco above navbar *** */
5762c9f28c2246777be0e9d49cb29d9c0f49146dLubos Kosco#pagetitle { /* short verbal summary/description of the shown content */
8f8c3f4555e5aa3160f03f2e9c55ddbd3381357bLubos Kosco#sbar, #bar { /* full search and default navbar */
d280c5e286f5b98be13237f52281ae5afdcf51b9Peter Bray/* *** full search navbar *** */
d280c5e286f5b98be13237f52281ae5afdcf51b9Peter Bray background: none; /* remove alternating colors */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray /* 11ex = width(#qtbl td:first-child) + margin-left(body) */
2b024356b830395446c55f50f9f724a63612e578Lubos Kosco/* *** default navbar *** */
d280c5e286f5b98be13237f52281ae5afdcf51b9Peter Bray#bar ul { /* every list item is displayed as a "menu" item */
d280c5e286f5b98be13237f52281ae5afdcf51b9Peter Bray /* white-space: nowrap; */ /* hmm, sometimes good, sometimes not ;-) */
3ba66fbb56ef22f183da783a1b2718280c357a4eStanislav Kozina#home, #history, #download, #raw { /* menu item icons */
cd348e325366620fe047edcc849e3c9424828599Peter Bray margin-right: 0.25ex; /* distance between the icon and the label */
c577d2f6c082eaff9af5bc997d12f3d3bcef537cPeter Bray#line, #defbox, #bar .annotate { /* no icon available yet */
3a5046f0538ba9fb3a9429199544a9f4b93d9a4dLubos Kosco#line::before, #defbox::before, #bar .annotate::before {
3a5046f0538ba9fb3a9429199544a9f4b93d9a4dLubos Kosco padding-right: 0.25ex; /* distance between the icon and the label */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#annotate.c, #history.c { /* indicate annotation/history available */
c83dfde6b364917fa8ed28142d509a7c29a4da68Vladimir Kotal#sortby li:nth-child(n+2) :first-child::before {
cd348e325366620fe047edcc849e3c9424828599Peter Bray/* ############### end of header ############## */
cd348e325366620fe047edcc849e3c9424828599Peter Bray/* ############### start of content ############## */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray padding: 1ex; /* should be the same as body's margin */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray/* *** help page *** */
d0767114e1a949e4a42358f5aeaa08590b87cd80Trond Norbye/* *** more page ***/
f9e7e93ed37cbcb0a111b6f997bb75d567c31c0bVladimir Kotal/* *** history page *** */
f9e7e93ed37cbcb0a111b6f997bb75d567c31c0bVladimir Kotal /* width: 100%; */ /* table with the history info for a file */
f9e7e93ed37cbcb0a111b6f997bb75d567c31c0bVladimir Kotal /* border-collapse: collapse; */ /* looks better with a small divider */
f9e7e93ed37cbcb0a111b6f997bb75d567c31c0bVladimir Kotal#revisions a.h { /* modified file list content */
f9e7e93ed37cbcb0a111b6f997bb75d567c31c0bVladimir Kotal#revisions .filelist-hidden { /* "Hide modified files" */
f9e7e93ed37cbcb0a111b6f997bb75d567c31c0bVladimir Kotal#revisions tr.revtags { /* "Show revision tags" */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#revisions span.revtags { /* "Show revision tags" */
d0767114e1a949e4a42358f5aeaa08590b87cd80Trond Norbye#revisions tr.revtags-hidden, #revisions span.revtags-hidden { /* "Hide revision tags" */
c276b1ec9722ee95a86a4a381b39c5f405fc1cc4Vladimir Kotal /* rev number - git/mercurial revs numbers look bad with prop. fonts */
4e854c69a0484765dcd27b0e837898c8b6969beaTrond Norbye /* log message in comment column */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray /* modified file list in comment column */
340e2c0d70fade14c720931c87652727b941c167Vladimir Kotal/* *** diff page *** */
340e2c0d70fade14c720931c87652727b941c167Vladimir Kotal#diffbar { /* diff navbar: contains the tabs to select diff format */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray /* "Deleted" heading + highlight of deleted text in diff lines */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray /* "Added" heading + highlight of added text in diff lines */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#diffbar .legend, #diffbar .tabs, #diffbar .ctype {
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray /* bottom must be the same as .tabs span(padding-bottom) */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray padding: 0.2ex 1ex; /* bottom must be less than margin-bottom(.legend) */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray border: 1px solid #999; /* should be the same as for #diffbar above */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#diffbar .tabs span.active, #diffbar .ctype span.active {
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray background-color: #d6d6c0; /* same as for table th */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#difftable table { /* left side == prev. rev; right side "current" rev */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#difftable table th { /* usually both rev. have changes: eq. space for both */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#difftable th:last-child, #difftable td:last-child {
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#difftable .k { /* border between the context and real diff lines */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray/* *** list aka xref stuff *** */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray/* directory listing */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray/* The tablersorter jQuery plugin makes the header fields clickable. */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#dirlist td:nth-child(n+3) { /* all but the first 2 columns */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray text-align: right; /* CSS3 may allow " " (single space char) */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray/* file display */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray/* hidden line number/annotation block */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray.lines-hidden .l, .lines-hidden .hl, .blame-hidden .blame {
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#difftable i, del.d { /* line number/annotation block */
c577d2f6c082eaff9af5bc997d12f3d3bcef537cPeter Braydiv[id^='src'] .hl { /* highlighted line number */
83439b4ed8fe40097dc3f2c05168d26bd7926159Vladimir Kotal/* highlight line number with anchor */
83439b4ed8fe40097dc3f2c05168d26bd7926159Vladimir Kotaldiv[id^='src'] a.l:target, div[id^='src'] a.hl:target {
83439b4ed8fe40097dc3f2c05168d26bd7926159Vladimir Kotal.blame .r { /* revision number "column" (annotation) */
83439b4ed8fe40097dc3f2c05168d26bd7926159Vladimir Kotal.blame .a { /* author name "column" (annotation) */
83439b4ed8fe40097dc3f2c05168d26bd7926159Vladimir Kotal/* source code highlighting - see org/opengrok/analysis/$lang/*Xref.lex */
83439b4ed8fe40097dc3f2c05168d26bd7926159Vladimir Kotaldiv[id^='src'] .n { /* numbers/label */ color: #a52a2a; }
83439b4ed8fe40097dc3f2c05168d26bd7926159Vladimir Kotaldiv[id^='src'] .s { /* strings */ color: green; }
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Braydiv[id^='src'] .b { /* heading/title/bold */ color: #000; font-weight: bold; }
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Braydiv[id^='src'] .k { /* block display */ color: #000; font-family: monospace; }
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Braydiv[id^='src'] a.d { /* symbol definition */ color: #909; font-weight: bold; }
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Braya.xm { /* macro */ color: #c66; font-weight: bold; }
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Braya.xa { /* argument */ color: #60c; font-weight: bold; }
477c09a2656e6a2c1075425ad81e61d594164fa9Lubos Koscoa.xl { /* local */ color: #963; font-weight: bold; }
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Braya.xv { /* variable */ color: #c30; font-weight: bold; }
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Braya.xc { /* class */ color: #909; font-weight: bold; font-style: italic; }
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Braya.xp { /* package */ color: #909; font-weight: bold; font-style: italic; }
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Koscoa.xi { /* interface */ color: #909; font-weight: bold; font-style: italic; }
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Koscoa.xn { /* namespace */ color: #909; font-weight: bold; font-style: italic; }
477c09a2656e6a2c1075425ad81e61d594164fa9Lubos Koscoa.xe { /* enum */ color: #909; font-weight: bold; font-style: italic; }
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Koscoa.xer { /* enumerator */ color: #909; font-weight: bold; font-style: italic; }
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Koscoa.xs { /* struct */ color: #909; font-weight: bold; font-style: italic; }
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Koscoa.xt { /* typedef */ color: #909; font-weight: bold; font-style: italic; }
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Koscoa.xts { /* typedefs */ color: #909; font-weight: bold; font-style: italic; }
56d93b0c761868f813ac0bc0b5bc21a7a9fefd89Vladimir Kotala.xu { /* union */ color: #909; font-weight: bold; font-style: italic; }
56d93b0c761868f813ac0bc0b5bc21a7a9fefd89Vladimir Kotala.xfld { /* field */ color: #090; font-weight: bold; }
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Koscoa.xmb { /* member */ color: #090; font-weight: bold; }
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Koscoa.xf { /* function */ color: #00f; font-weight: bold; }
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Koscoa.xmt { /* method */ color: #00f; font-weight: bold; }
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Koscoa.xsr { /* subroutine */ color: #00f; font-weight: bold; }
3aa0947feb67d3e8292d84776638be98dd97fdc3Lubos Koscoa.scope { /* scope */ color: dodgerblue; font-weight: bold; padding-left: 1ex; }
0b2998be561e7bf5e3479d686a5af36f712b0d9aVladimir Kotal/* "Navigate Style" */
56d93b0c761868f813ac0bc0b5bc21a7a9fefd89Vladimir Kotal/* "Tooltip Style (minor information)" */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray/* "Navigate" Popup */
bc5565fc58603964988b42b6aee40e246f35d94fVladimir Kotal/**** DIFF NAVIGATION/JUMPER *****/
0ca9a2c194523c517c3aafe5758e217ac88d6baaLubos Kosco /*border: 1px solid #bbbbff;
0ca9a2c194523c517c3aafe5758e217ac88d6baaLubos Kosco border-radius: 0.75ex;
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray -moz-border-radius: 0.75ex;
0ca9a2c194523c517c3aafe5758e217ac88d6baaLubos Kosco background-color: #a3b8cb;*/
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray/**** DIFF NAVIGATION/JUMPER *****/
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray/* search result page */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#results p, #revisions p { /* pagetitle and slider */
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray#results .dir { /* directory row above matched files */
0ca9a2c194523c517c3aafe5758e217ac88d6baaLubos Kosco#results .con { /* 3rd column: line number + matched line contents */
477c09a2656e6a2c1075425ad81e61d594164fa9Lubos Kosco#results .s, #more .s { /* matched line contents */
983523cf73bc85cce6282cb5aa78b60f6bcd959fLubos Kosco#results i { /* match type description (method, interface etc.) */
983523cf73bc85cce6282cb5aa78b60f6bcd959fLubos Kosco#results .sel, #revisions .sel { /* slider item for the shown search result page */
477c09a2656e6a2c1075425ad81e61d594164fa9Lubos Kosco#results .more, #revisions .more { /* slider item for the n-th search result page */
f9d25a875ba43bfe59afe634cca8ad627b3a9fb8Vladimir Kotal/* ############### start of footer ############## */
cd348e325366620fe047edcc849e3c9424828599Peter Bray/* ############### end of footer ############## */
5762c9f28c2246777be0e9d49cb29d9c0f49146dLubos Kosco/* *** scopes *** */
f9d25a875ba43bfe59afe634cca8ad627b3a9fb8Vladimir Kotal/** --------------- fold arrows for main page ------------ */
float: left;
float: right;
.clearfix {